Fix csin, csinh overflow in directed rounding modes (bug 18593).
[glibc.git] / ChangeLog
blob6c1eb8e4141f0b307ff7fd48f0e9699317ffd7a8
1 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18593]
4         * math/s_csin.c (__csin): Negate before rather than after possibly
5         overflowing multiplication.
6         * math/s_csinf.c (__csinf): Likewise.
7         * math/s_csinh.c (__csinh): Likewise.
8         * math/s_csinhf.c (__csinhf): Likewise.
9         * math/s_csinhl.c (__csinhl): Likewise.
10         * math/s_csinl.c (__csinl): Likewise.
11         * math/auto-libm-test-in: Add some tests of csin and csinh.
12         * math/auto-libm-test-out: Regenerated.
13         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14         (csinh_test_data): Likewise.
15         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17         [BZ #18586]
18         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19         underflow exception for small results.
21 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed variable
25         and included header.
26         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
30         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
36         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
37         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
38         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
39         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
40         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
41         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
43 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
45         [BZ #16526]
46         [BZ #16538]
47         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
48         (__sin): Force underflow exception for arguments with small
49         absolute value.
50         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
51         (__kernel_sinf): Force underflow exception for arguments with
52         small absolute value.
53         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
54         (__kernel_sincosl): Force underflow exception for arguments with
55         small absolute value.
56         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
57         (__kernel_sinl): Force underflow exception for arguments with
58         small absolute value.
59         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
60         (__kernel_sincosl): Force underflow exception for arguments with
61         small absolute value.
62         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
63         (__kernel_sinl): Force underflow exception for arguments with
64         small absolute value.
65         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
66         (__kernel_sinl): Force underflow exception for arguments with
67         small absolute value.
68         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
69         (__kernel_sinf): Force underflow exception for arguments with
70         small absolute value.
71         * math/auto-libm-test-in: Add more tests of sin and sincos.
72         * math/auto-libm-test-out: Regenerated.
74         [BZ #18245]
75         [BZ #18583]
76         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
77         (__kernel_standard_l): Use feholdexcept and fesetenv around
78         conversion to double instead of special-casing overflow and
79         underflow.
80         * math/libm-test.inc (fmod_test_data): Add more tests.
81         (remainder_test_data): Likewise.
82         (sqrt_test_data): Likewise.
84 2015-06-23  Torvald Riegel  <triegel@redhat.com>
86         [BZ #17403]
87         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
88         atomic_read_barrier, atomic_write_barrier): Define.
89         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
90         atomic_read_barrier, atomic_write_barrier): Define.
92 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
94         * math/Makefile [$(PERL) != no]
95         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
96         dependency on libm-test.stmp below the inclusion of Rules.
98 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
100         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
101         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
102         and included header.
103         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
105         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
108         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
111         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
112         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
113         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
114         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
115         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
116         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
117         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
118         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
119         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
120         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
121         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
123 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
125         [BZ #18371]
126         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
127         intermediate but not final result might underflow.
128         * math/s_csqrtf.c (__csqrtf): Likewise.
129         * math/s_csqrtl.c (__csqrtl): Likewise.
130         * math/auto-libm-test-in: Add more tests of csqrt.
131         * math/auto-libm-test-out: Regenerated.
132         * sysdeps/i386/fpu/libm-test-ulps: Update.
134         [BZ #18219]
135         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
136         threshold on absolute value of exponent for which scaling is used.
137         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
138         * math/auto-libm-test-in: Add more tests of exp2.
139         * math/auto-libm-test-out: Regenerated.
141 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
143         [BZ #17977]
144         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
145         when initializing interface list, based on the bug analysis
146         and the patch proposed by Eric Newton.
147         * resolv/tst-res_hconf_reorder.c: New test.
148         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
149         tst-res_hconf_reorder.
150         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
151         and $(shared-thread-library).
152         (tst-res_hconf_reorder-ENV): New variable.
154         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
155         in comment.
157 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
159         [BZ #16353]
160         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
161         (__expm1): Force underflow exception for arguments with small
162         absolute value.
163         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
164         (__expm1f): Force underflow exception for arguments with small
165         absolute value.
166         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
167         (__expm1): Force underflow exception for arguments with small
168         absolute value.
169         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
170         (__expm1f): Force underflow exception for arguments with small
171         absolute value.
172         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
173         Check for small arguments before calling __expm1.
174         * math/auto-libm-test-in: Do not mark underflow exceptions as
175         possibly missing for bug 16353.
176         * math/auto-libm-test-out: Regenerated.
178 2015-06-22  Andreas Schwab  <schwab@suse.de>
180         [BZ #18513]
181         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
182         PTR queries.
184 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
186         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
188         * string/strcoll_l.c: Remove unused struct element idxnow.
190 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
192         [BZ #18569]
193         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
194         underflow and return argument in case of subnormal argument.
195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
196         Likewise.
197         * math/auto-libm-test-in: Add more tests of expm1.
198         * math/auto-libm-test-out: Regenerated.
200         [BZ #16361]
201         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
202         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
203         tiny results.
204         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
205         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
206         tiny results.
207         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
208         mark underflow exceptions as possibly missing for bug 16361.
209         * math/auto-libm-test-out: Regenerated.
211 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
213         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
214         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
215         Remove variable.
216         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
217         (test-xfail-XOPEN2K8/utmpx.h/conform).
219         * conform/conformtest.pl ($xerrors): New variable.
220         (note_error): New function.
221         (compiletest): New argument $xfail.  Use not_error.
222         (runtest): Likewise.
223         (top level): Handle xfail- lines.  Update calls to compiletest and
224         runtest.  Handle xfail- and optional- in headers listed with
225         allow-header.
226         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
227         (O_EXEC): Likewise.
228         (O_SEARCH): Likewise.
229         * conform/data/stropts.h-data (ioctl): Likewise.
230         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
231         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
232         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
233         (msghdr.msg_controllen): Likewise.
234         (cmsghdr.cmsg_len): Likewise.
235         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
236         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
237         variable.
238         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
239         (test-xfail-XPG4/stropts.h/conform): Likewise.
240         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
241         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
242         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
243         (test-xfail-UNIX98/stropts.h/conform): Likewise.
244         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
245         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
246         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
247         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
248         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
249         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
250         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
251         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
252         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
253         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
254         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
255         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
256         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
257         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
258         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
260 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
262         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
263         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
264         definitions for proper unfolding of __MATHDECL_VEC.
266 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
268         * benchtests/bench-strcoll.c:
269         Include string.h.
270         (main): Remove unused variable res.
272 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
274         * timezone/Makefile (%/UTC %/Universal):
275         Generate test-result files for UTC and Universal.
277 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
279         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
281 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
283         [BZ #16350]
284         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
285         for arguments with small absolute value.
286         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
287         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
288         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
289         (__asinh): Force underflow exception for arguments with small
290         absolute value.
291         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
292         (__asinhf): Force underflow exception for arguments with small
293         absolute value.
294         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
295         (__asinhl): Force underflow exception for arguments with small
296         absolute value.
297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
298         (__asinhl): Force underflow exception for arguments with small
299         absolute value.
300         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
301         (__asinhl): Force underflow exception for arguments with small
302         absolute value.
303         * math/auto-libm-test-in: Do not mark underflow exceptions as
304         possibly missing for bug 16350.
305         * math/auto-libm-test-out: Regenerated.
307         * include/bits/ipc.h: Remove file.
308         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
309         variable.
310         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
311         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
312         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
313         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
314         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
315         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
316         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
317         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
318         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
320         * math/auto-libm-test-in: Remove spurious underflow allowance for
321         tests of cexp.
322         * math/auto-libm-test-out: Regenerated.
324         [BZ #18558]
325         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
326         unconditional definition.
327         (MCAST_BLOCK_SOURCE): Likewise.
328         (MCAST_UNBLOCK_SOURCE): Likewise.
329         (MCAST_LEAVE_GROUP): Likewise.
330         (MCAST_JOIN_SOURCE_GROUP): Likewise.
331         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
332         (MCAST_MSFILTER): Likewise.
333         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
334         Remove variable.
335         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
336         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
337         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
338         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
339         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
341 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
343         * NEWS: Mention addition of x86_64 vector sincosf.
344         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
345         * math/test-float-vlen4.h: Likewise.
346         * math/test-float-vlen8.h: Likewise.
347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
348         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
349         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
350         * sysdeps/x86_64/fpu/Versions: New versions added.
351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
352         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
353         Added build of SSE, AVX2 and AVX512 IFUNC versions.
354         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
355         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
356         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
357         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
360         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
361         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
362         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
363         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
364         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
365         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
366         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
367         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
368         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
369         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
370         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
371         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
372         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
373         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
374         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
376         * NEWS: Mention addition of x86_64 vector sincos.
377         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
378         * math/math.h (__MATHDECL_VEC): New macro.
379         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
380         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
381         declaration under condition.
382         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
383         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
384         TEST_VEC_LOOP change.
385         * math/test-double-vlen4.h: Likewise.
386         * math/test-double-vlen8.h: Likewise.
387         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
388         * math/test-float-vlen4.h: Likewise.
389         * math/test-float-vlen8.h: Likewise.
390         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
391         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
393         * sysdeps/x86_64/fpu/Versions: New versions added.
394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
395         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
396         Added build of SSE, AVX2 and AVX512 IFUNC versions.
397         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
398         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
399         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
400         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
402         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
403         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
404         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
405         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
406         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
407         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
408         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
409         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
410         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
411         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
412         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
414         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
415         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
416         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
417         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
421         redirections for powf.
422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
423         * sysdeps/x86_64/fpu/Versions: New versions added.
424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
426         Added build of SSE, AVX2 and AVX512 IFUNC versions.
427         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
429         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
430         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
431         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
432         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
433         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
434         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
435         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
436         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
437         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
438         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
439         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
440         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
441         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
442         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
443         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
446         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
447         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
448         * math/test-float-vlen16.h: Fixed 2 argument macro.
449         * math/test-float-vlen4.h: Likewise.
450         * math/test-float-vlen8.h: Likewise.
451         * NEWS: Mention addition of x86_64 vector powf.
453 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
455         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
456         and redefine.
457         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
458         and redefine.
459         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
460         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
461         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
463         [BZ #18553]
464         * resource/getpriority.c (getpriority): Rename to __getpriority
465         and define as weak alias of __getpriority.
466         * resource/setpriority.c (setpriority): Rename to __setpriority
467         and define as weak alias of __setpriority.
468         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
469         __getpriority and define as weak alias of __getpriority.
470         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
471         __setpriority and define as weak alias of __setpriority.
472         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
473         strong name.
474         (setpriority): Use __setpriority as strong name.
475         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
476         __getpriority and define as weak alias of __getpriority.
477         * include/sys/resource.h (__getpriority): Declare.  Use
478         libc_hidden_proto.
479         (__setpriority): Likewise.
480         (getpriority): Don't use libc_hidden_proto.
481         (setpriority): Likewise.
482         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
483         getpriority.  Call __setpriority instead of setpriority.
484         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
485         Remove variable.
487         [BZ #18547]
488         * misc/getttyent.c (getttynam): Rename to __getttynam and define
489         as weak alias of __getttynam.  Use prototype function definition.
490         Call __setttyent, __getttyent and __endttyent instead of
491         setttyent, getttyent and endttyent.
492         (getttyent): Rename to __getttyent and define as weak alias of
493         __getttyent.  Call __setttyent instead of setttyent.  Call
494         __fgets_unlocked instead of fgets_unlocked.
495         (setttyent): Rename to __setttyent and define as weak alias of
496         __setttyent.
497         (endttyent): Rename to __endttyent and define as weak alias of
498         __endttyent.
499         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
500         (__setttyent): Likewise.
501         (__endttyent): Likewise.
502         (getttyent): Don't use libc_hidden_proto.
503         (setttyent): Likewise.
504         (endttyent): Likewise.
505         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
506         __endttyent instead of setttyent, getttyent and endttyent.
507         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
508         Remove variable.
510         [BZ #18546]
511         * socket/recv.c (__recv): Use libc_hidden_def.
512         * socket/socket.c (__socket): Likewise.
513         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
514         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
515         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
516         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
517         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
518         libc_hidden_def.
519         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
520         libc_hidden_weak.
521         * include/sys/socket.h (__socket): Do not use attribute_hidden.
522         Use libc_hidden_proto.
523         (__recv): Likewise.
524         * socket/Versions (libc): Export __recv and __socket at version
525         GLIBC_PRIVATE.
526         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
527         instead of recv.
528         (init_mq_netlink): Call __socket instead of socket.
529         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
530         Remove variable.
532         [BZ #18545]
533         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
534         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
535         hidden_weak.
536         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
537         define as alias of __mq_timedsend.  Use hidden_weak.
538         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
539         __mq_timedsend as strong name.
540         (mq_timedreceive): Use __mq_timedreceive as strong name.
541         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
542         (__mq_timedreceive): Likewise.
543         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
544         __mq_timedreceive instead of mq_timedreceive.
545         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
546         instead of mq_timedsend.
547         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
548         Remove variable.
550         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
551         hidden_def and hidden_weak instead of libc_hidden_def and
552         libc_hidden_weak.
553         (top level): Refer to hidden_def in comment.
554         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
555         macro.  Use it instead of libc_hidden_def.
556         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
557         specify __GI_* name explicitly.
558         (mq_timedreceive): Likewise.
559         (mq_setattr): Likewise.
561         [BZ #18544]
562         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
563         __pthread_barrier_init and define as weak alias of
564         __pthread_barrier_init.
565         * sysdeps/sparc/nptl/pthread_barrier_init.c
566         (pthread_barrier_init): Likewise.
567         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
568         __pthread_barrier_wait and define as weak alias of
569         __pthread_barrier_wait.
570         * sysdeps/sparc/nptl/pthread_barrier_wait.c
571         (pthread_barrier_wait): Likewise.
572         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
573         (pthread_barrier_wait): Likewise.
574         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
575         (pthread_barrier_wait): Likewise.
576         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
577         (pthread_barrier_wait): Likewise.
578         * nptl/Versions (libpthread): Export __pthread_barrier_init and
579         __pthread_barrier_wait at version GLIBC_PRIVATE.
580         * include/pthread.h (__pthread_barrier_init): Declare.
581         (__pthread_barrier_wait): Likewise.
582         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
583         Call __pthread_barrier_wait instead of pthread_barrier_wait.
584         (helper_thread): Likewise.
585         (init_mq_netlink): Call __pthread_barrier_init instead of
586         pthread_barrier_init.
588         [BZ #18542]
589         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
590         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
591         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
592         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
593         vswscanf.
594         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
595         Remove variable.
597         [BZ #18540]
598         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
599         strong alias of _IO_fflush.  Use libc_hidden_def.
600         * libio/iofflush_u.c (fflush_unlocked): Rename to
601         __fflush_unlocked and define as weak alias of __fflush_unlocked.
602         Use libc_hidden_weak.
603         * include/stdio.h (__fflush_unlocked): Declare.  Use
604         libc_hidden_proto.
605         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
606         fflush_unlocked.
607         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
608         Remove variable.
610         [BZ #18539]
611         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
612         define as weak alias of __addseverity.
613         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
614         Remove variable.
615         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
616         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
617         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
619         [BZ #18536]
620         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
621         (__tfind): Likewise.
622         (__tdelete): Likewise.
623         (__twalk): Likewise.
624         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
625         __twalk to GLIBC_PRIVATE.
626         * include/search.h (__tsearch): Use libc_hidden_proto.
627         (__tfind): Likewise.
628         (__tdelete): Likewise.
629         (__twalk): Likewise.
630         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
631         Call __tdelete instead of tdelete.
632         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
633         tfind.  Call __tsearch instead of tsearch.
634         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
635         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
636         Remove variable.
637         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
639         [BZ #18534]
640         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
641         (dprintf): Define as a weak alias of __dprintf, not a strong
642         alias.
643         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
644         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
645         dprintf.
646         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
647         Remove variable.
648         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
649         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
651         [BZ #18533]
652         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
653         not a strong alias.
654         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
655         Remove variable.
657         [BZ #18532]
658         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
659         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
660         (in6addr_loopback): Rename to __in6addr_loopback and define as
661         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
662         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
663         libc_hidden_proto.
664         (__in6addr_any): Likewise.
665         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
666         in6addr_any.
667         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
668         variable.
669         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
671 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
673         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
674         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
675         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
676         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
677         redirections for pow.
678         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
679         * sysdeps/x86_64/fpu/Versions: New versions added.
680         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
681         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
682         build of SSE, AVX2 and AVX512 IFUNC versions.
683         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
685         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
687         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
689         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
690         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
691         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
692         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
693         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
694         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
695         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
696         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
697         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
698         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
699         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
700         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
701         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
702         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
703         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
704         * NEWS: Mention addition of x86_64 vector pow.
706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
707         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
708         redirections for expf.
709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
710         * sysdeps/x86_64/fpu/Versions: New versions added.
711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
713         build of SSE, AVX2 and AVX512 IFUNC versions.
714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
715         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
716         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
719         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
720         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
721         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
722         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
723         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
724         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
725         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
726         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
727         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
728         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
729         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
730         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
732         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
733         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
734         * NEWS: Mention addition of x86_64 vector expf.
736         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
737         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
738         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
739         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
740         redirections for exp.
741         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
742         * sysdeps/x86_64/fpu/Versions: New versions added.
743         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
744         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
745         build of SSE, AVX2 and AVX512 IFUNC versions.
746         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
747         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
748         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
751         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
752         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
753         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
754         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
755         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
756         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
757         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
758         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
759         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
760         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
761         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
762         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
763         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
764         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
765         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
766         * NEWS: Mention addition of x86_64 vector exp.
768         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
769         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
770         redirections for logf.
771         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
772         * sysdeps/x86_64/fpu/Versions: New versions added.
773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
774         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
775         build of SSE, AVX2 and AVX512 IFUNC versions.
776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
780         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
781         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
782         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
783         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
784         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
785         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
786         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
787         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
788         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
789         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
790         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
791         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
794         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
795         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
796         * NEWS: Mention addition of x86_64 vector logf.
798         * bits/libm-simd-decl-stubs.h: Added stubs for log.
799         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
800         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
801         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
802         redirections for log.
803         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
804         * sysdeps/x86_64/fpu/Versions: New versions added.
805         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
806         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
807         build of SSE, AVX2 and AVX512 IFUNC versions.
808         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
809         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
810         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
811         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
812         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
813         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
814         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
815         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
816         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
817         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
818         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
819         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
820         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
821         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
824         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
826         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
827         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
828         * NEWS: Mention addition of x86_64 vector log.
830 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
832         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
833         cfi_adjust_cfa_offset argument.
834         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
835         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
837         [BZ #18034]
838         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
839         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
840         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
841         ordering using ldar.
842         (_dl_tlsdesc_dynamic): Likewise.
843         (_dl_tlsdesc_return_lazy): Likewise.
844         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
845         relaxed atomics instead of volatile and synchronize with release store.
846         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
847         volatile.
848         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
850 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
852         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
853         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
854         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
855         * sysdeps/x86_64/fpu/Versions: New versions added.
856         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
857         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
858         build of SSE, AVX2 and AVX512 IFUNC versions.
859         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
861         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
863         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
865         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
866         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
867         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
868         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
869         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
870         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
871         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
872         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
873         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
874         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
875         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
876         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
877         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
878         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
879         * NEWS: Mention addition of x86_64 vector sinf.
881 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
883         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
884         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
885         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
886         Remove variable.
887         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
888         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
890 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
892         [BZ #18530]
893         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
894         strong alias of _IO_fputs.  Use libc_hidden_def.
895         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
896         and define as weak alias of __fputs_unlocked.  Use
897         libc_hidden_weak.
898         * include/stdio.h (__fputs_unlocked): Declare.  Use
899         libc_hidden_proto.
900         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
901         fputs_unlocked.
903         [BZ #18529]
904         * resolv/netdb.h [__USE_POSIX]: Change condition to
905         [__USE_XOPEN2K].
906         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
907         not expect.
908         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
909         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
910         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
911         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
912         [XPG4 || UNIX98] (AI_ALL): Likewise.
913         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
914         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
915         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
916         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
917         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
918         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
919         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
920         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
921         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
922         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
923         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
924         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
925         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
926         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
927         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
928         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
929         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
930         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
931         [XPG4 || UNIX98] (gai_strerror): Likewise.
932         [XPG4 || UNIX98] (getaddrinfo): Likewise.
933         [XPG4 || UNIX98] (getnameinfo): Likewise.
935         [BZ #18528]
936         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
937         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
938         __USE_XOPEN2K8].
939         (getgrent): Likewise.
940         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
941         expect.
942         [XPG3 || POSIX2008] (endgrent): Likewise.
943         [XPG3] (setgrent): Likewise.
944         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
945         variable.
946         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
948         [BZ #18527]
949         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
950         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
951         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
952         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
953         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
954         * include/unistd.h (__getlogin_r): Declare.  Use
955         libc_hidden_proto.
956         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
957         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
958         variable.
959         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
960         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
961         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
963 2015-06-12  Martin Sebor  <msebor@redhat.com>
965         [BZ #18512]
966         * Makerules (check-install-supported): New target.
967         (install): Add check-install-supported as a dependency.
968         * manual/install.texi (Installing the C Library): Document
969         that overriding prefix and exec_prefix is not supported.
970         Mention DESTDIR.
971         * INSTALL: Regenerate from the above.
973 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #18519]
976         * posix/Versions (libc): Export __libc_pread at version
977         GLIBC_PRIVATE.
978         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
979         instead of pread.
980         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
981         variable.
983         [BZ #18522]
984         * misc/efgcvt_r.c
985         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
986         (cvt_symbol): Use weak_alias instead of strong_alias.
987         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
988         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
989         Remove variable.
990         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
991         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
993         [BZ #18520]
994         * inet/herrno.c (h_errno): Rename to __h_errno.
995         (__libc_h_errno): Define as alias of __h_errno not h_errno.
996         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
997         to __h_errno instead of h_errno.
998         * nptl/herrno.c (h_errno): Rename to __h_errno.
999         (__h_errno_location): Refer to __h_errno not h_errno.
1000         * resolv/Versions (h_errno): Rename to __h_errno.
1001         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1002         Remove variable.
1003         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1005 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1007         * configure.ac: More strict check for AVX512 assembler support.
1008         * configure: Regenerated.
1010         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1011         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1013         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1015         * sysdeps/x86_64/fpu/Versions: New versions added.
1016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1018         build of SSE, AVX2 and AVX512 IFUNC versions.
1019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1021         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1022         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1025         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1026         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1027         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1028         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1029         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1030         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
1032         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1035         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1036         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1037         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1038         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1039         * NEWS: Mention addition of x86_64 vector sin.
1041 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1043         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1044         comment.
1046 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1048         [BZ #18479]
1049         * nptl/pt-interp.c: New file.
1050         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1051         Add pt-interp.
1052         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1053         $(common-objpfx)runtime-linker.h.
1055 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1057         * Makeconfig (+interp): Remove unused variable.
1058         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1059         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1060         $(elf-objpfx)runtime-linker.h.
1061         ($(elf-objpfx)runtime-linker.h): Rename to
1062         $(common-objpfx)runtime-linker.h and move ...
1063         * Makerules [$(build-shared) = yes]: ... here.
1064         * elf/interp.c: Include <runtime-linker.h> instead of
1065         <elf/runtime-linker.h>.
1067 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1069         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1070         (__gettimeofday_syscall): Remove vsyscall fallback.
1071         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1072         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1073         Add syscall fallback function.
1074         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1075         if vDSO is not present.
1076         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1077         fallback function.
1078         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1079         present.
1080         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1081         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1083 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1085         [BZ #18497]
1086         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1087         of wcscmp.
1088         (wcscmp): Define as weak alias of WCSCMP.
1089         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1090         wcscoll.
1091         (USE_HIDDEN_DEF): Define.
1092         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1093         __wcscoll.  Don't use libc_hidden_weak.
1094         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1095         wcscmp.
1096         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1097         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1098         __GI_wcscmp.
1099         (weak_alias): Undefine and redefine.
1100         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1101         __wcscmp and define as weak alias of __wcscmp.
1102         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1103         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1104         (__wcscoll): Likewise.
1105         (wcscmp): Don't use libc_hidden_proto.
1106         (wcscoll): Likewise.
1107         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1108         wcscoll.
1109         * posix/regexec.c (check_node_accept_bytes): Likewise.
1110         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1111         variable.
1112         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1113         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1115         [BZ #18507]
1116         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1117         __fstatvfs and define as weak alias of __fstatvfs.  Use
1118         libc_hidden_weak.
1119         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1120         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1121         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1122         Define as alias of __fstatvfs, not fstatvfs.
1123         (fstatvfs64): Likewise.
1124         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1125         Define as alias of __statvfs, not statvfs.
1126         (statvfs64): Likewise.
1127         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1128         Remove variable.
1130 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1133         (HAVE_GETCPU_VSYSCALL): Define.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1135         (HAVE_GETCPU_VSYSCALL): Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1137         * sysdeps/unix/sysv/linux/sched_getcpu.c
1138         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1139         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1140         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1141         prototype.
1142         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1143         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1144         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1146         Define.
1147         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1148         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1149         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1152 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1154         * sysdeps/x86_64/fpu/Makefile: New file.
1155         * sysdeps/x86_64/fpu/Versions: New file.
1156         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1157         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1158         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1159         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1160         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1161         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1162         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1166         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1167         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1168         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1169         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1170         build of SSE, AVX2 and AVX512 IFUNC versions.
1171         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1172         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1173         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1174         * sysdeps/x86_64/configure: Regenerated.
1175         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1176         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1177         * manual/install.texi (Configuring and compiling): Document
1178         --disable-mathvec.
1179         * INSTALL: Regenerated.
1180         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1182         * math/Makefile: Added rules for vector tests.
1183         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1184         declaration under condition.
1185         * math/test-double-vlen2.h: New file.
1186         * math/test-double-vlen4.h: New file.
1187         * math/test-double-vlen8.h: New file.
1188         * math/test-vec-loop.h: Added initialization macro.
1189         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1191         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1192         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1193         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1194         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1196         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1197         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1198         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1199         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1202         * sysdeps/x86_64/fpu/Versions: New versions added.
1203         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1204         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1206         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1207         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1210         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1211         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1212         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1213         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1214         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1215         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1216         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1217         build of SSE, AVX2 and AVX512 IFUNC versions.
1218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1219         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1220         * NEWS: Mention addition of x86_64 vector cosf.
1222         * math/Makefile: Added CFLAGS for new tests.
1223         * math/test-float-vlen16.h: New file.
1224         * math/test-float-vlen4.h: New file.
1225         * math/test-float-vlen8.h: New file.
1226         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1227         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1229         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1230         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1231         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1232         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1233         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1234         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1235         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1236         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1238 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1240         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1241         * locale/programs/ld-ctype.c: Likewise.
1243 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1245         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1246         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1247         bit_ZMM16_31_state): New macro.
1248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1249         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1251 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1253         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1255 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1257         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1259 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1261         [BZ #18498]
1262         * libio/memstream.c (open_memstream): Rename to __open_memstream
1263         and define as weak alias of __open_memstream.
1264         * include/stdio.h (__open_memstream): Declare.  Use
1265         libc_hidden_proto.
1266         (open_memstream): Don't use libc_hidden_proto.
1267         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1268         open_memstream.
1269         * posix/getopt.c (_getopt_internal_r): Likewise.
1270         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1271         variable.
1272         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1273         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1274         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1276         [BZ #18496]
1277         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1278         instead of wcrtomb.
1280         [BZ #18483]
1281         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1282         [__USE_XOPEN2K8].  Remove redundant #endif.
1283         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1284         Remove redundant #if.
1285         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1286         Remove variable.
1287         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1288         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1290         [BZ #18495]
1291         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1292         (__iswlower): Likewise.
1293         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1294         (__iswlower): Likewise.
1295         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1296         instead of towlower.
1297         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1298         instead of iswlower.  Call __towupper instead of towupper.
1299         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1300         instead of iswalnum.
1302 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1304         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1305         errors to stderr.
1307 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1309         [BZ #15661]
1310         [BZ #17322]
1311         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1312         Check for overflow properly.  Check for O_APPEND.  Ignore large
1313         file system block sizes.  Add comments about problems.
1314         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1315         * manual/filesys.texi (Storage Allocation): New node.
1317 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1319         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1320         cancellable syscalls.
1321         (SYS_ify): Add guard to no redefine it.
1322         (INLINE_SYSCALL): Likewise.
1323         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1324         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1325         SYSCALL_CANCEL instead.
1326         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1327         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1328         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1329         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1330         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1331         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1332         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1333         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1334         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1335         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1336         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1337         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1338         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1339         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1340         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1342         Likewise.
1343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1344         (__libc_pread64): Likewise.
1345         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1346         (__libc_preadv): Likewise.
1347         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1348         (__libc_readv64): Likewise.
1349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1350         (__libc_pwrite): Likewise.
1351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1352         (__libc_pwrite64): Likewise.
1353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1354         (__libc_pwritev): Likewise.
1355         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1356         (__libc_pwritev64): Likewise.
1357         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1358         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1359         (sync_file_range): Likewise.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1361         Likewise.
1362         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1363         Likewise.
1364         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1365         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1366         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1367         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1368         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1369         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1370         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1371         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1373         Likewise.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1375         (__libc_read64): Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1377         Likewise.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1379         Likewise.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1381         Likewise.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1383         Likewise.
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1385         (__libc_pread64): Likewise.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1387         Likewise.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1389         (__libc_pwrite64): Likewise.
1390         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1391         (sync_file_range): Likewise.
1392         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1393         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1394         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1395         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1396         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1397         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1398         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1399         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1400         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1401         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1402         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1403         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1404         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1405         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1406         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1407         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1408         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1409         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1410         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1411         Likewise.
1412         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1413         Likewise.
1414         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1415         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1416         Likewise.
1417         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1418         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1419         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1420         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1421         Likewise.
1422         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1423         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1424         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1425         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1426         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1428 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1430         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1431         Include dl-vdso.
1432         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1433         Use VDSO routines for gettimeofday, clock_gettime if
1434         available.
1435         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1436         Declare VDSO symbols.
1437         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1438         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1439         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1440         * sysdeps/unix/sysv/linux/arm/Versions: Add
1441         __vdso_clock_gettime.
1443 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1445         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1446         be an inline implementation regardless of library is built within.
1447         (open_not_cancel_2): Likewise.
1448         (__read_nocancel): Likewise.
1449         (__write_nocancel): Likewise.
1450         (openat_not_cancel): Likewise.
1451         (openat_not_cancel_3): Likewise.
1452         (openat64_not_cancel): Likewise.
1453         (openat64_not_cancel_3): Likewise.
1454         (__close_nocancel): Likewise.
1455         (pause_not_cancel): Likewise.
1456         (nanosleep_not_cancel): Likewise.
1457         (sigsuspend_not_cancel): Likewise.
1459 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1461         [BZ #14958]
1462         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1463         wake-up.
1464         (__pthread_rwlock_rdlock_slow): Likewise.
1465         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1466         Likewise.
1467         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1468         Likewise.
1469         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1470         * nptl/tst-rwlock16.c: New file.
1471         * nptl/Makefile (tests): Add new test.
1473 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1475         [BZ #18324]
1476         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1477         missing wake-up of readers.
1478         * nptl/tst-rwlock15.c: New file.
1479         * nptl/Makefile (tests): Add new test.
1481 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1483         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1484         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1485         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1486         and __nacl_supply_interface_rtld.
1487         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1488         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1489         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1490         Add __nacl_supply_interface_rtld.
1491         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1493 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1495         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1496         isfinite.
1497         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1498         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1500 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1502         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1503         __signbit* with standard C99 macros.
1504         * math/e_exp10l.c: Likewise.
1505         * math/e_exp2l.c: Likewise.
1506         * math/e_scalb.c: Likewise.
1507         * math/e_scalbf.c: Likewise.
1508         * math/e_scalbl.c: Likewise.
1509         * math/s_ldexp.c: Likewise.
1510         * math/s_ldexpf.c: Likewise.
1511         * math/s_ldexpl.c: Likewise.
1512         * math/w_atan2.c: Likewise.
1513         * math/w_atan2f.c: Likewise.
1514         * math/w_atan2l.c: Likewise.
1515         * math/w_cosh.c: Likewise.
1516         * math/w_coshf.c: Likewise.
1517         * math/w_coshl.c: Likewise.
1518         * math/w_exp10.c: Likewise.
1519         * math/w_exp10f.c: Likewise.
1520         * math/w_exp10l.c: Likewise.
1521         * math/w_exp2.c: Likewise.
1522         * math/w_exp2f.c: Likewise.
1523         * math/w_exp2l.c: Likewise.
1524         * math/w_fmod.c: Likewise.
1525         * math/w_fmodf.c: Likewise.
1526         * math/w_fmodl.c: Likewise.
1527         * math/w_hypot.c: Likewise.
1528         * math/w_hypotf.c: Likewise.
1529         * math/w_hypotl.c: Likewise.
1530         * math/w_jnl.c: Likewise.
1531         * math/w_lgamma.c: Likewise.
1532         * math/w_lgamma_r.c: Likewise.
1533         * math/w_lgammaf.c: Likewise.
1534         * math/w_lgammaf_r.c: Likewise.
1535         * math/w_lgammal.c: Likewise.
1536         * math/w_lgammal_r.c: Likewise.
1537         * math/w_pow.c: Likewise.
1538         * math/w_powf.c: Likewise.
1539         * math/w_powl.c: Likewise.
1540         * math/w_remainder.c: Likewise.
1541         * math/w_remainderf.c: Likewise.
1542         * math/w_remainderl.c: Likewise.
1543         * math/w_scalb.c: Likewise.
1544         * math/w_scalbf.c: Likewise.
1545         * math/w_scalbl.c: Likewise.
1546         * math/w_scalbln.c: Likewise.
1547         * math/w_scalblnf.c: Likewise.
1548         * math/w_scalblnl.c: Likewise.
1549         * math/w_sinh.c: Likewise.
1550         * math/w_sinhf.c: Likewise.
1551         * math/w_sinhl.c: Likewise.
1552         * math/w_tgamma.c: Likewise.
1553         * math/w_tgammaf.c: Likewise.
1554         * math/w_tgammal.c: Likewise.
1555         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1556         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1557         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1558         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1559         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1561         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1562         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1563         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1564         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1565         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1566         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1567         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1568         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1569         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1570         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1571         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1572         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1573         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1574         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1575         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1576         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1579         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1580         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1581         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1582         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1583         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1584         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1585         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1586         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1587         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1588         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1589         * stdio-common/printf_fp.c: Likewise.
1590         * stdio-common/printf_fphex.c: Likewise.
1591         * stdio-common/printf_size.c: Likewise.
1593 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1595         [BZ #18470]
1596         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1597         strnlen.
1598         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1599         Remove variable.
1600         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1601         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1602         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1603         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1604         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1605         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1606         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1607         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1608         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1609         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1611         [BZ #18468]
1612         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1613         weak alias of __wmemchr.  Use libc_hidden_weak.
1614         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1615         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1616         instead of wmemchr.
1618 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1620         [BZ #18383]
1621         * elf/tst-tlsalign-extern.c: New file.
1622         * elf/tst-tlsalign-extern-static.c: New file.
1623         * elf/tst-tlsalign-vars.c: New file.
1624         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1625         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1626         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1627         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1628         (test-xfail-tst-tlsalign-extern-static): New variable.
1630 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1632         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1633         Use variable name _sc_err instead of err.
1634         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1635         instead of ret.
1636         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1637         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1638         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1639         (INLINE_SYSCALL): Likewise.
1641         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1642         * include/string.h (__strnlen): Use libc_hidden_proto.
1643         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1644         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1645         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1646         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1647         (libc_hidden_def): Undefine and redefine.
1648         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1649         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1650         __GI_strnlen.
1651         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1652         libc_hidden_def.
1653         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1655         [BZ #18469]
1656         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1657         weak alias of __towlower.  Use libc_hidden_weak.
1658         (towupper): Rename to __towupper and define as weak alias of
1659         __towupper.  Use libc_hidden_weak.
1660         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1661         (__towupper): Likewise.
1662         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1663         __towlower instead of towlower.
1665 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1667         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1668         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1670 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1672         * sysdeps/aarch64/libm-test-ulps: Update.
1674 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1676         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1677         Define.
1678         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1680         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1681         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1682         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1683         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1684         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1686 2015-06-01  Martin Sebor  <msebor@redhat.com>
1688         [BZ #18116]
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1690         (__setcontext): Use extended four-operand version of mtsf whenever
1691         possible.
1692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1693         (__novec_swapcontext): Likewise.
1695 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1697         * benchtests/scripts/compare_bench.py: New file.
1698         * benchtests/scripts/import_bench.py (mean): New function.
1699         (split_list): Likewise.
1700         (do_for_all_timings): Likewise.
1701         (compress_timings): Likewise.
1703         * benchtests/scripts/import_bench.py: New file.
1704         * benchtests/scripts/validate_benchout.py: Import import_bench
1705         instead of jsonschema.
1706         (validate_bench): Remove function.
1707         (main): Use import_bench.
1709 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1711         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1712         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1714 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1718 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1720         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1721         set THREAD_SELF->tid to a magic value and futex-wake it.
1722         Pass its address to the thread_exit system call.
1723         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1724         bit is clear.
1725         * sysdeps/nacl/lowlevellock.h: New file.
1726         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1728         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1729         Add TIMEOUT to current time, don't subtract it.
1731 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1733         [BZ #18422]
1734         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1735         ($(objpfx)tst-audit2.out): Also depend on
1736         $(objpfx)tst-auditmod9b.so.
1737         * elf/tst-audit2.c: Include <dlfcn.h>.
1738         (calloc_called): New.
1739         (calloc): Allow to be called more than once.
1740         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1742 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1744         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1745         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1747 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1749         * stdlib/monetary.h: Fix comment.
1751 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1753         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1754         Avoid using variables in #defines that might cause shadowing.
1755         (INTERNAL_VSYSCALL_CALL): Likewise.
1757 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1759         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1761         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1762         * nptl/lll_timedlock_wait.c: ... to this new file.
1763         * nptl/Makefile (libpthread-routines): Add it.
1764         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1765         * nptl/lll_timedwait_tid.c: ... to this new file.
1766         * nptl/Makefile (libpthread-routines): Add it.
1767         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1768         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1769         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1770         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1771         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1772         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1773         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1774         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1775         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1776         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1778 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1780         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1781         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1782         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1784         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1786         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1788         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1789         * sysdeps/unix/sysv/linux/tile/sysdep.h
1790         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1791         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1792         using vDSO syscall macro.
1794 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1796         [BZ #17293]
1797         * uk_UA: Fix sorting order for Ukrainian locale
1799 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1801         * stdlib/monetary.h: Fix comment.
1803 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1805         [BZ #18234]
1806         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1807         st_mtim and st_ctim members.
1808         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1809         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1810         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1811         (struct stat64): Likewise.
1812         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1813         (struct stat64): Likewise.
1814         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1815         (struct stat64): Likewise.
1817 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1819         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1820         Define and include sysdep-vdso.h.
1821         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1822         Likewise.
1823         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1824         Likewise.
1825         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1826         Define with VDSO_SYMBOL and use PTR_MANGLE.
1827         (__vdso_clock_gettime): Likewise.
1828         (__vdso_clock_getres): Likewise.
1829         (_libc_vdso_platform_setup): Likewise.
1830         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1831         Likewise.
1832         (_libc_vdso_platform_setup): Likewise.
1833         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1834         Likewise.
1835         (__vdso_clock_gettime): Likewise.
1836         (__vdso_clock_getres): Likewise.
1837         (__vdso_get_tbfreq): Likewise.
1838         (__vdso_getcpu): Likewise.
1839         (__vdso_time): Likewise.
1840         (__vdso_sigtramp_rt64): Likewise.
1841         (__vdso_signtramp32): Likewise.
1842         (__vdso_sigtramp_rt32): Likewise.
1843         (_libc_vdso_platform_setup): Likewise.
1844         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1845         Likewise.
1846         (__vdso_clock_gettime): Likewise.
1847         (__vdso_clock_getres): Likewise.
1848         (_libc_vdso_platform_setup): Likewise.
1849         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1850         Likewise.
1851         (__vdso_clock_gettime): Likewise.
1852         (_libc_vdso_platform_setup): Likewise.
1853         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1854         Likewise.
1855         (__vdso_getcpu): Likewise.
1856         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1857         Use VDSO_SYMBOL macro to define.
1858         (__vdso_clock_gettime): Likewise.
1859         (__vdso_clock_getres): Likewise.
1860         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1861         Likewise.
1862         (__vdso_clock_gettime): Likewise.
1863         (__vdso_clock_getres): Likewise.
1864         (__vdso_get_tbfreq): Likewise.
1865         (__vdso_getcpu): Likewise.
1866         (__vdso_time): Likewise.
1867         (__vdso_sigtramp_rt64): Likewise.
1868         (__vdso_signtramp32): Likewise.
1869         (__vdso_sigtramp_rt32): Likewise.
1870         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1871         Likewise.
1872         (__vdso_clock_gettime): Likewise.
1873         (__vdso_clock_getres): Likewise.
1874         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1875         Likewise.
1876         (__vdso_clock_gettime): Likewise.
1877         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1878         Likewise.
1879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1880         macro.
1881         (INTERNAL_VSYSCALL): Likewise.
1882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1883         Remove macro.
1884         (INTERNAL_VSYSCALL): Likewise.
1885         (INTERNAL_VSYSCALL_NCS): Likewise.
1886         (INTERNAL_VSYSCALL_CALL): New macro.
1887         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1888         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1889         Likewise.
1890         (INTERNAL_VSYSCALL): Likewise.
1891         (INTERNAL_VSYSCALL_NCS): Likewise.
1892         (INTERNAL_VSYSCALL_CALL): New macro.
1893         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1895         (INLINE_VSYSCALL): Remove macro.
1896         (INTERNAL_VSYSCALL): Remove macro.
1897         (INTERNAL_VSYSCALL_NCS): Remove macro.
1898         (INTERNAL_VSYSCALL_CALL): New macro.
1899         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1900         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1901         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1902         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1903         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1905         (INLINE_VSYSCALL): Remove macro.
1906         (INTERNAL_VSYSCALL): Likewise.
1907         (INTERNAL_VSYSCALL_NCS): Likewise.
1908         (INTERNAL_VSYSCALL_CALL): New macro.
1909         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1910         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1911         PTR_DEMANGLE on vDSO pointer.
1912         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1913         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1914         macro.
1915         (INTERNAL_SYSCALL): Likewise.
1916         (INTERNAL_VSYSCALL_NCS): Remove macro.
1917         (INTERNAL_VSYSCALL_CALL): New macro.
1918         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1919         Remove macro.
1920         (INTERNAL_VSYSCALL): Likewise.
1921         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1922         sysdep-vdso.h instead of libc-vdso.h.
1923         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1924         definition.
1925         (INLINE_VSYSCALL): Likewise.
1926         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1927         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1928         definition.
1929         (INLINE_VSYSCALL): Likewise.
1930         (INTERNAL_VSYSCALL): Likewise.
1931         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1932         * sysdeps/unix/sysv/linux/timespec_get.c
1933         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1934         (timespec_get): Use ANSI prototype.
1935         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1936         and definition for Linux.
1938 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1940         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1941         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1943 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1945         [BZ #18410]
1946         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1947         for missing DT_PLTRELSZ.
1949 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1951         Remove obsolete aliases that broke 'locale -a'
1952         [BZ #18412]
1953         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1954         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1955         breaking some applications that use 'locale -a' output.
1956         Change the encoding of this file from Latin-1 to ASCII to avoid
1957         other potential problems with people grepping this file.
1959 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1961         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1962         -fasynchronous-unwind-tables.
1963         (CFLAGS-sendto.c): Likewise.
1964         (CFLAGS-sendmsg.c): Likewise.
1965         (CFLAGS-connect.c): Likewise.
1966         (CFLAGS-recvmsg.c): Likewise.
1967         (CFLAGS-recvfrom.c): Likewise.
1968         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1969         (SOCKETCALL): New macro: non-cancellable socketcall.
1970         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1971         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1972         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1973         * sysdeps/unix/sysv/linux/accept.c: New file.
1974         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1975         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1976         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1977         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1978         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1979         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1980         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1981         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1982         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1983         * sysdeps/unix/sysv/linux/send.c: Likewise.
1984         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1985         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1986         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1987         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1988         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1989         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1990         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1991         prototype.
1992         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1993         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1994         instead of __internal_xxx function.
1995         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1996         prototype.
1997         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1998         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1999         instead of __internal_xxx function.
2000         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2001         prototype.
2002         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2003         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2004         instead of __internal_xxx function.
2005         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2006         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2007         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2008         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2009         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2010         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2011         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2012         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2013         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2014         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2015         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2016         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2017         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2018         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2020         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2021         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2022         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2023         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2024         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2027         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2028         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2029         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2030         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2031         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2032         * sysdeps/unix/sysv/linux/send.S: Likewise.
2033         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2034         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2035         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2036         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2037         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2038         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2039         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2040         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2041         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2042         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2043         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2044         socketcall is implemented in GLIBC.
2046 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2048         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2049         (__fma): Ignore uninitialized warnings around packing.
2050         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2051         (__fmaf): Ignore uninitialized warnings around packing.
2052         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2053         (__fmal): Ignore uninitialized warnings around packing.
2055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2056         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2057         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2058         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2060         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2061         switch statement into default case.
2062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2064         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2065         a conditional in forcing "inexact".
2066         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2067         Likewise.
2069 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2071         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2072         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2073         for each INTERNAL_SYSCALL use.
2075 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2077         [BZ #438]
2078         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2079         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2080         variable.
2082         [BZ #18444]
2083         * string/basename.c (basename): Rename to __basename and define as
2084         weak alias of __basename.  Use libc_hidden_weak.
2085         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2086         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2087         __basename instead of basename.
2088         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2089         Remove variable.
2090         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2092 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2094         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2095         (_IO_JUMPS_FILE_plus): New.
2096         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2097         _IO_CAST_FIELD_ACCESS.
2098         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2099         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2100         * libio/freopen.c (freopen): Likewise.
2101         * libio/freopen64.c (freopen64): Likewise.
2102         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2103         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2104         * libio/iofwide.c (_IO_fwide): Likewise.
2105         * libio/memstream.c (open_memstream): Likewise.
2106         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2107         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2108         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2110 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2112         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2113         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2114         NADJ.
2115         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2116         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2117         NADJ.
2118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2119         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2120         NADJ.
2122         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2123         (p == 4) case.
2125         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2126         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2127         Remove variable.
2128         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2129         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2130         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2132 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2134         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2135         Adjust jump table label generation macros.
2137 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2139         * stdio-common/vfprintf.c (vfprintf): Move local variables
2140         args_malloced, specs, specs_malloced, and the code after
2141         do_positional to the printf_positional function.
2142         (printf_positional): New function.
2144 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2146         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2147         function.
2148         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2149         STEP4_TABLE, process_arg): Move macro definitions
2150         out of the vfprintf function.  (Cosmetic change only.)
2152 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2154         * benchtests/Makefile (stdio-common-bench): Define.
2155         (benchset): Add stdio-common-bench.
2156         * sprintf-inputs: New file.
2157         * sprintf-source.c: New file.
2159 2015-05-21  Andreas Schwab  <schwab@suse.de>
2161         [BZ #13028]
2162         [BZ #17053]
2163         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2164         of struct __res_state.
2165         * resolv/res_send.c (__libc_res_nsend): Likewise.
2166         (get_nsaddr): New function.
2167         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2168         statp directly.
2170 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2172         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2173         -D_POSIX_C_SOURCE=199506L.
2175         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2177         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2178         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2179         Do not mention otherwise.
2180         [POSIX] (_XOPEN_VERSION): Do not expect.
2181         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2182         [POSIX] (_POSIX2_C_BIND): Likewise.
2183         [POSIX] (_POSIX2_VERSION): Likewise.
2184         [POSIX] (_XOPEN_XPG2): Likewise.
2185         [POSIX] (_XOPEN_XPG3): Likewise.
2186         [POSIX] (_XOPEN_XPG4): Likewise.
2187         [POSIX] (_XOPEN_UNIX): Likewise.
2188         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2189         [POSIX] (_POSIX_BARRIERS): Likewise.
2190         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2191         [POSIX] (_POSIX_CPUTIME): Likewise.
2192         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2193         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2194         [POSIX] (_POSIX_SHELL): Likewise.
2195         [POSIX] (_POSIX_SPAWN): Likewise.
2196         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2197         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2198         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2199         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2200         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2201         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2202         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2203         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2204         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2205         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2206         [POSIX] (_POSIX2_PBS): Likewise.
2207         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2208         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2209         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2210         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2211         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2212         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2213         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2214         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2215         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2216         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2217         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2218         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2219         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2220         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2221         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2222         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2223         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2224         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2225         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2226         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2227         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2228         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2229         [POSIX] (_SC_2_C_BIND): Likewise.
2230         [POSIX] (_SC_2_C_VERSION): Likewise.
2231         [POSIX] (_SC_2_PBS): Likewise.
2232         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2233         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2234         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2235         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2236         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2237         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2238         [POSIX] (_SC_BARRIERS): Likewise.
2239         [POSIX] (_SC_BASE): Likewise.
2240         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2241         [POSIX] (_SC_DEVICE_IO): Likewise.
2242         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2243         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2244         [POSIX] (_SC_FD_MGMT): Likewise.
2245         [POSIX] (_SC_FIFO): Likewise.
2246         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2247         [POSIX] (_SC_FILE_LOCKING): Likewise.
2248         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2249         [POSIX] (_SC_IOV_MAX): Likewise.
2250         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2251         [POSIX] (_SC_NETWORKING): Likewise.
2252         [POSIX] (_SC_PAGE_SIZE): Likewise.
2253         [POSIX] (_SC_PASS_MAX): Likewise.
2254         [POSIX] (_SC_PIPE): Likewise.
2255         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2256         [POSIX] (_SC_REGEXP): Likewise.
2257         [POSIX] (_SC_SHELL): Likewise.
2258         [POSIX] (_SC_SIGNALS): Likewise.
2259         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2260         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2261         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2262         [POSIX] (_SC_USER_GROUPS): Likewise.
2263         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2264         [POSIX] (_SC_STREAMS): Likewise.
2265         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2266         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2267         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2268         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2269         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2270         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2271         [POSIX] (_PC_FILESIZEBITS): Likewise.
2272         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2273         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2274         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2275         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2276         [POSIX] (uid_t): Likewise.
2277         [POSIX] (gid_t): Likewise.
2278         [POSIX] (off_t): Likewise.
2279         [POSIX] (pid_t): Likewise.
2280         [POSIX] (cuserid): Allow.
2281         (_SC_2_CHAR_TERM): Require constant.
2282         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2283         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2284         variable.
2286 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2288         * sysdeps/nacl/pthread-pids.h: New file.
2289         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2290         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2292         * nptl/pthread-pids.h: New file.
2293         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2294         * nptl/nptl-init.c: Include <pthread-pids.h>.
2295         (__pthread_initialize_minimal_internal):
2296         Call __pthread_initialize_pids instead of set_tid_address syscall.
2298         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2299         * sysdeps/posix/usleep.c: ... here.
2301 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2303         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2304         call_pselect6 object.
2305         [$(subdir) = io]: Remove call_sync_file_range object.
2306         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2308         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2309         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2311 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2313         * math/s_cproj.c: Add include "math_private.h".
2314         * math/s_cprojf.c: Likewise.
2315         * math/s_cprojl.c: Likewise.
2317 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2319         [BZ #18244]
2320         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2321         high mantissa bit when testing whether P is a NaN.
2322         * math/libm-test.inc (remainder_test_data): Add more tests.
2323         (remquo_test_data): Likewise.
2325         [BZ #18049]
2326         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2327         below -32, return the argument, with underflow if subnormal.
2328         * math/auto-libm-test-in: Add more tests of atanh.
2329         * math/auto-libm-test-out: Regenerated.
2331 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2333         [BZ #18434]
2334         * nptl/tst-sem15.c: New file.
2335         * nptl/Makefile (tests): Add it.
2336         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2337         s/<</>>/ to fix typo in EOVERFLOW check.
2338         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2340 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2342         * manual/strings.texi (envz_remove): Fix typo in safety
2343         annotations.
2345 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2346             Steve Ellcey  <sellcey@imgtec.com>
2348         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2349         in order to avoid strict alias warnings.
2350         (iruserok_af): Ditto for ra.
2352 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2354         [BZ #17581]
2355         * malloc/hooks.c
2356         (magicbyte): Convert to a function and avoid returning 0x01.
2357         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2358         (mem2chunk_check): Fix unsigned comparisons to zero.
2359         Hoist defs of sz and magic.
2361 2015-05-19  Richard Henderson  <rth@redhat.com>
2363         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2365         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2367 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2369         [BZ #16159]
2370         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2371         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2372         (reused_arena): Find a non-corrupt arena.
2373         (heap_trim): Pass arena to unlink.
2374         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2375         malloc_printerr.
2376         (top_check): Likewise.
2377         (free_check): Likewise.
2378         (realloc_check): Likewise.
2379         * malloc/malloc.c (malloc_printerr): Add arena argument.
2380         (unlink): Likewise.
2381         (munmap_chunk): Adjust.
2382         (ARENA_CORRUPTION_BIT): New macro.
2383         (arena_is_corrupt): Likewise.
2384         (set_arena_corrupt): Likewise.
2385         (sysmalloc): Use mmap if there are no usable arenas.
2386         (_int_malloc): Likewise.
2387         (__libc_malloc): Don't fail if arena_get returns NULL.
2388         (_mid_memalign): Likewise.
2389         (__libc_calloc): Likewise.
2390         (__libc_realloc): Adjust for additional argument to
2391         malloc_printerr.
2392         (_int_free): Likewise.
2393         (malloc_consolidate): Likewise.
2394         (_int_realloc): Likewise.
2395         (_int_memalign): Don't touch corrupt arenas.
2396         * malloc/tst-malloc-backtrace.c: New test case.
2398         * Makefile (summarize-tests): Fix return value on success.
2400         * manual/string.texi (Envz Functions): Add envz_remove.
2402 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2404         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2405         (invalid_name): New function, broken out of ...
2406         (__opendirat): ... here.  Call it.
2407         (need_isdir_precheck): New function, broken out of ...
2408         (__opendirat): ... here.  Call it.
2409         Use __fxstatat64, not __xstatat64.
2410         (opendir_oflags): New function, broken out of ...
2411         (__opendirat): ... here.  Call it.
2412         (opendir_tail): New function, broken out of ...
2413         (__opendirat): ... here.  Call it.
2414         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2415         opendir_tail, rather than punting to __opendirat.
2416         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2418 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2420         * .gitignore: Ignore generated *.pyc.
2422 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2424         * include/stdio.h: Define __need_wint_t.
2425         * test-skeleton.c: Avoid `for' loop initial declaration.
2426         * nptl/tst-initializers1.c: Use test-skeleton.c.
2428 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2430         [BZ #18418]
2431         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2433 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2435         [BZ #16352]
2436         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2437         (__ieee754_atanh): Force underflow exception for results with
2438         small absolute value.
2439         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2440         (__ieee754_atanhf): Force underflow exception for results with
2441         small absolute value.
2442         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2443         (__ieee754_atanh): Force underflow exception for results with
2444         small absolute value.
2445         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2446         (__ieee754_atanhf): Force underflow exception for results with
2447         small absolute value.
2448         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2449         (__ieee754_atanhl): Force underflow exception for results with
2450         small absolute value.
2451         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2452         (__ieee754_atanhl): Force underflow exception for results with
2453         small absolute value.
2454         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2455         (__ieee754_atanhl): Force underflow exception for results with
2456         small absolute value.
2457         * math/auto-libm-test-in: Do not allow missing underflow
2458         exceptions from atanh.
2459         * math/auto-libm-test-out: Regenerated.
2461         [BZ #18221]
2462         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2463         2**-28 as threshold for returning x or +/- 1/x.
2464         * math/auto-libm-test-in: Add more tests of tan.
2465         * math/auto-libm-test-out: Regenerated.
2467         [BZ #18220]
2468         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2469         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2470         * math/auto-libm-test-in: Add another test of lgamma.
2471         * math/auto-libm-test-out: Regenerated.
2473 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2475         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2476         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2477         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2478         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2479         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2480         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2481         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2484         (log1): Use fabs.  (my_log2): Use fabs.
2485         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2486         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2488         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2489         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2490         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2491         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2492         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2493         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2494         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2495         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2497 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2499         [BZ #18217]
2500         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2501         as threshold for returning 1 - x.
2502         * math/auto-libm-test-in: Add more tests of erfc.
2503         * math/auto-libm-test-out: Regenerated.
2505 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2507         [BZ #18196]
2508         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2509         threshold for large arguments.
2510         * math/auto-libm-test-in: Add another test of atan.
2511         * math/auto-libm-test-out: Regenerated.
2513         [BZ #16339]
2514         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2515         (__log1p): Force underflow exception for results with small
2516         absolute value.
2517         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2518         (__log1pf): Force underflow exception for results with small
2519         absolute value.
2520         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2521         (__log1p): Force underflow exception for results with small
2522         absolute value.
2523         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2524         (__log1pf): Force underflow exception for results with small
2525         absolute value.
2526         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2527         (__log1pl): Force underflow exception for results with small
2528         absolute value.
2529         * math/auto-libm-test-in: Do not allow missing underflow
2530         exceptions from log1p.
2531         * math/auto-libm-test-out: Regenerated.
2533 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2534             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2536         [BZ #16704]
2537         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2539 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2541         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2542         (libmvec): New variable.
2543         * configure.ac: Added option for mathvec build.
2544         * configure: Regenerated.
2545         * mathvec/Depend: New file.
2546         * mathvec/Makefile: New file.
2547         * shlib-versions: Added libmvec.
2548         * math/Makefile: Added rule for libm.so installation.
2550         * bits/math-vector.h: New file.
2551         * bits/libm-simd-decl-stubs.h: New header.
2552         * math/Makefile (headers): Added new header
2553         libm-simd-decl-stubs.h.
2554         * math/math.h (__MATHCALL_VEC): New macro.
2556         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2557         for conditions in testing functions.
2558         * math/Makefile: Added call of libm-have-vector-test.sh.
2559         * math/libm-test.inc (HAVE_VECTOR): New macros.
2561         * math/libm-test.inc: START refactored.
2562         * math/test-double.c (TEST_MATHVEC): Add define.
2563         * math/test-float.c: Likewise.
2564         * math/test-idouble.c: Likewise.
2565         * math/test-ifloat.c: Likewise.
2566         * math/test-ildoubl.c: Likewise.
2567         * math/test-ldouble.c: Likewise.
2568         * sysdeps/generic/math-tests-arch.h
2569         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2570         architecture check.
2572         * math/test-double.c (FUNC_TEST): New macro.
2573         * math/test-float.c: Likewise.
2574         * math/test-idouble.c: Likewise.
2575         * math/test-ifloat.c: Likewise.
2576         * math/test-ildoubl.c: Likewise.
2577         * math/test-ldouble.c: Likewise.
2578         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2580 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2582         * sysdeps/nacl/fdopendir.c: New file.
2584         * dirent/scandir-tail.c: New file.
2585         * dirent/scandir64-tail.c: New file.
2586         * dirent/Makefile (routines): Add them.
2587         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2588         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2589         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2590         [!SCANDIR] (SCANDIR_TAIL): New macro.
2591         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2592         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2593         (SCANDIRAT): Macro removed.
2594         (SCANDIR_TAIL): New macro.
2595         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2596         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2597         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2598         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2599         (READDIR): Macro removed.
2600         (SCANDIR_TAIL): New macro.
2601         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2602         (SCANDIR_TAIL): New macro.
2604         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2605         * dirent/scandir-cancel.c: ... to this new file.
2606         * dirent/Makefile (routines): Add it.
2607         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2608         * sysdeps/unix/sysv/linux/i386/scandir64.c
2609         (SKIP_SCANDIR_CANCEL): Macro removed.
2610         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2612         * dirent/tst-scandir.c: New file.
2613         * dirent/tst-scandir64.c: New file.
2614         * dirent/Makefile (tests): Add them.
2616 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2618         [BZ #18409]
2619         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2621 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2623         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2624         list.
2626 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2628         * benchtests/bench-strcoll.c: New benchmark.
2629         * benchtests/Makefile: Generate locales and run benchmark.
2630         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2631         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2632         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2633         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2634         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2635         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2636         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2637         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2638         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2639         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2640         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2641         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2642         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2643         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2644         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2645         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2646         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2647         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2648         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2649         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2650         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2651         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2652         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2653         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2655 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2657         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2658         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2660 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2662         * posix/uname-values.h: New file.
2663         * posix/uname.c: Include that instead of <config-name.h>.
2664         * sysdeps/nacl/uname-values.h: New file.
2665         * sysdeps/arm/nacl/uname-values.h: New file.
2667 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2669         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2670         splitting into fields.
2672 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2674         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2675         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2676         * locale/localeinfo.h: Add enum collation_encoding_type.
2677         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2678         * programs/ld-collate.c (collate_output): Add encoding type info.
2679         * string/strcoll_l.c (STRDIFF): New function.
2680         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2681         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2683 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2685         [BZ #18397]
2686         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2687         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2688         <fpu_control.h> instead of <math/fpu_control.c>.
2689         * sysdeps/mips/mips32/fpu/Makefile: New file.
2691 2015-05-11  Andreas Schwab  <schwab@suse.de>
2693         [BZ #18007]
2694         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2695         nss_endgrent.
2696         (_nss_compat_endgrent): Call nss_endgrent.
2697         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2698         nss_endpwent.
2699         (_nss_compat_endpwent): Call nss_endpwent.
2700         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2701         needent, call nss_setspent only if non-zero.
2702         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2703         (internal_endspent): Don't call nss_endspent.
2704         (_nss_compat_endspent): Call nss_endspent.
2705         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2706         Remove.  All uses removed.
2707         (internal_setent): Remove parameter stayopen, add parameter
2708         stream.  Use it instead of global variable.
2709         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2710         (internal_endent, internal_getent): Add parameter stream.  Use it
2711         instead of global variable.
2712         (CONCAT(_nss_files_end,ENTNAME))
2713         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2714         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2715         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2716         uses removed.
2717         (internal_setent, internal_endent): Add parameter stream.  Use it
2718         instead of global variable.
2719         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2720         stream.
2721         (get_next_alias): Add parameter stream.
2722         (_nss_files_getaliasent_r): Pass global stream.
2723         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2724         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2725         (_nss_files_gethostbyname4_r): Pass local stream to
2726         internal_setent, internal_getent and internal_endent.  Remove
2727         locking.
2729 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2731         * tst-strfmon1.c (tests): Update expected currency symbol.
2733 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2735         * sysdeps/nacl/gethostname.c: New file.
2737 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2739         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2740         and sinh.
2741         * math/auto-libm-test-out: Regenerated.
2742         * sysdeps/i386/fpu/libm-test-ulps: Update.
2743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2745 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2747         [BZ #18125]
2748         * stdlib/tst-setcontext3.c: New file.
2749         * stdlib/tst-setcontext3.sh: New file.
2750         * stdlib/Makefile (tests): Add tst-setcontext3.
2751         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2752         to verify test program created output file.
2753         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2754         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2755         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2756         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2758 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2760         [BZ #18383]
2761         * elf/tst-tlsalign.c: New file.
2762         * elf/tst-tlsalign-static.c: New file.
2763         * elf/tst-tlsalign-lib.c: New file.
2764         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2765         (tests-static): Add tst-tlsalign-static.
2766         (modules-names): Add tst-tlsalign-lib.
2767         (test-xfail-tst-tlsalign): New variable.
2768         (test-xfail-tst-tlsalign-static): New variable.
2770         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2771         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2773 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2775         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2776         csqrt, erfc, sin and sincos.
2777         * math/auto-libm-test-out: Regenerated.
2778         * sysdeps/i386/fpu/libm-test-ulps: Update.
2779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2783         * sysdeps/aarch64/libm-test-ulps: Update.
2785 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2787         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2788         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2789         * math/auto-libm-test-out: Regenerated.
2790         * sysdeps/i386/fpu/libm-test-ulps: Update.
2791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2793 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2795         [BZ #18265]
2796         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2797         (wcsncpy): Likewise.
2799 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2801         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2802         Assume __ASSUME_FALLOCATE is always true.
2803         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2804         (__posix_fallocate64_l64): Likweise.
2805         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2806         (posix_fallocate): Likewise.
2807         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2808         (__posix_fallocate64_l64): Likewise.
2809         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2810         [!__ASSUME_FALLOCATE]: Add comment.
2812 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2814         * sysdeps/unix/sysv/linux/i386/Makefile
2815         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2816         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2817         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2818         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2819         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2820         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2821         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2823 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2825         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2826         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2827         tgamma.
2828         * math/auto-libm-test-out: Regenerated.
2829         * sysdeps/i386/fpu/libm-test-ulps: Update.
2830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2832 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2834         * math/auto-libm-test-in: Add more tests of tgamma.
2835         * math/auto-libm-test-out: Regenerated.
2836         * sysdeps/i386/fpu/libm-test-ulps: Update.
2837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2839         * math/auto-libm-test-in: Add more tests of tanh.
2840         * math/auto-libm-test-out: Regenerated.
2841         * sysdeps/i386/fpu/libm-test-ulps: Update.
2842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844         * math/auto-libm-test-in: Add more tests of tan.
2845         * math/auto-libm-test-out: Regenerated.
2846         * sysdeps/i386/fpu/libm-test-ulps: Update.
2847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2849         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2850         * math/auto-libm-test-out: Regenerated.
2851         * sysdeps/i386/fpu/libm-test-ulps: Update.
2852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2854         * math/auto-libm-test-in: Add another test of pow.
2855         * math/auto-libm-test-out: Regenerated.
2856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2858         * math/auto-libm-test-in: Add more tests of lgamma.
2859         * math/auto-libm-test-out: Regenerated.
2860         * sysdeps/i386/fpu/libm-test-ulps: Update.
2861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2863         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2864         log1p.
2865         * math/auto-libm-test-out: Regenerated.
2866         * sysdeps/i386/fpu/libm-test-ulps: Update.
2867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2869 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2871         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2872         Elf64_Chdr structs and ELFCOMPRESS constants.
2874 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2876         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2877         expm1.
2878         * math/auto-libm-test-out: Regenerated.
2879         * sysdeps/i386/fpu/libm-test-ulps: Update.
2880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882         * math/auto-libm-test-in: Add more tests of erf and erfc.
2883         * math/auto-libm-test-out: Regenerated.
2884         * sysdeps/i386/fpu/libm-test-ulps: Update.
2885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2887 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2889         * config.h.in (HAVE_AARCH64_BE): Add.
2891 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2893         * math/auto-libm-test-in: Add more tests of csqrt.
2894         * math/auto-libm-test-out: Regenerated.
2895         * sysdeps/i386/fpu/libm-test-ulps: Update.
2896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2898         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2899         * math/auto-libm-test-out: Regenerated.
2900         * sysdeps/i386/fpu/libm-test-ulps: Update.
2901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2905 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2907         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2908         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2910         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2911         (euidaccess, eaccess): Define as weak aliases.
2913         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2914         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2915         but __suseconds_t is often 'long int' so some sources assume that
2916         type is being used (e.g. they use %ld to print tv_usec).
2918 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2920         [BZ #18007]
2921         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2922         (CVE-2014-8121)
2923         * nss/tst-nss-getpwent.c: New file.
2924         * nss/Makefile (tests): Add new test.
2926 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #18346]
2929         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2930         exponents less than 48 as cases where high part of mantissa needs
2931         examining to determine whether argument is integral.
2932         * math/libm-test.inc (round_test_data): Add more tests.
2934 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2936         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2938 2015-04-27  David S. Miller  <davem@davemloft.net>
2940         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2941         __tls_get_addr.
2942         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2944 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2946         [BZ#18333]
2947         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2949 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2951         [BZ#18333]
2952         * time/tzset.c (parse_tzname): Return error on memory allocation
2953         failure.
2954         * test-skeleton.c (struct temp_name_list): Change type of name
2955         member to non-const.
2956         (add_temp_file): Create a copy of the file name.
2957         (delete_temp_files): Deallocate memory.
2958         (create_temp_file): Add comment.
2960 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2962         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2963         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2965 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2967         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2968         * sysdeps/arm/configure: Regenerated.
2970 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2972         [BZ #17715]
2973         * time/tzfile.c (__tzfile_read): Check for large values of
2974         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2975         * time/tzset.c (__tzstring_len): New function, based on the old
2976         __tzstring function.
2977         (__tzstring): Call __tzstring_len.
2978         (parse_tzname): New helper function extracted from
2979         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2980         the input string.
2981         (parse_offset): New helper function extracted from
2982         __tzset_parse_tz.  Replace switch with fallthrough with
2983         initialization before sscanf.
2984         (parse_rule): Likewise.
2985         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2986         new-style function definition.
2987         * timezone/Makefile (tests): Add tst-tzset.
2988         (tst-tzset.out): Dependencies on time zone files.
2989         (tst-tzset-ENV): Set TZDIR.
2990         (testdata/XT%): Copy crafted time zone files.
2991         * timezone/README: Mention crafted time zone files.
2992         * timezone/testdata/XT1, timezone/testdata/XT2,
2993         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2994         files.
2995         * timezone/tst-tzset.c: New test.
2997 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2999         * Makeconfig (+gccwarn): Remove -Winline.
3001 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3003         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3005 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007         * NEWS: Mention sysconf() cache information support for s390.
3008         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3010 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3012         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3013         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3014         (__nearbyint): Likewise.
3015         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3016         (copysignl): Likewise.
3018 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3020         [BZ #18287]
3021         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3022         based on padding.  (CVE-2015-1781)
3024 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3026         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3027         libc-vdso.h.
3028         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3029         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3030         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3031         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3032         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3033         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3034         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3035         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3036         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3037         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3038         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3039         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3040         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3041         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3042         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3043         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3044         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3045         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3046         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3047         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3048         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3049         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3050         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3052 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3054         * stdlib/setenv.c (__add_to_environ):
3055         Dump core quickly if setenv (..., NULL, ...) is called.
3056         This time, do it the right way, and pacify GCC with a pragma.
3058 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3060         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3061         IMAP->l_prev cannot be null, and #if out the code for the contrary
3062         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3063         believe that NS (&_dl_ns[NSID]) could point outside the array.
3065         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3066         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3067         before using NSID as an index.
3069 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3071         [BZ #17825]
3072         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3073         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3074         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3076 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3078         Add preliminary port to Google Native Client on ARM.
3079         * abi-tags (.*-.*-nacl.*): New entry.
3080         * sysdeps/arm/nacl: New directory.
3081         * sysdeps/nacl: New directory.
3083 2015-04-16  David S. Miller  <davem@davemloft.net>
3085         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3086         lowlevellock-futex.h
3088 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3090         * sysdeps/tile/configure.ac: New file.
3091         * sysdeps/tile/configure: Regenerated.
3093 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3095         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3096         conditionals for weak_alias and libc_hidden_weak.
3097         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3098         libc_hidden_weak and weak_alias.
3099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3100         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3101         and weak_alias for static one.
3103 2015-04-15  David S. Miller  <davem@davemloft.net>
3105         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3107 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3109         [BZ #18206]
3110         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3111           Use signed comparision instead of substraction to avoid
3112           overflow bug.
3113         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3114           Take the sign of ret.
3115         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3116           Do not expect precise return values. Only the sign matters.
3117         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3118         * wcsmbs/test-wcsncmp.c: New File.
3119         * string/test-strncmp.c: Add wcsncmp support.
3121 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3123         [BZ #6792]
3124         * math/w_log1p.c: New file.
3125         * math/w_log1pf.c: Likewise.
3126         * math/w_log1pl.c: Likewise.
3127         * math/Makefile (libm-calls): Add w_log1p.
3128         * math/s_log1pl.c (log1pl): Remove weak_alias.
3129         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3130         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3131         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3132         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3133         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3134         [NO_LONG_DOUBLE] (log1pl): Likewise.
3135         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3136         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3137         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3138         (log1p): Remove long_double_symbol.
3139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3140         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3141         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3142         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3143         remove weak_alias for corresponding log1p function.
3144         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3145         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3146         * sysdeps/ia64/fpu/w_log1p.c: New file.
3147         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3148         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3149         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3151 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3153         [BZ #18247]
3154         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3155         decimal exponent by 1.
3156         * stdlib/tst-strtod-round-data: Add more tests.
3157         * stdlib/tst-strtod-round.c (tests): Regenerated.
3159 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3161         * math/auto-libm-test-in: Add more tests of clog and clog10.
3162         * math/auto-libm-test-out: Regenerated.
3163         * sysdeps/i386/fpu/libm-test-ulps: Update.
3164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3166 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3168         * Makeconfig (module-cppflags): Exclude all .v.i files.
3169         (skip-module-cppflags): Variable removed.
3171         * configure.ac (libc_config_ok): Initialize before reading
3172         preconfigure scripts, not after.
3173         * configure: Regenerated.
3175         * test-skeleton.c (TIMEOUT): Move #define to top level.
3176         (main): Grok environment variable TEST_DIRECT.  If set, print
3177         test expectation details into that file and then behave as if
3178         given --direct.
3180 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3182         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3183         warning on 32-bit.
3185 2015-04-08  David S. Miller  <davem@davemloft.net>
3187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3189 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3191         * math/auto-libm-test-in: Add more tests of atanh.
3192         * math/auto-libm-test-out: Regenerated.
3193         * sysdeps/i386/fpu/libm-test-ulps: Update.
3194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196         * math/auto-libm-test-in: Add more tests of atan.
3197         * math/auto-libm-test-out: Regenerated.
3198         * sysdeps/i386/fpu/libm-test-ulps: Update.
3199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3203         * elf/pldd.c (main): Rewrite to use struct
3204         scratch_buffer instead of extend_alloca.
3205         * elf/pldd-xx.c (find_maps): Likewise.
3206         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3207         <alloca.h>.
3208         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3209         scratch_buffer instead of extend_alloca.
3210         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3211         grp/compat-initgroups.c.
3212         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3213         Rewrite to use struct scratch_buffer instead of extend_alloca.
3214         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3215         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3217 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3219         * math/auto-libm-test-in: Add more tests of cbrt.
3220         * math/auto-libm-test-out: Regenerated.
3221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3223         * math/auto-libm-test-in: Add more tests of cabs.
3224         * math/auto-libm-test-out: Regenerated.
3225         * sysdeps/i386/fpu/libm-test-ulps: Update.
3226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3228         [BZ #18210]
3229         [BZ #18211]
3230         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3231         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3232         computations.
3233         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3234         clog10.
3235         * math/auto-libm-test-out: Regenerated.
3236         * sysdeps/i386/fpu/libm-test-ulps: Update.
3237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3239         [BZ #18197]
3240         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3241         (atan): Set FE_TONEAREST mode for internal computations.
3242         * math/auto-libm-test-in: Add more tests of atan.
3243         * math/auto-libm-test-out: Regenerated.
3245 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3247         [BZ #17930]
3248         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3250 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3252         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3254 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3256         * include/scratch_buffer.h: New file.
3257         * malloc/scratch_buffer_grow.c: Likewise.
3258         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3259         * malloc/scratch_buffer_set_array_size.c: Likewise.
3260         * malloc/tst-scratch_buffer.c: Likewise.
3261         * malloc/Makefile (routines): Add scratch_buffer_grow.
3262         (tests): Add test case.
3263         * malloc/Versions (GLIBC_PRIVATE): Export
3264         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3265         __libc_scratch_buffer_set_array_size.
3267 2015-04-06  Richard Henderson  <rth@redhat.com>
3269         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3270         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3272         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3273         unsigned int before printing.
3275 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3277         [BZ #17596]
3278         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3279         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3281 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3283         * include/libc-internal.h (libc_max_align_t): Define.
3285 2015-04-02  Andreas Schwab  <schwab@suse.de>
3287         [BZ #16850]
3288         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3290 2015-04-02  Mel Gorman  <mgorman@suse.de>
3292         [BZ #17195]
3293         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3294         as well as the main arena.
3296 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3298         [BZ #18185]
3299         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3300         sharing L2 cache to 2 for Silvermont/Knights Landing.
3302 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3304         [BZ #17711]
3305         * config.make.in (have-protected-data): New.
3306         * configure.ac: Check linker support for protected data symbol.
3307         * configure: Regenerated.
3308         * elf/Makefile (modules-names): Add tst-protected1moda and
3309         tst-protected1modb if $(have-protected-data) is yes.
3310         (tests): Add tst-protected1a and tst-protected1b if
3311         $(have-protected-data) is yes.
3312         ($(objpfx)tst-protected1a): New.
3313         ($(objpfx)tst-protected1b): Likewise.
3314         (tst-protected1modb.so-no-z-defs): Likewise.
3315         * elf/tst-protected1a.c: New file.
3316         * elf/tst-protected1b.c: Likewise.
3317         * elf/tst-protected1mod.h: Likewise.
3318         * elf/tst-protected1moda.c: Likewise.
3319         * elf/tst-protected1modb.c: Likewise.
3321 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3323         [BZ #17711]
3324         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3325         indicates it is called from do_lookup_x on relocation against
3326         protected data, skip the data definion in the executable from
3327         copy reloc.
3328         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3329         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3330         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3331         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3332         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3333         otherwise to 0.
3334         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3335         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3336         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3337         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3338         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3339         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3341 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3343         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3344         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3346 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3348         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3349         THREAD_SETMEM_NC.
3350         * sysdeps/x86_64/nptl/tls.h: Ditto.
3352 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3354         * dlfcn/tststatic.c (main): Converted to ...
3355         (do_test): ... this.
3356         (TEST_FUNCTION): New macro.
3357         Include test-skeleton.c.
3359 2015-03-26  Alan Modra  <amodra@gmail.com>
3361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3362         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3363         zero for undefined weak.
3364         (elf_machine_plt_conflict): Similarly.
3366 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3368         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3369         atanh.
3370         * math/auto-libm-test-out: Regenerated.
3371         * sysdeps/i386/fpu/libm-test-ulps: Update.
3372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374         * math/auto-libm-test-in: Add another test of asin.
3375         * math/auto-libm-test-out: Regenerated.
3376         * sysdeps/i386/fpu/libm-test-ulps: Update.
3377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3380         Remove macro.
3381         (LLL_EBX_REG): Likewise.
3382         (LLL_ENTER_KERNEL): Likewise.
3384         * math/auto-libm-test-in: Add more tests of asin.
3385         * math/auto-libm-test-out: Regenerated.
3386         * sysdeps/i386/fpu/libm-test-ulps: Update.
3387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3389         [BZ #18138]
3390         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3391         libc_do_syscall_args): New structure.
3392         (INTERNAL_SYSCALL_MAIN_0): New macro.
3393         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3394         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3395         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3396         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3397         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3398         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3399         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3400         Replace conditional definitions by conditional definitions of ....
3401         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3402         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3403         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3404         (libpthread-sysdep_routines): Add libc-do-syscall.
3405         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3406         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3407         to __NR_futex not 240.
3409 2015-03-25  Alan Modra  <amodra@gmail.com>
3411         * NEWS: Advertise TLS optimization.
3412         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3413         (DT_PPC_NUM): Increment.
3414         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3415         (CHECK_STATIC_TLS): Use here.
3416         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3417         TLS descriptors.
3418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3419         * sysdeps/powerpc/dl-tls.c: New file.
3420         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3421         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3422         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3423         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3428 2015-03-25  Alan Modra  <amodra@gmail.com>
3430         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3431         for overlapping .opd entries" to "support...".
3432         * sysdeps/powerpc/powerpc64/configure: Regenerate
3434 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3436         * math/auto-libm-test-in: Add more tests of acos.
3437         * math/auto-libm-test-out: Regenerated.
3438         * sysdeps/i386/fpu/libm-test-ulps: Update.
3439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3441         * math/auto-libm-test-in: Add more tests of expm1.
3442         * math/auto-libm-test-out: Regenerated.
3443         * sysdeps/i386/fpu/libm-test-ulps: Update.
3444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3446 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3448         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3449         * math/auto-libm-test-out: Regenerated.
3450         * sysdeps/i386/fpu/libm-test-ulps: Update.
3451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456         * math/auto-libm-test-in: Add more tests of log2.
3457         * math/auto-libm-test-out: Regenerated.
3458         * sysdeps/i386/fpu/libm-test-ulps: Update.
3459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3461 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3463         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3464         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3465         _IO_IS_APPENDING bit in READ_WRITE instead.
3467 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3469         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3470         (__determine_cpumask_size): Replace extend_alloca with a
3471         variable-length array.  Do not treat res == 0 as an error.
3473 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3475         [BZ #18100]
3476         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3477         and integer overflow.
3478         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3479         (main): Add integer overflow tests.
3480         * manual/pattern.texi (Calling Wordexp): Document additional use
3481         for WRDE_SYNTAX.
3483 2015-03-23  Alan Modra  <amodra@gmail.com>
3485         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3486         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3487         and false branch of conditional.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3489         Likewise.
3491 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3493         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3494         libc-modules.h
3495         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3496         unused declaration of _hurd_intr_rpc_msg_in_trap.
3497         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3498         defined instead of whether it is non-zero.
3499         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3500         input constraint instead of both input and output constraint.  Use ecx
3501         clobber instead of %ecx.
3502         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3503         mutex_unlock): Use a statement expression instead of an expression list.
3504         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3505         type to vm_size_t instead of vm_address_t.
3506         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3507         defined instead of whether it is non-zero.
3508         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3509         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3510         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3511         comparisons with mapaddr.
3512         * nscd/nscd-client.h: Include <time.h>.
3513         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3514         9th parameter to __vm_region instead of int.
3515         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3516         * scripts/check-local-headers.sh (exclude): Add device/,
3517         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3518         cthreads.h.
3520 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3522         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3523         to account for alignment padding.
3524         * sysdeps/arm/memmove.S: Likewise.
3526 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3528         * sysdeps/unix/sysv/linux/generic/README: New file.
3530 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #18138]
3533         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3534         (futex_abstimed_wait)
3535         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3536         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3537         of lll_futex_timed_wait.
3539 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3541         [BZ #17542]
3542         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3544 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3546         [BZ #17090]
3547         [BZ #17620]
3548         [BZ #17621]
3549         [BZ #17628]
3550         * NEWS: Update.
3551         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3552         entries with Static TLS too.  Skip entries past the end of the
3553         allocated DTV, from Alan Modra.
3554         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3555         Static TLS DTV entry set up from...
3556         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3557         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3558         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3559         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3560         for Static TLS.
3561         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3562         that the slot we find is associated with the given map before
3563         using its generation count.
3564         * nptl_db/db_info.c: Include ldsodefs.h.
3565         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3566         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3567         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3568         (link_map::l_tls_offset): New struct field.
3569         (dtv_t::counter): Likewise.
3570         (rtld_global): New struct.
3571         (_rtld_global): New rtld variable.
3572         (dl_tls_dtv_slotinfo_list): New rtld global field.
3573         (dtv_slotinfo_list): New struct.
3574         (dtv_slotinfo): Likewise.
3575         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3576         (td_lookup): Rename to...
3577         (td_mod_lookup): ... this.  Use new mod parameter instead of
3578         LIBPTHREAD_SO.
3579         * nptl_db/td_thr_tlsbase.c: Include link.h.
3580         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3581         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3582         addresses even if the DTV is out of date or missing them.
3583         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3584         index zero-length arrays.
3585         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3586         (td_lookup): Make it a macro implemented in terms of...
3587         (td_mod_lookup): ... this declaration.
3588         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3589         (DB_MAIN_VARIABLE): Likewise.
3591 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3593         [BZ #18134]
3594         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3596 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3598         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3600 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3602         [BZ #18128]
3603         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3604         (atomic_add, atomic_increment_and_test)
3605         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3607 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3609         * stdlib/setenv.c (__add_to_environ):
3610         Dump core quickly if setenv (..., NULL, ...) is called.
3612 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3614         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3615         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3616         all the necessary asm magic in one place.
3617         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3618         using those.
3620 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3622         [BZ #14906]
3623         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3624         traced file mtime. Use consistent log message.
3625         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3626         (register_traced_file): Call install_watches. Always set mtime.
3627         (invalidate_cache): Iterate over all trace files. Call install_watches.
3628         (inotify_check_files): Don't inline. Handle watching parent
3629         directories and configuration file movement in and out.
3630         (handle_inotify_events): New function.
3631         (main_loop_poll): Call handle_inotify_events.
3632         (main_loop_epoll): Likewise.
3633         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3634         (struct traced_file): Use array of inotify fds. Add parent directory,
3635         and basename.
3636         (struct database_dyn): Remove unused file_mtime.
3637         (init_traced_file): New inline function.
3638         (define_traced_file): New macro.
3639         * nss/nss_db/db-init.c: Use define_traced_file.
3640         (_nss_db_init): Use init_traced_file.
3641         * nss/nss_files/files-init.c: Use define_traced_file.
3642         (_nss_files_init): Use init_traced_file.
3644 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3646         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3647         [_LIBC]: Do not include <stdlib.h>.
3648         [!_LIBC] (abort): Remove declaration.
3649         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3650         _FP_STATIC_ASSERT instead of conditionally calling abort.
3651         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3652         (_FP_EXTEND_CNAN): Likewise.
3653         (FP_TRUNC): Likewise.
3654         (__FP_CLZ): Likewise.
3655         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3657 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3659         * manual/string.texi (XPG basename): Fix prototype.
3661 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3663         [BZ #18080]
3664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3665         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3666         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3667         (__setcontext): Likewise.
3668         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3669         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3670         Call rt_sigprocmask syscall one time to set new signal mask
3671         and retrieve the current signal mask instead of two calls.
3672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3673         (__swapcontext): Likewise.
3674         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3675         * stdlib/tst-setcontext2.c: New file.
3677 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3679         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3681 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3683         [BZ #18093]
3684         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3685         the wrong size.
3687 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3689         [BZ #18043]
3690         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3692 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3694         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3695         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3696         Remove define.
3697         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3698         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3699         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3700         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3701         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3702         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3703         define.
3704         * nptl_db/td_symbol_list.c (td_lookup): Remove
3705         HAVE_ASM_GLOBAL_DOT_NAME code.
3706         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3707         HAVE_ASM_GLOBAL_DOT_NAME check.
3708         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3709         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3710         (DOT_LABEL): Remove define.
3711         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3712         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3713         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3714         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3715         (__TLS_GET_ADDR): Likewise.
3716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3717         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3719 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3721         [BZ #18111]
3722         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3723         (_FPU_SETCW): Initialize cw from fpsr before storing.
3724         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3725         (fesetexceptflag): Rewrite using fpu_control.h.
3726         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3728 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3730         [BZ #18110]
3731         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3732         asms.
3733         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3735 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3737         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3738         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3739         abort.
3740         (_FP_FMA): Likewise.
3741         (_FP_DIV): Likewise.
3743 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3745         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3746         with 0 in that case.
3747         * Makefile (summarize-tests): New canned sequence, factored out of
3748         commands for targets tests and xtests.  Display summary lines that
3749         don't start with PASS: or XFAIL: rather than ones that do start with
3750         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3751         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3752         do start with ERROR: or FAIL:.
3753         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3754         (except for [$(build-shared) = yes]).
3755         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3756         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3757         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3758         * nptl/Makefile: Revert 2015-03-04 changes.
3759         [$(CXX) empty] (tests-unsupported): New variable.
3760         * debug/Makefile: Likewise.
3762         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3763         gnulib file.  Replace __attribute with __attribute__ throughout.
3765 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3767         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3769 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3771         [BZ #18104]
3772         * math/auto-libm-test-in: Add another test of pow.
3773         * math/auto-libm-test-out: Regenerated.
3775 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3777         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3778         $(config-cflags-nofma).
3780 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3782         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3783         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3784         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3785         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3786         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3787         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3788         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3789         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3790         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3791         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3792         Add comment on closing #endif.
3794 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3796         * posix/wordexp.c (CHAR_IN_SET): New macro.
3797         (parse_param): Use it.
3799 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3801         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3803 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3805         [BZ #18043]
3806         * posix/wordexp.c (parse_param): Fix buffer overflow.
3807         * posix/wordexp-test.c (test_case): Add test case.
3809 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3811         [BZ #18042]
3812         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3813         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3815 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3817         [BZ #18043]
3818         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3819         (do_bz18043): Delete.
3820         (at_page_end): New.
3821         (testit): Refactor to have words at the edge of unreadable page.
3823 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3825         [BZ #16734]
3826         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3827         Cleanup read-only streams as well.
3828         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3830 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3832         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3833         <bits/libc-lockP.h>
3835 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3837         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3838         on [__KERNEL__].
3839         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3840         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3841         * soft-fp/op-common.h (_FP_DECL): Likewise.
3843 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3845         * elf/ifuncdep2.c (global): Replace
3846         __attribute__((visibility("protected"))) with
3847         asm (".protected global").
3848         * elf/ifuncmod1.c (global): Likewise.
3849         * elf/ifuncmod5.c (global): Likewise.
3851 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3853         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3854         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3856 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3858         * manual/install.texi (Configuring and compiling):
3859         Document test-wrapper-env-only.
3860         * INSTALL: Regenerated.
3862 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3864         [BZ #18043]
3865         * posix/wordexp.c (parse_param): Fix buffer overflow.
3866         * posix/wordexp-test.c (do_bz18043): Add test case.
3868 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3870         * time/tst-strptime2.c (do_test): Ensure failing tests are
3871         reported correctly.
3872         * time/tst-strptime3.c (do_test): Likewise.
3874 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3876         Fix aio_error thread-safety.
3877         * sysdeps/pthread/aio_error.c: New file
3878         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3879         synchronization.
3881 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3883         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3884         (group_number, vfprintf): Use it.
3885         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3886         (JUMP, REF): Use it.
3887         (WORK_BUFFER_SIZE): New enum constant.
3888         (process_arg, vfprintf): Use it.
3890 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3892         * manual/errno.texi (Error Messages): Complete example function
3893         by adding missing #define.
3894         (program_invocation_name): Add statement indicating GNU
3895         extension and reference which header file declares the variable.
3896         (program_invocation_short_name): Likewise.
3898 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3900         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3901         compatibility note.
3903 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3905         * Makeconfig (test-wrapper-env-only): New variable.
3906         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3907         then use that with $(test-wrapper-env-only) rather than using
3908         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3910 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3912         [BZ #18082]
3913         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3914         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3915         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3916         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3917         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3918         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3919         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3920         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3921         Likewise.
3922         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3923         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3924         Likewise.
3925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3926         Likewise.
3927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3928         Likewise.
3929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3930         Likewise.
3931         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3933         Likewise.
3934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3935         Likewise.
3936         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3937         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3939 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3941         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3942         (ETH_ALEN): New macro.
3943         (struct ether_addr): Use it for length of ether_addr_octet.
3945         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3946         (setdb): Don't call __nss_configure_lookup for "rpc".
3947         (do_test): Don't call test_rpc.
3948         (output_rpcent, test_rpc): Functions moved ...
3949         * sunrpc/test-rpcent.c: ... to this new file.
3950         * sunrpc/Makefile (tests): Add it.
3952         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3953         __xpg_sigpause.
3954         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3955         * nptl/tst-signal6.c: Likewise.
3956         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3957         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3959         * configure.ac (libc_cv_cxx_link_ok): New check.
3960         Reset CXX to empty if it fails to link.
3961         * configure: Regenerated.
3962         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3963         bug-atexit3-lib only if $(CXX) is nonempty.
3964         * nptl/Makefile (tests): Likewise for tst-cancel24.
3965         (tests, tests-static): Likewise for tst-cancel24-static.
3966         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3967         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3968         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3969         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3971 2015-03-04  Andreas Schwab  <schwab@suse.de>
3973         [BZ #17631]
3974         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3975         for non-GCC compilers.
3976         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3977         Likewise.
3979 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3981         [BZ #17776]
3982         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3983         integer before bitwise and assembly operations.
3984         (feclearexcept): Likewise.
3985         * math/test-fenvinline.c: New file.
3986         * math/Makefile: Add test-fenvinline test.
3988 2015-03-03  Alan Modra  <amodra@gmail.com>
3990         [BZ #16512]
3991         * scripts/localplt.awk: Strip off symbol version.
3992         * NEWS: Mention bug fix.
3994 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3996         * sysdeps/pthread/timer_routines.c
3997         (timer_free_list, thread_free_list, thread_active_list): Make static.
3999 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4001         [BZ #17779]
4002         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4003         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4004         Undefine.
4005         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4006         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4007         Likewise.
4008         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4009         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4010         Likewise.
4012 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4014         [BZ #18036]
4015         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4016         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4018 2015-03-02  Andreas Schwab  <schwab@suse.de>
4020         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4021         variable name.
4023 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4025         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4026         Return error status.
4028 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4030         [BZ #15969]
4031         * locale/findlocale.c (_nl_find_locale): Introduce const
4032         version of loc_name and drop unsafe type casts.
4034 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4036         * dlfcn/tststatic2.c (main): Converted to ...
4037         (do_test): ... this.
4038         (TEST_FUNCTION): New macro.
4039         Include test-skeleton.c.
4041 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4043         [BZ #17711]
4044         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4045         (tests-pie): Add vismain.
4046         (CFLAGS-vismain.c): New.
4047         * elf/vismain.c: Add comments for PIE requirement.
4049 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4051         [BZ #18046]
4052         [BZ #18047]
4053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4054         0x1p-56L as threshold for just returning the argument.
4055         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4056         0x1p-32L as threshold for just returning the argument.
4057         * math/auto-libm-test-in: Add more tests of atanh.
4058         * math/auto-libm-test-out: Regenerated.
4059         * sysdeps/i386/fpu/libm-test-ulps: Update.
4060         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4062 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4064         * string/bcopy.c (bcopy): Call memmove for performance.
4066 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4068         * string/bzero.c (__bzero): Call memset for performance.
4070 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4072         [BZ #18068]
4073         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4074         to 00100000.
4076 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4078         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4080 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4082         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4083         (__kernel_standard): Use CSTR macro when setting exc.name.
4084         * sysdeps/ieee754/Makefile [$(subdir) = math]
4085         (CFLAGS-k_standard.c): Remove variable.
4087         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4088         setting p and q from "else if" to "else".
4089         (qzero): Likewise.
4090         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4091         (qone): Likewise.
4092         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4093         (qzerof): Likewise.
4094         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4095         (qonef): Likewise.
4096         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4097         (qzero): Likewise.
4098         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4099         (qone): Likewise.
4101         [BZ #18038]
4102         [BZ #18039]
4103         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4104         return pi/2 for arguments below 0x1p-113L.
4105         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4106         return pi/2 for arguments below 0x1p-106L.
4107         * math/auto-libm-test-in: Add more tests of acos.
4108         * math/auto-libm-test-out: Regenerated.
4110         [BZ #16351]
4111         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4112         (MO): New macro.
4113         (__ieee754_asin): Force underflow exception for results with small
4114         absolute value.
4115         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4116         (MO): New macro.
4117         (__ieee754_asinf): Force underflow exception for results with
4118         small absolute value.
4119         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4120         (__ieee754_asin): Force underflow exception for results with small
4121         absolute value.
4122         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4123         (__ieee754_asinf): Force underflow exception for results with
4124         small absolute value.
4125         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4126         (__ieee754_asinl): Force underflow exception for results with
4127         small absolute value.
4128         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4129         (__ieee754_asinl): Force underflow exception for results with
4130         small absolute value.
4131         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4132         (__ieee754_asinl): Force underflow exception for results with
4133         small absolute value.
4134         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4135         Include <math.h>.
4136         * math/auto-libm-test-in: Do not mark underflow exceptions as
4137         possibly missing for bug 16351.
4138         * math/auto-libm-test-out: Regenerated.
4140         [BZ #18030]
4141         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4142         of power of 2 down when low part has opposite sign.
4143         * math/libm-test.inc (logb_test_data): Add more tests.
4145 2015-02-26  Andreas Schwab  <schwab@suse.de>
4147         [BZ #18032]
4148         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4149         over collating symbol inside a bracket expression.  Minor cleanup.
4150         * posix/tst-fnmatch3.c (do_test): Add test case.
4152 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4154         [BZ #18029]
4155         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4156         Adjust exponent of power of 2 down when low part has opposite
4157         sign.
4158         * math/libm-test.inc (ilogb_test_data): Add more tests.
4160 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4162         [BZ #15969]
4163         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4164         the previous change.
4166         [BZ #15969]
4167         * locale/findlocale.c (_nl_find_locale): Retry archive search
4168         after alias expansion.
4170 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4172         * iconv/tst-iconv3.c (main): Converted to ...
4173         (do_test): ... this.
4174         (TEST_FUNCTION): New macro.
4175         Include test-skeleton.c.
4177         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4178         (convert): Make function static.
4179         (test_unalign): Likewise.  Add const to argument pointee types.
4180         (main): Replace with static function do_test.
4181         Print "Succeeded." only if RET is zero.
4182         (TEST_FUNCTION): New macro.
4183         Include test-skeleton.c.
4185         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4186         returns a null pointer.
4188 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4190         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4191         to __memcpy_ppc only for static builds.
4193 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4195         [BZ #18020]
4196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4197         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4198         * math/auto-libm-test-in: Add more tests of asinh.
4199         * math/auto-libm-test-out: Regenerated.
4200         * sysdeps/i386/fpu/libm-test-ulps: Update.
4201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4203 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4205         [BZ #15850]
4206         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4207         and ip6_mtuinfo definitions here.
4208         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4209         in this define too.  Update comment.
4211 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4213         * elf/sprof.c (load_shobj): Tweak error message to match others.
4215 2015-02-24  Kevin Easton  <kevin@guarana.org>
4217         [BZ #16145] (partial fix)
4218         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4219         to reduce lock contention.
4221 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4223         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4224         (struct timex): Update time comment.
4225         (ADJ_SETOFFSET): Define.
4227 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4229         [BZ #18019]
4230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4231         2**56 not 2**28 as threshold for log (2x) formula.
4232         * math/auto-libm-test-in: Add more tests of acosh.
4233         * math/auto-libm-test-out: Regenerated.
4234         * sysdeps/i386/fpu/libm-test-ulps: Update.
4235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4237 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4239         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4240         parenthesis around the buf assignment.
4241         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4243 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4245         [BZ #16783]
4246         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4247         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4248         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4249         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4250         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4251         * math/libm-test.inc (scalb_test_data): Add more tests.
4253 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4255         [BZ #17916]
4256         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4257         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4259 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4261         [BZ #17523]
4262         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4263         * io/bits/fcntl2.h (open): Use it.
4264         (openat): Likewise.
4265         * io/open.c (__libc_open): Likewise.
4266         * io/open64.c (__libc_open64): Likewise.
4267         * io/open64_2.c (__open64_2): Likewise.
4268         * io/open_2.c (__open_2): Likewise.
4269         * io/openat.c (__openat): Likewise.
4270         * io/openat64.c (__openat64): Likewise.
4271         * io/openat64_2.c (__openat64_2): Likewise.
4272         * io/openat_2.c (__openat_2): Likewise.
4273         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4274         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4275         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4276         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4277         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4278         (__open_nocancel): Likewise.
4279         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4280         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4281         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4283 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4285         [BZ #14841]
4286         * resolv/gethnamaddr.c (getanswer): Skip logging if
4287         RES_USE_DNSSEC is set.
4288         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4290 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4292         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4294 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4296         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4297         201304L, for Unicode 7.
4299 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
4301         [BZ #17836]
4302         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4303         shared library.  Add gmon-start.os otherwise.
4304         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4305         $(objpfx)gmon-start.os if builing shared library.
4306         ($(objpfx)g$(static-start-installed-name)): Likewise.
4308 2015-02-23  Andreas Schwab  <schwab@suse.de>
4310         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4312 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4314         [BZ #17269]
4315         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4316         (enlarge_userbuf): Likewise.
4318 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4320         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4321         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4322         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4323         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4325 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4327         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4328         expression inside statement expression.
4330 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4332         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4333         <sysdeps/nptl/lowlevellock.h> and remove macros and
4334         functions that are now defined there.
4335         (SYS_futex): Remove.
4336         (lll_compare_and_swap): Remove.
4337         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4339 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4341         [BZ #17999]
4342         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4343         instead of scandirat.
4344         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4345         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4346         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4347         __scandirat.
4348         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4349         (__scandirat): Declare.  Use libc_hidden_proto.
4350         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4351         Remove variable.
4352         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4354 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4356         [BZ #15319]
4357         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4358         (MO): New macro.
4359         (__ieee754_atan2): For results with small absolute value, force
4360         underflow exception and remove excess range and precision from
4361         return value.
4362         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4363         (MO): New macro.
4364         (__ieee754_atan2f): For results with small absolute value, force
4365         underflow exception and remove excess range and precision from
4366         return value.
4367         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4368         (MO): New macro.
4369         (__atan): For results with small absolute value, force underflow
4370         exception and remove excess range and precision from return value.
4371         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4372         (MO): New macro.
4373         (__atanf): For results with small absolute value, force underflow
4374         exception and remove excess range and precision from return value.
4375         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4376         <math.h>.
4377         (__ieee754_atan2): Force underflow exception for results with
4378         small absolute value.
4379         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4380         <math_private.h>.
4381         (atan): Force underflow exception for results with small absolute
4382         value.
4383         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4384         (__atanf): Force underflow exception for results with small
4385         absolute value.
4386         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4387         <math.h>.
4388         (__atanl): Force underflow exception for results with small
4389         absolute value.
4390         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4391         (__atanl): Force underflow exception for results with small
4392         absolute value.
4393         * sysdeps/x86/fpu/bits/mathinline.h
4394         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4395         (__ieee754_atan2): Only define inline for long double.
4396         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4397         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4398         * math/auto-libm-test-in: Do not mark underflow exceptions as
4399         possibly missing for bug 15319.  Add more tests of atan2.
4400         * math/auto-libm-test-out: Regenerated.
4401         * math/libm-test.inc (casin_test_data): Do not mark underflow
4402         exceptions as possibly missing for bug 15319.
4403         (casinh_test_data): Likewise.
4404         * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4408         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4409         * sysdeps/mips/bits/endian.h: Fix comments.
4411 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4413         [BZ #17996]
4414         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4415         (hdestroy_r): Likewise.
4416         (hsearch_r): Likewise.
4417         (__hcreate_r): Declare and use libc_hidden_proto.
4418         (__hdestroy_r): Likewise.
4419         (__hsearch_r): Likewise.
4420         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4421         (hcreate): Call __hcreate_r instead of hcreate_r.
4422         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4423         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4424         as weak alias of __hcreate_r.
4425         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4426         __hdestroy_r.
4427         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4428         __hsearch_r.
4429         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4430         Remove variable.
4431         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4432         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4433         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4434         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4436 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4438         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4439         arena_lock into a single arena_get.
4441 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4443         * dl-reloc.c: Inlucde libc-internal.h.
4444         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4445         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4446         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4447         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4448         (grow_heap): Likewise.
4449         * malloc/malloc.c: Include libc-internal.h.
4450         (do_check_malloc): Call powerof2.
4451         (sysmalloc): Use pagesize. Call ALIGN_UP.
4452         (systrim): Use pagesize.
4453         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4454         (__libc_valloc): Use pagesize.
4455         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4457 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4459         [BZ #17991]
4460         * include/sys/resource.h (__getrlimit64): Declare.  Use
4461         libc_hidden_proto.
4462         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4463         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4464         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4465         getrlimit64.
4466         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4467         __getrlimit64.
4468         [!getrlimit64] (getrlimit64): Define as weak alias of
4469         __getrlimit64.  Use libc_hidden_weak.
4470         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4471         using __getrlimit64 not __new_getrlimit64.
4472         (__GI_getrlimit64): Likewise.
4473         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4474         Likewise.
4475         (__GI_getrlimit64): Likewise.
4476         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4478         (getrlimit): Add __getrlimit64 alias.
4479         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4480         Likewise.
4481         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4482         Remove variable.
4483         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4484         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4486 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4488         * libio/fileops.c: Add missing sys/mman.h
4489         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4491 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4493         * manual/math.texi (Errors in Math Functions): Clarify goals
4494         regarding inexact and underflow exceptions.
4496 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4498         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4499         * sysdeps/mips/memset.S: Ditto.
4501 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4503         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4505 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4507         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4508         (__v1longjmp): Remove versioned symbol.
4509         (__v1siglongjmp): Remove alias and versioned symbol.
4510         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4511         (__v2siglongjmp): Likewise.
4513 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4515         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4517 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4519         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4521 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4523         [BZ #17987]
4524         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4525         zero result does not depend on the sign resulting from
4526         subtraction.
4527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4528         Likewise.
4529         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4530         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4531         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4532         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4533         * math/libm-test.inc (remquo_test_data): Add more tests.
4535 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4537         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4538         Problem reported by J William Piggott.
4540 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4542         [BZ #17978]
4543         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4544         products 4 * y and 2 * y where those would overflow.
4545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4546         Likewise.
4547         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4549         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4550         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4551         * math/libm-test.inc (remquo_test_data): Add more tests.
4553         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4555         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4556         [defined _COMPILING_NEWLIB].
4557         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4558         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4560         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4561         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4563 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4565         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4566         acquired.
4568 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4570         [BZ #17792]
4571         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4572         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4573         HOST_STACK_END_ADDR): Likewise.
4575 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4577         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4578         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4579         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4581 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4583         * sysdeps/generic/c++-types.data: New file.
4584         * sysdeps/generic/ld.abilist: New file.
4585         * sysdeps/generic/libBrokenLocale.abilist: New file.
4586         * sysdeps/generic/libanl.abilist: New file.
4587         * sysdeps/generic/libc.abilist: New file.
4588         * sysdeps/generic/libcrypt.abilist: New file.
4589         * sysdeps/generic/libdl.abilist: New file.
4590         * sysdeps/generic/libm.abilist: New file.
4591         * sysdeps/generic/libpthread.abilist: New file.
4592         * sysdeps/generic/libresolv.abilist: New file.
4593         * sysdeps/generic/librt.abilist: New file.
4595 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4597         [BZ #17569]
4598         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4599         Compute absolute value of x as modified by fmod, not original
4600         value of x.
4601         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4602         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4603         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4604         RUN_TEST_ffI_f1_mod8.
4605         (remquo_test_data): Add more tests.
4607 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4609         * sysdeps/init_array/pt-crti.S: New file.
4611 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4613         [BZ #17967]
4614         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4615         __builtin_fmaf instead of relying on contraction of a * b + c.
4617 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4619         [BZ #17969]
4620         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4621         node.
4623 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4625         [BZ #17964]
4626         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4627         __builtin_fma instead of relying on contraction of a * b + c.
4629 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4631         * Makeconfig (ASFLAGS): Add -Werror=undef.
4632         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4633         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4634         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4636         * Makeconfig (after-link): New variable.
4637         (+link-pie, +link-pie-tests): Use it.
4638         (+link-static, +link-static-tests): Likewise.
4639         (+link, +link-tests): Likewise.
4640         * Makerules (build-module, build-module-asneeded): Likewise.
4641         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4642         Likewise.
4643         * elf/Makefile ($(objpfx)ld.so): Likewise.
4645 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4647         [BZ #17965]
4648         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4649         both struct timeval and struct timespec.
4651 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4653         [BZ #16560]
4654         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4655         and redefine.
4656         (__ieee754_exp2l): Do not multiply small fractional parts by
4657         M_LN2l.
4658         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4659         small argument.
4660         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4661         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4662         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4663         * math/auto-libm-test-in: Add more tests of exp2.
4664         * math/auto-libm-test-out: Regenerated.
4666 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4668         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4669         unaligned path.
4671 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4673         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4674         little endian.
4676 2015-02-12  Andreas Schwab  <schwab@suse.de>
4678         [BZ #15790]
4679         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4680         Filter out elision flags from value returned in kind.
4681         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4682         * nptl/tst-pthread-mutexattr.c: New file.
4684 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4686         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4687         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4688         into gnu-gnu, and update comment to refer to abi-tags.
4690 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4692         [BZ #15467]
4693         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4694         (__sincos): Set errno to EDOM for infinite argument.
4695         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4696         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4697         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4698         (__sincosl): Set errno to EDOM for infinite argument.
4699         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4700         (__sincosl): Set errno to EDOM for infinite argument.
4701         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4702         (__sincosl): Set errno to EDOM for infinite argument.
4703         * math/libm-test.inc (sincos_test_data): Test errno setting.
4705 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4707         * string/strxfrm_l.c: Remove #define STRCMP.
4708         * string/strcoll_l.c: Remove #define STRLEN.
4709         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4710         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4712 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4714         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4715         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4716         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4717         * sysdeps/mips/mips64/Makefile: ... here.
4718         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4719         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4720         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4721         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4722         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4723         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4724         * sysdeps/mips/mips64/n64/Implies: Likewise.
4726 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4728         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4729         <sys/time.h>, <string.h>, and <errno.h>.
4730         (dest_offset, dest_address, value, zero): Remove unused variables.
4731         (ldouble): Remove typedef.
4732         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4733         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4734         1).  Fix code style.
4735         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4736         (check): Function removed.
4737         (CHECK): New macro.
4738         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4739         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4740         Don't call set_sigaction_FP and remove_sigaction_FP here.
4741         (ldouble_test): Just use 'long double' as macro argument, no need for
4742         the 'ldouble' typedef.
4743         (do_test): Set up SIGFPE handler at start, using plain signal rather
4744         than sigaction.  Fix code style.
4746 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4748         [BZ #17949]
4749         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4750         jump label.
4752 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4754         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4755         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4757         * sysdeps/powerpc/configure.ac: Remove file.
4758         * sysdeps/powerpc/configure: Likewise.
4760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4761         [sysdep_routines]: Remove wordcopy-power6 object.
4762         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4763         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4765         (__memmove_ppc32): Likewise.
4766         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4767         file.
4768         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4770         Remove preprocessor.
4772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4773         [sysdep_routines]: Remove wide chars objects.
4774         [wcsmbs]: New rule for wide char objects.
4776         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4777         Remove wordcopy-power6 obejct.
4778         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4779         Use local call for wordcopy and memcpy symbols.
4780         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4781         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4782         implementation for loader.
4783         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4786         Remove wordcopy-power7 object.
4787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4789         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4790         (_wordcopy_fwd_dest_aligned): Likewise.
4791         (_wordcopy_bwd_aligned): Likewise.
4792         (_wordcopy_bwd_dest_aligned): Likewise.
4794         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4795         Rewrite to call __memmove_ppc instead of include default
4796         implementation.
4798         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4799         Remove wide chars objects.
4800         [wcsmbs]: New rule for wide char objects.
4802 2015-02-09  Andreas Schwab  <schwab@suse.de>
4804         [BZ #17912]
4805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4806         in terms of __O_DIRECTORY.
4808 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4810         * time/getdate.c: Include <stdbool.h>.
4811         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4812         call PTR_MANGLE.
4813         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4814         PTR_DEMANGLE.
4816 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4818         Add ersatz _Static_assert on older C hosts
4819         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4820         pre-C11 C platform that is not known to support _Static_assert.
4822 2015-02-07  Richard Braun  <rbraun@sceen.net>
4824         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4825         sigstate.
4826         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4828 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4830         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4831         priority against unexistent AIO_PRIO_DELTA_MAX.
4832         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4833         instead of int.
4834         * misc/fchflags.c (fchflags): Likewise.
4835         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4836         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4837         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4838         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4839         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4840         Declare macros.
4841         [__USE_MISC] (chflags, fchflags): Declare functions.
4842         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4843         EINVAL when nfds is greater than FD_SETSIZE.
4844         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4845         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4846         45.
4847         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4848         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4849         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4850         MACH_RCV_TIMED_OUT.
4851         * hurd/hurd/signal.h (_hurd_self_sigstate,
4852         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4853         Explicit casts from void *.
4854         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4855         * abi-tags: Rename gnu-gnu os into gnu.
4857         [BZ #4719]
4858         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4859         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4860         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4861         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4862         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4863         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4865         [BZ #17944]
4866         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4867         duplicates ADDR->sun_path with sockaddr LEN limitation.
4868         * sysdeps/mach/hurd/connect.c: Include <string.h>
4869         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4870         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4871         * sysdeps/mach/hurd/sendto.c: Likewise.
4872         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4873         implementing it by hand.
4875 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4877         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4878         Use sfi_breg on ldr.
4879         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4880         Likewise.
4882         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4883         it's defined.
4884         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4885         Test SIGSETXID only if it's defined.
4887         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4889         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4890         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4892         * nptl/tst-align2.c: Moved ...
4893         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4894         * nptl/Makefile (tests): Remove tst-align2.
4895         * sysdeps/unix/sysv/linux/Makefile
4896         [$(subdir) = nptl] (tests): Add tst-align-clone.
4897         * nptl/tst-getpid1.c: Moved ...
4898         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4899         * nptl/tst-getpid2.c: Moved ...
4900         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4901         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4902         * sysdeps/unix/sysv/linux/Makefile
4903         [$(subdir) = nptl] (tests): ... here.
4904         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4905         * sysdeps/unix/sysv/linux/Makefile
4906         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4908         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4909         Drop trailing \n from perror argument.  Use return rather than exit.
4911         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4912         on [SA_SIGINFO].
4913         * nptl/tst-cancel21.c (do_test): Likewise.
4914         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4915         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4916         [!SA_SIGINFO]: Make it a stub test.
4918         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4919         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4921         * posix/tst-getlogin.c: Move to ...
4922         * login/tst-getlogin.c: ... here.
4923         * posix/Makefile (tests): Move tst-getlogin to ...
4924         * login/Makefile (tests): ... here.
4926         * libio/tst-atime.c (do_test): Move local variables SV and E
4927         inside [ST_NOATIME] conditional.
4929         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4931         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4933         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4934         (wait_code): New function replaces macro.
4935         Call nanosleep rather than syscall.
4937         * nptl/pt-system.c: Rewritten.  Put everything under
4938         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4939         Use IFUNC to redirect when possible.
4941         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4942         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4943         Use IFUNC to redirect when possible.
4945         * nptl/pt-fork.c: Rewritten.  Put everything under
4946         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4947         Use IFUNC to redirect when possible.
4948         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4951         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4952         unconditionally nowadays.  This included the only reference to
4953         __vdso_clock_gettime that appears outside libc proper.
4954         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4955         Remove version set (containing only __vdso_clock_gettime).
4956         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4957         Add attribute_hidden.
4958         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4959         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4960         libc_hidden_data_def.
4961         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4962         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4964         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4965         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4966         setrpcent, and getrpcport to ...
4967         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4968         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4969         getrpcbynumber_r, and getrpcent_r to ...
4970         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4971         * inet/getrpcbyname.c: Moved ...
4972         * sunrpc/getrpcbyname.c: ... here.
4973         * inet/getrpcbyname_r.c: Moved ...
4974         * sunrpc/getrpcbyname_r.c: ... here.
4975         * inet/getrpcbynumber.c: Moved ...
4976         * sunrpc/getrpcbynumber.c: ... here.
4977         * inet/getrpcbynumber_r.c: Moved ...
4978         * sunrpc/getrpcbynumber_r.c: ... here.
4979         * inet/getrpcent.c: Moved ...
4980         * sunrpc/getrpcent.c: ... here.
4981         * inet/getrpcent_r.c: Moved ...
4982         * sunrpc/getrpcent_r.c: ... here.
4983         * inet/Makefile (routines): Move those to ...
4984         * sunrpc/Makefile (routines): ... here.
4985         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4986         the $(subdirs) list.
4987         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4988         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4989         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4990         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4992         * elf/Makefile (routines): Include $(all-dl-routines), not just
4993         $(dl-routines).
4994         (rtld-routines): Likewise.  Use = rather than :=.
4995         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4996         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4997         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4998         * sysdeps/arm/Makefile: Likewise.
4999         * sysdeps/i386/Makefile: Likewise.
5000         * sysdeps/x86_64/Makefile: Likewise.
5001         * sysdeps/hppa/Makefile [$(subdir) = elf]
5002         (sysdep_routines, sysdep-rtld-routines): Don't add
5003         $(sysdep-dl-routines) to these.
5004         * sysdeps/ia64/Makefile: Likewise.
5005         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5006         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5007         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5008         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5009         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5010         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5011         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5012         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5013         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5014         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5015         these; sysdep-dl-routines alone is enough.
5017 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #17932]
5020         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5021         where multiplication results in zero and third argument is finite
5022         and nonzero.
5023         * math/auto-libm-test-in: Add more tests of fma.
5024         * math/auto-libm-test-out: Regenerated.
5026         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5027         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5028         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5029         (_FP_CMP_EQ): Likewise.
5030         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5032         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5033         extra argument CHECK_NAN.  Redefine as wrapper around
5034         _FP_EXTEND_CNAN.
5036 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5038         * version.h (RELEASE): Set to "stable".
5039         (VERSION): Set to "2.21"
5040         * include/features.h (__GLIBC_MINOR__): Set to 21.
5042         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5044 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5045             Paul Eggert  <eggert@cs.ucla.edu>
5047         [BZ #16618]
5048         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5049         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5050         size in bytes. Store needed elements in wpmax. Use needed size
5051         in bytes for extend_alloca.
5053 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5055         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5056         binutls 2.25, and texinfo 5.2.
5057         * INSTALL: Regenerate.
5058         * sysdeps/nios2/configure: Regenerate.
5059         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5060         * manual/contrib.texi: Update.
5061         * po/be.po: Update.
5062         * po/bg.po: Update.
5063         * po/ca.po: Update.
5064         * po/cs.po: Update.
5065         * po/da.po: Update.
5066         * po/de.po: Update.
5067         * po/el.po: Update.
5068         * po/eo.po: Update.
5069         * po/es.po: Update.
5070         * po/fi.po: Update.
5071         * po/fr.po: Update.
5072         * po/gl.po: Update.
5073         * po/hr.po: Update.
5074         * po/hu.po: Update.
5075         * po/ia.po: Update.
5076         * po/id.po: Update.
5077         * po/it.po: Update.
5078         * po/ja.po: Update.
5079         * po/ko.po: Update.
5080         * po/lt.po: Update.
5081         * po/nb.po: Update.
5082         * po/nl.po: Update.
5083         * po/pl.po: Update.
5084         * po/pt_BR.po: Update.
5085         * po/ru.po: Update.
5086         * po/rw.po: Update.
5087         * po/sk.po: Update.
5088         * po/sl.po: Update.
5089         * po/sv.po: Update.
5090         * po/tr.po: Update.
5091         * po/uk.po: Update.
5092         * po/vi.po: Update.
5093         * po/zh_CN.po: Update.
5094         * po/zh_TW.po: Update.
5096         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5097         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5098         * sysdeps/hppa/dl-irel.h: Remove #warning.
5099         * sysdeps/hppa/entry.h: Provide prototype for
5100         __canonicalize_funcptr_for_compare and cast argument.
5101         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5102         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5103         * sysdeps/hppa/sotruss-lib.c: New file.
5104         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5105         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5106         (atomic_compare_and_exchange_bool_acq): Likewise.
5107         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5108         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5110         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5111         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5112         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5114 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5116         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5117         called function in non-PIC case.
5119 2015-01-31  David S. Miller  <davem@davemloft.net>
5121         * sysdeps/sparc/sparc32/bits/atomic.h
5122         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5123         unlock not after it.
5124         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5125         volatile register usage warnings from the compiler.
5127         * sysdeps/sparc/nptl/sem_init.c: Delete.
5128         * sysdeps/sparc/nptl/sem_post.c: Delete.
5129         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5130         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5131         * sysdeps/sparc/sparc32/sem_init.c: New file.
5132         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5133         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5134         padding explicitly initialized.
5135         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5136         padding for in-semaphore spinlock.
5137         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5138         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5139         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5140         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5141         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5142         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5143         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5144         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5145         version.
5146         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5147         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5149 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5151         [BZ #17801]
5152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5153         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5154         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5155         New.
5156         (index_AVX_Fast_Unaligned_Load): Likewise.
5157         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5158         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5159         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5160         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5161         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5162         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5163         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5164         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5165         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5167 2015-01-29  Andreas Schwab  <schwab@suse.de>
5169         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5171 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5173         [BZ #17892]
5174         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5176 2015-01-28  Martin Sebor  <msebor@redhat.com>
5178         * math/README.libm-test: Clarify. Add "How to read the test output."
5180 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5182         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5183         Define to 0.
5185 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5187         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5188         (__HAVE_64B_ATOMICS): Define to 0.
5190 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5192         [BZ #17885]
5193         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5194         value to set as new flag.
5196         [BZ #16576]
5197         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5198         and use _ARCH_PPCSQ instead.
5199         (__ieee754_sqrt): Likewise.
5200         (__ieee754_sqrtf): Likewise.
5201         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5202         _ARCH_PPCSQ is defined.
5203         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5204         fsqrt instruction.
5205         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5206         _ARCH_PPCSQ is defined.
5207         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5208         fsqrts instruction.
5209         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5211 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5213         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5214         bug (GCC BZ #64739).
5216 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5218         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5219         Mark _retval as used.
5220         (lll_futex_wake_unlock): Likewise.
5221         (lll_futex_timed_wait_requeue_pi): Likewise.
5223         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5224         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5225         register variables.
5227         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5228         libm_hidden_def.
5230         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5231         (__bswap_64): Mark as __always_inline.
5233 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5235         [BZ #15378]
5236         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5237         when none of the search directories exist.
5239 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5241         [BZ #17869]
5242         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5243         power8 in .machine directive.
5245         [BZ #17868]
5246         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5247         set dependency from opd value.
5249 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5252         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5253         architecture.
5255 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5257         [BZ #17870]
5258         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5259         with uint64_t.
5260         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5261         (uint64_t) 1.
5262         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5263         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5264         Replace 1UL with (uint64_t) 1.
5265         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5266         int with uint64_t.
5268 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5270         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5271         (if_freenameindex): Likewise.
5273         * resource/getrlimit64.c: Add missing libc_hidden_def.
5275 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5277         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5278         __label__.
5279         (_FP_FMA): Likewise.
5280         (_FP_TO_INT_ROUND): Likewise.
5281         (_FP_FROM_INT): Likewise.
5283 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5285         [BZ #16418]
5286         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5287         Make code racy and cancel safe.
5289 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5291         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5292         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5293         attribution.
5295         * pwd/tst-getpw.c: Rewrite.
5297         [BZ #17702]
5298         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5299         (modules-names): Add moddummy1 and moddummy2.
5300         ($(objpfx)tst-rec-dlopen): Define.
5301         * dlfcn/moddummy1.c: New file.
5302         * dlfcn/moddummy2.c: New file.
5303         * dlfcn/tst-rec-dlopen.c: New file.
5304         * elf/dl-cache.c (_dl_load_cache_lookup):
5305         Return char*. Copy result with alloca/strcpy/strdup.
5306         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5307         returns char*. Free cached. If not saving realname
5308         free cached.
5309         * elf/dl-open.c (dl_open_worker): Do not assert that
5310         _r_debug->r_state is RT_CONSISTENT.
5311         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5312         returns char*.
5314 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5315             Carlos O'Donell  <carlos@redhat.com>
5317         [BZ #12674]
5318         * nptl/sem_waitcommon.c: New file.
5319         * nptl/sem_wait.c: Include sem_waitcommon.c.
5320         (__sem_wait_cleanup, do_futex_wait): Remove.
5321         (__new_sem_wait): Adapt.
5322         (__new_sem_trywait): New function.
5323         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5324         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5325         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5326         (sem_timedwait): Adapt.
5327         * nptl/sem_post.c (__new_sem_post): Adapt.
5328         (futex_wake): New function.
5329         (__old_sem_post): Add release MO fence.
5330         * nptl/sem_open.c (sem_open): Adapt.
5331         * nptl/sem_init.c (__new_sem_init): Adapt.
5332         (futex_private_if_supported): New function.
5333         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5334         (__old_sem_getvalue): Add using previous code.
5335         * sysdeps/nptl/internaltypes.h: Adapt.
5336         * nptl/tst-sem13.c (do_test): Adapt.
5337         * nptl/tst-sem11.c (main): Adapt.
5338         * nptl/sem_trywait.c: Remove.
5339         * nptl/DESIGN-sem.txt: Remove.
5340         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5341         (gen-as-const-headers): Remove structsem.sym.
5342         * nptl/structsem.sym: Remove.
5343         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5344         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5345         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5346         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5347         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5348         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5349         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5350         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5351         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5352         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5353         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5354         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5355         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5356         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5357         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5358         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5359         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5360         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5361         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5362         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5363         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5364         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5366 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5368         * INSTALL: Regenerated.
5370         * po/libc.pot: Regenerated.
5372 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5373             Sandra Loosemore  <sandra@codesourcery.com>
5374             Andrew Jenner  <andrew@codesourcery.com>
5375             Joseph Myers  <joseph@codesourcery.com>
5376             Nathan Sidwell  <nathan@codesourcery.com>
5378         * NEWS: Mention new Nios II port.
5379         * sysdeps/nios2/Implies: New file.
5380         * sysdeps/nios2/Makefile: New file.
5381         * sysdeps/nios2/Subdirs: New file.
5382         * sysdeps/nios2/Versions: New file.
5383         * sysdeps/nios2/__longjmp.S: New file.
5384         * sysdeps/nios2/abort-instr.h: New file.
5385         * sysdeps/nios2/backtrace.c: New file.
5386         * sysdeps/nios2/bits/endian.h: New file.
5387         * sysdeps/nios2/bits/fenv.h: New file.
5388         * sysdeps/nios2/bits/link.h: New file.
5389         * sysdeps/nios2/bits/setjmp.h: New file.
5390         * sysdeps/nios2/bsd-_setjmp.S: New file.
5391         * sysdeps/nios2/bsd-setjmp.S: New file.
5392         * sysdeps/nios2/configure: New generated file.
5393         * sysdeps/nios2/configure.ac: New file.
5394         * sysdeps/nios2/crti.S: New file.
5395         * sysdeps/nios2/crtn.S: New file.
5396         * sysdeps/nios2/dl-init.c: New file.
5397         * sysdeps/nios2/dl-machine.h: New file.
5398         * sysdeps/nios2/dl-sysdep.h: New file.
5399         * sysdeps/nios2/dl-tls.h: New file.
5400         * sysdeps/nios2/dl-trampoline.S: New file.
5401         * sysdeps/nios2/gccframe.h: New file.
5402         * sysdeps/nios2/gmp-mparam.h: New file.
5403         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5404         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5405         * sysdeps/nios2/ldsodefs.h: New file.
5406         * sysdeps/nios2/libc-tls.c: New file.
5407         * sysdeps/nios2/libm-test-ulps: New file.
5408         * sysdeps/nios2/machine-gmon.h: New file.
5409         * sysdeps/nios2/math-tests.h: New file.
5410         * sysdeps/nios2/math_private.h: New file.
5411         * sysdeps/nios2/memusage.h: New file.
5412         * sysdeps/nios2/nptl/Makefile: New file.
5413         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5414         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5415         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5416         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5417         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5418         * sysdeps/nios2/nptl/tls.h: New file.
5419         * sysdeps/nios2/preconfigure: New file.
5420         * sysdeps/nios2/s_fma.c: New file.
5421         * sysdeps/nios2/s_fmaf.c: New file.
5422         * sysdeps/nios2/setjmp.S: New file.
5423         * sysdeps/nios2/sfp-machine.h: New file.
5424         * sysdeps/nios2/sotruss-lib.c: New file.
5425         * sysdeps/nios2/stackguard-macros.h: New file.
5426         * sysdeps/nios2/stackinfo.h: New file.
5427         * sysdeps/nios2/start.S: New file.
5428         * sysdeps/nios2/sysdep.h: New file.
5429         * sysdeps/nios2/tls-macros.h: New file.
5430         * sysdeps/nios2/tst-audit.h: New file.
5431         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5432         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5433         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5434         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5435         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5436         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5437         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5438         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5439         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5440         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5441         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5442         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5443         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5444         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5445         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5446         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5447         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5448         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5449         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5450         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5451         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5452         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5453         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5454         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5455         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5456         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5457         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5458         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5459         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5460         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5461         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5462         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5463         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5464         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5465         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5466         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5467         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5468         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5469         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5470         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5471         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5472         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5473         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5474         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5476 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5478         [BZ #17844]
5479         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5480         (getutent): Use weak_alias in non SHARED case
5481         and default_symbol_version in SHARED case.
5482         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5483         (getutent_r, pututline): Likewise.
5484         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5485         (getutid): Likewise.
5486         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5487         (getutid_r): Likewise.
5488         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5489         (getutline): Likewise.
5490         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5491         (getutline_r): Likewise.
5492         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5493         (updwtmp): Likewise.
5495 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5497         [BZ #17848]
5498         * sysdeps/s390/s390-32/memcmp.S
5499         (memcmp_g5): Rename to __memcmp_g5.
5500         * sysdeps/s390/s390-32/memcpy.S
5501         (memcpy_g5): Rename to __memcpy_g5.
5502         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5503         (memcpy_mvcle) Rename to __memcpy_mvcle.
5504         * sysdeps/s390/s390-32/memset.S
5505         (memset_g5): Rename to __memset_g5.
5506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5507         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5508         and use prefixed functions.
5509         * sysdeps/s390/s390-32/multiarch/memcmp.S
5510         (memcmp_z196): Rename to __memcmp_z196.
5511         (memcmp_z10): Rename to __memcmp_z10.
5512         (memcmp): Set alias to __memcmp_g5.
5513         (bcmp): Set alias to __memcmp_g5.
5514         * sysdeps/s390/s390-32/multiarch/memcpy.S
5515         (memcpy_z196): Rename to __memcpy_z196.
5516         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5517         (memcpy_z10): Rename to __memcpy_z10.
5518         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5519         (memcpy): Set alias to __memcpy_g5.
5520         * sysdeps/s390/s390-32/multiarch/memset.S
5521         (memset_z196): Rename to __memset_z196.
5522         Jump to __memset_mvcle instead of memset_mvcle.
5523         (memset_z10): Rename to __memset_z10.
5524         Jump to __memset_mvcle instead of memset_mvcle.
5525         (memset_mvcle) Rename to __memset_mvcle.
5526         (memset): Set alias to __memset_g5.
5527         * sysdeps/s390/s390-64/memcmp.S
5528         (memcmp_z900): Rename to __memcmp_z900.
5529         * sysdeps/s390/s390-64/memcpy.S
5530         (memcpy_z900): Rename to __memcpy_z900.
5531         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5532         (memcpy_mvcle) Rename to __memcpy_mvcle.
5533         * sysdeps/s390/s390-64/memset.S
5534         (memset_z900): Rename to __memset_z900.
5535         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5536         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5537         and use prefixed functions.
5538         * sysdeps/s390/s390-64/multiarch/memcmp.S
5539         (memcmp_z196): Rename to __memcmp_z196.
5540         (memcmp_z10): Rename to __memcmp_z10.
5541         (memcmp): Set alias to __memcmp_z900.
5542         (bcmp): Set alias to __memcmp_z900.
5543         * sysdeps/s390/s390-64/multiarch/memcpy.S
5544         (memcpy_z196): Rename to __memcpy_z196.
5545         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5546         (memcpy_z10): Rename to __memcpy_z10.
5547         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5548         (memcpy): Set alias to __memcpy_z900.
5549         * sysdeps/s390/s390-64/multiarch/memset.S
5550         (memset_z196): Rename to __memset_z196.
5551         Jump to __memset_mvcle instead of memset_mvcle.
5552         (memset_z10): Rename to __memset_z10.
5553         Jump to __memset_mvcle instead of memset_mvcle.
5554         (memset_mvcle) Rename to __memset_mvcle.
5555         (memset): Set alias to __memset_z900.
5557 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5559         [BZ #17748]
5560         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5561         __fesetenv instead of fesetenv.
5563 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5565         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5566         macro.
5568 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5570         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5571         regression on LE.
5573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5574         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5576         strncmp-power8 object.
5577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5578         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5579         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5580         * NEWS: Update.
5582 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5583             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5585         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5586         trailing byte check.
5588 2015-01-13  David S. Miller  <davem@davemloft.net>
5590         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5592 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5594         * login/logout.c (logout): Use memset rather than bzero.
5595         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5596         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5597         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5598         (_gethtbyaddr): Likewise.
5599         * locale/programs/simple-hash.c (bcopy): Macro removed.
5601 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5603         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5604         Add strcmp-power8 object.
5605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5606         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5607         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5608         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5609         __strcmp_power8 implementation.
5610         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5611         * NEWS: Update.
5613         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5614         Add strncpy-power8 and stpncpy-power8 objects.
5615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5616         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5617         implementations.
5618         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5619         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5620         __stpncpy_power8 implementation.
5621         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5622         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5623         __strncpy_power8 implementation.
5624         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5625         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5626         * NEWS: Update.
5628         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5629         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5630         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5632         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5633         strncat-power8 object.
5634         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5635         __strcat_power8 implementation.
5636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5637         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5638         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5639         optimized strcat for power8.
5641         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5642         strcpy-power8 and stpcpy-power8 objects.
5643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5644         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5645         implementations.
5646         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5647         multiarch stpcpy implementation for POWER8.
5648         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5649         multiarch strcpy implementation for POWER8.
5650         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5651         __strcpy_power8 function.
5652         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5653         stpcpy for POWER8.
5654         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5655         strcpy for POWER8.
5656         * NEWS: Update.
5658 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5660         [BZ #16009]
5661         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5662         weights and rules. Use do_xfrm_cached if data fits in cache,
5663         do_xfrm otherwise.  Moved former main loop to...
5664         * (do_xfrm_cached): New function.
5665         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5666         find_idx, find_position and stack_push.
5667         * (find_idx): New function.
5668         * (find_position): Likewise.
5669         * localedata/sort-test.sh: Added test run for do_xfrm.
5670         * localedata/xfrm-test.c (main): Added command line option
5671         -nocache to run the test with strings that are too large for
5672         the STRXFRM cache.
5674 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5676         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5677         variable to lll_futex_wake call, not the value itself.
5679 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5681         [BZ #17803]
5682         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5683         twom64.  Adjust value to 0x1p-64L.
5684         (__scalblnl): Only return standard underflowing result for K <=
5685         -64 not K <= -63; adjust exponent for underflowing result by 64
5686         not 63.
5687         * math/libm-test.inc (scalbn_test_data): Add more tests.
5688         (scalbln_test_data): Likewise.
5690         [BZ #17834]
5691         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5692         0x1p63L.
5693         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5694         not HX.
5695         * math/libm-test.inc (scalbn_test_data): Add more tests.
5696         (scalbln_test_data): Likewise.
5698 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699             Stefani Seibold  <stefani@seibold.net>
5701         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5702         (sysdep_routines): Add dl-vdso here, ...
5703         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5704         (sysdep_routines): ... not here.
5705         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5706         fallback when vDSO is not presented.
5707         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5708         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5709         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5710         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5711         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5712         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5713         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5714         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5715         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5717         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5718         fallback configurable symbol when vDSO is not available.
5719         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5720         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5721         be able to redefine fallback symbol when vDSO is not available.
5722         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5723         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5725 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5727         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5728         (TLS_INIT_TP): Add tm_capable initialization.
5729         (TLS_DEFINE_INIT_TP): Likewise.
5730         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5731         TCB.
5732         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5733         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5734         calculation.
5735         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5736         transactoion is lock elision is built and TCB tm_capable is set.
5737         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5739         (INTERNAL_SYSCALL_NCS): Likewise.
5740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5741         (INTERNAL_SYSCALL_NCS): Likewise.
5742         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5744         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5745         for powerpc.
5746         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5747         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5748         and remove it for 32 bits case.
5749         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5751         initialization.
5752         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5753         Disable lock elision with rdlocks if elision is not available.
5755         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5756         (sysdep_routines): Add lock elision objects.
5757         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5758         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5759         [pthread_mutex_t] (__elision): Add field.
5760         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5761         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5762         elision definitions for powerpc.
5763         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5764         implementation of lock elision for powerpc.
5765         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5766         implementation of timed lock elision for powerpc.
5767         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5768         implementation of trylock with lock elision for powerpc.
5769         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5770         implementaion of unlock for lock elision for powerpc.
5771         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5772         automatic enable lock elision for mutexes.
5773         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5774         transaction execution definitions for powerpc.
5775         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5776         definitions.
5777         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5778         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5779         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5780         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5781         * NEWS: Update.
5783 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5785         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5786         for #include of <shm-directory.h>.
5788 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5791         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5793 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5795         [BZ #17791]
5796         * NEWS: Mention bug fix.
5797         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5798         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5799         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5801 2015-01-09  Torvald Riegel <triegel@redhat.com>
5803         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5805 2015-01-09  Torvald Riegel <triegel@redhat.com>
5807         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5809 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5811         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5812         pointer and cast to uintptr_t.
5814 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5816         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5817         removed.
5818         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5820 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5822         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5823         of 0.
5825 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5827         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5828         <nptl/pthreadP.h> instead.
5829         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5831         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5832         already defined.
5833         [__SIGRTMIN] (init): Function removed.
5834         [__SIGRTMIN] (initialized): Variable removed.
5835         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5836         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5837         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5838         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5839         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5840         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5841         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5842         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5843         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5844         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5845         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5846         * sysdeps/nptl/allocrtsig.c: New file.
5847         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5848         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5849         * sysdeps/generic/testrtsig.h: File removed.
5851         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5852         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5854         * nptl/nptl-init.c (pthread_functions): Conditionalize
5855         .ptr__nptl_setxid initialization on [SIGSETXID].
5857         * sysdeps/nptl/sys/procfs.h: New file.
5858         * nptl_db/Makefile (headers): Add it.
5859         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5861         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5862         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5863         * nptl/pthread_attr_setaffinity.c: Include it.
5864         * nptl/pthread_setattr_default_np.c: Likewise.
5865         * nptl/check-cpuset.h: New file.
5867 2015-01-08  Richard Henderson  <rth@redhat.com>
5869         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5870         (CFLAGS-tst-execstack-prog.c): Likewise.
5871         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5873 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5874             Sandra Loosemore  <sandra@codesourcery.com>
5875             Andrew Jenner  <andrew@codesourcery.com>
5876             Joseph Myers  <joseph@codesourcery.com>
5877             Nathan Sidwell  <nathan@codesourcery.com>
5879         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5880         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5881         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5882         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5883         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5884         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5885         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5886         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5887         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5888         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5889         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5890         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5891         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5892         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5893         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5894         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5895         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5897 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5899         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5900         timespec struct member in syscall macro.
5901         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5902         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5903         first timeval struct member in syscall macro.
5904         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5906 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5908         [BZ #17748]
5909         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5910         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5911         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5912         __feupdateenv and define as weak alias of __feupdateenv.  Use
5913         libm_hidden_weak.
5914         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5915         libm_hidden_def.
5916         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5917         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5918         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5919         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5920         libm_hidden_def.
5921         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5922         __feupdateenv and define as weak alias of __feupdateenv.  Use
5923         libm_hidden_weak.
5924         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5925         libm_hidden_def.
5926         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5927         __feupdateenv and define as weak alias of __feupdateenv.  Use
5928         libm_hidden_weak.
5929         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5930         libm_hidden_def.
5931         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5932         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5933         (__feupdateenv): Likewise.
5934         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5935         __feupdateenv and define as weak alias of __feupdateenv.  Use
5936         libm_hidden_weak.
5937         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5938         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5939         libm_hidden_def.
5940         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5941         function.
5942         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5943         libm_hidden_def.
5944         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5945         __feupdateenv instead of feupdateenv.
5946         (default_libc_feupdateenv_test): Likewise.
5947         (libc_feresetround_ctx): Likewise.
5949 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5951         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5952         prototype.
5954 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5956         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5957         COLL_SYM in a couple of places to avoid uninitialized variable
5958         wanings on tilegx gcc 4.8.2.
5960 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5962         * sysdeps/aarch64/strcpy.S: New file.
5963         * sysdeps/aarch64/stpcpy.S: New file.
5964         * NEWS: Updated.
5966 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5968         * sysdeps/aarch64/strrchr.S: New file.
5969         * NEWS: Updated.
5971 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5973         [BZ #17658]
5974         * stdlib/setenv.c: Fix memory leak when setting large,
5975         duplicate string.
5977 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5979         [BZ #17273]
5980         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5981         and tabs from buffer before parsing fstab entry.
5982         * misc/tst-mntent.c (main): Add test for mount entry with
5983         trailing spaces and tabs.
5985 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5987         [BZ #17748]
5988         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5989         * math/fesetround.c (fesetround): Rename to __fesetround and
5990         define as weak alias of __fesetround.  Use libm_hidden_weak.
5991         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5992         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5993         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5994         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5995         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5996         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5997         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5998         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5999         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6000         __fesetround_inline.
6001         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6002         __fesetround_inline instead of __fesetround.
6003         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6004         __fesetround and define as weak alias of __fesetround.  Use
6005         libm_hidden_weak.  Call __fesetround_inline instead of
6006         __fesetround.
6007         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6008         __fesetround and define as weak alias of __fesetround.  Use
6009         libm_hidden_weak.
6010         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6011         Likewise.
6012         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6013         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6014         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6015         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6016         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6017         __fesetround and define as weak alias of __fesetround.  Use
6018         libm_hidden_weak.
6019         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6020         __fesetround instead of fesetround.
6021         (default_libc_feholdexcept_setround): Likewise.
6022         (libc_feholdsetround_ctx): Likewise.
6023         (libc_feholdsetround_noex_ctx): Likewise.
6025         [BZ #17748]
6026         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6027         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6028         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6029         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6030         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6031         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6032         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6033         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6034         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6035         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6036         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6037         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6038         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6039         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6040         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6041         libm_hidden_def.
6042         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6043         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6044         Likewise.
6045         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6046         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6047         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6048         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6049         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6050         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6051         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6052         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6053         __fesetenv instead of fesetenv.
6054         (libc_feresetround_noex_ctx): Likewise.
6055         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6056         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6057         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6058         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6059         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6060         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6061         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6062         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6063         (__feupdateenv): Likewise.
6064         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6065         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6066         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6067         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6069 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6071         [BZ #17806]
6072         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6073         addresses have been freed.
6075 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6077         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6078         and nservall.
6080 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6082         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6083         Clean up check_pf allocation pattern. addresses
6085 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6087         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6088         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6089         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6090         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6091         * nptl/pthread_join.c (pthread_join): Likewise.
6092         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6093         * sysdeps/posix/waitid.c (__waitid): Likewise.
6094         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6095         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6096         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6097         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6099         Likewise.
6100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6101         (__libc_pread64): Likewise.
6102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6103         (__libc_pwrite): Likewise.
6104         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6105         (__libc_pwrite64): Likewsie.
6106         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6107         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6108         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6109         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6110         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6111         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6112         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6114         Likewise.
6115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6116         (__libc_pread64): Likewise.
6117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6118         Likewise.
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6120         (__libc_pwrite64): Likewise.
6121         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6122         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6123         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6124         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6125         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6126         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6127         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6128         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6129         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6130         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6131         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6132         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6133         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6134         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6135         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6136         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6137         Likewise.
6139 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6141         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6142         (CFLAGS-test-double.c): Likewise.
6143         (CFLAGS-test-ldouble.c): Likewise.
6144         (CPPFLAGS-test-ifloat.c): Likewise.
6145         (CPPFLAGS-test-idouble.c): Likewise.
6146         (CPPFLAGS-test-ildoubl.c): Likewise.
6147         (CFLAGS-test-test-fenv.c): Remove variable.
6148         (CFLAGS-test-misc.c): Likewise.
6150 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6152         [BZ #17797]
6153         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6154         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6155         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6156         CLOCKS_PER_SEC == 1000000.
6157         * time/clocktest.c (main): Replace %ld with %jd and cast to
6158         intmax_t.
6160 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6162         * sysdeps/generic/unwind-resume.h: New file.
6163         * sysdeps/gnu/unwind-resume.c: Include it.
6164         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6165         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6166         argument list.
6167         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6168         global rather than static.
6169         (_Unwind_Resume): Update user.
6170         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6171         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6172         rather than static.  Add __attribute__ ((cold)).
6173         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6174         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6175         * sysdeps/arm/arm-unwind-resume.S: New file.
6176         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6177         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6178         * sysdeps/arm/Makefile [$(subdir) = csu]
6179         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6180         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6181         Add rt-arm-unwind-resume.
6182         [$(subdir) = nptl]
6183         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6184         Add pt-arm-unwind-resume.
6185         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6186         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6188 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6190         [BZ #17748]
6191         * include/fenv.h (__feholdexcept): Declare.  Use
6192         libm_hidden_proto.
6193         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6194         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6195         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6196         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6197         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6198         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6199         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6200         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6201         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6202         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6203         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6204         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6205         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6206         (feholdexcept): Likewise.
6207         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6208         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6209         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6210         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6211         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6212         __feholdexcept instead of feholdexcept.
6213         (default_libc_feholdexcept_setround): Likewise.
6215 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6217         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6218         to avoid using stl/str to align destination.
6220 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6222         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6224 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6226         [BZ #17796]
6227         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6228         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6229         Define as weak alias not strong alias.
6231 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6233         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6234         bltzal with addiupc.
6235         (RTLD_START): Ditto.
6237 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6239         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6240         for __vdso_* functions in declarations.
6241         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6242         definitions.
6243         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6244         INTERNAL_VSYSCALL): Use struct return types to check for error.
6246         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6247         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6248         function with cast from llround().
6249         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6250         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6251         Define.
6253 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6255         [BZ #17793]
6256         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6257         Define as weak alias not strong alias.
6259         [BZ #17635]
6260         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6261         ...
6262         * ctype/ctype-extn.c: ... here.
6263         (__isblank_l): Move to ...
6264         * ctype/ctype-c99_l.c: ... here.  New file.
6265         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6266         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6267         Remove variable.
6268         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6269         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6270         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6271         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6272         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6274         [BZ #17777]
6275         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6276         (posix_fadvise64): Define as weak alias not strong alias.
6277         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6278         (posix_fallocate64): Likewise.
6279         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6280         Remove variable.
6281         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6282         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6283         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6284         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6285         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6287 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6289         [BZ #16191]
6290         * NEWS: Mention bug fix.
6291         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6292         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6293         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6294         (HOST_STACK_END_ADDR): Likewise.
6296 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #17748]
6299         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
6300         * math/fegetround.c (fegetround): Rename to __fegetround and
6301         define as weak alias of __fegetround.  Use libm_hidden_weak.
6302         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6303         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6304         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6305         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6306         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6307         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6308         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6309         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6310         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6311         Undefine after rather than before function definition; use
6312         parentheses around function name in definition.
6313         (__fegetround): Also undefine macro after function definition.
6314         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6315         __fegetround and define as weak alias of __fegetround.  Use
6316         libm_hidden_weak.  Do not undefine as macro.
6317         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6318         Likewise.
6319         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6320         __fegetround and define as weak alias of __fegetround.  Use
6321         libm_hidden_weak.
6322         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6323         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6324         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6325         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6326         __fegetround and define as weak alias of __fegetround.  Use
6327         libm_hidden_weak.
6328         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6329         __fegetround instead of fegetround.
6331         [BZ #17782]
6332         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6333         Condition macro definition on [__USE_MISC].
6335         [BZ #17781]
6336         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6337         (struct sigaction): Change type of sa_flags field to int.
6339         [BZ #17780]
6340         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6341         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6342         __glibc_reserved0.
6344         * nptl/version.c (banner): Use single year in copyright notice.
6346         * NEWS: Update copyright dates.
6347         * catgets/gencat.c (print_version): Likewise.
6348         * csu/version.c (banner): Likewise.
6349         * debug/catchsegv.sh: Likewise.
6350         * debug/pcprofiledump.c (print_version): Likewise.
6351         * debug/xtrace.sh (do_version): Likewise.
6352         * elf/ldconfig.c (print_version): Likewise.
6353         * elf/ldd.bash.in: Likewise.
6354         * elf/pldd.c (print_version): Likewise.
6355         * elf/sotruss.sh: Likewise.
6356         * elf/sprof.c (print_version): Likewise.
6357         * iconv/iconv_prog.c (print_version): Likewise.
6358         * iconv/iconvconfig.c (print_version): Likewise.
6359         * locale/programs/locale.c (print_version): Likewise.
6360         * locale/programs/localedef.c (print_version): Likewise.
6361         * login/programs/pt_chown.c (print_version): Likewise.
6362         * malloc/memusage.sh (do_version): Likewise.
6363         * malloc/memusagestat.c (print_version): Likewise.
6364         * malloc/mtrace.pl: Likewise.
6365         * manual/libc.texinfo: Likewise.
6366         * nptl/version.c (banner): Likewise.
6367         * nscd/nscd.c (print_version): Likewise.
6368         * nss/getent.c (print_version): Likewise.
6369         * nss/makedb.c (print_version): Likewise.
6370         * posix/getconf.c (main): Likewise.
6371         * scripts/test-installation.pl: Likewise.
6372         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6374 2015-01-02  Will Newton  <will.newton@linaro.org>
6376         * sysdeps/arm/armv7/configure: Removed.
6377         * sysdeps/arm/armv7/configure.ac: Likewise.
6379 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6381         * All files with FSF copyright notices: Update copyright dates
6382         using scripts/update-copyrights.
6383         * intl/plural.c: Regenerated.
6384         * locale/programs/charmap-kw.h: Likewise.
6385         * locale/programs/locfile-kw.h: Likewise.
6387 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6389         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6391 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #17748]
6394         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6395         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6396         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6397         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6398         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6399         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6400         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6401         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6402         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6403         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6404         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6405         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6406         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6407         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6408         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6409         libm_hidden_def.
6410         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6412         Likewise.
6413         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6414         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6415         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6416         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6417         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6418         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6419         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6420         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6421         __fegetenv instead of fegetenv.
6422         (libc_feholdsetround_noex_ctx): Likewise.
6424 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6426         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6427         (Elf_MIPS_ABIFlags_v0): New structure.
6428         (EF_MIPS_FP64): Define.
6429         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6430         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6431         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6432         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6433         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6434         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6435         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6436         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6437         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6438         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6439         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6440         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6441         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6442         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6443         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6444         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6445         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6446         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6447         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6448         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6449         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6450         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6451         field.
6452         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6453         EF_MIPS_FP64.
6454         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6455         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6456         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6457         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6458         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6459         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6460         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6461         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6462         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6463         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6464         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6465         record the current FP ABI extension.
6466         (mips-mode-switch): Define to show if kernel headers support mode
6467         switching.
6468         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6469         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6470         supported SYSV ABI version to 3.
6471         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6472         feature.
6474 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6475             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6477         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6478         path.
6479         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6481 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6483         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6484         __fegetround and redefine to call __fegetround.  Remove condition
6485         on [!__NO_MATH_INLINES].
6486         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6487         function.
6488         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6489         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6490         Remove macro.
6491         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6492         instead of <fenv_libc.h>.
6493         (__llrintl): Call fegetround instead of __fegetround.
6494         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6495         instead of <fenv_libc.h>.
6496         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6497         (__lrintl): Call fegetround instead of __fegetround.
6498         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6499         instead of <fenv_libc.h>.
6500         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6501         (__rintl): Call fegetround instead of __fegetround.
6503 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6505         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6506         arrays.
6508 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6510         [BZ #17775]
6511         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6512         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6513         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6515 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6517         * sysdeps/i386/tls-macros.h: Include <features.h>.
6518         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6519         (TLS_IE): Likewise.
6520         (TLS_LD): Likewise.
6521         (TLS_GD): Likewise.
6522         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6523         define for GCC >= 5.0.
6525 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6527         * math/test-fenv.c (test_single_exception, set_single_exc,
6528         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6529         feexcp_mask_test, feenable_test, fe_single_test): Add
6530         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6531         case where they are not used.
6532         * math/libm-test.inc: Likewise.
6533         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6534         unused in the absence of FP rounding/exception support.
6535         * stdio-common/tst-printf-round.c: Likewise.
6536         * stdlib/tst-strtod-round.c: Likewise.
6537         * stdlib/tst-strtod-underflow.c: Likewise.
6539 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #17723]
6542         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6543         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6544         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6545         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6546         libm_hidden_weak.
6547         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6548         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6549         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6550         libm_hidden_def.
6551         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6552         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6553         libm_hidden_weak.
6554         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6555         Likewise.
6556         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6557         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6558         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6559         libm_hidden_weak.
6560         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6561         libm_hidden_def.
6562         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6563         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6564         (__feraiseexcept): Likewise.
6565         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6566         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6567         libm_hidden_weak.
6568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6569         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6570         libm_hidden_def.
6571         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6572         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6573         Use libm_hidden_def.
6574         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6575         libm_hidden_def.
6576         (feraiseexcept): Define as weak not strong alias.  Use
6577         libm_hidden_weak.
6578         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6579         New inline function.  Factored out of ...
6580         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6581         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6582         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6583         feraiseexcept.
6584         * math/w_acos.c (__acos): Likewise.
6585         * math/w_asin.c (__asin): Likewise.
6586         * math/w_ilogb.c (__ilogb): Likewise.
6587         * math/w_j0.c (y0): Likewise.
6588         * math/w_j1.c (y1): Likewise.
6589         * math/w_jn.c (yn): Likewise.
6590         * math/w_log.c (__log): Likewise.
6591         * math/w_log10.c (__log10): Likewise.
6592         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6593         * sysdeps/aarch64/fpu/math_private.h
6594         (libc_feupdateenv_test_aarch64): Likewise.
6595         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6596         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6597         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6598         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6599         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6600         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6601         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6602         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6603         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6604         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6606 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6608         [BZ #17732]
6609         * io/test-utime.c (main): Replace %ld with %jd and cast to
6610         intmax_t.
6611         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6612         * nptl/tst-mutex5.c: Include <stdint.h>.
6613         (do_test): Replace %ld with %jd and cast to intmax_t.
6614         * posix/tst-regex.c (run_test): Likewise.
6615         (run_test_backwards): Likewise.
6616         * rt/tst-clock.c: Include <stdint.h>.
6617         (clock_test): Replace %ld with %jd and cast to intmax_t.
6618         * rt/tst-cpuclock1.c: Include <stdint.h>.
6619         (do_test): Replace %lu with %ju and cast to uintmax_t.
6620         * rt/tst-cpuclock2.c: Include <stdint.h>.
6621         (do_test): Replace %lu with %ju and cast to uintmax_t.
6622         * rt/tst-mqueue1.c: Include <stdint.h>.
6623         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6624         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6625         intmax_t.
6626         * rt/tst-mqueue4.c (do_test): Likewise.
6627         * rt/tst-timer4.c: Include <stdint.h>.
6628         (check_ts): Replace %ld with %jd and cast to intmax_t.
6629         (do_test): Likewise.
6630         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6631         and cast to intmax_t.
6632         * sysdeps/pthread/tst-timer.c (main): Likewise.
6633         * time/clocktest.c (main): Likewise.
6634         * time/tst-posixtz.c (do_test): Likewise.
6635         * timezone/tst-timezone.c (main): Likewise.
6637 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6638             H.J. Lu  <hongjiu.lu@intel.com>
6640         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6641         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6642         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6643         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6644         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6645         version if bit_Fast_Unaligned_Load is set.
6646         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6647         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6648         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6649         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6650         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6651         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6653         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6654         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6655         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6656         to 4.
6657         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6658         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6659         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6660         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6662 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6664         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6665         instead of #if to avoid a Wundef warning.
6666         * stdlib/tst-limits.c (do_test): Likewise.
6668         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6669         parallel other exception macros.
6670         (fegetenv): Convert from macro to extern inline so that it applies
6671         retroactively to inline functions already seen by the compiler.
6672         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6674         * posix/Makefile (before-compile): Use $(objpfx) for
6675         posix-conf-vars-def.h.
6677 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679         * posix/getconf.c (main): Use size_t for type of I.
6680         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6681         NSPEC.
6683         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6684         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6685         * posix/posix-envs.def: Likewise.
6686         * sysdeps/posix/sysconf.c: Likewise.
6687         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6688         (specs): Remove array.
6689         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6690         array.
6692         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6693         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6694         (__sysconf): Use CONF_IS_* macros.
6696         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6697         ($(objpfx)posix-conf-vars-def.h): New target.
6698         * posix/posix-conf-vars.list: New file.
6699         * posix/posix-conf-vars.h: New file.
6700         * posix/confstr.c: Include posix-conf-vars.h.
6701         (confstr): Use CONF_IS_* macros.
6702         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6703         CONF_IS_* macros.
6704         * scripts/gen-posix-conf-vars.awk: New file.
6706 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6708         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6709         fegetround): Add no-op macros to avoid linknamespace issues.
6711         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6712         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6714         * sysdeps/unix/sysv/linux/tile/sysdep.h
6715         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6716         assembly-specific section to avoid a redefinition warning.
6718         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6719         long before casting to pointer to avoid a cast warning.
6721 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6723         * sysdeps/tile/tilegx/Implies: New file.
6725 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6727         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6729 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6731         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6733 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6735         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6736         not define.
6737         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6738         <kernel-features.h>.
6739         (__utimes) [__NR_utimes]: Make code unconditional.
6740         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6741         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6742         (__ASSUME_UTIMES): Do not undefine.
6743         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6744         (__ASSUME_UTIMES): Likewise.
6745         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6746         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6747         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6748         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6750 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6752         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6754 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6756         [BZ #17747]
6757         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6758         alias to weak alias for j0l, y0l.
6759         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6760         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6762         [BZ #17746]
6763         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6764         conversion.
6766 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6768         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6769         to zero if not already defined.
6771 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6773         [BZ #17724]
6774         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6775         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6776         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6777         (char *) casts added.
6778         * sysdeps/ieee754/k_standardf.c: New file.
6779         * sysdeps/ieee754/k_standardl.c: Likewise.
6780         * math/Makefile (libm-support): Remove k_standard.
6781         (libm-calls): Add k_standard.
6783 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6785         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6786         Optimize to avoid an unnecessary FPCR read.
6788 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6791         Optimize to reduce FPCR/FPSR accesses.
6793 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6795         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6796         Call libc_fetestexcept_aarch64.
6798 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6800         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6801         Call libc_fesetround_aarch64.
6803 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6805         [BZ #17733]
6806         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6807         (__bind): Do not define as weak alias.
6808         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6809         define.
6810         (__getsockname): Do not define as weak alias.
6812 2014-12-22  Will Newton  <will.newton@linaro.org>
6814         * manual/install.texi: Document that we require bison 2.7
6815         or above.
6816         * INSTALL: Regenerate.
6817         * configure.ac: Use AC_CHECK_PROG_VER instead of
6818         AC_PATH_PROG when checking for bison and check for
6819         version 2.7 or above.
6820         * configure: Regenerate.
6822 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6824         [BZ #17745]
6825         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6826         * sysdeps/tile/ffsll.c (ffsll): To here.
6828         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6830 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6832         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6833         if not defined.
6834         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6835         definition.
6836         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6837         hidden ___tls_get_addr.
6838         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6839         hidden __tls_get_addr.
6840         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6841         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6842         Likewise.
6844 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6846         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6847         _dl_init call.
6849 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6851         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6852         from "call _dl_init@PLT".
6853         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6855 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6857         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6858         guarantees.
6860 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6862         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6864 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6866         [BZ #17744]
6867         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6868         strnlen.
6870 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6872         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6873         of multu on MIPSr6.
6874         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6875         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6876         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6877         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6878         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6880 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6882         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6883         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6884         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6885         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6886         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6887         mips32r6/mips64r6.
6888         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6890 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6892         * string/strncat.c (STRNCAT): Simplify implementation.
6894 2014-12-19  David S. Miller  <davem@davemloft.net>
6896         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6897         access the quad as both a long double and as a series of 4 words.
6899         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6900         link_map->l_info array access.
6902 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6904         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6906         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6907         * math/atest-exp2.c (TIMEOUT): Likewise.
6908         * math/atest-sincos.c (TIMEOUT): Likewise.
6910 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6912         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6913         -Wno-error with -fno-builtin-lround.
6915 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6917         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6918         Contains futex constants and functions moved over from ...
6919         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6920         <lowlevellock-futex.h>.
6921         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6922         (lll_timedwait_tid): Add comments and parentheses around macro
6923         arguments.
6925 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6927         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6928         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6929         (__lll_private_flag): Remove.
6930         (lll_futex_wait): Likewise.
6931         (lll_futex_timed_wait): Likewise.
6932         (lll_futex_wake): Likewise.
6933         (lll_futex_requeue): Likewise.
6934         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6935         (__lll_timedwait_tid): Spell out argument names.
6936         (lll_timedwait_tid): Add comments and parentheses around macro
6937         arguments.
6938         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6939         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6941 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6943         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6944         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6945         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6946         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6947         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6948         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6949         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6950         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6951         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6952         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6954         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6956         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6957         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6958         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6959         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6960         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6961         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6963 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6965         * sysdeps/x86_64/x32/Makefile: New file.
6967 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6969         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6970         1L with (mp_limb_t) 1.
6972 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6974         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6975         * nptl/libc_pthread_init.c: ... here.
6976         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6977         * nptl/register-atfork.c: ... here.
6979         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6980         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6981         Use assert_perror to check its return value.
6982         (__gai_create_helper_thread): Likewise.
6984         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6986         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6988 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6990         [BZ #17725]
6991         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6992         __profil_counter.
6993         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6996         Likewise.
6997         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7000         (profil_counter): Likewise.
7001         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7002         (profil_counter): Likewise.
7003         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7004         Likewise.
7005         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7006         Likewise.
7007         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7008         (profil_counter): Likewise.
7009         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7010         Likewise.
7011         [!__profil_counter] (profil_counter): Define as weak alias of
7012         __profil_counter.
7013         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7014         (profil_counter): Rename to __profil_counter.
7015         [!__profil_counter] (profil_counter): Define as weak alias of
7016         __profil_counter.
7017         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7018         (profil_counter): Rename to __profil_counter.
7019         [!__profil_counter] (profil_counter): Define as weak alias of
7020         __profil_counter.
7021         * sysdeps/posix/profil.c: Update comment referring to
7022         profil_counter.
7023         (__profil): Use __profil_counter instead of profil_counter.
7024         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7025         __profil_counter.  Use __profil_counter_ushort and
7026         __profil_counter_uint in definitions.
7027         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7028         instead of profil_counter_uint and profil_counter_ushort.
7030         [BZ #17722]
7031         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7032         define as weak alias of __inet_makeaddr.
7033         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7034         as weak alias of __inet_addr.
7035         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7036         as weak alias of __inet_pton.  Use libc_hidden_weak.
7037         * include/arpa/inet.h (__inet_pton): Declare.  Use
7038         libc_hidden_proto.
7039         (inet_makeaddr): Don't use libc_hidden_proto.
7040         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7041         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7042         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7043         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7044         Remove variable.
7045         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7046         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7048 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7050         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7052 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7054         * stdio-common/bug-vfprintf-nargs.c (do_test):
7055         Cast value to intptr_t to avoid format warning
7056         for usage with PRIdPTR printing macro.
7058 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7060         * libio/tst-widetext.c (do_test):
7061         Use format type %td instead of %Zd for ptrdiff_t
7062         in order to avoid format warning.
7064 2014-12-17  Andreas Schwab  <schwab@suse.de>
7066         * nscd/mem.c (gc): Add size_t cast to match printf format.
7068 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7070         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7071         (init): Apply PTR_MANGLE to pointers before storing them.
7072         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7073         before using them.
7075 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7077         [BZ #17719]
7078         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7079         define as weak alias of __memrchr.
7080         (__memrchr): Do not define as strong alias of memrchr.
7081         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7082         Remove variable.
7083         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7084         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7085         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7087         [BZ #17717]
7088         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7089         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7090         (if_indextoname): Rename to __if_indextoname and define as weak
7091         alias of __if_indextoname.  Use libc_hidden_weak.
7092         (if_freenameindex): Rename to __if_freenameindex and define as
7093         weak alias of __if_freenameindex.
7094         (if_nameindex): Rename to __if_nameindex and define as weak alias
7095         of __if_nameindex.
7096         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7097         __if_nametoindex and define as weak alias of __if_nametoindex.
7098         Use libc_hidden_weak.
7099         (if_freenameindex): Rename to __if_freenameindex and define as
7100         weak alias of __if_freenameindex.
7101         (if_nameindex): Rename to __if_nameindex and define as weak alias
7102         of __if_nameindex.
7103         (if_indextoname): Rename to __if_indextoname and define as weak
7104         alias of __if_indextoname.  Use libc_hidden_weak.
7105         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7106         __if_nametoindex and define as weak alias of __if_nametoindex.
7107         Use libc_hidden_weak.
7108         (if_freenameindex): Rename to __if_freenameindex and define as
7109         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7110         (if_nameindex_netlink): Use __if_freenameindex instead of
7111         if_freenameindex.
7112         (if_nameindex): Rename to __if_nameindex and define as weak alias
7113         of __if_nameindex.  Use libc_hidden_weak.
7114         (if_indextoname): Rename to __if_indextoname and define as weak
7115         alias of __if_indextoname.  Use libc_hidden_weak.
7116         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7117         libc_hidden_proto.
7118         [!_ISOMAC] (__if_freenameindex): Likewise.
7119         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7120         if_nametoindex.
7121         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7122         variable.
7123         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7124         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7125         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7126         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7127         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7128         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7129         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7131         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7132         Remove variable.
7133         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7134         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7136 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7138         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7139         subscript above bounds'
7141         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7142         bounds.
7144 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7146         * libio/tst-fopenloc.c: Use test-skeleton.c.
7148         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7149         (entry): Rename to ITEM.
7150         (do_test, comp): Adjust.
7152         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7154 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7156         * string/tester.c: Include <libc-internal.h>.
7157         (test_memset): Ignore -Wmemset-transposed-args.
7159 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7161         * misc/tst-mntent2.c (do_test): Fix warning.
7163 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7165         * elf/tst-unique4lib.cc(a): Mark as used.
7167 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7169         [BZ #17630]
7170         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7171         names.
7173 2014-12-16  Allan McRae  <allan@archlinux.org>
7175         * stdio-common/Makefile (tests): Re-add bug26.
7177 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7179         [BZ #17657]
7180         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7181         static array.
7183 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7185         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7186         (__lll_lock_wait): Likewise.
7187         (__lll_timedlock_wait): Likewise.
7188         (__lll_timedwait_tid): Likewise.
7189         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7190         (__lll_robust_timedlock_wait): Likewise.
7191         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7192         (lll_cond_trylock): Likewise.
7193         (__lll_lock): Likewise.
7194         (__lll_robust_lock): Likewise.
7195         (__lll_cond_lock): Likewise.
7196         (lll_robust_cond_lock): Likewise.
7197         (__lll_timedlock): Likewise.
7198         (__lll_robust_timedlock): Likewise.
7199         (__lll_unlock): Likewise.
7200         (__lll_robust_unlock): Likewise.
7201         (lll_wait_tid): Likewise.
7202         (lll_timedwait_tid): Likewise.
7204 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7206         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7208 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7210         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7212 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7214         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7215         * stdio-common/tst-sprintf.c: Likewise.
7217 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7219         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7221 2014-12-15  Jeff Law  <law@redhat.com>
7223         [BZ #16617]
7224         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7225         on the heap.  (CVE-2012-3406)
7226         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7227         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7228         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7230 2014-12-15  Will Newton  <will.newton@linaro.org>
7232         * manual/install.texi: Bump required version of texinfo
7233         to 4.7 from 4.5.
7234         * INSTALL: Regenerated.
7235         * configure.ac: Check for makeinfo version 4.7 and above.
7236         * configure: Regenerated.
7238 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7240         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7241         PREFIX, string constant to insert between directory and name.
7242         * sysdeps/posix/shm_open.c: Update caller.
7243         * sysdeps/posix/shm_unlink.c: Likewise.
7244         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7245         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7246         (SEM_SHM_PREFIX): New macro.
7247         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7248         [$(have-thread-library) = no].
7249         * nptl/Makefile (libpthread-routines): Add shm-directory.
7250         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7251         * sysdeps/nptl/shm-directory.h: New file.
7252         * sysdeps/posix/shm-directory.c
7253         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7254         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7255         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7256         INTERNAL_SYSCALL.
7257         (__where_is_shmfs): Function removed.
7258         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7259         Variables removed.
7260         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7261         Use SHM_GET_NAME.
7262         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7264         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7265         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7266         unconditional for use inside libpthread.
7267         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7269 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7271         * nptl/pthread_getaffinity.c: New file.
7272         * nptl/pthread_setaffinity.c: New file.
7273         * nptl/pthread_getname.c: New file.
7274         * nptl/pthread_setname.c: New file.
7276         * nptl/pthread_create.c (START_THREAD_DEFN)
7277         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7279 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7280             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7282         * resolv/res_send.c (send_vc): Disable warning resplen may
7283         be used uninitialized.
7285 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7287         * nptl/tst-mutex6.c
7288         (ATTR_NULL): New define checks ATTR against NULL.
7289         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7290         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7292 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7294         [BZ #17581]
7295         * malloc/hooks.c
7296         (mem2mem_check): Revert my previous change.
7297         (malloc_check_get_size): Revert my previous change.
7298         (mem2chunk_check): Revert my previous change.
7300 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7302         * sysdeps/posix/shm-directory.c: New file.
7303         * sysdeps/posix/shm-directory.h: New file.
7304         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7305         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7306         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7307         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7308         Transmute EPERM to EACCES.
7309         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7310         from ...
7311         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7312         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7314 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7316         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7317         pointer and cast to uintptr_t.
7318         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7319         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7320         Add cast to avoid warning.
7321         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7323 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7325         * nptl/semaphore.h: Move to ...
7326         * sysdeps/pthread/semaphore.h: ... here.
7327         * Makefile (installed-headers): Change nptl/semaphore.h to
7328         sysdeps/pthread/semaphore.h.
7330 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7332         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7333         generated error format strings.
7335         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7336         -Wformat-extra-args warnings for scanf formats.
7337         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7338         test of zero-length format (duh).
7339         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7340         corner-case scanf format test.
7341         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7342         generated fprintf format string.
7343         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7344         corner-case sprintf format tests.
7345         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7346         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7347         -Wformat-extra-args warnings throughout.
7348         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7349         (CFLAGS-scanf4.c): Likewise.
7350         (CFLAGS-scanf7.c): Likewise.
7351         (CFLAGS-tst-sprintf.c): Likewise.
7352         (CFLAGS-tst-printf.c): Likewise.
7353         (CFLAGS-tst-printfsz.c): Likewise.
7355 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7357         * include/cpio.h: New file.
7358         * include/fmtmsg.h: Likewise.
7360         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7361         corresponding format argument to size_t.
7362         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7363         arguments.
7364         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7365         corresponding format argument to size_t.
7366         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7367         arguments.
7368         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7369         corresponding format argument to size_t.
7370         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7371         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7372         (CFLAGS-tst-mbswcs2.c): Likewise.
7373         (CFLAGS-tst-mbswcs3.c): Likewise.
7374         (CFLAGS-tst-mbswcs4.c): Likewise.
7375         (CFLAGS-tst-mbswcs5.c): Likewise.
7376         (CFLAGS-tst-trans.c): Likewise
7378 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7380         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7381         rather than assuming they won't contain any '%'s.
7383 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7385         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7386         inhibit_loop_to_libcall to avoid recursive calls.
7387         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7388         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7390 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7392         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7393         prototype.
7395 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7397         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7398         integer value instead of boolean.
7400 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7402         * malloc/malloc.c: Fix powerof2 check.
7404 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7406         * locale/programs/locfile.h (maybe_swap_uint32):
7407         Remove inline and add unused attribute.
7409 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7411         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7412         Truncating assembler expression to a .long expression.
7414 2014-12-11  Andreas Schwab  <schwab@suse.de>
7416         * elf/rtld.c (struct map_args): Constify str member.
7417         (do_preload): Constify fname argument.
7419 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7421         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7422         constants definition.
7424 2014-12-11  Andreas Schwab  <schwab@suse.de>
7426         [BZ #16657]
7427         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7428         FORCE_ELISION instead of DO_ELISION.
7429         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7430         Remove.
7431         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7432         Likewise.
7434         * iconvdata/gconv-modules: Remove duplicate entry.
7436 2014-12-11  Will Newton  <will.newton@linaro.org>
7438         Merge gettext 0.19.3 into intl/.
7440         This involves a number of cosmetic changes to comments
7441         and ANSI function definitions and prototypes throughout
7442         all the files. The gettext copyright header is used but
7443         with the date ranges taken from the glibc copy.
7445         * NEWS: Add gettext merge to 2.21.
7446         * intl/bindtextdom.c: Switch to gettext copyright.
7447         Use ANSI definitions and prototypes.
7448         Use gl_* locking primitives rather than __libc_* ones.
7449         Use __builtin_expect rather than __glibc_likely/unlikely.
7450         * intl/dcgettext.c: Switch to gettext copyright.
7451         Use ANSI definitions and prototypes.
7452         * intl/dcigettext.c: Switch to gettext copyright.
7453         Use ANSI definitions and prototypes.
7454         (INTDIV0_RAISES_SIGFPE): New define.
7455         Use gl_* locking primitives rather than __libc_* ones.
7456         Include eval-plural.h instead of plural-eval.c.
7457         Use __builtin_expect rather than __glibc_likely/unlikely.
7458         * intl/dcngettext.c: Switch to gettext copyright.
7459         Use ANSI definitions and prototypes.
7460         * intl/dgettext.c: Likewise.
7461         * intl/dngettext.c: Likewise.
7462         * intl/plural-eval.c: Renamed to...
7463         * intl/eval-plural.h: ...this.
7464         * intl/explodename.c: Switch to gettext copyright.
7465         Use ANSI definitions and prototypes.
7466         (_nl_explode_name): Use strchr instead of __rawmemchr.
7467         * intl/finddomain.c: Switch to gettext copyright.
7468         Use ANSI definitions and prototypes.
7469         Use gl_* locking primitives rather than __libc_* ones.
7470         (_nl_find_domain): Use malloc rather than alloca for
7471         allocation of temporary locale name.
7472         * intl/gettext.c: Switch to gettext copyright.
7473         Use ANSI definitions and prototypes.
7474         * intl/gettextP.h: Switch to gettext copyright.
7475         Use ANSI definitions and prototypes.
7476         Use gl_* locking primitives rather than __libc_* ones.
7477         * intl/gmo.h: Switch to gettext copyright.
7478         (struct sysdep_string): Move struct segment_pair outside of
7479         struct definition.
7480         * intl/hash-string.c: Use ANSI definitions and prototypes.
7481         * intl/hash-string.h: Switch to gettext copyright.
7482         Use ANSI definitions and prototypes.
7483         * intl/l10nflist.c: Switch to gettext copyright.
7484         Use ANSI definitions and prototypes.
7485         (_nl_normalize_codeset): Avoid integer overflow.
7486         * intl/loadinfo.h: Switch to gettext copyright.
7487         Use ANSI definitions and prototypes.
7488         (LIBINTL_DLL_EXPORTED): New define.
7489         (PATH_SEPARATOR): New define.
7490         * intl/loadmsgcat.c: Switch to gettext copyright.
7491         * intl/localealias.c: Switch to gettext copyright.
7492         Use ANSI definitions and prototypes.
7493         (_nl_expand_alias): Use PATH_SEPARATOR.
7494         * intl/ngettext.c: Switch to gettext copyright.
7495         Use ANSI definitions and prototypes.
7496         * intl/plural-exp.c: Likewise.
7497         * intl/plural-exp.h: Switch to gettext copyright.
7498         Use ANSI definitions and prototypes.
7499         (struct expression): Move definition of enum operator outside
7500         of struct definition.
7501         * intl/plural.c: Regenerate.
7502         * intl/plural.y: Switch to gettext copyright.
7503         Use ANSI definitions and prototypes.
7504         Port to bison 3.0.
7505         * intl/textdomain.c: Switch to gettext copyright.
7506         Use ANSI definitions and prototypes.
7507         Use gl_* locking primitives rather than __libc_* ones.
7509 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7511         * debug/warning-nop.c: Add used atrribute.
7513 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7515         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7517         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7518         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7519         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7521 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7522             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7524         [BZ #17634]
7525         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7526         Undefine after defining function.  Define as weak alias of
7527         __wcschr.  Use libc_hidden_weak.
7528         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7529         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7530         (libc_hidden_def): Also define __GI___wcschr alias.
7531         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7532         __wcschr and define as weak alias of __wcschr.
7533         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7534         __wcschr.
7535         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7536         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7537         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7538         libc_hidden_weak.  Do not use libc_hidden_def.
7539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7540         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7541         __GI___wcschr alias.
7542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7543         [IS_IN (libc)] (wcschr): Define as macro expanding to
7544         __redirect_wcschr.
7545         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7546         [IS_IN (libc)] (__wcschr_power6): Likewise.
7547         [IS_IN (libc)] (__wcschr_power7): Likewise.
7548         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7549         instead of wcschr.
7550         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7551         __libc_wcschr.
7552         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7553         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7554         __wcschr and define as weak alias of __wcschr.  Use
7555         libc_hidden_builtin_def.
7556         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7557         as weak alias of __wcschr.  Use libc_hidden_weak.
7558         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7559         wcschr.
7560         * time/era.c (_nl_init_era_entries): Likewise.
7561         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7562         variable.
7563         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7564         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7566 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7568         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7569         format for long int variable.
7571 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7573         [BZ #10672]
7574         * manual/search.texi: (Array Sort Function): Remove claim how to make
7575         qsort stable.
7577 2014-12-10  Andreas Schwab  <schwab@suse.de>
7579         [BZ #12847]
7580         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7581         user-controlled locks.
7583 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7585         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7586         register.
7588 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7590         * configure.ac (--disable-werror): New configure option.
7591         (enable_werror): New AC_SUBST.
7592         * configure: Regenerated.
7593         * config.make.in (enable-werror): New variable.
7594         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7595         -Wno-error=undef.
7596         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7597         * manual/install.texi (Configuring and compiling): Document
7598         --disable-werror.
7599         * INSTALL: Regenerated.
7600         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7601         (CFLAGS-tst-chk2.c): Likewise.
7602         (CFLAGS-tst-chk3.c): Likewise.
7603         (CFLAGS-tst-chk4.cc): Likewise.
7604         (CFLAGS-tst-chk5.cc): Likewise.
7605         (CFLAGS-tst-chk6.cc): Likewise.
7606         (CFLAGS-tst-lfschk1.c): Likewise.
7607         (CFLAGS-tst-lfschk2.c): Likewise.
7608         (CFLAGS-tst-lfschk3.c): Likewise.
7609         (CFLAGS-tst-lfschk4.cc): Likewise.
7610         (CFLAGS-tst-lfschk5.cc): Likewise.
7611         (CFLAGS-tst-lfschk6.cc): Likewise.
7613         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7614         (main): Disable -Wdeprecated-declarations around calls to
7615         register_printf_function.
7617         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7618         (do_test): Disable -Wdiv-by-zero around some calls to
7619         fwrite_unlocked and fread_unlocked.
7621         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7622         (DIAG_POP_NEEDS_COMMENT): Likewise.
7623         (_DIAG_STR1): Likewise.
7624         (_DIAG_STR): Likewise.
7625         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7626         * stdio-common/bug21.c: Include <libc-internal.h>.
7627         (do_test): Disable -Wformat around call to sscanf.
7628         * stdio-common/scanf14.c: Include <libc-internal.h>.
7629         (main): Disable -Wformat around some calls to scanf functions.
7631 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7633         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7635 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7637         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7638         stack variable alignment.
7640 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #17682]
7643         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7644         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7645         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7646         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7647         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7648         __getrlimit instead of getrlimit.
7649         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7650         __gettimeofday instead of gettimeofday.
7651         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7652         Likewise.
7653         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7654         Likewise.
7655         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7656         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7657         Remove variable.
7658         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7659         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7661 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7663         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7664         for wide-character tests.
7666 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7668         * io/openat64.c: #include <libc-internal.h>
7669         (__openat64): Prototypify.  Use ignore_value on MODE.
7670         * io/openat.c: Likewise.
7671         * misc/reboot.c: #include <libc-internal.h>
7672         (reboot): Prototypify.  Use ignore_value on HOWTO.
7673         * misc/ptrace.c: #include <libc-internal.h>
7674         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7676 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7678         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7679         XPG4, UNIX98 and XOPEN2K.
7680         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7681         Remove variable.
7682         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7684 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7686         * libio/fileops.c: Use ISO C style for function definitions.
7687         * libio/iofopen.c: Likewise.
7688         * libio/wfileops.c: Likewise.
7690         [BZ #17653]
7691         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7692         offset on EOF.
7693         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7694         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7695         (fgets_func): Function pointer to fgets and fgetws.
7696         (do_ftell_test): Add test to verify ftell value after read
7697         EOF.
7698         (do_test): Set fgets_func.
7700         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7701         O_TRUNC flag for w and w+ modes.
7702         (do_rewind_test): Likewise.
7703         (do_ftell_test): Likewise.
7704         (do_write_test): Likewise.
7706         [BZ #17647]
7707         * libio/fileops.c (do_ftell): Seek only when there are
7708         unflushed writes.
7709         * libio/wfileops.c (do_ftell_wide): Likewise.
7710         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7711         test case.
7712         (do_one_test): Call it.
7714 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7716         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7717         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7718         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7719         Remove variable.
7720         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7721         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7722         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7724 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7726         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7727         Remove variable.
7728         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7730         [BZ #17668]
7731         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7732         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7733         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7734         __freeifaddrs.  Use libc_hidden_weak.
7735         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7736         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7737         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7738         __freeifaddrs.  Use libc_hidden_weak.
7739         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7740         __getifaddrs and define as weak alias of __getifaddrs.  Use
7741         libc_hidden_weak.
7742         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7743         __freeifaddrs.  Use libc_hidden_weak.
7744         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7745         Remove variable.
7746         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7747         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7749 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7751         [BZ #17601]
7752         * sysdeps/mips/start.S (__start): Use indirect jump to call
7753         __libc_start_main.
7755 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7757         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7759         * nptl/tst-mutex1.c: Include <stdbool.h>.
7760         [!ATTR] (ATTR_NULL): New macro.
7761         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7762         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7763         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7765         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7766         to char *.
7768         [BZ #17665]
7769         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7770         Change conditional to [__USE_MISC].
7772         [BZ #17664]
7773         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7774         fgets_unlocked.
7775         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7776         __fgets_unlocked.
7777         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7778         fgets_unlocked.
7779         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7780         Remove variable.
7781         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7782         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7783         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7784         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7785         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7786         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7787         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7788         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7789         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7791         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7793 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7795         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7796         Remove strpbrk objects.
7797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7798         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7800         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7801         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7802         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7805         Remove strcspn objects.
7806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7807         (__libc_ifunc_impl_list): Remove strcspn implementation.
7808         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7809         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7810         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7811         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7814         Remove strspn objetcs.
7815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7816         (__libc_ifunc_impl_list): Remove strspn implementation.
7817         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7818         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7819         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7820         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7822 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7824         [BZ #17581]
7825         * malloc/hooks.c
7826         (mem2mem_check): Add a terminator to the chain of checking blocks.
7827         (malloc_check_get_size): Use it here.
7828         (mem2chunk_check): Ditto.
7830 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7832         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7833         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7835 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7837         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7839         * nptl/nptl-init.c: Include libc-internal.h.
7840         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7842         * elf/ldconfig.c (search_dir): Expand comment.
7844 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7846         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7847         variable.
7848         (linknamespace-symlist-stdlibs-tests): Likewise.
7849         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7850         instead of $(objpfx)symlist-stdlibs.
7851         (linknamespace-libs-isoc): New variable.
7852         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7853         (linknamespace-libs-ISO): New variable.
7854         (linknamespace-libs-ISO99): Likewise.
7855         (linknamespace-libs-ISO11): Likewise.
7856         (linknamespace-libs-XPG3): Likewise.
7857         (linknamespace-libs-XPG4): Likewise.
7858         (linknamespace-libs-POSIX): Likewise.
7859         (linknamespace-libs-UNIX98): Likewise.
7860         (linknamespace-libs-XOPEN2K): Likewise.
7861         (linknamespace-libs-POSIX2008): Likewise.
7862         (linknamespace-libs-XOPEN2K8): Likewise.
7863         ($(objpfx)symlist-stdlibs): Replace by
7864         $(linknamespace-symlist-stdlibs-tests).  Use
7865         $(linknamespace-libs-$*) as set of libraries.
7866         ($(linknamespace-header-tests)): Update dependencies.  Use
7867         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7868         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7869         * conform/linknamespace.pl: Remove comment about considering
7870         definitions of symbols from irrelevant libraries.
7872 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7874         [BZ #13862]
7875         * elf/dl-tls.c: Include <atomic.h>.
7876         (oom): Remove #ifdef SHARED/#endif.
7877         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7878         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7879         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7880         big enough.
7881         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7882         * nptl/Makefile (tests): Add tst-stack4.
7883         (modules-names): Add tst-stack4mod.
7884         ($(objpfx)tst-stack4): New.
7885         (tst-stack4mod.sos): Likewise.
7886         ($(objpfx)tst-stack4.out): Likewise.
7887         ($(tst-stack4mod.sos)): Likewise.
7888         (clean): Likewise.
7889         * nptl/tst-stack4.c: New file.
7890         * nptl/tst-stack4mod.c: Likewise.
7892 2014-11-27  J. Brown  <jb999@gmx.de>
7894         * sysdeps/x86/bits/string.h: Add recent CPUs.
7896 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7898         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7899         sigblock.
7901         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7902         feof.
7904         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7905         variable.
7907 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7909         * nscd/connections.c: Include libc-internal.h because of macro
7910         usage ignore_value.
7912 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7914         * string/bits/string3.h (__warn_memset_zero_len): Don't
7915         declare for gcc newer than 5.0.
7916         (memset): Don't test for zero-length __LEN for gcc newer than
7917         5.0.
7919 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7921         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7922         size_t for %zu format.
7924         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7925         difference, not %ju.
7927 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7929         * include/libc-internal.h (ignore_value): New macro.
7930         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7931         with ignore_value.
7933         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7934         definition.
7936         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7937         pthread_cleanup_push to void *.
7939         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7940         Undefine.
7942         [BZ #16619]
7943         [BZ #16740]
7944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7945         instead of 1L << 52.
7947         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7948         * libio/bug-rewind2.c (do_test): Likewise.
7950         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7951         * debug/test-strcpy_chk-ifunc.c: Likewise.
7952         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7953         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7954         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7955         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7956         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7957         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7958         * Rules [$(multi-arch) = no] (tests): Do not filter out
7959         $(tests-ifunc).
7960         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7961         * debug/Makefile (tests-ifunc): Remove variable.
7962         (tests): Do not add $(tests-ifunc).
7963         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7964         (tests): Do not add $(tests-ifunc).
7965         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7966         [TEST_IFUNC]: Remove conditionals.
7967         * string/test-string.h (TEST_IFUNC): Remove macro.
7968         [TEST_IFUNC]: Remove conditionals.
7970         * string/test-strchr.c [!WIDE] (L): New macro.
7971         [WIDE] (L): Likewise.
7972         (check1): Use CHAR instead of char.  Use L on string and character
7973         constants.
7975 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7977         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7978         tests.
7979         * sysdeps/powerpc/bits/atomic.h
7980         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7981         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7982         (atomic_exchange_and_add_acq): Likewise.
7983         (atomic_exchange_and_add_rel): Likewise.
7984         * sysdeps/powerpc/powerpc32/bits/atomic.h
7985         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7986         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7987         * sysdeps/powerpc/powerpc64/bits/atomic.h
7988         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7989         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7991 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7993         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7994         Change synchronization of __sched_fifo_min_prio and
7995         __sched_fifo_max_prio.
7996         * nptl/pthread_mutexattr_getprioceiling.c
7997         (pthread_mutexattr_getprioceiling): Likewise.
7998         * nptl/pthread_mutexattr_setprioceiling.c
7999         (pthread_mutexattr_setprioceiling): Likewise.
8000         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8001         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8002         Likewise.
8004 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8006         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8007         void.
8009 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8011         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8012         third argument const.
8014 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8016         fnmatch: work around GCC compiler warning bug with uninit var
8017         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8018         This works around a bug with x86-64 GCC 4.9.2 and earlier
8019         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8020         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8021         used uninitialized in this function [-Wmaybe-uninitialized]".
8023 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8025         * posix/bug-regex31.c (main): Return RES not 0.
8027 2014-11-25  Anton Blanchard <anton@samba.org>
8029         * sysdeps/powerpc/bits/atomic.h
8030         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8032 2014-11-24  Sterling Augustine  <saugustine@google.com>
8034         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8036 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8038         [BZ #17608]
8039         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8041 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8043         [BZ #17633]
8044         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8045         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8046         variable.
8047         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8048         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8050 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8052         * string/strncpy.c (strncpy): Improve performance by using memset.
8054 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8056         * string/strcpy.c (strcpy):
8057         Improve performance by using strlen and memcpy.
8059 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8061         * string/strcoll_l.c (get_next_seq): __always_inline.
8062         * string/strcoll_l.c (do_compare): __always_inline.
8064 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8066         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8067         defined.
8068         * include/mqueue.h: Likewise.
8069         * include/stdlib.h: Likewise.
8071         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8072         (get_null_defines): Adjust.
8073         * sunrpc/Makefile: Adjust comment.
8074         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8075         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8076         (CFLAGS-interp.c): Likewise.
8077         (CFLAGS-ldconfig.c): Likewise.
8078         (CPPFLAGS-.os): Likewise.
8079         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8080         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8081         * extra-modules.mk (extra-modules.mk): Likewise.
8082         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8083         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8084         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8085         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8086         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8087         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8088         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8089         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8090         * iconvdata/Makefile (CPPFLAGS): Likewise.
8091         (cpp-srcs-left): Add libof for all iconvdata routines.
8092         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8093         * include/assert.h: Likewise.
8094         * include/ctype.h: Likewise.
8095         * include/errno.h: Likewise.
8096         * include/libc-symbols.h: Likewise.
8097         * include/math.h: Likewise.
8098         * include/netdb.h: Likewise.
8099         * include/resolv.h: Likewise.
8100         * include/stdio.h: Likewise.
8101         * include/stdlib.h: Likewise.
8102         * include/string.h: Likewise.
8103         * include/sys/stat.h: Likewise.
8104         * include/wctype.h: Likewise.
8105         * intl/l10nflist.c: Likewise.
8106         * libidn/idn-stub.c: Likewise.
8107         * libio/libioP.h: Likewise.
8108         * nptl/libc_multiple_threads.c: Likewise.
8109         * nptl/pthreadP.h: Likewise.
8110         * posix/regex_internal.h: Likewise.
8111         * resolv/res_hconf.c: Likewise.
8112         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8113         * sysdeps/arm/memmove.S: Likewise.
8114         * sysdeps/arm/sysdep.h: Likewise.
8115         * sysdeps/generic/_itoa.h: Likewise.
8116         * sysdeps/generic/symbol-hacks.h: Likewise.
8117         * sysdeps/gnu/errlist.awk: Likewise.
8118         * sysdeps/gnu/errlist.c: Likewise.
8119         * sysdeps/i386/i586/memcpy.S: Likewise.
8120         * sysdeps/i386/i586/memset.S: Likewise.
8121         * sysdeps/i386/i686/memcpy.S: Likewise.
8122         * sysdeps/i386/i686/memmove.S: Likewise.
8123         * sysdeps/i386/i686/mempcpy.S: Likewise.
8124         * sysdeps/i386/i686/memset.S: Likewise.
8125         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8126         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8127         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8128         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8129         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8130         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8131         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8132         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8133         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8134         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8135         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8136         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8137         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8138         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8139         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8140         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8141         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8142         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8143         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8144         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8145         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8146         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8147         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8148         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8149         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8150         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8151         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8152         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8153         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8154         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8155         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8158         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8159         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8160         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8161         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8162         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8163         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8164         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8165         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8166         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8167         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8168         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8169         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8170         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8171         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8172         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8173         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8174         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8175         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8176         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8177         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8178         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8179         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8180         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8181         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8182         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8183         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8184         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8185         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8186         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8187         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8188         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8189         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8190         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8191         * sysdeps/posix/closedir.c: Likewise.
8192         * sysdeps/posix/opendir.c: Likewise.
8193         * sysdeps/posix/readdir.c: Likewise.
8194         * sysdeps/posix/rewinddir.c: Likewise.
8195         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8196         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8197         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8198         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8199         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8200         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8201         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8206         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8209         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8211         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8212         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8215         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8216         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8217         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8218         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8223         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8230         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8231         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8232         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8233         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8234         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8235         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8236         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8237         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8238         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8239         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8240         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8241         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8242         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8243         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8244         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8245         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8246         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8248         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8252         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8253         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8254         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8255         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8256         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8257         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8258         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8259         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8260         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8261         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8262         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8263         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8264         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8265         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8266         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8267         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8268         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8269         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8270         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8271         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8272         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8273         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8274         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8275         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8276         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8277         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8278         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8279         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8281         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8282         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8283         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8284         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8285         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8286         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8287         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8291         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8293         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8294         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8295         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8296         * sysdeps/unix/alpha/sysdep.S: Likewise.
8297         * sysdeps/unix/alpha/sysdep.h: Likewise.
8298         * sysdeps/unix/make-syscalls.sh: Likewise.
8299         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8301         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8302         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8303         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8304         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8305         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8306         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8307         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8308         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8309         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8310         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8311         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8312         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8313         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8314         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8315         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8316         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8317         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8318         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8319         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8320         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8321         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8322         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8323         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8324         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8325         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8328         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8329         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8333         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8336         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8337         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8338         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8339         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8340         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8341         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8342         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8346         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8349         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8350         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8351         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8352         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8354         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8355         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8357         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8358         * sysdeps/x86_64/memcpy.S: Likewise.
8359         * sysdeps/x86_64/memmove.c: Likewise.
8360         * sysdeps/x86_64/memset.S: Likewise.
8361         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8362         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8363         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8364         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8365         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8366         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8367         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8368         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8369         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8370         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8371         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8372         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8373         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8374         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8375         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8376         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8377         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8378         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8379         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8380         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8381         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8382         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8383         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8384         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8385         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8386         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8387         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8388         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8389         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8390         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8391         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8392         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8393         * sysdeps/x86_64/strcmp.S: Likewise.
8395         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8397         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8398         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8399         * elf/rtld-Rules: Likewise.
8400         * elf/setup-vdso.h: Likewise.
8401         * include/assert.h: Likewise.
8402         * include/bits/stdlib-float.h: Likewise.
8403         * include/errno.h: Likewise.
8404         * include/sys/stat.h: Likewise.
8405         * include/unistd.h: Likewise.
8406         * sysdeps/aarch64/setjmp.S: Likewise.
8407         * sysdeps/alpha/setjmp.S: Likewise.
8408         * sysdeps/arm/__longjmp.S: Likewise.
8409         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8410         * sysdeps/arm/setjmp.S: Likewise.
8411         * sysdeps/arm/sysdep.h: Likewise.
8412         * sysdeps/generic/_itoa.h: Likewise.
8413         * sysdeps/generic/dl-sysdep.h: Likewise.
8414         * sysdeps/generic/ldsodefs.h: Likewise.
8415         * sysdeps/i386/dl-tls.h: Likewise.
8416         * sysdeps/i386/setjmp.S: Likewise.
8417         * sysdeps/m68k/setjmp.c: Likewise.
8418         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8419         * sysdeps/mach/hurd/opendir.c: Likewise.
8420         * sysdeps/posix/getcwd.c: Likewise.
8421         * sysdeps/posix/opendir.c: Likewise.
8422         * sysdeps/posix/profil.c: Likewise.
8423         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8424         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8426         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8427         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8428         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8429         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8430         * sysdeps/s390/dl-tls.h: Likewise.
8431         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8432         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8433         * sysdeps/sh/sh3/setjmp.S: Likewise.
8434         * sysdeps/sh/sh4/setjmp.S: Likewise.
8435         * sysdeps/unix/alpha/sysdep.h: Likewise.
8436         * sysdeps/unix/arm/sysdep.S: Likewise.
8437         * sysdeps/unix/i386/sysdep.S: Likewise.
8438         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8439         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8440         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8441         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8444         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8445         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8446         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8447         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8448         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8449         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8450         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8453         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8456         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8457         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8458         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8461         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8462         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8463         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8465         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8466         * sysdeps/x86_64/setjmp.S: Likewise.
8468         * include/math.h: Use IS_IN instead of IS_IN_libm.
8469         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8470         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8472         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8473         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8474         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8475         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8476         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8477         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8478         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8479         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8480         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8481         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8482         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8483         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8484         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8485         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8486         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8487         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8489         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8490         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8491         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8492         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8493         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8494         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8496         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8497         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8498         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8499         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8500         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8501         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8503         Likewise.
8504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8505         Likewise.
8506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8507         Likewise.
8508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8509         Likewise.
8510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8511         Likewise.
8512         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8513         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8514         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8515         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8516         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8517         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8523         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8524         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8526         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8527         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8528         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8529         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8530         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8531         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8532         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8533         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8536         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8538         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8540         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8541         * nptl/pthreadP.h: Likewise.
8542         * nptl_db/structs.def: Likewise.
8543         * sysdeps/arm/sysdep.h: Likewise.
8544         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8545         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8546         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8547         * sysdeps/unix/alpha/sysdep.h: Likewise.
8548         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8550         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8551         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8552         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8553         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8555         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8556         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8557         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8558         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8559         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8560         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8561         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8566         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8569         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8570         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8571         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8572         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8573         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8575         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8576         * nptl/pthreadP.h: Likewise.
8577         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8578         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8579         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8580         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8581         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8582         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8583         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8584         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8585         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8586         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8587         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8588         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8590         Likewise.
8591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8592         Likewise.
8593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8595         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8596         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8598         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8599         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8600         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8602         * dlfcn/dladdr.c: Use IS_IN.
8603         * dlfcn/dladdr1.c: Likewise.
8604         * dlfcn/dlclose.c: Likewise.
8605         * dlfcn/dlerror.c: Likewise.
8606         * dlfcn/dlinfo.c: Likewise.
8607         * dlfcn/dlmopen.c: Likewise.
8608         * dlfcn/dlopen.c: Likewise.
8609         * dlfcn/dlsym.c: Likewise.
8610         * dlfcn/dlvsym.c: Likewise.
8612         * include/ifaddrs.h: Use IS_IN.
8613         * inet/check_pf.c: Likewise.
8614         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8615         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8617         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8618         IS_IN_ldconfig.
8619         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8620         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8622         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8623         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8624         IS_IN (libc).
8626         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8628         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8629         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8630         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8631         * include/libc-symbols.h (IS_IN_LIB): New macro.
8632         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8633         * include/netdb.h: Likewise.
8634         * include/stap-probe.h: Remove all uses of IN_LIB.
8636         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8637         instead of IN_MODULE.
8638         * include/libc-symbols.h (IN_MODULE): Define using
8639         MODULE_NAME.
8640         (PASTE_NAME, PASTE_NAME1): New macros.
8641         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8642         of IN_LIB.
8643         (STAP_PROBE_ASM): Likewise.
8645 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8647         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8648         __mach_init in dlopened libc.
8650 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8652         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8653         * sysdeps/arm/preconfigure: Regenerate.
8655 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8657         * nptl/pthread_create.c (__pthread_create_2_1): Set
8658         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8659         when copying values from IATTR into PD.
8661 2014-11-21  Will Newton  <will.newton@linaro.org>
8662             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8664         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8665         Refactor inline-asm.  Also add comment.
8667         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8668         ElfW macro instead of hardcoded Elf64 types.
8669         (la_aarch64_gnu_pltenter): Likewise.
8670         * sysdeps/aarch64/dl-machine.h
8671         (elf_machine_runtime_setup): Use ElfW(Addr).
8673         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8674         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8675         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8676         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8677         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8678         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8679         (R_AARCH64_TLS_DTPMOD): This.
8680         (R_AARCH64_TLS_DTPREL64): Rename to ...
8681         (R_AARCH64_TLS_DTPREL): This.
8682         (R_AARCH64_TLS_TPREL64): Rename to ...
8683         (R_AARCH64_TLS_TPREL): This.
8684         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8685         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8686         R_AARCH64_TLS_TPREL64.
8687         (elf_machine_rela): Likewise.
8689 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8691         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8692         by setting it to 0.  64b atomics are not supported currently.
8694 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8696         [BZ #16469]
8697         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8698         search domain names.
8700 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8702         [BZ #16469]
8703         * NEWS: Update.
8704         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8705         trailing dot.
8706         * posix/tst-getaddrinfo5.c: New.
8707         * posix/Makefile (tests): Add it.
8709 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8711         [BZ #14498]
8712         * NEWS: Fixed.
8713         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8714         after parsing line but before break_if_match.
8715         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8716         if there is a protocol mismatch.
8718 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8720         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8721         because the potential race is on the user-supplied stream.
8723 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8725         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8726         string literal if not passed a buffer.
8727         * manual/job.texi (ctermid): Update reasoning, note deviation
8728         from posix, suggest mtasurace when not passed a buffer, for
8729         future non-preliminary safety notes.
8731 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8733         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8734         of not passing it a buffer.
8735         Reported by Peng Haitao.
8737 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8739         * manual/Makefile ($(objpfx)stamp-summary): Require
8740         check-safety.sh to pass.
8741         * manual/check-safety.sh: Wish for verification that every
8742         @deftypefn and @deftypefun is followed by a @safety remark.
8744 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8746         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8748         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8749         PTHREAD_CANCEL_ASYNCHRONOUS.
8750         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8751         send SIGCANCEL.
8753         * nptl/default-sched.h: New file.
8754         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8755         * nptl/pthread_create.c: Include it.
8756         (__pthread_create_2_1): Use collect_default_sched instead of making
8757         Linux syscalls here directly.
8759 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8761         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8762         __pthread_once): Use C11 atomics.
8764 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8766         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8768 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8770         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8771         atomic_thread_fence_acquire, atomic_thread_fence_release,
8772         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8773         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8774         atomic_compare_exchange_weak_relaxed,
8775         atomic_compare_exchange_weak_acquire,
8776         atomic_compare_exchange_weak_release,
8777         atomic_exchange_acquire, atomic_exchange_release,
8778         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8779         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8780         atomic_fetch_and_acquire,
8781         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8783 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8785         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8786         USE_ATOMIC_COMPILER_BUILTINS): Define.
8787         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8788         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8789         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8791         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8793         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8794         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8795         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8796         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8797         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8799         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8800         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8801         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8803         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8805         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8807         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8809         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8811         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8813         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8814         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8815         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8817         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8819         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8820         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8821         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8822         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8823         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8824         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8825         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8826         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8828 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8830         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8831         the sched_priority value here.  It was already checked when the user
8832         called pthread_attr_setschedparam.
8834         * nptl/tst-bad-schedattr.c: New file.
8835         * nptl/Makefile (tests): Add it.
8837 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8838             Florian Weimer  <fweimer@redhat.com>
8839             Joseph Myers  <joseph@codesourcery.com>
8840             Adam Conrad  <adconrad@0c3.net>
8841             Andreas Schwab  <schwab@suse.de>
8842             Brooks  <bmoses@google.com>
8844         [BZ #17625]
8845         * wordexp-test.c (__dso_handle): Add prototype.
8846         (__register_atfork): Likewise.
8847         (__app_register_atfork): New function.
8848         (registered_forks): New global.
8849         (register_fork): New function.
8850         (test_case): Add 3 new tests for WRDE_CMDSUB.
8851         (main): Call __app_register_atfork.
8852         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8853         fork count is non-zero fail the test.
8854         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8855         is set.
8856         (parse_dollars): Remove check for WRDE_NOCMD.
8857         (parse_dquote): Likewise.
8859 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8861         * Makeconfig (built-modules): List non-library modules to be
8862         built.
8863         (module-cppflags): Include libc-modules.h for
8864         everything except shlib-versions.v.i.
8865         (CPPFLAGS): Use it.
8866         (before-compile): Add libc-modules.h.
8867         ($(common-objpfx)libc-modules.h,
8868         $(common-objpfx)libc-modules.stmp): New targets.
8869         (common-generated): Add libc-modules.h and libc-modules.stmp.
8870         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8871         * include/libc-symbols.h: Don't include libc-modules.h.
8872         * include/libc-modules.h: Remove file.
8873         * scripts/gen-libc-modules.awk: New script to generate
8874         libc-modules.h.
8875         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8876         Depend on libc-modules.stmp.
8878         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8880         * Makeconfig (in-module): Get value of libof set for the
8881         translation unit.
8882         (CPPFLAGS): Use $(in-module).
8883         * Makerules: Don't suffix routine names for nonlib.
8884         * include/libc-modules.h: New file.
8885         * include/libc-symbols.h: Include libc-modules.h
8886         (IS_IN): New macro to replace IS_IN_* macros.
8887         * elf/Makefile: Set libof-* for each routine.
8888         * elf/rtld-Rules: Likewise.
8889         * extra-modules.mk: Likewise.
8890         * iconv/Makefile: Likewise.
8891         * iconvdata/Makefile: Likewise.
8892         * locale/Makefile: Likewise.
8893         * malloc/Makefile: Likewise.
8894         * nss/Makefile: Likewise.
8895         * sysdeps/gnu/Makefile: Likewise.
8896         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8897         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8898         * sysdeps/s390/s390-64/Makefile: Likewise.
8899         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8900         CPPFLAGS for nscd instead of nonlib.
8902 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8904         * nptl/createthread.c: New file.
8906         * nptl/createthread.c: Moved ...
8907         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8909         * nptl/createthread.c: Add proper top-line comment.
8910         (do_clone): Folded into ...
8911         (create_thread): ... here.  Take new arguments STOPPED_START and
8912         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8913         increment __nptl_threads, do event-reporting logic, do
8914         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8915         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8916         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8917         just send SIGCANCEL.
8918         * nptl/pthread_create.c: Forward-declare create_thread before
8919         including createthread.c.
8920         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8921         declaration, and new macro START_THREAD_SELF to replace argument.
8922         Remove return statement.
8923         (report_thread_creation): New function.
8924         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8925         synchronization logic, and __nptl_nthreads increment here, around
8926         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8927         PD->parent_cancelhandling here, before create_thread.  When
8928         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8929         __deallocate_stack, and ENOMEM translation here.
8931 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8933         [BZ #17616]
8934         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8935         (mptwo): Rename to __mptwo.
8936         (__inv): Use __mptwo instead of mptwo.
8937         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8938         (mptwo): Rename to __mptwo.
8939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8940         of mpone and __mptwo instead of mptwo.
8941         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8942         instead of mpone.
8943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8944         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8945         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8946         of mpone and __mptwo instead of mptwo.
8947         (__mpranred): Use __mpone instead of mpone.
8948         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8949         variable.
8950         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8951         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8952         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8953         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8954         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8955         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8956         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8957         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8958         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8959         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8960         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8961         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8962         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8963         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8964         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8965         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8966         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8967         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8968         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8970 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8972         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8973         replace BSD Handler xref with BSD Signal Handling.
8975 2014-11-17  Richard Henderson  <rth@redhat.com>
8977         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8978         (_FP_PACK_RAW_2): Remove.
8979         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8980         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8981         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8982         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8983         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8984         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8985         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8986         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8987         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8988         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8989         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8990         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8991         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8992         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8993         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8994         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8996 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8998         * signal/signal.h [__USE_MISC]
8999         (struct sigvec): Remove type.
9000         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9001         (sigvec): Remove declaration.
9002         * sysdeps/posix/sigvec.c: Moved ...
9003         * signal/sigvec.c: ... here, replacing old file.
9004         (struct sigvec): New type, copied from old signal.h definition.
9005         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9006         (__sigvec): Convert definition to prototype.
9007         (sigvec): Replace weak_alias with compat_symbol.
9008         * signal/Versions (libc: GLIBC_2.21): New version set.
9009         * include/signal.h: Remove __sigvec declaration.
9010         * sysdeps/unix/bsd/sigvec.c: Remove file.
9011         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9012         * manual/signal.texi (BSD Handler): Remove subsection.
9013         Move siginterrupt up to ...
9014         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9015         (Blocking in BSD): Fold subsection into its parent.
9016         * NEWS: Mention sigvec removal.
9018 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9020         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9021         (DLA_FMS): Make definition conditional only on [__FMA4__].
9022         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9023         definition.
9025         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9026         Make definition conditional only on [PROF].
9027         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9028         definition.
9029         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9030         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9032         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9033         !__GNUC__].
9034         * include/signal.h (__sigpause): Move declaration above call to
9035         libc_hidden_proto.
9036         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9037         variable.
9038         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9039         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9041 2014-11-14  David S. Miller  <davem@davemloft.net>
9043         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9044         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9046 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9048         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9049         * configure: Regenerated.
9050         * manual/install.texi (Tools for Compilation): Document a
9051         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9052         compiler verified to work.
9053         * INSTALL: Regenerated.
9055         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9056         redeclare with asm name.
9057         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9058         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9059         including <string.h>.
9060         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9061         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9062         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9063         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9064         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9066         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9068 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9070         * stdlib/strtol.c (__strtol): Use prototype definition.
9072         [BZ #17594]
9073         * stdlib/strtol.c (SYM__): New macro.
9074         (SYM__1): Likewise.
9075         (__strtol): Likewise.
9076         (strtol): Rename to __strtol and define as weak alias of
9077         __strtol.  Use libc_hidden_weak.
9079 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9081         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9082         Use numbered labels in inline assembly.
9084 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9086         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9087         Add setjmp LIBC_PROBE.
9088         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9089         Likewise.
9090         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9091         Add longjmp, longjmp_target LIBC_PROBE.
9092         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9093         Likewise.
9095 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9098         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9099         to get rid of unused variable warning.
9101 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9103         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9104         Check for unwind_backtrace ==  NULL only in SHARED case.
9105         (__backchain_backtrace): Compile only in SHARED case.
9106         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9107         Likewise.
9108         (__backchain_backtrace): Declare as static.
9110 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9112         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9113         (__libc_multiple_threads_ptr): Variable moved ...
9114         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9116 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9118         * conform/GlibcConform.pm: New file.
9119         * conform/conformtest.pl: Use GlibcConform module.
9120         * conform/linknamespace.pl: New file.
9121         * conform/list-header-symbols.pl: Likewise.
9122         * conform/Makefile (linknamespace-symlists-base): New variable.
9123         (linknamespace-symlists-tests): Likewise.
9124         (linknamespace-header-base): Likewise.
9125         (linknamespace-header-tests): Likewise.
9126         (tests-special): Add new tests.
9127         ($(linknamespace-symlists-tests)): New rule.
9128         (linknamespace-libs): New variable.
9129         ($(objpfx)symlist-stdlibs): New rule.
9130         ($(linknamespace-header-tests)): Likewise.
9131         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9132         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9133         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9134         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9135         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9136         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9137         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9138         (test-xfail-ISO/math.h/linknamespace): Likewise.
9139         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9140         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9141         (test-xfail-ISO/time.h/linknamespace): Likewise.
9142         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9143         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9144         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9145         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9146         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9147         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9148         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9149         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9150         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9151         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9152         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9153         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9154         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9155         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9156         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9157         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9158         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9159         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9160         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9161         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9162         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9163         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9164         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9165         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9166         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9167         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9168         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9169         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9170         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9171         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9172         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9173         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9174         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9175         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9176         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9177         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9178         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9179         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9180         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9181         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9182         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9183         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9184         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9185         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9186         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9187         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9188         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9189         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9190         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9191         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9192         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9193         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9194         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9195         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9196         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9197         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9198         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9199         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9200         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9201         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9202         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9203         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9204         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9205         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9206         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9207         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9208         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9209         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9210         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9211         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9212         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9213         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9214         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9215         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9216         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9217         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9218         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9219         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9220         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9221         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9222         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9223         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9224         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9225         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9226         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9227         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9228         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9229         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9230         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9231         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9232         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9233         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9234         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9235         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9236         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9237         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9238         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9239         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9240         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9241         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9242         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9243         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9244         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9245         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9246         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9247         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9248         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9249         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9250         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9251         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9252         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9253         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9254         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9255         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9256         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9257         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9258         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9259         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9260         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9261         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9262         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9263         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9264         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9265         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9266         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9267         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9268         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9269         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9270         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9271         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9272         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9273         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9274         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9275         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9276         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9277         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9278         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9279         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9280         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9281         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9282         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9283         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9284         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9285         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9286         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9287         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9288         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9289         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9290         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9291         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9293         [BZ #17589]
9294         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9295         of fgets_unlocked.
9297         [BZ #17585]
9298         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9299         (memmem): Rename to __memmem and define as weak alias of
9300         __memmem.  Use libc_hidden_weak.
9301         (__memmem): Use libc_hidden_def.
9302         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
9303         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9304         memmem.
9306         [BZ #17582]
9307         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9308         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9309         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9310         and define as weak alias of __fgets_unlocked.  Use
9311         libc_hidden_weak.
9312         (__fgets_unlocked): Use libc_hidden_def.
9313         * include/stdio.h (__fgets_unlocked): Declare.  Use
9314         libc_hidden_proto.
9315         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9316         __fgets_unlocked instead of fgets_unlocked.
9317         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9318         (GET_NPROCS_CONF_PARSER): Likewise.
9319         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9320         (GET_NPROCS_CONF_PARSER): Likewise.
9322         [BZ #17574]
9323         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9324         weak alias of __wmemset.  Use libc_hidden_weak.
9325         (__wmemset): Use libc_hidden_def.
9326         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9327         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9328         of wmemset.
9330         [BZ #17573]
9331         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9332         with asm name __mempcpy.
9333         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9335         [BZ #17572]
9336         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9337         and define as weak alias of __rawmemchr.
9338         (__rawmemchr): Do not define as strong alias of rawmemchr.
9340         [BZ #17571]
9341         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9342         alias of __qsort_r.
9343         (qsort): Call __qsort_r instead of qsort_r.
9344         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9345         (__qsort_r): Declare.  Call libc_hidden_proto.
9346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9347         instead of qsort_r.
9348         * nscd/gai.c (__qsort_r): Define to qsort_r.
9349         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9350         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9351         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9353         [BZ #17570]
9354         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9355         define as weak alias of __malloc_info.
9357         [BZ #17584]
9358         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9359         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9360         (__rewinddir): Use libc_hidden_def.
9361         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9362         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9363         (__rewinddir): Use libc_hidden_def.
9364         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9365         weak alias of __rewinddir.  Don't use libc_hidden_def.
9366         (__rewinddir): Use libc_hidden_def.
9367         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9368         (__rewinddir): Use libc_hidden_proto.
9369         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9370         rewinddir.
9371         (__getcwd): Use __rewinddir instead of rewinddir.
9373         [BZ #17583]
9374         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9375         alias of __fileno.  Use libc_hidden_weak.
9376         (__fileno): Use libc_hidden_def.
9377         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9378         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9379         alias of __ftello.
9380         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9381         __ftello.
9382         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9383         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9384         libc_hidden_def.
9385         (fread_unlocked): Don't use libc_hidden_ver.
9386         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9387         and define as weak alias of __fread_unlocked.  Don't use
9388         libc_hidden_def.
9389         (__fread_unlocked): Use libc_hidden_def.
9390         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9391         (ftello): Don't use libc_hidden_proto.
9392         (__ftello): Declare.  Use libc_hidden_proto.
9393         (fread_unlocked): Don't use libc_hidden_proto.
9394         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9395         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9396         and __ftello instead of fileno, fread_unlocked and ftello.
9398 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9400         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9401         GOT12.
9402         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9403         Likewise.
9404         (_dl_start_user): Likewise.
9405         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9407 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9408             Siddhesh Poyarekar  <siddhesh@redhat.com>
9410         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9411         Move argv and envp down instead of moving argc up.
9412         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9414 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9416         [BZ #17506]
9417         * test-skeleton.c (main): Return successful if one of
9418         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9419         * string/tst-strcoll-overflow.c: Define expected status.
9421 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9423         [BZ #17475]
9424         * locale/iso-639.def: Define Bhili and Tulu language codes.
9426 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9428         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9430 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9432         [BZ #17555]
9433         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9435 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9437         * configure.ac: Updated check of minimal required version to
9438         2.22.
9439         * manual/install.texi (Tools for Compilation): Updated version
9440         number.
9441         * configure: Regenerated.
9442         * INSTALL: Likewise.
9444 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9446         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9447         __tls_get_addr.
9449 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9451         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9452         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9453         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9454         libc_hidden_weak.
9455         (waitpid): Define as alias of __waitpid.
9456         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9457         __waitpid.
9458         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9459         libc_hidden_weak.
9460         (waitpid): Define as alias of __waitpid.
9461         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9462         __libc_waitpid alias.
9463         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9464         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9465         Likewise.
9466         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9467         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9468         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9469         alias.
9470         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9471         __waitpid.
9472         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9473         libc_hidden_weak.
9474         (waitpid): Define as alias of __waitpid.
9476 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9478         * manual/llio.texi: Add comment that write safety has been
9479         fixed in Linux.
9481         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9482         (localplt-build-dso): Add elf/ld.so.
9483         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9484         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9485         and free for ld.so.
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9487         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9489         Likewise.
9490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9491         Likewise.
9492         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9493         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9494         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9495         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9496         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9497         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9498         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9499         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9500         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9501         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9502         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9504 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9506         [BZ #14132]
9507         * include/libc-symbols.h (INTUSE): Remove macro.
9508         (INTDEF): Likewise.
9509         (INTVARDEF): Likewise.
9510         (_INTVARDEF): Likewise.
9511         (INTDEF2): Likewise.
9512         (INTVARDEF2): Likewise.
9513         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9514         rtld_hidden_def instead of INTVARDEF.
9515         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9516         (_dl_starting_up_internal): Remove declaration.
9517         (_dl_starting_up): Use rtld_hidden_proto.
9518         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9519         declaration.
9520         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9521         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9522         _dl_starting_up.
9523         * elf/dl-writev.h (_dl_writev): Likewise.
9524         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9525         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9526         _dl_starting_up_internal.
9528 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9530         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9531         test-skeleton.c.
9533 2014-11-05  Will Newton  <will.newton@linaro.org>
9535         * benchtests/Makefile: (bench-malloc): Add malloc thread
9536         scalability benchmark.
9537         * benchtests/bench-malloc-threads.c: New file.
9539 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9541         * sysdeps/aarch64/strchrnul.S: New file.
9543 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9545         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9546         definition.
9547         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9548         Likwise.
9549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9550         Likewise.
9551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9552         Likewise.
9553         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9554         Likewise.
9555         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9556         Likewise.
9558 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9560         * catgets/test-gencat.c: Use test-skeleton.c.
9561         * catgets/tst-catgets.c: Likewise.
9562         * csu/tst-empty.c: Likewise.
9563         * elf/tst-audit2.c: Likewise.
9564         * elf/tst-global1.c: Likewise.
9565         * elf/tst-pathopt.c: Likewise.
9566         * elf/tst-piemod1.c: Likewise.
9567         * elf/tst-tls10.c: Likewise.
9568         * elf/tst-tls11.c: Likewise.
9569         * elf/tst-tls12.c: Likewise.
9570         * gnulib/tst-gcc.c: Likewise.
9571         * iconvdata/tst-e2big.c: Likewise.
9572         * iconvdata/tst-loading.c: Likewise.
9573         * iconv/tst-iconv1.c: Likewise.
9574         * iconv/tst-iconv2.c: Likewise.
9575         * inet/test-inet6_opt.c: Likewise.
9576         * inet/tst-gethnm.c: Likewise.
9577         * inet/tst-network.c: Likewise.
9578         * inet/tst-ntoa.c: Likewise.
9579         * intl/tst-codeset.c: Likewise.
9580         * intl/tst-gettext2.c: Likewise.
9581         * intl/tst-gettext3.c: Likewise.
9582         * intl/tst-ngettext.c: Likewise.
9583         * intl/tst-translit.c: Likewise.
9584         * io/test-stat.c: Likewise.
9585         * libio/test-fmemopen.c: Likewise.
9586         * libio/tst-freopen.c: Likewise.
9587         * libio/tst-sscanf.c: Likewise.
9588         * libio/tst-ungetwc1.c: Likewise.
9589         * libio/tst-ungetwc2.c: Likewise.
9590         * libio/tst-widetext.c: Likewise.
9591         * localedata/tst-ctype.c: Likewise.
9592         * localedata/tst-digits.c: Likewise.
9593         * localedata/tst-leaks.c: Likewise.
9594         * localedata/tst-mbswcs1.c: Likewise.
9595         * localedata/tst-mbswcs2.c: Likewise.
9596         * localedata/tst-mbswcs3.c: Likewise.
9597         * localedata/tst-mbswcs4.c: Likewise.
9598         * localedata/tst-mbswcs5.c: Likewise.
9599         * localedata/tst-setlocale.c: Likewise.
9600         * localedata/tst-trans.c: Likewise.
9601         * localedata/tst-wctype.c: Likewise.
9602         * localedata/tst-xlocale1.c: Likewise.
9603         * login/tst-grantpt.c: Likewise.
9604         * malloc/tst-calloc.c: Likewise.
9605         * malloc/tst-malloc.c: Likewise.
9606         * malloc/tst-mallocstate.c: Likewise.
9607         * malloc/tst-mcheck.c: Likewise.
9608         * malloc/tst-mtrace.c: Likewise.
9609         * malloc/tst-obstack.c: Likewise.
9610         * math/atest-exp2.c: Likewise.
9611         * math/atest-exp.c: Likewise.
9612         * math/atest-sincos.c: Likewise.
9613         * math/test-matherr.c: Likewise.
9614         * math/test-misc.c: Likewise.
9615         * math/test-powl.c: Likewise.
9616         * math/tst-definitions.c: Likewise.
9617         * misc/tst-dirname.c: Likewise.
9618         * misc/tst-efgcvt.c: Likewise.
9619         * misc/tst-fdset.c: Likewise.
9620         * misc/tst-hsearch.c: Likewise.
9621         * misc/tst-mntent2.c: Likewise.
9622         * nptl/tst-sem7.c: Likewise.
9623         * nptl/tst-sem8.c: Likewise.
9624         * nptl/tst-sem9.c: Likewise.
9625         * nss/test-netdb.c: Likewise.
9626         * posix/tst-fnmatch.c: Likewise.
9627         * posix/tst-getlogin.c: Likewise.
9628         * posix/tst-gnuglob.c: Likewise.
9629         * posix/tst-mmap.c: Likewise.
9630         * pwd/tst-getpw.c: Likewise.
9631         * resolv/tst-inet_ntop.c: Likewise.
9632         * rt/tst-timer.c: Likewise.
9633         * stdio-common/test-fseek.c: Likewise.
9634         * stdio-common/test-popen.c: Likewise.
9635         * stdio-common/test-vfprintf.c: Likewise.
9636         * stdio-common/tst-cookie.c: Likewise.
9637         * stdio-common/tst-fileno.c: Likewise.
9638         * stdio-common/tst-gets.c: Likewise.
9639         * stdio-common/tst-obprintf.c: Likewise.
9640         * stdio-common/tst-perror.c: Likewise.
9641         * stdio-common/tst-sprintf2.c: Likewise.
9642         * stdio-common/tst-sprintf3.c: Likewise.
9643         * stdio-common/tst-sprintf.c: Likewise.
9644         * stdio-common/tst-swprintf.c: Likewise.
9645         * stdio-common/tst-tmpnam.c: Likewise.
9646         * stdio-common/tst-unbputc.c: Likewise.
9647         * stdio-common/tst-wc-printf.c: Likewise.
9648         * stdlib/tst-environ.c: Likewise.
9649         * stdlib/tst-fmtmsg.c: Likewise.
9650         * stdlib/tst-limits.c: Likewise.
9651         * stdlib/tst-rand48-2.c: Likewise.
9652         * stdlib/tst-rand48.c: Likewise.
9653         * stdlib/tst-random2.c: Likewise.
9654         * stdlib/tst-random.c: Likewise.
9655         * stdlib/tst-strtol.c: Likewise.
9656         * stdlib/tst-strtoll.c: Likewise.
9657         * stdlib/tst-tls-atexit.c: Likewise.
9658         * stdlib/tst-xpg-basename.c: Likewise.
9659         * string/test-ffs.c: Likewise.
9660         * string/tst-bswap.c: Likewise.
9661         * string/tst-inlcall.c: Likewise.
9662         * string/tst-strtok.c: Likewise.
9663         * string/tst-strxfrm.c: Likewise.
9664         * sysdeps/x86_64/tst-audit10.c: Likewise.
9665         * sysdeps/x86_64/tst-audit3.c: Likewise.
9666         * sysdeps/x86_64/tst-audit4.c: Likewise.
9667         * sysdeps/x86_64/tst-audit5.c: Likewise.
9668         * time/tst-ftime_l.c: Likewise.
9669         * time/tst-getdate.c: Likewise.
9670         * time/tst-mktime3.c: Likewise.
9671         * time/tst-mktime.c: Likewise.
9672         * time/tst-posixtz.c: Likewise.
9673         * time/tst-strptime2.c: Likewise.
9674         * time/tst-strptime3.c: Likewise.
9675         * wcsmbs/tst-btowc.c: Likewise.
9676         * wcsmbs/tst-mbrtowc.c: Likewise.
9677         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9678         * wcsmbs/tst-wchar-h.c: Likewise.
9679         * wcsmbs/tst-wcpncpy.c: Likewise.
9680         * wcsmbs/tst-wcrtomb.c: Likewise.
9681         * wcsmbs/tst-wcsnlen.c: Likewise.
9682         * wcsmbs/tst-wcstof.c: Likewise.
9684 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9686         [BZ #14132]
9687         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9688         INTDEF.
9689         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9690         declaration.
9691         (_dl_mcount): Use rtld_hidden_proto.
9692         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9693         _dl_mcount.
9694         * elf/rtld.c (_rtld_global_ro): Likewise.
9696         [BZ #14132]
9697         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9698         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9699         of _dl_init_internal.
9700         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9701         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9702         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9703         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9704         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9705         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9706         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9707         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9708         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9709         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9710         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9711         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9712         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9713         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9714         * sysdeps/tile/dl-start.S (_start): Likewise.
9715         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9716         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9718         [BZ #14132]
9719         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9720         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9721         (rtld_progname): Make macro definition unconditional.
9722         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9723         INTDEF.
9724         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9725         (dl_main): Likewise.
9726         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9727         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9728         instead of _dl_argv_internal.
9729         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9730         __GI__dl_argv instead of INTUSE(_dl_argv).
9731         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9732         __GI__dl_argv instead of _dl_argv_internal.
9734         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9735         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9736         macro.
9737         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9738         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9739         New macro.
9740         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9741         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9742         macro.
9743         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9744         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9746 2014-11-04  Andreas Schwab  <schwab@suse.de>
9748         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9750 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9752         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9753         mtvsrd instruction in binary form.
9755 2014-11-03  Andreas Schwab  <schwab@suse.de>
9757         [BZ #17522]
9758         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9759         for less than MB_LEN_MAX use a local buffer of that size.
9760         * libio/tst-fputws.c: New file.
9761         * libio/Makefile (tests): Add tst-fputws.
9763 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9765         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9766         the size of the fpu_fr.fpu_dregs[] array.
9768 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9770         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9771         (__nanosleep): Do not define as alias.
9772         (nanosleep): Define as alias of __nanosleep.
9773         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9774         __libc_nanosleep name.
9776 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9778         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9779         install.texi in comment.
9781 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9783         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9784         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9785         ... add here and use lwsync or sync ...
9786         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9787         ... and add here using lwsync.
9789 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9791         * elf/dl-machine-reject-phdr.h: New file.
9792         * elf/dl-load.c: #include that.
9793         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9794         if that returned true.
9796 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9798         [BZ #17496]
9799         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9800         gen-as-const-headers chunk.  Add a big scare comment after the last
9801         safe place to touch before-compile.
9803 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9805         * manual/install.texi (Tools for Compilation): Update autoconf
9806         version requirements.
9807         * INSTALL: Regenerated.
9809         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9810         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9811         (__libc_pselect): Likewise.
9813         [BZ #14138]
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9819 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9821         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9822         correct barrier instruction.
9823         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9824         Likewise.
9825         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9826         Likewise.
9828 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9830         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9831         after defining inlines.  Instead, just use parens to defeat macro
9832         expansion of __isctype in its declaration.
9834 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9836         * include/sys/uio.h (__libc_readv): Remove declaration.
9837         (__libc_writev): Likewise.
9838         * misc/readv.c (__libc_readv): Rename to __readv.
9839         (__readv): Do not define as alias.
9840         (readv): Define as alias of __readv.
9841         * misc/writev.c (__libc_writev): Rename to __writev.
9842         (__writev): Do not define as alias.
9843         (writev): Define as alias of __writev.
9844         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9845         (__readv): Do not define as alias.
9846         (readv): Define unconditionally as alias of __readv.
9847         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9848         (__writev): Do not define as alias.
9849         (writev): Define unconditionally as alias of __writev.
9850         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9851         name.
9852         (writev): Do not define __libc_writev name.
9854 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9856         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9857         (convert_charseq): New function, broken out of ...
9858         (use_from_charmap): ... here.  Call it.
9859         (use_to_charmap): Use convert_charseq and free instead of duplicating
9860         its code with a variable-length stack struct.
9862 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9864         * include/fcntl.h (__libc_creat): Remove declaration.
9865         * io/creat.c (__libc_creat): Rename to creat.
9866         (creat): Do not define as alias.
9867         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9868         of creat instead of __libc_creat.
9869         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9870         to creat.
9871         (creat): Do not define as alias.
9872         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9873         __libc_creat.
9874         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9875         __libc_creat name.
9876         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9877         Likewise.
9879 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9881         * manual/llio.texi: Add comments discussing why write() may be
9882         considered MT-unsafe on Linux.
9884 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9886         * dl-load.c (local_strdup): Remove.
9887         (expand_dynamic_string_token): Use __strdup.
9888         (decompose_rpath): Likewise.
9889         (_dl_map_object): Likewise.
9891 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9893         [BZ #14132]
9894         * sysdeps/generic/unwind-dw2-fde.c
9895         (__register_frame_info_bases_internal): Do not declare.
9896         (__register_frame_info_table_bases_internal): Likewise.
9897         (__deregister_frame_info_bases_internal): Likewise.
9898         (__register_frame_info_bases): Declare and use hidden_proto before
9899         definition.  Use hidden_def instead of INTDEF.
9900         (__register_frame_info_table_bases): Likewise.
9901         (__deregister_frame_info_bases): Likewise.
9902         (__register_frame_info): Do not use INTUSE.
9903         (__register_frame): Likewise.
9904         (__register_frame_info_table): Likewise.
9905         (__register_frame_table): Likewise.
9906         (__deregister_frame_info): Likewise.
9907         (__deregister_frame): Likewise.
9909 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9911         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9912         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9913         not undefine.
9914         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9915         Likewise.
9916         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9917         Likewise.
9919 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9921         [BZ #14138]
9922         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9923         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9924         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9925         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9926         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9927         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9928         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9929         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9930         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9931         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9932         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9934         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9935         syscall.
9936         (setfsuid): Likewise.
9937         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9938         (setfsuid): Likewise.
9939         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9940         (setfsuid): Likewise.
9941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9942         Likewise.
9943         (setfsuid): Likewise.
9944         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9945         (setfsuid): Likewise.
9946         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9947         Likewise.
9948         (setfsuid): Likewise.
9950 2014-10-27  Andreas Schwab  <schwab@suse.de>
9952         [BZ #17501]
9953         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9954         check for Slow_SSE4_2 feature bit.
9955         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9956         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9957         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9958         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9960 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9962         * configure.ac: Validate compiler version with a empirical test of
9963         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9964         $CC -v output.
9965         * configure: Regenerated.
9967         * inet/htons.c (htons): Prototypify.
9968         * inet/htonl.c (htonl): Likewise.
9970 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9972         * string/strncat.c (strncat): Improve performance by using strlen.
9974 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9976         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9978 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9980         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9981         Call libc_fetestexcept_aarch64.
9983 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9985         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9986         Call libc_feholdexcept_aarch64.
9988 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9990         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9991         Call get_rounding_mode.
9993 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9995         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9996         Simplify logic.
9998 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10000         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10001         Simplify logic.
10003 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10005         [BZ #14138]
10006         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10007         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10008         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10009         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10010         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10011         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10012         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10013         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10014         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10015         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10016         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10017         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10018         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10019         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10020         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10021         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10022         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10023         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10024         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10025         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10026         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10027         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10028         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10029         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10030         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10031         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10032         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10033         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10034         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10035         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10036         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10037         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10038         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10039         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10040         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10041         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10042         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10043         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10044         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10045         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10046         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10047         syscall.
10048         (geteuid): Likewise.
10049         (getgid): Likewise.
10050         (getuid): Likewise.
10051         (getresgid): Likewise.
10052         (getresuid): Likewise.
10053         (getgroups): Likewise.
10054         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10055         (geteuid): Likewise.
10056         (getgid): Likewise.
10057         (getuid): Likewise.
10058         (getresgid): Likewise.
10059         (getresuid): Likewise.
10060         (getgroups): Likewise.
10061         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10062         (geteuid): Likewise.
10063         (getgid): Likewise.
10064         (getuid): Likewise.
10065         (getresgid): Likewise.
10066         (getresuid): Likewise.
10067         (getgroups): Likewise.
10068         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10069         Likewise.
10070         (geteuid): Likewise.
10071         (getgid): Likewise.
10072         (getuid): Likewise.
10073         (getresgid): Likewise.
10074         (getresuid): Likewise.
10075         (getgroups): Likewise.
10076         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10077         (geteuid): Likewise.
10078         (getgid): Likewise.
10079         (getuid): Likewise.
10080         (getresgid): Likewise.
10081         (getresuid): Likewise.
10082         (getgroups): Likewise.
10083         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10084         Likewise.
10085         (geteuid): Likewise.
10086         (getgid): Likewise.
10087         (getuid): Likewise.
10088         (getgroups): Likewise.
10090         [BZ #14138]
10091         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10092         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10093         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10094         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10095         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10096         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10097         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10098         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10099         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10100         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10101         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10102         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10103         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10104         __chown.
10105         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10106         (lchown): Likewise.
10107         (fchown): Likewise.
10108         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10109         Likewise.
10110         (lchown): Likewise.
10111         (fchown): Likewise.
10112         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10113         (lchown): Likewise.
10114         (fchown): Likewise.
10115         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10116         Likewise.
10117         (lchown): Likewise.
10118         (fchown): Likewise.
10120 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10122         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10123         Simplify logic.
10125 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10127         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10128         Cleanup logic.
10130 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10132         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10133         Remove unused include.
10135 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10137         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10138         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10139         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10140         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10142 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10143             Helge Deller <deller@gmx.de>
10145         [BZ #17508]
10146         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10147         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10148         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10150 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10152         [BZ #14132]
10153         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10154         Remove macro definition.
10155         (__ashrdi3_v_glibc20): Likewise.
10156         (__lshrdi3_v_glibc20): Likewise.
10157         (__cmpdi2_v_glibc20): Likewise.
10158         (__ucmpdi2_v_glibc20): Likewise.
10159         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10160         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10161         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10162         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10163         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10164         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10166 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10168         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10169         old GNU extension [0] syntax.
10170         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10171         alloca rather than an array member with variable length.
10172         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10173         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10174         (parse_opt): ... here.  Likewise use alloca there.
10175         Validate the -i argument before checking for rootness.
10176         (send_shutdown): New function, broken out of ...
10177         (parse_opt): ... here.
10179 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10181         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10182         macro to get at the _rt_local_ro field.
10183         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10184         ([PIC] case) or _dl_hwcap ([!PIC] case).
10185         * sysdeps/arm/setjmp.S: Likewise.
10187         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10188         * sysdeps/arm/configure.ac: New check to define it.
10189         * sysdeps/arm/configure: Regenerated.
10190         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10191         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10192         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10193         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10194         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10195         Use move/movt pair instead of a load.
10196         (LDST_GLOBAL): Macro removed.
10197         (LDR_GLOBAL): New macro replaces it.
10198         (LDR_HIDDEN): New macro.
10199         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10200         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10202         * setjmp/tst-setjmp-static.c: New file.
10203         * setjmp/Makefile (tests): Add it.
10204         (tests-static): New variable.
10206 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10208         [BZ #17485]
10209         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10211 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10213         [BZ #14132]
10214         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10216 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10218         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10220 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10222         * io/fts.c (dirent_not_directory): New function.
10223         (fts_build): Call it.
10225 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10227         * nptl/version.c (__nptl_main): Use normal __write rather than
10228         INTERNAL_SYSCALL.
10229         (banner): Update copyright years.
10231         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10232         gettimeofday.
10233         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10234         * nptl/pthread_cond_timedwait.c: Likewise.
10235         * nptl/pthread_mutex_timedlock.c: Likewise.
10236         * nptl/sem_timedwait.c: Likewise.
10238         * sysdeps/nptl/bits/libc-lock.h
10239         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10240         (__libc_lock_init_recursive): Return void, not 0.
10241         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10242         (__libc_rwlock_init): Likewise.
10243         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10245 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10247         [BZ #15215]
10248         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10249         (__pthread_once_slow): ... here.
10250         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10251         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10253 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10255         [BZ #15215]
10256         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10257         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10258         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10259         * nptl/pthread_once.c (__pthread_once): Likewise.
10260         Update comments.
10262 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #14138]
10265         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10266         name.
10267         (writev): Use __libc_writev as strong name.
10268         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10269         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10271 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10273         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10275         * sysdeps/i386/nptl/tls.h
10276         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10277         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10278         New macros.
10279         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10280         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10281         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10282         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10283         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10284         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10286         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10287         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10288         on [__NR_futex].
10289         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10290         broken out of ...
10291         (__pthread_mutex_init): ... here.  Call it.
10292         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10293         Conditionalize PI cases on [__NR_futex].
10294         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10295         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10296         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10298         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10299         conditional on [SIGSETXID].
10300         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10301         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10302         is defined.  Likewise for SIGSETXID.
10303         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10304         Conditionalize definitions on [SIGSETXID].
10305         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10306         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10307         unblocking on [SIGCANCEL].
10309         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10310         [__NR_set_robust_list].
10312 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10314         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10315         (do_compare): Likewise.
10317 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10319         [BZ #15884]
10320         * string/strcoll_l.c: Don't include stdio.h.
10321         (coll_seq): Remove members idxarr and rulearr.
10322         (get_next_seq_cached): Remove function.
10323         (get_next_seq): Likewise.
10324         (get_next_seq_nocache): Rename to get_next_seq.
10325         (do_compare): Remove function.
10326         (do_compare_nocache): Rename to do_compare.
10327         (STRCOLL): Remove weight and rules cache.
10329 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10331         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10332         * sysdeps/arm/sfp-machine.h: ... to here.
10333         * sysdeps/arm/Implies: Remove arm/soft-fp.
10335 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10337         * conform/data/sys/utsname.h-data (*_t): Allow.
10338         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10339         [POSIX] (WEXITED): Do not expect constant.
10340         [POSIX] (WSTOPPED): Likewise.
10341         [POSIX] (WNOHANG): Likewise.
10342         [POSIX] (WNOWAIT): Likewise.
10343         [POSIX] (siginfo_t): Do not expect type or elements.
10344         [POSIX] (pid_t): Do not expect type.
10345         [POSIX] (signal.h): Do not allow header.
10346         [POSIX] (sys/resource.h): Likewise.
10347         [POSIX] (si_*): Do not allow pattern.
10348         [POSIX] (W*): Likewise.
10349         [POSIX] (P_*): Likewise.
10350         [POSIX] (BUS_*): Likewise.
10351         [POSIX] (CLD_*): Likewise.
10352         [POSIX] (FPE_*): Likewise.
10353         [POSIX] (ILL_*): Likewise.
10354         [POSIX] (POLL_*): Likewise.
10355         [POSIX] (SEGV_*): Likewise.
10356         [POSIX] (SI_*): Likewise.
10357         [POSIX] (TRAP_*): Likewise.
10358         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10359         variable.
10361 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10363         [BZ #12926]
10364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10365         infinite loop when __recvmsg returns 0.
10367 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10369         * CANCEL-FCT-WAIVE: Remove file.
10370         * CANCEL-FILE-WAIVE: Likewise.
10372         [BZ #14132]
10373         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10374         instead of INTVARDEF.
10375         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10376         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10377         rtld_hidden_data_def instead of INTVARDEF.
10378         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10379         * elf/dl-deps.c (expand_dst): Likewise.
10380         * elf/dl-load.c (_dl_dst_count): Likewise.
10381         (_dl_dst_substitute): Likewise.
10382         (decompose_rpath): Likewise.
10383         (_dl_init_paths): Likewise.
10384         (open_path): Likewise.
10385         (_dl_map_object): Likewise.
10386         * elf/rtld.c (dl_main): Likewise.
10387         (process_dl_audit): Likewise.
10388         (process_envvars): Likewise.
10389         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10390         Remove declaration.
10391         (__libc_enable_secure): Use rtld_hidden_proto.
10393 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10395         * elf/dl-load.c
10396         (add_path): New function broken out of _dl_rtld_di_serinfo.
10397         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10399 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10401         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10402         parentheses around macro arguments.
10403         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10414         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10417         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10418         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10419         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10432         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10436         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10437         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10438         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10439         Likewise.
10440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10441         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10442         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10447         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10449         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10450         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10451         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10452         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10456         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10460         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10461         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10463         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10464         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10465         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10466         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10467         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10468         (_FP_FRAC_SRS_1): Likewise.
10469         (_FP_FRAC_CLZ_1): Likewise.
10470         (_FP_MUL_MEAT_1_imm): Likewise.
10471         (_FP_MUL_MEAT_1_wide): Likewise.
10472         (_FP_MUL_MEAT_1_hard): Likewise.
10473         (_FP_SQRT_MEAT_1): Likewise.
10474         (_FP_FRAC_ASSEMBLE_1): Likewise.
10475         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10476         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10477         (__FP_CLZ_2): Likewise.
10478         (_FP_MUL_MEAT_2_wide): Likewise.
10479         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10480         (_FP_MUL_MEAT_2_gmp): Likewise.
10481         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10482         (_FP_SQRT_MEAT_2): Likewise.
10483         (_FP_FRAC_ASSEMBLE_2): Likewise.
10484         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10485         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10486         (_FP_FRAC_CLZ_4): Likewise.
10487         (_FP_MUL_MEAT_4_wide): Likewise.
10488         (_FP_MUL_MEAT_4_gmp): Likewise.
10489         (_FP_SQRT_MEAT_4): Likewise.
10490         (_FP_FRAC_ASSEMBLE_4): Likewise.
10491         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10492         * soft-fp/op-common.h (_FP_CMP): Likewise.
10493         (_FP_CMP_EQ): Likewise.
10494         (_FP_CMP_UNORD): Likewise.
10495         (_FP_TO_INT): Likewise.
10496         (_FP_FROM_INT): Likewise.
10497         [!__FP_CLZ] (__FP_CLZ): Likewise.
10498         (_FP_DIV_HELP_imm): Likewise.
10499         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10500         Likewise.
10501         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10512         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10514         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10515         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10516         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10517         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10519         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10530         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10531         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10533         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10534         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10535         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10536         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10537         (FP_UNPACK_RAW_SP): Likewise.
10538         (FP_PACK_RAW_S): Likewise.
10539         (FP_PACK_RAW_SP): Likewise.
10540         (FP_UNPACK_S): Likewise.
10541         (FP_UNPACK_SP): Likewise.
10542         (FP_UNPACK_SEMIRAW_S): Likewise.
10543         (FP_UNPACK_SEMIRAW_SP): Likewise.
10544         (FP_PACK_S): Likewise.
10545         (FP_PACK_SP): Likewise.
10546         (FP_PACK_SEMIRAW_S): Likewise.
10547         (FP_PACK_SEMIRAW_SP): Likewise.
10548         (_FP_SQRT_MEAT_S): Likewise.
10549         (FP_CMP_S): Likewise.
10550         (FP_CMP_EQ_S): Likewise.
10551         (FP_CMP_UNORD_S): Likewise.
10552         (FP_TO_INT_S): Likewise.
10553         (FP_FROM_INT_S): Likewise.
10555         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10557         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10558         (FP_EX_INVALID_IMZ): Likewise.
10559         (FP_EX_INVALID_IMZ_FMA): Likewise.
10560         (FP_EX_INVALID_ISI): Likewise.
10561         (FP_EX_INVALID_ZDZ): Likewise.
10562         (FP_EX_INVALID_IDI): Likewise.
10563         (FP_EX_INVALID_SQRT): Likewise.
10564         (FP_EX_INVALID_CVI): Likewise.
10565         (FP_EX_INVALID_VC): Likewise.
10566         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10567         "invalid" exceptions.
10568         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10569         (_FP_ADD_INTERNAL): Likewise.
10570         (_FP_MUL): Likewise.
10571         (_FP_FMA): Likewise.
10572         (_FP_DIV): Likewise.
10573         (_FP_CMP_CHECK_NAN): Likewise.
10574         (_FP_SQRT): Likewise.
10575         (_FP_TO_INT): Likewise.
10576         (FP_EXTEND): Likewise.
10578 2014-10-09  Allan McRae  <allan@archlinux.org>
10580         * po/fr.po: Update French translation from translation project.
10582 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10584         [BZ #14132]
10585         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10586         of INTDEF.
10587         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10588         (__cxa_atexit): Use libc_hidden_proto.
10589         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10591         [BZ #14132]
10592         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10593         declaration.
10594         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10595         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10596         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10597         [!_ISOMAC] (__iswctype_internal): Likewise.
10598         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10599         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10600         alias.
10601         (fcntl): Remove __fcntl_internal alias.
10602         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10603         __connect_internal alias.
10604         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10605         Likewise.
10607         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10608         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10609         FP_DENORM_ZERO.
10610         (_FP_CHECK_FLUSH_ZERO): New macro.
10611         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10612         (_FP_CMP): Likewise.
10613         (_FP_CMP_EQ): Likewise.
10614         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10615         FP_DENORM_ZERO.
10616         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10617         (FP_TRUNC): Likewise.
10619         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10620         treated as invalid conversion, not as normal exponent.
10622         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10623         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10624         (_FP_CMP_EQ): Likewise.
10625         (_FP_CMP_UNORD): Likewise.
10626         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10627         (FP_CMP_EQ_D): Likewise.
10628         (FP_CMP_UNORD_D): Likewise.
10629         * soft-fp/extended.h (FP_CMP_E): Likewise.
10630         (FP_CMP_EQ_E): Likewise.
10631         (FP_CMP_UNORD_E): Likewise.
10632         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10633         (FP_CMP_EQ_Q): Likewise.
10634         (FP_CMP_UNORD_Q): Likewise.
10635         * soft-fp/single.h (FP_CMP_S): Likewise.
10636         (FP_CMP_EQ_S): Likewise.
10637         (FP_CMP_UNORD_S): Likewise.
10638         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10639         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10640         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10641         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10642         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10643         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10644         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10645         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10646         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10647         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10648         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10649         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10650         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10651         to FP_CMP_Q.
10652         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10653         FP_CMP_Q.
10654         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10655         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10656         FP_CMP_EQ_Q.
10657         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10658         FP_CMP_Q.
10659         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10660         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10661         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10662         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10663         FP_CMP_EQ_Q.
10664         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10665         FP_CMP_Q.
10666         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10667         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10668         FP_CMP_EQ_Q.
10669         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10670         FP_CMP_Q.
10671         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10672         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10673         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10674         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10675         FP_CMP_EQ_Q.
10677         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10678         a subnormal result, set the underflow exception if trapping on
10679         underflow is enabled.
10680         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10681         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10682         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10683         redefine to 0.
10684         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10685         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10686         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10687         * soft-fp/extendxftf2.c (__extendxftf2): Use
10688         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10690         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10691         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10692         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10693         FP_HANDLE_EXCEPTIONS.
10694         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10695         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10696         FP_HANDLE_EXCEPTIONS.
10697         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10698         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10699         FP_HANDLE_EXCEPTIONS.
10700         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10701         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10702         FP_HANDLE_EXCEPTIONS.
10704 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #14132]
10707         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10708         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10709         use INTUSE.
10710         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10711         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10712         Remove alias.
10713         (__adjtimex): Define using libc_hidden_ver.
10714         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10715         Remove declaration.
10716         (ntp_gettime): Call __adjtimex directly.
10717         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10718         Remove declaration.
10719         (ntp_gettimex): Call __adjtimex directly.
10720         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10721         __adjtimex_internal alias.
10723 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10725         [BZ #17460]
10726         * nscd/nscd.c (more_help): Rewrite list of tables collection
10727         using xstrdup and asprintf.
10729         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10731 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10732             Roland McGrath  <roland@hack.frob.com>
10734         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10735         (do_lookup_unique): ... local function 'enter' here; update callers.
10737 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10739         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10740         compat_symbol calls on [SHARED].
10741         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10742         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10743         Remove.
10744         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10745         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10746         (oldsetrlimit): Remove.
10747         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10749         (lchown): New syscall entry.
10750         (oldsetrlimit): Remove.
10751         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10752         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10753         (oldsetrlimit): Remove.
10754         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10756         [BZ #14138]
10757         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10758         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10759         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10760         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10761         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10762         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10763         (fchown): Likewise.
10764         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10765         (fchown): Likewise.
10766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10767         Likewise.
10769 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10771         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10772         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10773         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10774         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10775         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10776         Likewise.
10777         (__old_sem_post): Likewise.
10779 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10781         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10782         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10783         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10784         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10785         Use INLINE_VSYSCALL macro.
10786         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10787         __vdso_clock_gettime.
10788         * sysdeps/unix/sysv/linux/tile/init-first.c
10789         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10790         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10791         __vdso_clock_gettime.
10793         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10794         to set up frame more cleanly.
10796         * sysdeps/tile/memcmp.c: New file.
10798         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10800         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10801         * sysdeps/tile/tilegx/strcasestr.c: New file.
10802         * sysdeps/tile/tilegx/strnlen.c: New file.
10803         * sysdeps/tile/tilegx/strstr.c: New file.
10805         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10807 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10809         * nptl/tst-setuid3.c: Write errors to stdout.
10811 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10813         * elf/dl-deps.c
10814         (preload): New functions broken out of _dl_map_object_deps.
10815         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10817 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10819         [BZ #14138]
10820         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10821         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10823 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10825         * sysdeps/mips/strcmp.S: New.
10827 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #14138]
10830         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10831         (linkat): Likewise.
10832         (mkdirat): Likewise.
10833         (readlinkat): Likewise.
10834         (renameat): Likewise.
10835         (symlinkat): Likewise.
10836         (unlinkat): Likewise.
10837         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10838         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10839         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10840         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10841         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10842         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10843         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10845 2014-09-30  Will Newton  <will.newton@linaro.org>
10847         * math/math.h: Define long double math functions if
10848         _LIBC_TEST is defined.
10849         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10851         * localedata/Makefile: Move assignment to tests-special
10852         into an ifdef testing run-built-tests.
10853         * timezone/Makefile: Likewise.
10855 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10857         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10858         with $(BASH) not $(SHELL).
10860 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10861             Matthew LeGendre  <legendre1@llnl.gov>
10863         [BZ #17411]
10864         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10865         l_reloc_result.
10867 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10869         * stdio-common/printf_fp.c
10870         (hack_digit): New function, broken out of ...
10871         (__printf_fp): ... local function here.  Update call sites.
10872         hack_digit now takes an additional parameter that is a pointer
10873         to a struct of the referenced locals.  Those locals moved inside
10874         the struct and references updated.
10876 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10878         * aclocal.m4: Require autoconf 2.69.
10879         * configure: Regenerated.
10880         * sysdeps/aarch64/configure: Likewise.
10881         * sysdeps/alpha/configure: Likewise.
10882         * sysdeps/arm/armv7/configure: Likewise.
10883         * sysdeps/arm/configure: Likewise.
10884         * sysdeps/ia64/configure: Likewise.
10885         * sysdeps/mach/configure: Likewise.
10886         * sysdeps/mips/configure: Likewise.
10887         * sysdeps/s390/configure: Likewise.
10888         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10891         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10892         file.
10893         * sysdeps/ia64/configure.ac: Likewise.
10895 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10898         specify symbol version for ld.so.  Do not include entry for
10899         libpthread.
10900         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10901         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10904         [BZ #14171]
10905         * Makeconfig [$(build-shared) = yes]
10906         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10907         makefiles.
10908         [$(build-shared) = yes && $(soversions.mk-done) = t]
10909         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10910         [$(build-shared) = yes && $(soversions.mk-done) = t]
10911         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10912         to Makerules.
10913         [$(build-shared) = yes && $(soversions.mk-done) = t]
10914         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10915         here.
10916         [$(build-shared) = yes && $(soversions.mk-done) = t]
10917         (common-generated): Don't append gnu/lib-names.h and
10918         gnu/lib-names.stmp here.
10919         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10920         (lib-names-h-abi): New variable.
10921         [$(build-shared) = yes && $(soversions.mk-done) = t]
10922         (lib-names-stmp-abi): Likewise.
10923         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10924         abi-variants] (before-compile): Append
10925         $(common-objpfx)$(lib-names-h-abi).
10926         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10927         abi-variants] (common-generated): Append gnu/lib-names.h.
10928         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10929         abi-variants] (install-others-nosubdir): Depend on
10930         $(inst_includedir)/$(lib-names-h-abi).
10931         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10932         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10933         [$(build-shared) = yes && $(soversions.mk-done) = t]
10934         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10935         [$(build-shared) = yes && $(soversions.mk-done) = t]
10936         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10937         [$(build-shared) = yes && $(soversions.mk-done) = t]
10938         (common-generated): Append $(lib-names-h-abi) and
10939         $(lib-names-stmp-abi).
10940         * scripts/lib-names.awk: Do not handle multi being set.
10941         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10942         Remove variable.
10943         (abi-lp64_be-ld-soname): Likewise.
10944         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10945         Likewise.
10946         (abi-hard-ld-soname): Likewise.
10947         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10948         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10949         Remove variable.
10950         (abi-o32_hard-ld-soname): Likewise.
10951         (abi-o32_soft_2008-ld-soname): Likewise.
10952         (abi-o32_hard_2008-ld-soname): Likewise.
10953         (abi-n32_soft-ld-soname): Likewise.
10954         (abi-n32_hard-ld-soname): Likewise.
10955         (abi-n32_soft_2008-ld-soname): Likewise.
10956         (abi-n32_hard_2008-ld-soname): Likewise.
10957         (abi-n64_soft-ld-soname): Likewise.
10958         (abi-n64_hard-ld-soname): Likewise.
10959         (abi-n64_soft_2008-ld-soname): Likewise.
10960         (abi-n64_hard_2008-ld-soname): Likewise.
10961         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10962         Likewise.
10963         (abi-64-v2-ld-soname): Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10965         ld.so entries.
10966         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10967         variable.
10968         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10969         entry.
10970         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10971         variable.
10972         (abi-64-ld-soname): Likewise.
10973         (abi-x32-ld-soname): Likewise.
10974         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10975         entry.
10976         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10978 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #14138]
10981         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10982         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10983         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10985         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10986         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10987         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10988         syscall entry for GLIBC_2.2 symbol version.
10989         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10992         (setrlimit): Likewise.
10993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10994         Likewise.
10996 2014-09-23  Will Newton  <will.newton@linaro.org>
10998         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10999         _LINUX_ARM_SYSDEP_H include guard too.
11000         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11001         define.
11003 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11005         * sysdeps/unix/sysv/linux/eventfd.c:
11006         Make first argument unsigned.
11007         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11008         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11010 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11012         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11013         * socket/sys/socket.h: Likewise
11014         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11016 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11018         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11020 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11022         * time/tst-ftime.c: New test.
11023         * time/Makefile (tests): Add tst-ftime.
11025 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11027         * soft-fp/extended.h: Fix comment formatting.
11028         * soft-fp/op-1.h: Likewise.
11029         * soft-fp/op-2.h: Likewise.
11030         * soft-fp/op-4.h: Likewise.
11031         * soft-fp/op-8.h: Likewise.
11032         * soft-fp/op-common.h: Likewise.
11033         * soft-fp/soft-fp.h: Likewise.
11035         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11037 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11039         [BZ #6652]
11040         * Makeconfig (soversions-default-setname): Remove variable.
11041         ($(common-objpfx)soversions.i): Don't pass default_setname to
11042         soversions.awk.
11043         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11044         oldest_abi to abi-versions.awk.
11045         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11046         * config.make.in (oldest-abi): Remove variable.
11047         * configure.ac (--enable-oldest-abi): Remove configure option.
11048         * configure: Regenerated.
11049         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11050         text.
11051         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11052         * scripts/soversions.awk: Do not handle default_setname variable.
11053         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11054         variable.
11055         * sysdeps/mach/hurd/configure: Regenerated.
11056         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11057         variable.
11058         * sysdeps/unix/sysv/linux/configure: Regenerated.
11060 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11062         * elf/Makefile (CFLAGS-interp.c): Remove.
11063         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11064         path string.
11065         * elf/interp.c: Include generated runtime-linker.h
11067         * Makerules (lib%.so): Don't include $(+interp) in
11068         prerequisites.
11069         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11070         * dlfcn/eval.c: Remove file.
11072         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11073         macros.
11075         [BZ #17266]
11076         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11077         4.2 and newer.
11079         [BZ #17370]
11080         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11082 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11083             Jakub Jelinek  <jakub@redhat.com>
11085         [BZ #17266]
11086         * libio/stdio.h: Check definition of __fortify_function
11087         instead of __extern_always_inline to include bits/stdio2.h.
11088         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11089         check if __extern_always_inline is defined.
11090         [__USE_MISC || __USE_XOPEN]: Likewise.
11091         [__USE_ISOC99] Likewise.
11092         * misc/sys/cdefs.h (__fortify_function): Define only if
11093         __extern_always_inline is defined.
11094         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11095         __extern_always_inline and __extern_inline only for g++-4.3
11096         and newer or a compatible gcc.
11098 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11100         [BZ #17371]
11101         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11102         last change to handle zero prefix length.
11104 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11106         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11107         _SC_REGEX_VERSION.
11109         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11110         _POSIX_RAW_SOCKETS.
11112 2014-09-13  Allan McRae  <allan@archlinux.org>
11114         * po/ru.po: Update Russian translation from translation project.
11116 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11118         * locale/programs/locale.c (show_locale_vars): Inline local function
11119         into its sole call site.  Clean up some style nits.
11120         (print_item): New function, broken out of ...
11121         (show_info): ... local function here.  Clean up style nits.
11123         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11124         out of ...
11125         (set_class_defaults): ... local function set_default here.
11126         Define set_default as a macro locally to pass constant parameters.
11127         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11128         rather than a shared local.
11130         * stdlib/rpmatch.c (try): New function, broken out of ...
11131         (rpmatch): ... local function here.  Also, prototypify definition.
11133 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11135         * scripts/soversions.awk: Do not handle configuration names.
11136         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11137         vendor and os variables to soversions.awk.
11138         * configure.ac: Do not modify gnu-* host_os.
11139         * configure: Regenerated
11140         * shlib-versions: Remove first column with configuration names.
11141         * nptl/shlib-versions: Likewise.
11142         * nptl_db/shlib-versions: Likewise.
11143         * sysdeps/hppa/shlib-versions: Likewise.
11144         * sysdeps/m68k/shlib-versions: Likewise.
11145         * sysdeps/mach/hurd/shlib-versions: Likewise.
11146         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11147         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11148         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11149         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11150         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11151         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11152         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11153         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11155         Likewise.
11156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11157         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11158         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11159         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11160         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11161         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11162         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11166         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11168         Regenerated.
11169         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11171         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11173         * shlib-versions: Remove OS-specific entries.  Moved to files in
11174         sysdeps.
11175         * sysdeps/mach/hurd/shlib-versions: New file.
11176         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11178         * nptl/shlib-versions: Remove architecture-specific entries.
11179         Moved to files in sysdeps.
11180         * shlib-versions: Likewise.
11181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11182         file.
11183         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11184         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11185         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11186         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11188         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11189         (UDP_NO_CHECK6_RX): Likewise.
11191 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11193         * sysdeps/posix/sysconf.c (__sysconf): Spell
11194         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11196 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11198         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11199         loading.
11200         * iconv/Versions (__gconv_transliterate): Export for use from
11201         gconv modules.
11202         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11203         (struct __gconv_trans_data, __gconv_trans_fct,
11204         __gconv_trans_context_fct, __gconv_trans_query_fct,
11205         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11206         definitions.
11207         (struct __gconv_step_data): Remove __trans member.
11208         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11209         longer hidden.  Remove unused trans_data argument.
11210         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11211         (__gconv_translit_find): Remove declaration.
11212         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11213         prototype.
11214         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11215         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11216         trans_data argument.  Add hidden definition.
11217         (__gconv_translit_find): Remove.
11218         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11219         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11220         * iconv/skeleton.c: Remove transliteration initialization.
11221         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11222         __gconv_step_data initialization.
11223         * libio/iofwide.c (__libio_translit_): Remove.
11224         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11225         * wcsmbs/btowc.c (__btowc): Likewise.
11226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11227         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11228         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11229         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11230         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11231         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11232         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11233         * wcsmbs/wctob.c (wctob): Likewise.
11235 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11237         [BZ #16194]
11238         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11239         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11240         register usage.
11241         * sysdeps/x86/Makefile: Adjust.
11243 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11244             Roland McGrath  <roland@hack.frob.com>
11246         * locale/weight.h: Add include guard.
11247         (findidx): Make static rather than auto; take new parameters
11248         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11249         * locale/weightwc.h: Likewise.
11250         * posix/fnmatch_loop.c
11251         (FCT): Change type of EXTRA from int32_t to wint_t.
11252         Don't include either header inside the function.
11253         Call FINDIDX rather than findidx, and pass new arguments.
11254         #undef FINDIDX at the end of the file.
11255         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11256         FINDIDX before including fnmatch_loop.c for the non-wide version.
11257         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11258         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11259         for the wide version.
11260         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11261         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11262         Pass new arguments to findidx.
11263         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11264         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11265         Don't #include it inside the function.  Pass new arguments to findidx.
11266         * posix/regex_internal.h
11267         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11268         (re_string_elem_size_at): Don't #include it inside the function.
11269         Pass new arguments to findidx.
11270         * string/strcoll_l.c: #include WEIGHT_H at top level.
11271         (get_next_seq): Don't #include it inside the function.
11272         Pass new arguments to findidx.
11273         (get_next_seq_nocache): Likewise.
11274         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11275         (STRXFRM): Don't #include it inside the function.
11276         Pass new arguments to findidx.
11278 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11280         [BZ #17344]
11281         * malloc/malloc.c (unlink): Turn asserts into a call to
11282         malloc_printerr.
11284 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11286         [BZ #17370]
11287         * libio/wfileops (do_ftell_wide): Free OUT.
11289 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11291         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11293 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11295         [BZ #17363]
11296         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11297         group if the current group is empty.
11299 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11301         * benchtests/bench-memset.c (test_main): Add more test from size
11302         from 32 to 512 bytes.
11303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11304         Add POWER8 memset object.
11305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11306         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11307         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11308         implementation.
11309         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11310         Likewise.
11311         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11312         multiarch POWER8 memset optimization.
11313         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11314         POWER8 memset optimization.
11316         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11317         Remove bzero multiarch objects.
11318         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11320         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11321         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11322         Remove define.
11323         [__bzero]: Redefine to specific name.
11324         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11325         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11326         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11327         define.
11328         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11329         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11331 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11333         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11334         warnings into errors.
11336         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11337         __cxa_thread_atexit_impl prototype.
11339 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11341         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11342         Fix capitalization of error message.
11344 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11346         * sysdeps/mips/preconfigure: Modify ABI tests.
11348 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11350         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11352 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11353             Carlos O'Donell  <carlos@systemhalted.org>
11355         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11356         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11357         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11358         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11359         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11360         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11361         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11362         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11363         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11364         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11365         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11366         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11367         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11368         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11369         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11370         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11372         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11374         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11377         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11378         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11379         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11380         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11381         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11382         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11383         Deconditionalize the code that was previously under [RESET_PID].
11384         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11385         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11386         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11387         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11388         include sysdep.h.
11390 2014-09-08  Allan McRae  <allan@archlinux.org>
11392         * version.h (RELEASE): Set to "development".
11393         (VERSION): Set to "2.20.90"
11395 2014-09-07  Allan McRae  <allan@archlinux.org
11397         * version.h (RELEASE): Set to "stable".
11398         (VERSION): Set to "2.20"
11399         * include/features.h (__GLIBC_MINOR__): Set to 20.
11401         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11402         Liebler.
11404         * po/ko.po: Update Korean translation from translation project.
11406 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11408         [BZ #17354]
11409         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11410         macro for handling signed relocations.
11412 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11414         [BZ #17325]
11415         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11416         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11417         assert.
11418         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11419         * iconvdata/ibm935.c (BODY): Likewise.
11420         * iconvdata/ibm937.c (BODY): Likewise.
11421         * iconvdata/ibm939.c (BODY): Likewise.
11422         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11423         assert.
11424         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11425         script.
11426         * iconvdata/run-iconv-test.sh: New test loop for checking for
11427         decoder crashers.
11429 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11432         libm_hidden_ver.
11434 2014-09-01  Allan McRae  <allan@archlinux.org>
11436         * po/eo.po: Update Esperanto translation from translation project.
11438         * po/ca.po: Update Catalan translation from translation project.
11440 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11442         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11443         __proc_dostop call.
11445 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11447         [BZ #17319]
11448         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11449         to call set_thread_area instead of hand written asm.
11450         (__NR_set_thread_area): Removed define.
11451         (TLS_FLAG_WRITABLE): Likewise.
11452         (__ASSUME_SET_THREAD_AREA): Remove check.
11453         (TLS_EBX_ARG): Remove define.
11454         (TLS_LOAD_EBX): Likewise.
11456 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11458         Simplify atomicity of socket creation in bind.
11460         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11461         looking up the name after linking the file.
11463 2014-08-27  Allan McRae  <allan@archlinux.org>
11465         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11467 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11469         [BZ #17187]
11470         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11471         trans_compare, open_translit, __gconv_translit_find):
11472         Remove module loading code.
11474 2014-08-26  Allan McRae  <allan@archlinux.org>
11476         * po/vi.po: Update Vietnamese translation from translation project.
11478         * po/uk.po: Update Ukrainian translation from translation project.
11480         * po/fr.po: Update French translation from translation project.
11482         * po/ru.po: Update Russian translation from translation project.
11484         * po/pl.po: Update Polish translation from translation project.
11486         * po/cs.po: Update Czech translation from translation project.
11488         * po/de.po: Update German translation from translation project.
11490         * po/bg.po: Update Bulgarian translation from translation project.
11492         * po/sv.po: Update Sweedish translation from translation project.
11494         * po/nl.po: Update Dutch translation from translation project.
11496         * po/es.po: Update Spanish translation from translation project.
11498 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11500         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11502         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11503         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11504         (CPPFLAGS-iconvconfig): Likewise.
11505         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11507         * include/libc-symbols.h: Remove unnecessary check for
11508         NOT_IN_libc.
11509         * nptl/pthreadP.h: Likewise.
11510         * sysdeps/aarch64/setjmp.S: Likewise.
11511         * sysdeps/alpha/setjmp.S: Likewise.
11512         * sysdeps/arm/sysdep.h: Likewise.
11513         * sysdeps/i386/setjmp.S: Likewise.
11514         * sysdeps/m68k/setjmp.c: Likewise.
11515         * sysdeps/posix/getcwd.c: Likewise.
11516         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11518         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11519         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11520         * sysdeps/sh/sh3/setjmp.S: Likewise.
11521         * sysdeps/sh/sh4/setjmp.S: Likewise.
11522         * sysdeps/unix/alpha/sysdep.h: Likewise.
11523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11525         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11531         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11534         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11536         * sysdeps/x86_64/setjmp.S: Likewise.
11538 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #17263]
11541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11542         <stdint.h>.
11543         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11544         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11546 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11548         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11550         [BZ #17262]
11551         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11552         and __x86_64__ when disabling x87 inline functions.
11554 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11556         [BZ #17259]
11557         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11558         asm statement with __cpuid_count.
11560 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11562         * configure.ac: Change __ehdr_start code to dereference the struct.
11563         Run readelf on the output to look for relocations.
11564         * configure: Regenerated.
11566 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11568         [BZ #17261]
11569         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11570         value to 0.
11571         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11573 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11575         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11577 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11579         [BZ #16892]
11580         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11581         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11583 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11585         * malloc/malloc.c: Fix typo in comment.
11587 2014-08-09  Allan McRae  <allan@archlinux.org>
11589         * Regenerate libc.po.
11591 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11593         * intl/tst-gettext2.sh: Check every lang file for creation.
11595 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11597         * sysdeps/aarch64/fpu/math_private.h
11598         (libc_feholdsetround_noex_aarch64_ctx): New function.
11600 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11602         * sysdeps/arm/armv6/strcpy.S (strcpy):
11603         Fix performance issue in misaligned cases.
11605 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11607         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11608         Move definition from termios.h.
11609         (struct termio): Likewise.
11610         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11611         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11612         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11613         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11614         Likewise.
11615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11616         Move definition to ioctl-types.h
11617         (struct termio): Likewise.
11618         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11619         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11620         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11621         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11622         Likewise.
11624 2014-08-05  Richard Henderson  <rth@redhat.com>
11626         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11627         exceptions.
11628         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11629         Add fraiseexcpt.
11630         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11631         Use __feraiseexcept.
11632         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11633         Protect libm symbols with IS_IN_libm.
11635         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11637 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11639         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11641 2014-08-04  Will Newton  <will.newton@linaro.org>
11643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11644         file.
11646 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11649         variants for each function.
11651 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11653         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11654         appended ...
11655         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11656         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11657         appended ...
11658         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11659         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11660         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11661         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11662         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11663         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11664         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11665         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11666         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11667         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11668         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11669         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11670         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11671         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11672         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11673         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11674         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11675         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11676         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11677         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11678         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11679         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11681         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11682         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11683         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11684         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11685         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11686         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11687         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11688         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11689         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11690         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11691         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11692         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11693         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11694         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11695         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11697         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11698         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11699         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11700         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11702         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11704         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11706         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11707         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11708         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11709         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11710         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11711         Update #include.
11712         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11713         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11715 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11717         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11718         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11720         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11721         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11722         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11724 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11726         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11727         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11728         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11729         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11733         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11734         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11735         (__libc_vfork): Define function under this name.
11736         (__vfork): Define as an alias.
11737         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11738         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11740 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11742         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11743         that was previously under [RESET_PID].
11744         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11746 2014-08-04  Andreas Schwab  <schwab@suse.de>
11748         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11750 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11752         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11753         (main): Likewise.
11755 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11757         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11759 2014-08-01  Richard Henderon  <rth@redhat.com>
11761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11762         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11763         typo in exact zero test.
11764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11766         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11768 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11770         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11771         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11772         * sysdeps/arm/sysdep.h: ... here.
11773         [!__ASSEMBLER__]: Include <stdint.h>.
11775 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11778         (HAVE_WCTYPE_H): Likewise.
11779         (HAVE_ISWCTYPE): Likewise.
11780         (ENABLE_NLS): Likewise.
11781         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11782         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11784         * posix/regex_internal.c: Check if DEBUG is defined and is
11785         set.
11787         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11788         (HAVE_MBSRTOWCS): Likewise.
11789         * posix/fnmatch.c: Include string.h unconditionally.
11791 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11793         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11794         reversal.
11796 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11798         * sysdeps/generic/safe-fatal.h: New file.
11799         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11800         * nptl/forward.c: Include it.
11801         (__pthread_unwind): Use __safe_fatal as default action, rather
11802         than a bogus use of INTERNAL_SYSCALL that could never work.
11804         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11805         * configure.ac (libc_cv_builtin_trap): New test.
11806         * configure: Regenerated.
11807         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11808         (ABORT_INSTRUCTION): Define using __builtin_trap.
11810         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11811         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11812         * sysdeps/nptl/nptl-signals.h: New file.
11813         * nptl/pthreadP.h: Include <nptl-signals.h>.
11815 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11817         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11818         (ONE_DIRECTION): Define.
11819         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11820         (ONE_DIRECTION): Define.
11821         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11822         (ONE_DIRECTION): Define.
11824 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11826         * sysdeps/s390/Makefile: Delete file.
11827         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11828         * sysdeps/s390/__longjmp.c: Delete file.
11829         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11830         Remove fields __flags and __reserved.
11831         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11832         and add versioning.
11833         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11834         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11835         * sysdeps/s390/rtld-setjmp.S: Likewise.
11836         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11837         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11838         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11839         * sysdeps/s390/s390-32/setjmp.S: ... here.
11840         Add versioning.
11841         (__sigsetjmp): Remove setting __flags field.
11842         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11843         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11844         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11845         * sysdeps/s390/s390-64/setjmp.S: ... here.
11846         Add versioning.
11847         (__sigsetjmp): Remove setting __flags field.
11848         * sysdeps/s390/setjmp.S: Delete file.
11849         * sysdeps/s390/sigjmp.c: Likewise.
11850         * sysdeps/s390/v1-longjmp.c: Likewise.
11851         * sysdeps/s390/v1-setjmp.h: Likewise.
11852         * sysdeps/s390/v1-sigjmp.c: Likewise.
11853         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11854         Remove v1-longjmp_chk.
11855         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11857         Include debug/longjmp_chk.c and add versioning.
11858         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11859         Include nptl/pt-longjmp.c and add versioning.
11860         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11861         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11862         Include __longjmp.c.
11863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11864         Move to ...
11865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11866         (__getcontext): Remove setting __flags field.
11867         Add versioning.
11868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11869         Don't restore upper high grps.
11870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11871         Likewise.
11872         (__swapcontext): Remove setting uc_flags field.
11873         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11874         Delete file.
11875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11876         Include __longjmp.c.
11877         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11878         Move to ...
11879         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11880         (__getcontext): Remove setting __flags field.
11881         Add versioning.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11883         (__swapcontext): Remove setting uc_flags field.
11884         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11886         Remove fields uc_high_gprs and __reserved.
11887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11888         New file with reverted content.
11889         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11890         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11891         Regenerated.
11892         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11893         Regenerated.
11895 2014-07-31  Andreas Schwab  <schwab@suse.de>
11897         * config.h.in (HAVE_IFUNC): Define to 0.
11898         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11899         definedness.
11901 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11904         memmove-avx-unaligned, memcpy-avx-unaligned and
11905         mempcpy-avx-unaligned.
11906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11907         Add tests for AVX memcpy functions.
11908         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11909         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11910         memcpy_chk.
11911         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11912         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11913         memmove_chk.
11914         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11915         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11916         mempcpy_chk.
11917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11918         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11921 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923         [BZ #17213]
11924         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11925         powerpc64le.
11927 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11929         [BZ #16839]
11930         * manual/llio.texi: Add section about open file description locks.
11931         * manual/examples/ofdlocks.c: Example of open file description
11932         lock usage.
11933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11934         F_OFD_SETLK, and F_OFD_SETLKW.
11936 2014-07-23  Allan McRae  <allan@archlinux.org>
11938         * po/es.po: Update Spanish translation from translation project.
11940 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11942         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11944 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11946         [BZ #17078]
11947         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11948         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11949         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11951 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11953         [BZ #17088]
11954         * math/fesetenv.c (__fesetenv)
11955         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11956         * math/feupdateenv.c (__feupdateenv)
11957         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11959         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11960         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11961         (__ASSUME_SOCKETCALL): Do not define.
11963         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11964         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11965         (__ASSUME_SOCKETCALL): Do not define.
11966         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11967         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11968         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11969         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11970         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11971         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11972         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11973         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11976         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11977         (__ASSUME_SOCKETCALL): Do not define.
11978         (__ASSUME_IPC64): Define unconditionally.
11979         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11980         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11981         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11983         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11985         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11986         Likewise.
11988         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11989         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11990         (__ASSUME_SOCKETCALL): Do not define.
11991         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11992         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11993         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11994         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11995         (__ASSUME_REQUEUE_PI): Define unconditionally.
11996         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11997         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11998         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11999         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12001         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12003         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12005         (__ASSUME_SOCKETCALL): Do not define.
12006         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12007         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12008         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12009         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12011         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12013         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12014         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12015         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12016         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12018         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12020         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12021         (__ASSUME_GETCPU_SYSCALL): Likewise.
12023         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12024         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12025         cases for individual architectures.
12026         * sysdeps/gnu/configure: Regenerated.
12027         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12028         LIBC_SLIBDIR_RTLDDIR.
12029         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12030         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12031         LIBC_SLIBDIR_RTLDDIR.
12032         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12034         LIBC_SLIBDIR_RTLDDIR.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12036         Regenerated.
12037         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12038         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12039         file.
12040         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12041         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12042         file.
12043         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12044         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12045         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12046         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12048         * sysdeps/aarch64/shlib-versions: Move to ...
12049         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12050         * sysdeps/alpha/shlib-versions: Move to ...
12051         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12052         * sysdeps/arm/shlib-versions: Move to ...
12053         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12054         * sysdeps/hppa/shlib-versions: Move all contents except for
12055         libgcc_s entry to ...
12056         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12057         entry from ...
12058         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12059         * sysdeps/ia64/shlib-versions: Move to ...
12060         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12061         entry from ...
12062         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12063         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12064         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12065         * sysdeps/microblaze/shlib-versions: Move to ...
12066         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12067         * sysdeps/mips/shlib-versions: Move to ...
12068         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12069         entry from ...
12070         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12071         * sysdeps/tile/shlib-versions: Move to ...
12072         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12073         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12074         from ...
12075         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12077         entry from ...
12078         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12080 2014-07-17  Will Newton  <will.newton@linaro.org>
12082         * sysdeps/arm/bits/atomic.h
12083         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12084         (__arch_compare_and_exchange_bool_16_int): Likewise.
12085         (__arch_compare_and_exchange_bool_64_int): Likewise.
12087         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12088         into an #else block.
12090 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12092         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12093         just Linux configurations.  Test empirically that the compiler sets
12094         __ARM_EABI__, rather than using the tuple to decide.
12095         * sysdeps/arm/preconfigure: Regenerated.
12096         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12097         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12098         contents appended ...
12099         * sysdeps/arm/configure.ac: ... here.
12100         * sysdeps/arm/configure: Regenerated.
12102 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12104         * nptl/pthread_kill.c: New file.
12105         * nptl/pthread_sigmask.c: New file.
12106         * nptl/pthread_sigqueue.c: New file.
12108         * sysdeps/nptl/lowlevellock.h: New file.
12109         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12110         * sysdeps/nptl/lowlevellock-futex.h: New file.
12112         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12113         Remove dead declarations.
12115 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12117         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12118         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12119         config-cflags-avx2.
12120         * sysdeps/x86_64/configure.ac: Likewise.
12121         * sysdeps/i386/configure: Regenerated.
12122         * sysdeps/x86_64/configure: Likewise.
12123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12124         memset-avx2 only if config-cflags-avx2 is yes.
12125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12126         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12127         defined.
12128         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12129         only if HAVE_AVX2_SUPPORT is defined.
12130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12132 2014-07-14  Alan Modra  <amodra@gmail.com>
12134         [BZ #17153]
12135         * elf/elf.h (DT_PPC64_NUM): Correct value.
12136         * NEWS: Add to fixed bug list.
12138 2014-07-13  Jim Meyering  <meyering@fb.com>
12140         [BZ 17150]
12141         regex: don't deref NULL upon heap allocation failure
12142         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12143         failure in one more place.
12144         To trigger the segfault, configure grep -with-included-regex,
12145         build it, and run these commands:
12146         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12148 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12152 2014-07-11  Richard Henderson  <rth@redhat.com>
12154         * sysdeps/aarch64/libm-test-ulps: Update.
12156 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12158         [BZ #17135]
12159         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12160         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12161         (__nptl_setxid): Initialize error member.  Call
12162         __nptl_setxid_error.
12163         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12164         * nptl/descr.h (struct xid_command): Add error member.
12165         * nptl/tst-setuid3.c: New file.
12166         * nptl/Makefile (tests): Add it.
12168 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12171         New define.
12172         (__lll_trylock): Use __lll_base_trylock.
12173         (__lll_cond_trylock): Likewise.
12175 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12177         * nptl/pthread_create.c (start_thread): Use atomic_or and
12178         lll_futex_wake directly rather than lll_robust_dead.
12179         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12180         (lll_robust_dead): Macro removed.
12181         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12182         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12187         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12189         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12193         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12197         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12198         Use atomic_compare_and_exchange_val_acq directly rather than
12199         lll_robust_trylock.
12200         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12201         (__lll_robust_trylock, lll_robust_trylock): Removed.
12202         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12203         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12204         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12205         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12206         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12208         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12209         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12211         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12214         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12217 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12219         * manual/locale.texi (Locale Names): New section documenting
12220         locale name syntax.  Adjust menu and node chaining accordingly.
12221         (Choosing Locale): Reference Locale Names, Locale Categories.
12222         Mention setting LC_ALL=C.  Reflect that name syntax is now
12223         documented.
12224         (Locale Categories): New section title.  Reference Locale Names.
12225         LC_ALL is an environment variable, but not a category.
12226         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12227         description, now in Locale Name.  Reference that section.  Locale
12228         name syntax is now documented.
12230 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12232         [BZ #17137]
12233         * locale/findlocale.c (name_present, valid_locale_name): New
12234         functions.
12235         (_nl_find_locale): Use the loc_name variable to store name
12236         candidates.  Call name_present and valid_locale_name to check and
12237         validate locale names.  Return an error if the locale is invalid.
12239 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12241         * locale/setlocale.c (setlocale): Use strdup for allocating
12242         composite name copy.
12244 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12246         Sync up with gnulib.
12247         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12248         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12249         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12250         and _GL_ARG_NONNULL.
12251         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12252         [!_LIBC]: Include code for Windows and Cygwin.
12253         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12254         Include prototype for int strerror_r.
12255         [!_LIBC] (is_open): New function.
12256         (flush_stdout): New function.
12257         (print_errno_message): Use it.
12258         (error): Likewise.
12259         (error_at_line): Likewise.
12260         (error_tail) Add function attribute macros.  Use
12261         __builtin_expect.
12263         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12265         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12267         * io/ftw.c: Include sys/param.h unconditionally.
12269         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12271         [BZ #17125]
12272         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12273         libc_freeres_ptr.
12274         (freecache): New function to free CACHE on exit.
12276         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12277         initialization.
12279 2014-07-09  David S. Miller  <davem@davemloft.net>
12281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12283         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12284         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12285         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12286         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12287         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12288         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12289         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12290         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12291         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12292         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12293         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12294         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12295         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12297 2014-07-09  Andreas Schwab  <schwab@suse.de>
12299         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12300         output.
12301         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12302         (do_test): Likewise.
12304         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12306 2014-07-09  Will Newton  <will.newton@linaro.org>
12308         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12309         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12310         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12311         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12312         * sysdeps/hppa/start.S (_start): Likewise.
12314 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12316         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12318         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12319         defined.
12321 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12323         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12324         after checking that it is non-NULL.
12326         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12328 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12330         * sysdeps/powerpc/memmove.c: Remove file.
12331         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12332         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12333         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12334         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12335         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12336         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12338         string memmove instead of removed powerpc one.
12340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12341         [weak_alias]: Fix compiler warning due trailing data.
12342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12343         [weak_alias]: Likewise.
12344         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12345         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12348         (__libc_ifunc_impl_list): Add memmove functions.
12350 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12352         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12353         Remove code.
12354         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12355         Likewise
12356         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12357         Likewise
12358         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12359         Likewise
12360         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12361         Likewise
12362         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12363         Likewise
12364         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12365         Likewise
12366         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12367         Likewise
12368         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12369         Likewise
12370         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12371         Likewise
12372         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12373         Likewise
12374         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12375         Likewise
12376         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12377         Likewise
12378         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12379         Likewise
12380         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12381         Likewise
12382         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12383         Likewise
12384         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12385         Likewise
12387 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12390         to avoid alignment traps in non-cacheable memory.
12391         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12394         multiarch objects.
12395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12396         file: multiarch power7 memmove.
12397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12398         multiarch default memmove.
12399         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12400         multiarch memove for powerpc32/power4.
12402         * string/bcopy.c: Use full path to include memmove.c.
12403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12404         multiarch objects.
12405         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12406         bcopy for powerpc64.
12407         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12408         bcopy for powerpc64.
12409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12410         and memmove implementations.
12411         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12412         optimized multiarch memmove for POWER7/powerpc64.
12413         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12414         default multiarch memmove for powerpc64.
12415         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12416         multiarch for powerpc64.
12417         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12418         for POWER7/powerpc64.
12419         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12420         memmove for POWER7/powerpc64.
12422         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12423         glibc default one.
12425         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12426         __ELF_NATIVE_CLASS equal to 64.
12428 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12430         * sysdeps/nptl/lowlevellock.h: File removed.
12432         * NEWS: NPTL is no longer an add-on!
12433         * nptl/internaltypes.h: Moved ...
12434         * sysdeps/nptl/internaltypes.h: ... here.
12435         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12436         * sysdeps/nptl/fork.c: Likewise.
12437         * sysdeps/nptl/gai_misc.h: Likewise.
12438         * sysdeps/nptl/librt-cancellation.c: Likewise.
12439         * sysdeps/nptl/jmp-unwind.c: Likewise.
12440         * sysdeps/nptl/setxid.h: Likewise.
12441         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12442         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12443         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12444         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12445         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12446         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12447         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12448         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12449         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12450         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12451         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12452         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12453         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12454         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12455         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12456         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12457         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12458         * nptl/Makeconfig: Moved ...
12459         * sysdeps/nptl/Makeconfig: ... here.
12460         * nptl/configure: File removed.
12461         * nptl/ANNOUNCE: File removed.
12462         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12463         * sysdeps/unix/sysv/linux/configure: Regenerated.
12465         * nptl/Makefile (routines): Add libc_pthread_init,
12466         libc_multiple_threads, register-atfork and unregister-atfork.
12467         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12468         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12469         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12470         pthread-pi-defines.sym, structsem.sym.
12471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12472         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12473         [$(subdir) = nptl] (tests): Add tst-setgetname.
12474         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12475         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12476         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12477         [!LIBC_SIGACTION]: Remove aliases.
12478         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12479         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12480         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12481         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12482         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12483         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12487         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12488         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12489         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12490         __libc_allocate_rtsig_private.
12491         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12492         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12493         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12495         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12496         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12497         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12498         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12499         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12500         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12501         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12502         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12503         * nptl/internaltypes.h: ... here.
12504         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12505         * sysdeps/nptl/jmp-unwind.c: ... here.
12506         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12507         * nptl/libc-lowlevellock.c: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12509         * nptl/libc_multiple_threads.c: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12511         * nptl/libc_pthread_init.c: ... here.
12512         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12513         * nptl/lowlevelbarrier.sym: ... here.
12514         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12515         * nptl/lowlevelcond.sym: ... here.
12516         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12517         * nptl/lowlevellock.c: ... here.
12518         * nptl/lowlevellock.h: Moved ...
12519         * sysdeps/nptl/lowlevellock.h: ... here.
12520         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12521         * nptl/lowlevelrobustlock.c: ... here.
12522         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12523         * nptl/lowlevelrobustlock.sym: ... here.
12524         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12525         * nptl/lowlevelrwlock.sym: ... here.
12526         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12527         * nptl/pt-fork.c: ... here.
12528         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12529         * nptl/pthread-pi-defines.sym: ... here.
12530         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12531         * nptl/pthread_attr_getaffinity.c: ... here.
12532         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12533         * nptl/pthread_attr_setaffinity.c: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12535         * nptl/pthread_mutex_cond_lock.c: ... here.
12536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12537         Update #include.
12538         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12539         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12540         * nptl/pthread_once.c: ... here, replacing old file.
12541         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12542         * nptl/pthread_yield.c: ... here.
12543         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12544         * nptl/register-atfork.c: ... here.
12545         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12546         * nptl/sem_post.c: ... here.
12547         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12548         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12549         * nptl/sem_timedwait.c: ... here.
12550         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12551         * nptl/sem_trywait.c: ... here.
12552         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12553         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12554         * nptl/sem_wait.c: ... here.
12555         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12556         * nptl/structsem.sym: ... here.
12557         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12558         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12559         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12560         * nptl/unregister-atfork.c: ... here.
12561         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12562         * nptl/unwindbuf.sym: ... here.
12563         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12564         * sysdeps/nptl/fork.c: ... here.
12565         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12566         * sysdeps/nptl/fork.h: ... here.
12567         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12568         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12569         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12570         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12571         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12572         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12573         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12574         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12575         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12576         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12577         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12578         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12579         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12580         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12581         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12582         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12583         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12584         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12585         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12586         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12587         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12588         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12589         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12590         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12591         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12592         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12593         * sysdeps/unix/sysv/linux/raise.c: ... here.
12594         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12595         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12596         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12597         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12598         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12599         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12600         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12601         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12602         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12603         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12604         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12605         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12606         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12607         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12608         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12610 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12612         * sysdeps/generic/memcopy.h: Add comment for
12613         MEMCPY_OK_FOR_FWD_MEMMOVE.
12615 2014-07-04  Will Newton  <will.newton@linaro.org>
12617         * string/memchr.c: Merge from gnulib.
12618         [_LIBC]: Remove conditionals.
12619         (__ptr_t): Remove define.
12620         (LONG_MAX_32_BITS): Likewise.
12621         (LONG_MAX): Likewise.
12622         (MEMCHR): Use ANSI prototype and optimize algorithm.
12624         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12626 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12628         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12629         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12631         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12632         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12633         in a bare environment with no <stdlib.h> installed.
12634         * sysdeps/nptl/configure: Regenerated.
12636         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12638         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12639         AC_EGREP_CPP for kernel header checks, so they only succeed if
12640         including <linux/version.h> actually works right.
12641         * sysdeps/unix/sysv/linux/configure: Regenerated.
12643         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12644         value so it's not diagnosed as unused.
12646         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12647         thing) with "ifeq ($(subdir),rt)".
12649 2014-07-03  Richard Henderson  <rth@redhat.com>
12651         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12652         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12653         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12655         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12656         (math_force_eval): New.
12658         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12659         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12661         * sysdeps/alpha/fpu/s_round.c: Remove file.
12662         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12664         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12665         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12666         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12667         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12668         (_dl_start, print_statistics): Likewise.
12669         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12670         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12672         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12673         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12674         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12675         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12677         (HP_SMALL_TIMING_AVAIL): Define.
12678         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12680         (HP_SMALL_TIMING_AVAIL): Define.
12681         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12682         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12684         * sysdeps/aarch64/hp-timing.h: New file.
12686         * sysdeps/generic/hp-timing.h: Remove dead comment.
12687         * sysdeps/generic/hp-timing-common.h: New file.
12688         * sysdeps/alpha/hp-timing.h: Include it.
12689         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12690         * sysdeps/i386/i686/hp-timing.h: Likewise.
12691         * sysdeps/ia64/hp-timing.h: Likewise.
12692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12693         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12694         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12695         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12696         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12697         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12698         (hp_timing_t): New.
12700         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12701         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12702         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12703         * elf/rtld.c (_dl_start_final): Likewise.
12704         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12705         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12706         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12707         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12708         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12710         (HP_TIMING_DIFF_INIT): Remove.
12711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12713         (HP_TIMING_DIFF_INIT): Remove.
12714         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12715         * sysdeps/i386/i686/hp-timing.c: Remove file.
12716         * sysdeps/x86_64/hp-timing.c: Remove file.
12717         * sysdeps/ia64/hp-timing.c: Remove file.
12718         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12719         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12720         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12721         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12723         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12724         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12725         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12726         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12728         (HP_TIMING_ACCUM): Remove.
12729         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12731         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12733         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12734         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12735         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12736         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12738         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12740         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12742         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12744 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12746         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12748 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12750         Sync up with gettext.
12751         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12752         [_MSC_VER]: Include malloc.h
12753         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12754         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12755         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12756         TEMP_FAILURE_RETRY.  Cast return of alloca.
12757         [!_LIBC] Call gl_rwlock_init.
12758         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12760 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12762         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12763         before checking its value.
12765 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12767         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12769         * debug/memcpy_chk.c: Don't include pagecopy.h.
12770         * debug/mempcpy_chk.c: Likewise.
12771         * string/memcpy.c: Likewise.
12772         * string/memmove.c: Likewise.
12773         * sysdeps/powerpc/memmove.c: Likewise.
12774         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12775         definition of PAGE_COPY_FWD_MAYBE here...
12776         * sysdeps/generic/pagecopy.h: ... from here.
12777         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12779 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12782         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12784         optimizations.
12785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12786         (__libc_ifunc_impl_list): Likewise.
12787         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12788         multiarch strcat for PPC64.
12789         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12790         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12792 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12794         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12798         * intl/loadmsgcat.c: Remove declaration of
12799         get_sysdep_segment_value.
12800         (get_sysdep_segment_value): Use ISO C style.
12801         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12802         semicolon.  Fix typo and formatting in comment.
12803         (_nl_unload_domain): Use ISO C style.
12805         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12807 2014-07-02  Will Newton  <will.newton@linaro.org>
12809         * malloc/obstack.c: Merge from gnulib master.
12810         [HAVE_CONFIG_H]: Remove conditional code.
12811         [!_LIBC]: Include config.h.
12812         [!ELIDE_CODE]: Don't include inttypes.h, include
12813         stdint.h unconditionally.
12814         (print_and_abort): Mark as _Noreturn.
12815         (_obstack_allocated_p): Mark as __attribute_pure__.
12816         (obstack_free): Rename to __obstack_free.
12817         [!__attribute__]: Remove conditional code.
12818         * malloc/obstack.h: Merge from gnulib master.
12819         [__cplusplus]: Move conditional down.
12820         [!__attribute_pure__]: Define __attribute_pure__ here
12821         if it is not already defined.
12822         (_obstack_memory_used): Mark as __attribute_pure__.
12823         [!__obstack_free]: Define as obstack_free.
12824         [__GNUC__]: Remove check for ancient NeXT gcc.
12826 2014-07-02  Will Newton  <will.newton@linaro.org>
12827             Paul Eggert  <eggert@cs.ucla.edu>
12829         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12831 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12833         * resolv/gethnamaddr.c: Add comment warning that the file is
12834         not maintained.
12836 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12838         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12839         entries.
12841         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12842         entry for aio_cancel and aio_cancel64.
12843         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12844         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12845         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12846         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12847         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12848         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12850         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12851         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12852         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12853         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12854         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12855         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12857 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12859         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12860         * nptl/pthread_mutex_lock.c: Likewise.
12861         * nptl/pthread_mutex_timedlock.c: Likewise.
12862         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12864 2014-07-01  Richard henderson  <rth@redhat.com>
12866         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12867         (__isnan, __isnanl): Remove.
12868         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12870         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12872 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12876 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12878         * resolv/nss_dns/dns-host.c (getanswer_r)
12879         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12881 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12884         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12885         undefine.
12886         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12887         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12889 2014-07-01  Roland McGrath <roland@hack.frob.com>
12891         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12892         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12894         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12895         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12897         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12898         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12899         ... here.
12900         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12901         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12903         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12904         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12905         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12906         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12908         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12909         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12910         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12911         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12912         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12913         Moved ...
12914         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12915         ... here.
12916         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12917         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12918         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12919         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12920         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12921         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12922         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12923         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12925         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12926         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12927         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12928         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12929         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12930         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12931         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12932         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12933         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12934         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12935         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12936         ... here.
12937         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12938         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12939         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12940         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12941         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12942         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12943         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12944         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12946 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12948         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12949         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12950         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12951         Add sysdep.
12953 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12957 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12959         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12960         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12962         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12964         * sysdeps/arm/libm-test-ulps: Regenerated.
12966 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12967             Roland McGrath <roland@hack.frob.com>
12969         * test-skeleton.c (signal_handler): Kill the whole process group
12970         before killing the child individually.
12971         (main): Report any failure on `setpgid'.
12973 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12975         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12976         from _TLS_H to _ARM_NPTL_TLS_H.
12977         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12978         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12980 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12982         [BZ #16539]
12983         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12984         (__expm1l): Return argument unchanged when small but not
12985         subnormal.
12987         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12988         include macro name.
12989         (_FP_UNPACK_RAW_1_P): Likewise.
12990         (_FP_PACK_RAW_1): Likewise.
12991         (_FP_PACK_RAW_1_P): Likewise.
12992         (_FP_MUL_MEAT_1_wide): Likewise.
12993         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12994         (_FP_MUL_MEAT_1_hard): Likewise.
12995         (_FP_DIV_MEAT_1_imm): Likewise.
12996         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12997         (_FP_DIV_MEAT_1_udiv): Likewise.
12998         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12999         (_FP_UNPACK_RAW_2): Likewise.
13000         (_FP_UNPACK_RAW_2_P): Likewise.
13001         (_FP_PACK_RAW_2): Likewise.
13002         (_FP_PACK_RAW_2_P): Likewise.
13003         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13004         (_FP_MUL_MEAT_2_wide): Likewise.
13005         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13006         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13007         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13008         (_FP_MUL_MEAT_2_gmp): Likewise.
13009         (_FP_DIV_MEAT_2_udiv): Likewise.
13010         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13011         (_FP_FRAC_SRL_4): Likewise.
13012         (_FP_FRAC_SRST_4): Likewise.
13013         (_FP_FRAC_SRS_4): Likewise.
13014         (_FP_UNPACK_RAW_4): Likewise.
13015         (_FP_UNPACK_RAW_4_P): Likewise.
13016         (_FP_PACK_RAW_4): Likewise.
13017         (_FP_PACK_RAW_4_P): Likewise.
13018         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13019         (_FP_MUL_MEAT_4_wide): Likewise.
13020         (_FP_MUL_MEAT_4_gmp): Likewise.
13021         (umul_ppppmnnn): Likewise.
13022         (_FP_DIV_MEAT_4_udiv): Likewise.
13023         (__FP_FRAC_ADD_4): Likewise.
13024         (__FP_FRAC_SUB_3): Likewise.
13025         (__FP_FRAC_SUB_4): Likewise.
13026         (__FP_FRAC_DEC_3): Likewise.
13027         (__FP_FRAC_DEC_4): Likewise.
13028         (__FP_FRAC_ADDI_4): Likewise.
13029         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13030         (_FP_FRAC_SRL_8): Likewise.
13031         (_FP_FRAC_SRS_8): Likewise.
13033         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13034         include macro name.
13035         (FP_UNPACK_RAW_EP): Likewise.
13036         (FP_PACK_RAW_E): Likewise.
13037         (FP_PACK_RAW_EP): Likewise.
13038         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13039         (_FP_ISSIGNAN): Likewise.
13040         (_FP_ADD_INTERNAL): Likewise.
13041         (_FP_FMA): Likewise.
13042         (_FP_CMP): Likewise.
13043         (_FP_SQRT): Likewise.
13044         (_FP_TO_INT): Likewise.
13045         (_FP_FROM_INT): Likewise.
13046         (FP_EXTEND): Likewise.
13047         (_FP_DIV_MEAT_N_loop): Likewise.
13049 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13051         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13052         throughout.
13054 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13056         [BZ #17097]
13057         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13058         result with correct sign in case of exponents that produce
13059         overflow except for X very close to 1.
13061 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13063         mktime: merge #if/#ifdef usage from glibc
13064         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13065         as that works with both Glibc's and Gnulib's style.
13066         See thread starting at Siddhesh Poyarekar's bug report at:
13067         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13069 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13071         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13072         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13073         * sysdeps/tile/tilegx/memmove.c: Remove file.
13075 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13077         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13078         abi-name definition.
13079         * scripts/soversions.awk: Do not handle or generate ABI lines.
13080         * shlib-versions: Remove ABI entries.
13081         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13082         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13084 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13087         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13088         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13089         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13091         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13093         Moved ...
13094         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13095         ... here.
13096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13097         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13099         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13101         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13103         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13107         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13109         Moved ...
13110         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13112         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13114         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13116         Moved ...
13117         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13119         Moved ...
13120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13122         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13124         Moved ...
13125         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13127         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13129         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13131         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13133         Moved ...
13134         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13136         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13137         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13138         Moved ...
13139         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13141         Moved ...
13142         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13144         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13146         Moved ...
13147         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13148         ... here.
13149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13150         Identical file removed.
13151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13152         Moved ...
13153         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13154         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13155         Identical file removed.
13156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13159         Moved ...
13160         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13162         Identical file removed.
13163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13164         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13166         Identical file removed.
13167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13168         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13170         Identical file removed.
13171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13172         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13174         Identical file removed.
13175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13176         Moved ...
13177         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13179         Identical file removed.
13180         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13181         Moved ...
13182         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13184         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13186         Identical file removed.
13187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13188         Moved ...
13189         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13190         ... here.
13191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13192         Identical file removed.
13193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13194         Moved ...
13195         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13197         Identical file removed.
13198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13199         Moved ...
13200         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13201         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13202         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13204         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13205         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13206         Moved ...
13207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13208         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13209         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13211         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13212         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13213         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13214         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13215         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13217 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13219         [BZ #17092]
13220         * nscd/nscd.c (monitor_child): Return exit status of child
13221         instead of return value from wait syscall.
13223 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13225         * configure.ac (libc_commonpagesize): Remove variable.
13226         (libc_relro_required): Likewise.
13227         (libc_cv_z_relro): Remove configure test.
13228         * configure: Regenerated.
13229         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13230         variable.
13231         (libc_relro_required): Likewise.
13232         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13233         (libc_relro_required): Likewise.
13234         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13235         (libc_relro_required): Likewise.
13236         * sysdeps/arm/preconfigure: Regenerated.
13237         * sysdeps/ia64/preconfigure: Remove file.
13238         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13239         variable.
13240         (libc_relro_required): Likewise.
13242         [BZ #16561]
13243         [BZ #16562]
13244         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13245         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13246         recompute overflowing results in original rounding mode.
13247         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13248         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13249         recompute overflowing results in original rounding mode.
13250         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13251         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13252         recompute overflowing results in original rounding mode.
13253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13254         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13255         recompute overflowing results in original rounding mode.
13256         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13257         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13258         recompute overflowing results in original rounding mode.
13259         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13260         (libc_feholdsetround_ctx): New macro.
13261         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13262         * sysdeps/i386/fpu/libm-test-ulps: Update.
13263         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13265 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13267         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13268         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13269         corresponding .cpsetup call.
13271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13273         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13274         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13275         * sysdeps/arm/Makefile [$(subdir) = csu]
13276         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13277         (static-only-routines): Add aeabi_read_tp here.
13278         (shared-only-routines): Add libc-aeabi_read_tp here.
13279         (CFLAGS-libc-start.c): Add -fexceptions here.
13280         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13281         (sysdep_routines, static-only-routines, shared-only-routines):
13282         Don't add to these here.
13283         (CFLAGS-libc-start.c): Likewise.
13285         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13286         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13287         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13288         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13289         * sysdeps/arm/Makefile [$(subdir) = rt]
13290         (librt-sysdep_routines, librt-shared-only-routines):
13291         Append rt-aeabi_unwind_cpp_pr1 here.
13292         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13293         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13294         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13295         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13296         Append nptl-aeabi_unwind_cpp_pr1 here.
13297         (tests): Filter out tst-cleanupx4 here.
13298         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13299         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13300         Don't do those here.
13302 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13304         * scripts/list-sources.sh: Do not handle ports specially.
13306 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13308         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13309         * sysdeps/arm/feupdateenv.c: Likewise.
13311         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13315         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13316         trailing whitespace removed.
13317         * scripts/config.guess: Update to version 2014-03-23.
13318         * scripts/config.sub: Update to version 2014-05-01
13319         * scripts/install-sh: Update to version 2013-12-25.23.
13320         * scripts/move-if-change: Update from gnulib.
13322 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13324         * debug/memmove_chk.c: Remove pagecopy.h include.
13326 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13328         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13329         identical to gnulib mktime.
13331 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13333         * configure.ac: Do not test for machine being rs6000.  Do not test
13334         for powerpc*-*soft.
13335         * configure: Regenerated.
13337         [BZ #11505]
13338         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13339         test.
13340         * configure: Regenerated.
13341         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13342         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13343         Remove configure test.
13344         * sysdeps/arm/configure: Regenerated.
13345         * sysdeps/nptl/configure.ac: Do not check
13346         libc_cv_asm_cfi_directives.
13347         * sysdeps/nptl/configure: Regenerated.
13348         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13349         * sysdeps/x86_64/nptl/configure: Remove generated file.
13350         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13351         unconditional.
13352         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13354 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13356         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13357         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13358         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13359         it is defined.
13361         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13362         instead of whether it is defined.
13363         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13364         * sysdeps/hppa/dl-machine.h: Likewise.
13365         * sysdeps/ia64/dl-machine.h: Likewise.
13366         * sysdeps/m68k/dl-machine.h: Likewise.
13367         * sysdeps/microblaze/dl-machine.h: Likewise.
13368         * sysdeps/mips/dl-machine.: Likewise.
13369         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13371         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13373         * sysdeps/sh/dl-machine.h: Likewise.
13374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13375         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13376         * sysdeps/tile/dl-machine.h: Likewise.
13377         * sysdeps/x86_64/dl-machine.h: Likewise.
13379         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13380         code.
13381         (verify_persistent_db): Likewise.
13383 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13386         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13388         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13390         Moved ...
13391         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13392         ... here.
13393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13394         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13396         Identical file removed.
13397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13400         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13402         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13406         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13408         Moved ...
13409         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13411         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13413         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13415         Moved ...
13416         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13418         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13420         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13422         Identical file removed.
13423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13424         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13426         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13428         Moved ...
13429         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13430         ... here.
13431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13432         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13434         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13436         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13440         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13442         Moved ...
13443         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13445         Moved ...
13446         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13448         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13450         Moved ...
13451         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13453         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13455         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13456         folded into ...
13457         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13458         * sysdeps/unix/sysv/linux/s390/Versions
13459         (libpthread: GLIBC_2.19): New version set.
13460         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13461         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13462         (librt: GLIBC_2.3.3): New version set.
13463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13464         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13465         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13467         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13468         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13469         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13470         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13471         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13472         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13473         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13474         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13475         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13476         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13477         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13478         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13479         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13480         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13481         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13482         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13483         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13484         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13485         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13487         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13489         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13491         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13493         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13494         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13499         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13501         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13503         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13505         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13507         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13509         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13510         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13511         (__libc_vfork): Define the function under this name.
13512         [!NOT_IN_libc] (__vfork): Make this an alias.
13513         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13515         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13516         (__libc_vfork): Define the function under this name.
13517         [!NOT_IN_libc] (__vfork): Make this an alias.
13518         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13519         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13520         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13526         code that was previously under [RESET_PID].
13527         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13528         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13531         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13532         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13533         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13534         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13535         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13536         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13537         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13538         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13539         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13540         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13541         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13542         Moved ...
13543         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13544         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13545         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13546         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13547         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13548         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13549         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13550         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13551         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13552         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13553         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13554         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13555         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13556         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13559         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13560         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13563         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13564         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13565         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13566         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13567         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13568         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13569         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13571         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13573 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13575         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13576         that was previously under [RESET_PID].
13577         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13579 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13581         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13582         not undefine and redefine.
13583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13584         [O_CLOEXEC]: Make code unconditional.
13585         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13586         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13587         <kernel-features.h>.
13588         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13589         conditional variable definition.
13590         (shm_open) [O_CLOEXEC]: Make code unconditional.
13591         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13592         code.
13594         * configure.ac (USE_REGPARMS): Don't define here.
13595         * configure: Regenerated.
13596         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13597         * sysdeps/i386/configure: Regenerated.
13599         * nptl/createthread.c: Don't include kernel-features.h.
13600         * nptl/pthread_cancel.c: Likewise.
13601         * nptl/pthread_condattr_setclock.c: Likewise.
13602         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13603         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13604         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13605         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13606         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13607         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13608         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13611         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13612         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13613         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13614         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13615         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13616         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13617         * nscd/gai.c: Likewise.
13618         * nss/nss_db/db-open.c: Likewise.
13619         * sysdeps/generic/ldsodefs.h: Likewise.
13620         * sysdeps/sh/nptl/tls.h: Likewise.
13621         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13622         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13623         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13624         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13625         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13626         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13627         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13630         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13631         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13632         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13633         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13634         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13635         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13636         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13637         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13638         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13639         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13640         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13643         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13644         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13649         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13650         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13651         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13652         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13653         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13654         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13656         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13657         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13658         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13659         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13660         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13661         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13662         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13663         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13664         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13665         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13666         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13667         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13668         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13669         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13670         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13671         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13672         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13673         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13674         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13675         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13676         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13677         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13678         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13701         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13702         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13703         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13704         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13705         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13707         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13708         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13709         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13710         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13711         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13712         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13713         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13714         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13715         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13716         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13719         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13720         * sysdeps/unix/sysv/linux/system.c: Likewise.
13721         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13722         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13723         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13724         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13725         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13726         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13729         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13730         * configure: Regenerated.
13731         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13733         * configure.ac (base_machine): Do not set specially for particular
13734         machines here.
13735         * configure: Regenerated.
13736         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13737         settings from configure.ac.
13738         * sysdeps/i386/preconfigure: New file.
13739         * sysdeps/s390/preconfigure: Likewise.
13740         * sysdeps/sh/preconfigure: Likewise.
13741         * sysdeps/sparc/preconfigure: Likewise.
13743 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13745         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13746         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13747         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13748         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13749         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13750         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13751         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13752         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13753         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13754         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13755         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13756         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13757         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13762         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13763         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13765         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13766         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13767         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13768         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13769         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13770         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13771         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13772         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13773         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13774         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13775         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13776         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13777         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13778         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13779         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13780         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13781         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13782         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13783         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13784         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13786         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13788         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13789         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13790         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13792         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13794         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13795         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13796         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13797         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13798         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13799         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13800         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13802         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13805         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13809         Moved ...
13810         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13811         ... here.
13812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13813         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13815         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13817         Moved ...
13818         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13820         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13822         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13824         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13826         Moved ...
13827         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13829         Moved ...
13830         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13832         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13834         Moved ...
13835         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13837         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13841         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13843         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13845         Moved ...
13846         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13847         ... here.
13848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13849         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13851         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13853         Moved ...
13854         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13856         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13860         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13862         Moved ...
13863         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13865         Moved ...
13866         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13868         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13870         Moved ...
13871         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13873         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13875         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13877 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13879         * timezone/checktab.awk: Update from tzcode 2014e.
13880         * timezone/private.h: Likewise.
13881         * timezone/tzfile.h: Likewise.
13882         * timezone/zdump.c: Likewise.
13883         * timezone/zic.c: Likewise.
13885         * sysdeps/unix/sysv/linux/kernel-features.h
13886         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13888         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13889         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13890         Remove conditional code.
13892 2014-06-25  Will Newton  <will.newton@linaro.org>
13894         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13895         (_dl_arm_cap_flags): Add HWCAP2 values.
13896         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13897         (_DL_HWCAP_COUNT): Increase to 37.
13898         (_DL_HWCAP_LAST): New define.
13899         (_DL_HWCAP2_LAST): New define.
13900         (_dl_procinfo): Add support for printing
13901         AT_HWCAP2 entries.
13902         (_dl_string_hwcap): Use _dl_hwcap_string.
13904 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13908 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13910         * README: Do not mention ports directory.
13912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13913         Remove macro.
13914         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13915         <kernel-features.h>.
13916         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13917         conditional variable definition.
13918         (__futimes): Update comment.
13919         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13920         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13922         [BZ #16560]
13923         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13924         arguments close to 0.
13925         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13926         Likewise.
13927         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13928         Likewise.
13929         * math/auto-libm-test-in: Add more tests of exp10.
13930         * math/auto-libm-test-out: Regenerated.
13931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13933         * sysdeps/unix/sysv/linux/kernel-features.h
13934         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13935         * sysdeps/unix/sysv/linux/readv.c: Do not include
13936         <kernel-features.h>.
13937         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13938         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13939         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13940         unconditional.
13941         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13942         conditional code.
13943         * sysdeps/unix/sysv/linux/writev.c: Do not include
13944         <kernel-features.h>.
13945         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13946         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13947         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13948         unconditional.
13949         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13950         conditional code.
13952 2014-06-25  Will Newton  <will.newton@linaro.org>
13954         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13955         comment changes throughout the file.  Remove checks
13956         for HAVE_*_H definitions that are not required.
13957         (__gen_tempname): Call abort if an unknown kind value is
13958         passed.
13960 2014-06-25  Andreas Schwab  <schwab@suse.de>
13962         [BZ #17086]
13963         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13964         scalbln, scalblnf, scalblnl in libc.
13966 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13968         [BZ #17086]
13969         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13970         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13971         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13973 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13975         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13976         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13977         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13978         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13979         Update #include.
13980         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13981         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13982         Update #include.
13983         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13984         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13985         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13987         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13988         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13989         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13990         * sysdeps/x86/bits/semaphore.h: ... here.
13991         * sysdeps/x86/nptl/elide.h: Moved ...
13992         * sysdeps/x86/elide.h: ... here.
13993         * sysdeps/x86_64/nptl/Implies: File removed.
13994         * sysdeps/i386/nptl/Implies: File removed.
13996 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13998         [BZ #16539]
13999         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14000         return the argument for normal arguments with exponent below -64.
14001         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14002         Likewise.
14003         * math/auto-libm-test-in: Add another test of expm1.
14004         * math/auto-libm-test-out: Regenerated.
14006         [BZ #16287]
14007         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14008         calling __erfcl for arguments at least 16.
14009         * math/auto-libm-test-in: Add more tests of erf.
14010         * math/auto-libm-test-out: Regenerated.
14012         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14013         individual architectures.
14014         * sysdeps/unix/sysv/linux/configure: Regenerated.
14015         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14016         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14017         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14018         (ldd_rewrite_script): Define variable.
14019         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14021         file.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14023         generated file.
14024         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14025         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14026         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14027         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14028         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14029         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14030         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14031         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14033 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14035         [BZ #17084]
14036         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14037         Rename member __data.d to __data.__elision_data.
14039 2014-06-24  Wilco  <wdijkstr@arm.com>
14041         * NEWS: Add 16918 to fixed bug list.
14043 2014-06-24  Wilco  <wdijkstr@arm.com>
14045         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14047 2014-06-24  Wilco  <wdijkstr@arm.com>
14049         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14050         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14051         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14052         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14053         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14054         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14055         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14056         Use _FPU_MASK_RM.
14058 2014-06-24  Wilco  <wdijkstr@arm.com>
14060         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14062 2014-06-24  Wilco  <wdijkstr@arm.com>
14064         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14065         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14066         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14067         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14069 2014-06-24  Wilco  <wdijkstr@arm.com>
14071         [BZ #16918]
14072         * sysdeps/arm/feupdateenv.c (feupdateenv):
14073         Rewrite to reduce FPSCR accesses and fix return value.
14075 2014-06-24  Wilco  <wdijkstr@arm.com>
14077         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14078         Optimize to avoid unnecessary FPSCR writes.
14079         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14080         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14081         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14082         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14084 2014-06-24  Wilco  <wdijkstr@arm.com>
14086         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14087         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14088         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14089         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14090         Call libc_fetestexcept_vfp.
14091         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14092         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14093         __SOFTFP__ ifdef so that they can be built for softfp.
14095 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14097         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14098         argument type signed char.
14100         * Makerules (check-abi): Dump diff of symlist if the test
14101         fails.
14103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14105         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14106         using abort.
14108         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14109         Remove unused variable ST.
14111 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14113         [BZ #16354]
14114         [BZ #17061]
14115         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14116         small arguments before calling __expm1.
14117         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14118         small arguments before calling __expm1f.
14119         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14120         small arguments before calling __expm1l.
14121         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14122         Likewise.
14123         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14124         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14125         spurious underflow for some cosh tests.
14126         * math/auto-libm-test-out: Regenerated.
14127         * sysdeps/i386/fpu/libm-test-ulps: Update.
14129         [BZ #17050]
14130         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14131         (__ieee754_y1): Set errno if return value overflows.
14132         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14133         (__ieee754_y1f): Set errno if return value overflows.
14134         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14135         (__ieee754_y1l): Set errno if return value overflows.
14136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14137         (__ieee754_y1l): Set errno if return value overflows.
14138         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14139         * math/auto-libm-test-out: Regenerated.
14141         * math/gen-auto-libm-tests.c: Document use of
14142         ignore-zero-inf-sign.
14143         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14144         (input_flags): Add ignore-zero-inf-sign.
14145         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14146         * math/gen-libm-test.pl (generate_testfile): Handle
14147         ignore-zero-inf-sign.
14148         * math/auto-libm-test-in: Mark some cpow tests with
14149         ignore-zero-inf-sign and some with xfail-rounding.
14150         * math/auto-libm-test-out: Regenerated.
14151         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14152         * sysdeps/i386/fpu/libm-test-ulps: Update.
14153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14155         [BZ #16315]
14156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14157         overflowing or underflowing operations take place with sign of
14158         result.
14159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14161         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14162         (__ieee754_pow): Recompute overflowing and underflowing results in
14163         original rounding mode.
14164         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14165         (__powl_helper): Allow negative argument X and scale negated value
14166         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14168         overflowing or underflowing operations take place with sign of
14169         result.
14170         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14171         Include <math.h>.
14172         * math/auto-libm-test-in: Add more tests of pow.
14173         * math/auto-libm-test-out: Regenerated.
14174         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14175         (pow_tonearest_test_data): Remove.
14176         (pow_test_tonearest): Likewise.
14177         (pow_towardzero_test_data): Likewise.
14178         (pow_test_towardzero): Likewise.
14179         (pow_downward_test_data): Likewise.
14180         (pow_test_downward): Likewise.
14181         (pow_upward_test_data): Likewise.
14182         (pow_test_upward): Likewise.
14183         (main): Don't call removed functions.
14184         * sysdeps/i386/fpu/libm-test-ulps: Update.
14185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14187 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14190         Moved ...
14191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14193         Moved ...
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14196         Moved ...
14197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14199         Moved ...
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14202         File removed.
14203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14204         File removed.
14205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14206         File removed.
14207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14208         File removed.
14209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14210         File removed.
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14212         File removed.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14214         File removed.
14215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14216         File removed.
14217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14218         File removed.
14219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14220         File removed.
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14222         File removed.
14223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14224         File removed.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14226         Moved ...
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14229         Moved ...
14230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14231         ... here.
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14233         Moved ...
14234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14236         Moved ...
14237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14239         Moved ...
14240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14242         Moved ...
14243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14245         Moved ...
14246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14248         Moved ...
14249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14251         Moved ...
14252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14255         ... here.
14256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14257         Moved ...
14258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14260         Moved ...
14261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14262         ... here.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14264         Moved ...
14265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14266         ... here.
14267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14268         Moved ...
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14270         ... here.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14272         Moved ...
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14275         Moved ...
14276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14280         Moved ...
14281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14282         ... here.
14283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14284         Moved ...
14285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14286         ... here.
14287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14288         Moved ...
14289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14291         Moved ...
14292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14294         Moved ...
14295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14297         Moved ...
14298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14300         Moved ...
14301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14302         ... here.
14303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14304         Moved ...
14305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14307         Moved ...
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14310         Moved ...
14311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14313         Moved ...
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14318         Moved ...
14319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14321         Moved ...
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14324         Moved ...
14325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14326         ... here.
14327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14328         Moved ...
14329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14330         ... here.
14331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14332         Moved ...
14333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14334         ... here.
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14336         Moved ...
14337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14339         Moved ...
14340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14342         Moved ...
14343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14345         Moved ...
14346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14347         ... here.
14348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14349         Moved ...
14350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14351         ... here.
14352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14353         Moved ...
14354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14355         ... here.
14356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14357         Moved ...
14358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14360         Moved ...
14361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14363 2014-06-23  Will Newton  <will.newton@linaro.org>
14364             Wilco  <wdijkstr@arm.com>
14366         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14367         implementation.  Include get-rounding-mode.h.
14368         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14369         [!libc_feholdsetround_noex_ctx]: Define
14370         libc_feholdsetround_noex_ctx.
14371         [!libc_feholdsetround_noexf_ctx]: Define
14372         libc_feholdsetround_noexf_ctx.
14373         [!libc_feholdsetround_noexl_ctx]: Define
14374         libc_feholdsetround_noexl_ctx.
14375         (libc_feholdsetround_ctx): New function.
14376         (libc_feresetround_ctx): New function.
14377         (libc_feholdsetround_noex_ctx): New function.
14378         (libc_feresetround_noex_ctx): New function.
14380 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14383         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14384         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14385         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14386         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14387         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14389         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14390         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14391         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14392         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14393         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14394         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14395         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14396         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14398         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14400         Moved ...
14401         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14402         ... here.
14403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14404         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14405         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14406         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14408         Moved ...
14409         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14411         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14413         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14415         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14417         Moved ...
14418         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14420         Moved ...
14421         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14423         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14425         Moved ...
14426         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14428         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14429         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14430         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14431         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14432         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14434         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14435         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14436         Moved ...
14437         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14438         ... here.
14439         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14440         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14444         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14446         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14448         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14450         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14452         Moved ...
14453         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14455         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14457         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14459         Moved ...
14460         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14462         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14463         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14464         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14466         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14467         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14468         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14469         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14470         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14471         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14472         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14473         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14475         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14476         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14477         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14478         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14479         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14480         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14481         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14482         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14483         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14484         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14485         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14486         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14487         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14488         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14489         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14490         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14491         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14492         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14493         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14495 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14498         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14499         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14500         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14501         (IPV6_PMTUDISC_INTERFACE): Likewise.
14502         (IPV6_PMTUDISC_OMIT): Likewise.
14504 2014-06-23  Andreas Schwab  <schwab@suse.de>
14506         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14507         Remove unused errout label.
14509 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14511         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14512         macro: hardware supports Vector Crypto instructions.
14514 2014-06-23  Will Newton  <will.newton@linaro.org>
14516         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14517         rather than __builtin_expect.
14519         * elf/dl-lookup.c (undefined_msg): Remove variable.
14520         (_dl_lookup_symbol_x): Replace undefined_msg with string
14521         literal.
14523         * elf/dl-lookup.c (do_lookup_unique): New function.
14524         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14525         to a separate function.
14527 2014-06-23  Andreas Schwab  <schwab@suse.de>
14529         [BZ #17079]
14530         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14531         before reading the next line.
14533 2014-06-23  Will Newton  <will.newton@linaro.org>
14535         * test-skeleton.c (signal_handler): Use printf and %m
14536         rather than perror.  Use printf rather than fprintf to
14537         stderr.  Use puts rather than fputs to stderr.
14538         (main): Likewise.
14540 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14542         * nscd/nscd.c (thread_info_t): Remove typedef.
14543         (thread_info): Remove variable.
14545 2014-06-21  Allan McRae  <allan@archlinux.org>
14547         * NEWS: Mention CVE-2014-4043.
14549 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14551         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14552         * nptl/smp.h: ... here.
14554         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14556         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14557         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14558         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14559         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14561         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14562         * nptl/stack-aliasing.h: New file.
14563         * sysdeps/i386/i686/stack-aliasing.h: New file.
14564         * sysdeps/i386/i686/nptl/Makefile: File removed.
14565         * sysdeps/x86_64/stack-aliasing.h: New file.
14566         * sysdeps/x86_64/nptl/Makefile
14567         (CFLAGS-pthread_create.c): Variable removed.
14569         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14570         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14571         old file.
14572         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14573         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14574         old file.
14576 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14579         (__ASSUME_SIGFRAME_V2): Remove macro.
14580         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14581         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14582         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14583         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14584         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14585         Declare as function.  Remove conditional macro definitions.
14586         (__default_rt_sa_restorer): Likewise.
14587         (__default_sa_restorer_v1): Remove declaration.
14588         (__default_sa_restorer_v2): Likewise.
14589         (__default_rt_sa_restorer_v1): Likewise.
14590         (__default_rt_sa_restorer_v2): Likewise.
14591         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14592         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14593         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14595 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14597         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14598         (libpthread-routines): Add sysdep.
14599         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14600         * sysdeps/unix/sysv/linux/sparc/Versions
14601         (libpthread: GLIBC_2.3.3): New version set.
14602         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14603         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14604         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14605         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14606         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14607         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14608         Moved ...
14609         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14610         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14611         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14612         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14613         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14614         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14615         * sysdeps/sparc/nptl/sem_init.c: ... here.
14616         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14617         * sysdeps/sparc/nptl/sem_post.c: ... here.
14618         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14619         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14620         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14621         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14622         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14623         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14624         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14625         (libpthread-routines): Add cpu_relax.
14626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14627         File removed.
14628         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14629         (librt: GLIBC_2.3.3): New version set.
14630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14631         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14633         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14636         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14638         Moved ...
14639         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14641         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14643         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14645         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14647         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14649         Moved ...
14650         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14651         Update #include.
14652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14653         Moved ...
14654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14655         Update #include.
14656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14657         Moved ...
14658         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14659         Update #include.
14660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14661         Moved ...
14662         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14663         Update #include.
14664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14665         Moved ...
14666         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14667         Update #include.
14668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14669         Moved ...
14670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14671         Update #include.
14672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14673         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14679         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14681         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14683         Moved ...
14684         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14686         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14688         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14690 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14692         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14693         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14694         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14695         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14696         * nscd/nscd.c: Likewise.
14697         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14698         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14699         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14700         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14703         <kernel-features.h>.
14704         (init_mq_netlink): Remove conditional have_sock_cloexec
14705         definitions.  Remove code conditional on have_sock_cloexec < 0.
14706         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14707         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14708         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14709         <kernel-features.h>.
14710         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14711         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14713 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14716         Add tests for memset_chk and memset.
14718         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14719         with AVX2_Usable.
14721 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14723         [BZ #16046]
14724         * elf/tst-dl-iter-static.c: New file.
14725         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14727         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14728         error.
14730 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14732         * sysdeps/unix/sysv/linux/kernel-features.h
14733         (__ASSUME_F_GETOWN_EX): Remove macro.
14734         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14735         <kernel-features.h>.
14736         (miss_F_GETOWN_EX): Remove variable or macro.
14737         (do_fcntl): Do not check miss_F_GETOWN_EX.
14738         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14741         Remove macro.
14742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14743         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14744         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14746         * sysdeps/unix/sysv/linux/kernel-features.h
14747         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14748         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14749         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14750         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14752 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14754         [BZ #17075]
14755         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14756         Fix calculation of the symbol's value.
14757         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14758         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14759         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14760         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14761         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14762         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14763         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14764         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14765         (modules-names): Add `tst-armtlsdescmod',
14766         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14767         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14768         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14769         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14770         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14771         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14772         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14773         ($(objpfx)tst-armtlsdescloc): New dependency.
14774         ($(objpfx)tst-armtlsdescextnow): Likewise.
14775         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14776         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14777         TLS scheme support.
14778         * sysdeps/arm/configure: Regenerate.
14780 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14782         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14783         (__atfct_seterrno_2): Likewise.
14784         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14785         <kernel-features.h>.
14786         (__ASSUME_ATFCTS): Do not undefine and redefine.
14787         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14788         (__have_atfcts): Remove conditional definition.
14789         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14790         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14791         unreachable if [__ASSUME_ATFCTS].
14792         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14793         not undefine and redefine.
14794         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14795         <kernel-features.h>.
14796         (faccessat) [__NR_faccessat]: Make code unconditional.
14797         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14798         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14799         <kernel-features.h>.
14800         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14801         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14802         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14803         <kernel-features.h>.
14804         (fchownat) [__NR_fchownat]: Make code unconditional.
14805         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14806         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14807         <kernel-features.h>.
14808         (futimesat) [__NR_futimesat]: Make code unconditional.
14809         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14810         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14811         <kernel-features.h>.
14812         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14813         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14814         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14815         <kernel-features.h>.
14816         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14817         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14818         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14819         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14820         <kernel-features.h>.
14821         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14823         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14824         <kernel-features.h>.
14825         (linkat) [__NR_linkat]: Make code unconditional.
14826         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14827         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14828         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14829         <kernel-features.h>.
14830         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14831         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14832         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14833         <kernel-features.h>.
14834         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14835         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14836         * sysdeps/unix/sysv/linux/openat.c: Do not include
14837         <kernel-features.h>.
14838         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14839         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14840         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14841         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14842         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14843         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14844         <kernel-features.h>.
14845         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14846         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14847         result of INLINE_SYSCALL directly, not via int variable.
14848         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14849         <kernel-features.h>.
14850         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14851         (renameat) [__NR_renameat]: Make code unconditional.
14852         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14853         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14854         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14855         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14856         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14857         (__ASSUME_ATFCTS): Do not undefine and redefine.
14858         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14859         <kernel-features.h>.
14860         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14861         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14862         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14863         <kernel-features.h>.
14864         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14865         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14866         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14867         (__ASSUME_ATFCTS): Do not undefine and redefine.
14868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14869         <kernel-features.h>.
14870         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14871         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14872         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14873         <kernel-features.h>.
14874         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14875         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14877 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14879         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14881 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14883         [BZ #17069]
14884         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14885         constructed tree before returning error.
14886         * posix/bug-regexp36.c: Expand test case.
14888 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14890         [BZ #6803]
14891         * math/libm-test.inc (scalbln_test_date):
14892         Add errno expectations.
14893         * math/w_scalblnf.c: New File.
14894         Add wrapper which checks for setting errno to ERANGE.
14895         Add weak_alias for corresponding scalbln function.
14896         * math/w_scalbln.c: Likewise.
14897         * math/w_scalblnl.c: Likewise.
14898         * math/Makefile (libm-calls): Add w_scalbln.
14899         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14900         Remove weak_alias for corresponding scalbln function.
14901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14903         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14905         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14906         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14907         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14908         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14910         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14911         Remove long_double_symbol for scalblnl function in libm, libc.
14912         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14913         Add wrapper which checks for setting errno to ERANGE.
14914         Add long_double_symbol for scalblnl function in libm, libc.
14915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14916         Remove long_double_symbol for scalblnl in libm.
14917         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14918         Add wrapper which checks for setting errno to ERANGE.
14919         Add long_double_symbol for scalblnl function in libm.
14920         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14921         Do not use wrapper because of own implementation.
14923 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14925         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14926         3 bytes for __pad1 for x32.
14927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14929 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14930             H.J. Lu  <hongjiu.lu@intel.com>
14932         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14933         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14934         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14936         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14938 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14940         [BZ #17069]
14941         * posix/regcomp.c (parse_expression): Deallocate partially
14942         constructed tree before returning error.
14943         * posix/Makefile.c (tests): Add bug-regex36.
14944         (generated): Add bug-regex36.mtrace.
14945         (tests-special): Add $(objpfx)bug-regex36-mem.out
14946         (bug-regex36-ENV): New variable.
14947         ($(objpfx)bug-regex36-mem.out): New rule.
14948         * posix/bug-regex36.c: New file.
14950 2014-06-19  Will Newton  <will.newton@linaro.org>
14952         * malloc/malloc.c (systrim): If extra is zero then return
14953         early.
14955 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14957         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14959 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14961         * sysdeps/aarch64/strchr.S: New file.
14963 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14965         [BZ #17022]
14966         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14967         from arguments -2 or below.
14968         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14969         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14971 2014-06-18  Andreas Schwab  <schwab@suse.de>
14973         [BZ #17062]
14974         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14975         of a bracket expr not to run off the end of the string.
14976         * posix/Makefile (tests): Add tst-fnmatch3.
14977         * posix/tst-fnmatch3.c: New file.
14979 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14981         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14982         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14983         [$(cross-compiling) = no]: Likewise.
14984         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14985         [$(cross-compiling) = no]: Likewise.
14987 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14989         [BZ #17031]
14990         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14991         double, adjusted for any remainder from the high double.
14992         * math/libm-test.inc (nearbyint): Add tests.
14993         (rint): Likewise.
14995 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14997         * nptl/sysdeps/powerpc/Makefile: Moved ...
14998         * sysdeps/powerpc/nptl/Makefile: ... here.
14999         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15000         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15001         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15002         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15003         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15004         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15005         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15006         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15007         * nptl/sysdeps/powerpc/tls.h: Moved ...
15008         * sysdeps/powerpc/nptl/tls.h: ... here.
15010 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15012         [BZ #16681]
15013         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15014         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15015         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15016         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15017         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15018         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15019         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15020         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15021         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15023 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15025         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15027 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15029         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15030         defined operator.
15032         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15033         $TIMEOUTFACTOR.
15035 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15037         [BZ #17058]
15038         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15039         non-executed part of the test.
15041 2014-06-16  Andreas Schwab  <schwab@suse.de>
15043         * string/bits/string2.h (strdup, strndup): Update feature guard.
15045 2014-06-14  David S. Miller  <davem@davemloft.net>
15047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15049 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15051         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15052         that was previously under [RESET_PID].
15053         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15055         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15056         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15057         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15058         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15059         (__libc_vfork): New strong alias.
15060         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15062 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15064         * sysdeps/generic/elide.h: New file.
15066 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15068         * Makefile (installed-headers): Adjust path of pthread.h header.
15070 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15073         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15075         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15077         * nptl/sysdeps/s390/Makefile: Moved ...
15078         * sysdeps/s390/nptl/Makefile: ... here.
15079         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15080         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15081         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15082         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15083         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15084         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15085         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15086         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15087         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15088         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15089         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15090         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15091         * nptl/sysdeps/s390/tls.h: Moved ...
15092         * sysdeps/s390/nptl/tls.h: ... here.
15094         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15095         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15097 2014-06-13  David S. Miller  <davem@davemloft.net>
15099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15102         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15106         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15107         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15108         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15109         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15110         Remove RESET_PID cpp guards.
15111         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15112         Remove RESET_PID cpp guards.
15113         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15115 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15117         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15118         __sp to uintptr_t.
15120 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15122         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15133         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15136         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15143         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15144         (pthread_rwlock_rdlock): Add elision.
15145         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15146         (pthread_rwlock_wrlock): Add elision.
15147         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15148         (pthread_rwlock_trywrlock): Add elision.
15149         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15150         (pthread_rwlock_tryrdlock): Add elision.
15151         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15152         (pthread_rwlock_tryrdlock): Add elision unlock.
15153         * nptl/sysdeps/pthread/pthread.h:
15154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15155         (PTHREAD_RWLOCK_INITIALIZER,
15156         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15157         Handle new elision field.
15158         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15159         * sysdeps/arm/nptl/bits/pthreadtypes.h
15160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15161         * sysdeps/sh/nptl/bits/pthreadtypes.h
15162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15163         * sysdeps/tile/nptl/bits/pthreadtypes.h
15164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15165         * sysdeps/a/nptl/bits/pthreadtypes.h
15166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15167         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15168         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15169         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15171         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15175         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15177         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15179         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15181         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15183         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15184         (elision_init): Set try_xbegin to zero when no RTM.
15185         * sysdeps/x86/nptl/bits/pthreadtypes.h
15186         (pthread_rwlock_t): Change __pad1 to __rwelision.
15187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15189 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15191         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15192         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15193         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15194         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15196 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15198         [BZ #16996]
15199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15200         that the cached result has been set before returning it.
15202 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15204         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15205         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15206         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15207         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15208         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15209         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15211         * nptl/sysdeps/sparc/Makefile: Moved ...
15212         * sysdeps/sparc/nptl/Makefile: ... here.
15213         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15214         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15215         * nptl/sysdeps/sparc/tls.h: Moved ...
15216         * sysdeps/sparc/nptl/tls.h: ... here.
15217         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15218         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15219         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15220         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15221         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15222         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15223         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15224         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15226         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15227         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15228         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15229         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15230         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15231         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15232         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15233         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15234         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15235         Update #include.
15236         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15238         Update #include.
15239         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15241         Update #include.
15242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15244         Update #include.
15246         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15248         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15249         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15251         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15252         (struct list_links): Type removed.
15253         (struct thread_node, struct timer_node): Replace struct list_links
15254         with struct list_head.
15255         (list_unlink_ip): Likewise.
15256         * sysdeps/pthread/timer_routines.c
15257         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15258         (list_append, list_insbefore): Likewise.
15259         (list_init): Function removed.
15260         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15261         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15262         * sysdeps/pthread/Makefile: ... here, new file.
15264         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15265         * sysdeps/nptl/Implies: ... here.
15266         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15267         * nptl/sysdeps/pthread/list.h: Moved ...
15268         * include/list.h: ... here.
15269         * nptl/sysdeps/pthread/createthread.c: Moved ...
15270         * nptl/createthread.c: ... here.
15271         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15272         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15273         * nptl/pt-longjmp.c: ... here.
15274         * nptl/sysdeps/pthread/Makefile: Moved ...
15275         * sysdeps/nptl/Makefile: ... here.
15276         * nptl/sysdeps/pthread/Subdirs: Moved ...
15277         * sysdeps/nptl/Subdirs: ... here.
15278         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15279         * sysdeps/nptl/aio_misc.h: ... here.
15280         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15281         * sysdeps/nptl/bits/libc-lock.h: ... here.
15282         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15283         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15284         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15285         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15286         * nptl/sysdeps/pthread/configure: Moved ...
15287         * sysdeps/nptl/configure: ... here.
15288         * nptl/sysdeps/pthread/configure.ac: Moved ...
15289         * sysdeps/nptl/configure.ac: ... here.
15290         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15291         * sysdeps/nptl/gai_misc.h: ... here.
15292         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15293         * sysdeps/nptl/librt-cancellation.c: ... here.
15294         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15295         * sysdeps/nptl/malloc-machine.h: ... here.
15296         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15297         * sysdeps/nptl/pthread-functions.h: ... here.
15298         * nptl/sysdeps/pthread/pthread.h: Moved ...
15299         * sysdeps/nptl/pthread.h: ... here.
15300         * nptl/sysdeps/pthread/setxid.h: Moved ...
15301         * sysdeps/nptl/setxid.h: ... here.
15302         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15303         * sysdeps/nptl/sigfillset.c: ... here.
15304         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15305         * sysdeps/nptl/tcb-offsets.h: ... here.
15306         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15307         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15308         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15309         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15310         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15311         * sysdeps/pthread/allocalim.h: ... here.
15312         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15313         * sysdeps/pthread/bits/sigthread.h: ... here.
15314         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15315         * sysdeps/pthread/flockfile.c: ... here.
15316         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15317         * sysdeps/pthread/ftrylockfile.c: ... here.
15318         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15319         * sysdeps/pthread/funlockfile.c: ... here.
15320         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15321         * sysdeps/pthread/posix-timer.h: ... here.
15322         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15323         * sysdeps/pthread/timer_create.c: ... here.
15324         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15325         * sysdeps/pthread/timer_delete.c: ... here.
15326         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15327         * sysdeps/pthread/timer_getoverr.c: ... here.
15328         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15329         * sysdeps/pthread/timer_gettime.c: ... here.
15330         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15331         * sysdeps/pthread/timer_routines.c: ... here.
15332         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15333         * sysdeps/pthread/timer_settime.c: ... here.
15334         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15335         * sysdeps/pthread/tst-timer.c: ... here.
15336         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15337         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15339         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15340         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15342         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15343         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15344         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15345         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15346         Update #include target.
15347         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15348         * sysdeps/i386/i686/nptl/Makefile: ... here.
15349         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15350         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15351         Update #include target.
15352         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15353         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15354         * nptl/sysdeps/i386/Makefile: Moved ...
15355         * sysdeps/i386/nptl/Makefile: ... here.
15356         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15357         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15358         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15359         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15360         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15361         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15362         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15363         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15364         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15365         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15366         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15367         * nptl/sysdeps/i386/tls.h: Moved ...
15368         * sysdeps/i386/nptl/tls.h: ... here.
15370         * sysdeps/sh/Makefile [$(subdir) = csu]
15371         (gen-as-const-headers): Add tcb-offsets.sym.
15372         * nptl/sysdeps/sh/Makefile: File removed.
15373         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15374         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15375         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15376         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15377         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15378         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15379         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15380         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15381         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15382         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15383         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15384         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15385         * nptl/sysdeps/sh/tls.h: Moved ...
15386         * sysdeps/sh/nptl/tls.h: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15388         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15390         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15392         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15393         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15394         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15395         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15396         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15397         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15399         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15400         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15401         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15402         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15403         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15404         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15405         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15406         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15407         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15408         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15409         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15410         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15411         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15412         Moved ...
15413         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15415         Moved ...
15416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15418         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15420         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15421         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15422         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15423         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15424         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15425         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15426         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15427         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15428         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15429         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15430         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15431         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15432         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15433         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15434         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15436 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15438         * posix/spawn_faction_addopen.c: Include string.h.
15440 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15442         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15443         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15444         * nptl/sysdeps/x86_64/Makefile: Moved ...
15445         * sysdeps/x86_64/nptl/Makefile: ... here.
15446         * nptl/sysdeps/x86_64/configure: Moved ...
15447         * sysdeps/x86_64/nptl/configure: ... here.
15448         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15449         * sysdeps/x86_64/nptl/configure.ac: ... here.
15450         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15451         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15452         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15453         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15454         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15455         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15456         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15457         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15458         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15459         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15460         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15461         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15462         * nptl/sysdeps/x86_64/tls.h: Moved ...
15463         * sysdeps/x86_64/nptl/tls.h: ... here.
15464         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15465         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15466         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15467         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15469         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15471 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15475 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15477         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15478         type.
15479         [POSIX] (off_t): Likewise.
15480         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15481         [POSIX] (S_ISBLK): Require macro.
15482         [POSIX] (S_ISCHR): Likewise.
15483         [POSIX] (S_ISDIR): Likewise.
15484         [POSIX] (S_ISFIFO): Likewise.
15485         [POSIX] (S_ISREG): Likewise.
15486         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15487         optional-macro.
15488         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15489         type.
15490         [POSIX] (time_t): Likewise.
15491         [POSIX] (timer_t): Likewise.
15493 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15495         [BZ #17048]
15496         * posix/spawn_int.h (struct __spawn_action): Make the path string
15497         non-const to support deallocation.
15498         * posix/spawn_faction_addopen.c
15499         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15500         * posix/spawn_faction_destroy.c
15501         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15502         path in all spawn_do_open actions.
15503         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15504         posix_spawn_file_actions_addopen.
15506 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15508         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15509         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15510         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15511         conditional code always true.
15512         (__libc_vfork): New alias.
15514 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15516         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15517         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15519         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15521         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15522         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15524         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15525         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15527         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15528         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15530 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15532         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15533         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15534         multiarch strcmp for PPC64.
15535         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15536         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15538         multiarch optimizations.
15539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15540         (__libc_ifunc_impl_list): Likewise.
15542 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15544         * benchtests/scripts/validate_benchout.py: New script.
15545         * benchtests/Makefile (bench-func): Call it.
15546         * benchtests/scripts/benchout.schema.json: New file.
15548 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15550         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15551         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15552         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15553         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15554         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15555         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15556         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15557         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15558         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15559         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15560         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15562         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15563         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15564         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15565         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15567         Moved ...
15568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15569         ... here.
15570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15571         Moved ...
15572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15574         Moved ...
15575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15576         ... here.
15577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15578         Moved ...
15579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15580         ... here.
15581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15582         Moved ...
15583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15585         Moved ...
15586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15587         ... here.
15588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15589         Moved ...
15590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15591         ... here.
15592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15593         Moved ...
15594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15596         Moved ...
15597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15598         ... here.
15599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15600         Moved ...
15601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15602         ... here.
15603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15604         Moved ...
15605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15606         ... here.
15607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15608         Moved ...
15609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15611         Moved ...
15612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15613         ... here.
15614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15615         Moved ...
15616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15617         ... here.
15618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15619         Moved ...
15620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15621         ... here.
15622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15623         Moved ...
15624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15626         Moved ...
15627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15628         ... here.
15629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15632         ... here.
15633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15634         Moved ...
15635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15637         Moved ...
15638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15639         ... here.
15640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15641         Moved ...
15642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15644         Moved ...
15645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15647         Moved ...
15648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15649         ... here.
15650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15651         Moved ...
15652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15653         ... here.
15654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15655         Moved ...
15656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15657         ... here.
15658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15659         Moved ...
15660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15662         Moved ...
15663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15664         ... here.
15665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15666         Moved ...
15667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15668         ... here.
15669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15670         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15671         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15674         Moved ...
15675         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15676         ... here.
15677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15678         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15680         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15681         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15682         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15684         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15688         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15690         Moved ...
15691         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15693         Moved ...
15694         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15696         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15698         Moved ...
15699         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15701         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15702         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15703         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15704         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15705         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15707 2014-06-10  Wilco  <wdijkstr@arm.com>
15709         * math/test-fenv-return.c: New file.
15710         * math/Makefile: Add new test test-fenv-return.
15712 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15714         [BZ #17042]
15715         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15716         when x - 1 is zero.
15717         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15718         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15719         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15720         0.0L for an argument of 1.0L.
15721         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15722         Likewise.
15723         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15724         value when x - 1 is zero.
15725         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15726         * sysdeps/i386/fpu/libm-test-ulps: Update.
15727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15729 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15731         [BZ #15119]
15732         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15734 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15736         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15737         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15739 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15741         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15742         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15744         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15745         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15747         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15748         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15750         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15751         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15753         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15754         if not already defined.
15755         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15756         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15757         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15758         (TLS_INIT_TP): Use it.
15759         (TLS_DEFINE_INIT_TP): New macro.
15760         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15762 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15764         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15765         constant.
15766         [POSIX] (IXANY): Likewise.
15767         [POSIX] (OLCUC): Likewise.
15768         [POSIX || POSIX2008] (CBAUD): Do not allow.
15769         [POSIX || POSIX2008] (DEFECHO): Likewise.
15770         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15771         [POSIX || POSIX2008] (ECHOKE): Likewise.
15772         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15773         [POSIX || POSIX2008] (EXTA): Likewise.
15774         [POSIX || POSIX2008] (EXTB): Likewise.
15775         [POSIX || POSIX2008] (FLUSHO): Likewise.
15776         [POSIX || POSIX2008] (LOBLK): Likewise.
15777         [POSIX || POSIX2008] (PENDIN): Likewise.
15778         [POSIX || POSIX2008] (SWTCH): Likewise.
15779         [POSIX || POSIX2008] (VDISCARD): Likewise.
15780         [POSIX || POSIX2008] (VDSUSP): Likewise.
15781         [POSIX || POSIX2008] (VLNEXT): Likewise.
15782         [POSIX || POSIX2008] (VREPRINT): Likewise.
15783         [POSIX || POSIX2008] (VSTATUS): Likewise.
15784         [POSIX || POSIX2008] (VWERASE): Likewise.
15785         (B*): Change to B[0123456789]*.
15786         * conform/data/time.h-data [POSIX || UNIX98]
15787         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15788         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15789         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15790         [POSIX] (tm_*): Do not allow.
15792 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15794         * Makefile (install): Don't set LANGUAGE.
15795         * Makefile.in (install): Likewise.
15796         * assert/Makefile (test-assert-ENV): Remove variable.
15797         (test-assert-perr-ENV): Likewise.
15798         * elf/Makefile (neededtest4-ENV): Likewise.
15799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15800         [$(cross-compiling) = no]: Don't set LANGUAGE.
15801         * io/ftwtest-sh (LANG): Remove variable.
15802         * libio/Makefile (tst-widetext-ENV): Likewise.
15803         * manual/install.texi (Running make install): Don't refer to
15804         environment settings for make install.
15805         * INSTALL: Regenerated.
15806         * nptl/tst-tls6.sh: Don't set LANG.
15807         * posix/globtest.sh (LANG): Remove variable.
15808         * string/Makefile (tester-ENV): Likewise.
15809         (inl-tester-ENV): Likewise.
15810         (noinl-tester-ENV): Likewise.
15811         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15812         [$(cross-compiling) = no]: Don't set LANGUAGE.
15813         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15814         without explicit environment settings.
15816 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15818         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15819         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15820         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15821         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15823 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15825         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15826         other files in the crypt directory.
15827         * crypt/crypt.c: Remove duplicate includes.
15828         * crypt/crypt-entry.c: Likewise.
15829         * crypt/crypt_util.c: Likewise.
15831 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15833         * Makeconfig (run-program-env): New variable.
15834         (run-program-prefix-before-env): Likewise.
15835         (run-program-prefix-after-env): Likewise.
15836         (run-program-prefix): Define in terms of new variables.
15837         (built-program-cmd-before-env): New variable.
15838         (built-program-cmd-after-env): Likewise.
15839         (built-program-cmd): Define in terms of new variables.
15840         (test-program-prefix-before-env): New variable.
15841         (test-program-prefix-after-env): Likewise.
15842         (test-program-prefix): Define in terms of new variables.
15843         (test-program-cmd-before-env): New variable.
15844         (test-program-cmd-after-env): Likewise.
15845         (test-program-cmd): Define in terms of new variables.
15846         * Rules (make-test-out): Use $(run-program-env).
15847         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15848         (help): Do not mention environment variables.  Mention
15849         --timeoutfactor option.
15850         (timeoutfactor): New variable.
15851         (blacklist_exports): Remove function.
15852         (exports): Remove variable.
15853         (command): Do not include ${exports}.
15854         * manual/install.texi (Configuring and compiling): Do not mention
15855         test wrappers preserving environment variables.  Mention that last
15856         assignment to a variable must take precedence.
15857         * INSTALL: Regenerated.
15858         * benchtests/Makefile (run-bench): Use $(run-program-env).
15859         * catgets/Makefile ($(objpfx)test1.cat): Use
15860         $(built-program-cmd-before-env), $(run-program-env) and
15861         $(built-program-cmd-after-env).
15862         ($(objpfx)test2.cat): Do not specify environment variables
15863         explicitly.
15864         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15865         $(run-program-env) and $(built-program-cmd-after-env).
15866         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15867         $(run-program-env) and $(test-program-cmd-after-env).
15868         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15869         explicitly.
15870         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15871         run_program_env and test_program_cmd_after_env arguments.
15872         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15873         * elf/tst-pathopt.sh: Use run_program_env argument.
15874         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15875         $(test-wrapper-env) and $(run-program-env).
15876         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15877         run_program_env arguments.
15878         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15879         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15880         $(test-program-prefix-before-env), $(run-program-env) and
15881         $(test-program-prefix-after-env).
15882         ($(objpfx)tst-gettext2.out): Likewise.
15883         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15884         run_program_env and test_program_prefix_after_env arguments.
15885         * intl/tst-gettext2.sh: Likewise.
15886         * intl/tst-gettext4.sh: Do not set environment variables
15887         explicitly.
15888         * intl/tst-gettext6.sh: Likewise.
15889         * intl/tst-translit.sh: Likewise.
15890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15891         $(test-program-prefix-before-env), $(run-program-env) and
15892         $(test-program-prefix-after-env).
15893         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15894         run_program_env and test_program_prefix_after_env arguments.
15895         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15896         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15897         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15898         explicitly with each use of ${test_wrapper_env}.
15899         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15900         $(test-program-prefix-before-env), $(run-program-env) and
15901         $(test-program-prefix-after-env).
15902         * posix/tst-getconf.sh: Do not set environment variables
15903         explicitly.
15904         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15905         run_program_env and test_program_prefix_after_env arguments.
15906         * stdio-common/tst-printf.sh: Do not set environment variables
15907         explicitly.
15908         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15909         $(test-program-prefix-before-env), $(run-program-env) and
15910         $(test-program-prefix-after-env).
15911         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15912         run_program_env and test_program_prefix_after_env arguments.
15913         Split $test calls into $test_pre and $test.
15914         * timezone/Makefile (build-testdata): Use
15915         $(built-program-cmd-before-env), $(run-program-env) and
15916         $(built-program-cmd-after-env).
15918 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15920         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15921         strlen for non SHARED builds.
15923 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15925         * nptl/allocatestack.c (check_list): Inlined function...
15926         (__reclaim_stacks): ... here.
15928 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15930         [BZ #15698]
15931         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15932         memory overrun.
15934 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15936         * Rules (make-test-out): Include
15937         LOCPATH=$(common-objpfx)localedata in default environment.
15938         * debug/Makefile (tst-chk1-ENV): Remove variable.
15939         (tst-chk2-ENV): Likewise.
15940         (tst-chk3-ENV): Likewise.
15941         (tst-chk4-ENV): Likewise.
15942         (tst-chk5-ENV): Likewise.
15943         (tst-chk6-ENV): Likewise.
15944         (tst-lfschk1-ENV): Likewise.
15945         (tst-lfschk2-ENV): Likewise.
15946         (tst-lfschk3-ENV): Likewise.
15947         (tst-lfschk4-ENV): Likewise.
15948         (tst-lfschk5-ENV): Likewise.
15949         (tst-lfschk6-ENV): Likewise.
15950         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15951         (tst-iconv7-ENV): Likewise.
15952         * intl/Makefile (LOCPATH-ENV): Likewise.
15953         (tst-codeset-ENV): Likewise.
15954         (tst-gettext3-ENV): Likewise.
15955         (tst-gettext5-ENV): Likewise.
15956         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15957         (tst-fopenloc-ENV): Likewise.
15958         (tst-fgetws-ENV): Remove variable.
15959         (tst-ungetwc1-ENV): Likewise.
15960         (tst-ungetwc2-ENV): Likewise.
15961         (bug-ungetwc2-ENV): Likewise.
15962         (tst-swscanf-ENV): Likewise.
15963         (bug-ftell-ENV): Likewise.
15964         (tst-fgetwc-ENV): Likewise.
15965         (tst-fseek-ENV): Likewise.
15966         (tst-ftell-partial-wide-ENV): Likewise.
15967         (tst-ftell-active-handler-ENV): Likewise.
15968         (tst-ftell-append-ENV): Likewise.
15969         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15970         (tst-regexloc-ENV): Likewise.
15971         (bug-regex1-ENV): Likewise.
15972         (tst-regex-ENV): Likewise.
15973         (tst-regex2-ENV): Likewise.
15974         (bug-regex5-ENV): Likewise.
15975         (bug-regex6-ENV): Likewise.
15976         (bug-regex17-ENV): Likewise.
15977         (bug-regex18-ENV): Likewise.
15978         (bug-regex19-ENV): Likewise.
15979         (bug-regex20-ENV): Likewise.
15980         (bug-regex22-ENV): Likewise.
15981         (bug-regex23-ENV): Likewise.
15982         (bug-regex25-ENV): Likewise.
15983         (bug-regex26-ENV): Likewise.
15984         (bug-regex30-ENV): Likewise.
15985         (bug-regex32-ENV): Likewise.
15986         (bug-regex33-ENV): Likewise.
15987         (bug-regex34-ENV): Likewise.
15988         (bug-regex35-ENV): Likewise.
15989         (tst-rxspencer-ENV): Likewise.
15990         (tst-rxspencer-no-utf8-ENV): Likewise.
15991         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15992         (tst-sscanf-ENV): Likewise.
15993         (tst-swprintf-ENV): Likewise.
15994         (tst-swscanf-ENV): Likewise.
15995         (test-vfprintf-ENV): Likewise.
15996         (scanf13-ENV): Likewise.
15997         (bug14-ENV): Likewise.
15998         (tst-grouping-ENV): Likewise.
15999         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16000         (tst-strtod3-ENV): Likewise.
16001         (tst-strtod4-ENV): Likewise.
16002         (tst-strtod5-ENV): Likewise.
16003         (testmb2-ENV): Likewise./
16004         * string/Makefile (tst-strxfrm-ENV): Likewise.
16005         (tst-strxfrm2-ENV): Likewise.
16006         (bug-strcoll1-ENV): Likewise.
16007         (test-strcasecmp-ENV): Likewise.
16008         (test-strncasecmp-ENV): Likewise.
16009         * time/Makefile (tst-strptime-ENV): Likewise.
16010         (tst-ftime_l-ENV): Likewise.
16011         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16012         (tst-mbrtowc-ENV): Likewise.
16013         (tst-wcrtomb-ENV): Likewise.
16014         (tst-mbrtowc2-ENV): Likewise.
16015         (tst-c16c32-1-ENV): Likewise.
16016         (tst-mbsnrtowcs-ENV): Likewise.
16018 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16020         * manual/resource.texi (How to get information about the memory
16021         subsystem?): Fix typo.
16022         Reported by Peon de la Parra Ivan <peon@keba.com>
16024 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16026         [BZ #16882]
16027         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16028         (pthread_spin_lock): Branch out of spin loop to proper location.
16029         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16030         (pthread_spin_lock): Likewise.
16032         * nptl/tst-spin4.c: New test.
16033         * nptl/Makefile (tests): Add tst-spin4.
16035 2014-06-03  Andreas Schwab  <schwab@suse.de>
16037         [BZ #15946]
16038         * resolv/res_send.c (send_dg): Reload file descriptor after
16039         calling reopen.
16041 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16043         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16045 2014-06-03  Richard Henderson  <rth@redhat.com>
16047         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16048         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16049         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16050         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16051         in the SAVE_PID block.
16052         (__libc_vfork): New alias.
16053         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16055         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16056         child in registers, not on the stack.  Remove RESET_PID conditionals.
16057         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16059 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16061         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16063 2014-06-03  Wilco  <wdijkstr@arm.com>
16065         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16066         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16067         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16068         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16069         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16070         Likewise.
16072 2014-06-03  Wilco  <wdijkstr@arm.com>
16074         * sysdeps/aarch64/fpu/math_private.h
16075         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16076         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16077         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16078         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16079         Fix declarations.
16081 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16083         * crypt/crypt-private.h: Include ufc-crypt.h.
16084         (__b64_from_24bit): Declare extern.
16085         * crypt/crypt_util.c(__b64_from_24bit): New function.
16086         (b64t): New static const variable.
16087         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16088         (b64t): Remove variable.
16089         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16090         * crypt/sha256-crypt.c: Include crypt-private.h.
16091         (b64t): Remove variable.
16092         (__sha256_crypt_r): Remove b64_from_24bit and replace
16093         with __b64_from_24bit.
16094         * crypt/sha512-crypt.c: Likewise.
16096 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16098         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16099         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16100         Label the code __libc_vfork rather than __vfork.
16101         [!NOT_IN_libc] (vfork): Define as weak alias.
16102         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16103         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16104         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16106 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16108         * malloc/malloc.c (malloc_info): Fix format specifier for
16109         n_mmaps.
16111 2014-06-02  Wilco  <wdijkstr@arm.com>
16113         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16114         FPCR write.
16116 2014-06-02  Wilco  <wdijkstr@arm.com>
16118         [BZ #17009]
16119         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16120         Rewrite to reduce FPCR/FPSR accesses.
16122 2014-06-01  David S. Miller  <davem@davemloft.net>
16124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16126 2014-05-31  David S. Miller  <davem@davemloft.net>
16128         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16129         to occur in round to nearest mode when |x| >= 2.0
16131 2014-05-30  Richard Henderson  <rth@twiddle.net>
16133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16134         (PSEUDO_RET_NOERRNO): Remove.
16135         (ret): Don't redefine.
16136         (ret_NOERRNO): Define in terms of ret.
16137         (ret_ERRVAL): Likewise.
16139         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16140         use of PSEUDO_RET; perform the error check directly.
16142 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16144         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16145         with __int128_t.
16147 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16149         * malloc/malloc (malloc_info): Fix formatting.
16151 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16152             Roland McGrath  <roland@hack.frob.com>
16154         * malloc/malloc (malloc_info): Also print mmapped statistics.
16156 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16158         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16159         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16161 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16163         * malloc/malloc.c (malloc_info): Inline mi_arena.
16165 2014-05-29  Richard Henderson  <rth@twiddle.net>
16167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16168         Remove comma before expanding ASM_ARGS_##nr.
16169         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16170         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16171         of ASM_ARGS_##nr.
16172         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16173         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16174         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16175         (ASM_ARGS_1): Add leading comma.
16177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16178         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16179         to __errno_location.
16180         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16181         Remove the expected plt for __errno_location.
16183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16184         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16185         call to __read_tp.
16187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16188         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16189         it and break it down.
16190         (DOCARGS_0, DOCARGS_1): Do nothing.
16191         (DOCARGS_2): Update to store into the new stack frame.
16192         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16193         (UNDOCARGS_1): Update to restore from the new stack frame.
16194         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16195         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16198         (SINGLE_THREAD_P): New parameter for result regno.
16199         (PSEUDO): Update to match; use cbz instead of beq.
16201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16202         Use ENTRY to define the _nocancel entry point.  Share the syscall
16203         and syscall error check paths with the cancel path.
16204         (PSEUDO_END): New.
16206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16207         whitespace; tabs before and after asm mnemonics.
16209 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16211         [BZ #15132]
16212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16213         Call fstat64 or stat64 internally, depending on arguments passed.
16214         Replace stat buffer argument with file descriptor argument.
16215         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16216         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16217         Pass fd to __internal_statvfs instead of calling fstat64.
16218         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16219         Pass fd to __internal_statvfs64 instead of calling fstat64.
16220         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16221         Pass -1 to __internal_statvfs instead of calling stat64.
16222         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16223         Pass -1 to __internal_statvfs64 instead of calling stat64.
16225 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16227         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16228         that was previously under [RESET_PID].
16229         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16231         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16232         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16234 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16236         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16238         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16239         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16241 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16243         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16245 2014-05-27  Andreas Schwab  <schwab@suse.de>
16247         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16248         TLS_INIT_TP macro.
16249         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16250         * elf/rtld.c (init_tls, dl_main): Likewise.
16251         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16252         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16253         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16254         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16255         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16256         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16257         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16258         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16259         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16260         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16261         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16262         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16263         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16264         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16265         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16266         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16267         * sysdeps/generic/tls.h: Update description.
16269 2014-05-27  Will Newton  <will.newton@linaro.org>
16271         [BZ #16990]
16272         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16273         and restore r2 rather than just restoring.
16275 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16277         [BZ #16724]
16278         * libio/tst-ftell-append.c: New test case.
16279         * libio/Makefile (tests): Add test case.
16280         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16281         append mode.
16282         * libio/wfileops.c (do_ftell_wide): Likewise.
16284 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16288         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16289         ...
16290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16292         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16293         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16295         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16296         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16299         Moved ...
16300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16302         Moved ...
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16304         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16305         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16306         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16307         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16308         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16309         ...
16310         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16311         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16312         Moved ...
16313         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16314         here.
16315         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16316         ...
16317         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16318         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16319         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16321         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16322         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16323         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16324         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16327         merge into ...
16328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16330         ...
16331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16333         ...
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16336         Moved ...
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16338         here.
16339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16340         Moved ...
16341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16343         Moved ...
16344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16347         conditional [RESET_PID].
16348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16350         removed.
16351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16352         removed.
16354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16355         <tcb-offsets.h>.
16356         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16357         (__libc_vfork): New strong alias.
16358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16359         removed.
16360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16361         Removed.
16363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16364         <tcb-offsets.h>.
16365         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16366         (__libc_vfork): New strong alias.
16367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16368         removed.
16369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16370         removed.
16372 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16374         * malloc/malloc.c (mi_arena): New function.
16375         (malloc_info): Remove nested function mi_arena. Call non-nosted
16376         function mi_arena.
16378 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16380         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16381         by insrwi.
16382         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16383         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16384         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16385         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16386         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16387         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16390 2014-05-26  Andreas Schwab  <schwab@suse.de>
16392         [BZ #16984]
16393         * locale/programs/repertoire.c (repertoire_read): Add slash
16394         between I18NPATH element and file name.
16395         * locale/programs/locfile.c (locfile_read): Likewise.
16397 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16399         * nptl/pthread_mutexattr_settype.c
16400         (__pthread_mutexattr_settype):
16401         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16403 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16405         * nptl/tst-mutex5 (do_test):
16406         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16408 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16410         * benchtests/README: Document 'init' directive.
16411         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16412         BENCH_INIT.
16413         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16414         (parse_file): Recognize 'init' directive.
16416 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16418         [BZ #16796]
16419         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16420         alignment of struct pthread.
16422 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16424         [BZ #16878]
16425         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16426         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16427         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16428         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16430 2014-05-25  Richard Henderson  <rth@twiddle.net>
16432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16433         (SINGLE_THREAD_P_PIC): Remove.
16434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16435         (SINGLE_THREAD_P_PIC): Remove.
16437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16438         branch to syscall error ...
16439         (PSEUDO): ... here.
16440         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16441         from __local_syscall_error to .Lsyscall_error.
16442         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16443         (SYSCALL_ERROR): Update label name.
16445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16446         Do not use DOARGS/UNDOARGS.
16447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16448         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16449         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16450         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16451         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16454         block comment.
16456         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16457         define if !NOT_IN_libc.
16458         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16459         define with non-default symbol versions.
16461 2014-05-23  Richard Henderson  <rth@twiddle.net>
16463         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16464         (vfork, __vfork): Define via compat_symbol.
16466         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16467         [!HAVE_IFUNC] (vfork_compat): Remove.
16468         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16470 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #16978]
16473         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16474         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16475         variable.
16477 2014-05-23  Richard Henderson  <rth@twiddle.net>
16479         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16480         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16481         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16482         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16484         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16485         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16486         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16487         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16488         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16489         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16490         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16491         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16492         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16493         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16494         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16495         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16496         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16497         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16498         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16499         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16500         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16501         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16503         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16505         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16506         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16507         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16508         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16509         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16511         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16512         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16513         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16514         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16515         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16516         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16517         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16518         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16519         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16520         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16521         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16522         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16523         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16524         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16525         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16526         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16527         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16528         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16529         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16530         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16531         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16532         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16533         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16534         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16535         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16536         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16537         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16539         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16541         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16542         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16543         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16544         before exiting on error.
16545         (__libc_vfork): New strong alias.
16546         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16547         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16549         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16550         that was previously under [RESET_PID].
16551         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16553         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16555 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16557         [BZ #16977]
16558         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16559         value when x - 1 is zero.
16560         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16561         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16562         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16563         0.0L for an argument of 1.0L.
16564         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16565         Likewise.
16566         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16567         value when x - 1 is zero.
16568         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16569         * sysdeps/i386/fpu/libm-test-ulps: Update.
16570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16574         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16575         alphasort and versionsort.
16577 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16579         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16580         macro.
16581         [copysignf]: Likewise.
16583 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16585         * crypt/md5-crypt.c: Fix formatting.
16587 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16589         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16590         (b64_from_24bit): New function.
16592 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16595         libc_hidden_builtin_def to ifunc.
16596         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16597         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16599 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16601         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16602         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16604 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16606         * nscd/Depend (linuxthreads): Remove.
16607         (nptl): Add.
16608         * resolv/Depend (linuxthreads): Remove.
16609         * rt/Depend (linuxthreads): Remove.
16611         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16612         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16613         $(common-objpfx)elf/.
16614         (link-libc-before-gnulib): Likewise.
16615         (elfobjdir): Remove variable.
16616         * Makefile (install): Use $(elf-objpfx) instead of
16617         $(common-objpfx)elf/.
16618         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16619         $(elfobjdir)/.
16620         (link-libc-deps): Likewise.
16621         ($(common-objpfx)libc.so): Likewise.
16622         ($(common-objpfx)linkobj/libc.so): Likewise.
16623         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16624         instead of $(common-objpfx)elf/.
16625         (symbolic-link-list): Likewise.
16626         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16627         [$(cross-compiling) = no]: Likewise.
16628         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16629         $(elfobjdir)/.
16630         (static-gnulib-arch): Likewise.
16631         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16632         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16633         $(common-objpfx)elf/.
16635 2014-05-21  Richard Henderson  <rth@redhat.com>
16637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16638         (SINGLE_THREAD_P): Use the correct width load.  Fold
16639         into the ldr offset.
16641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16642         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16644 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16646         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16647         (libgcc_s_resume): Use __attribute_used__.
16648         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16649         Likewise.
16651 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16653         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16654         optimization when used with float constants.
16656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16658 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16660         [BZ #16915]
16661         * locale/nl_langinfo_l.c: Make direct reference to every
16662         _nl_current_CATEGORY symbol.
16663         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16664         (tests-static): Add tst-langinfo-static.
16665         (tests-special): Add tst-langinfo-static.out.
16666         ($(objpfx)tst-langinfo.out): Redirect output.
16667         ($(objpfx)tst-langinfo-static.out): New.
16668         * localedata/tst-langinfo.sh: Send output to stdout.
16669         * localedata/tst-langinfo-static.c: New file.
16671         [BZ #16965]
16672         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16673         when the shift amount is modulo the limb size.
16675 2014-05-20  Richard Henderson  <rth@redhat.com>
16677         [BZ #16967]
16678         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16679         Change type of sa_flags from unsigned int to int.
16681         [BZ #16966]
16682         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16684         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16686 2014-05-20  Will Newton  <will.newton@linaro.org>
16688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16689         Test the return value of the system call in the nocancel case.
16691 2014-05-20  Will Newton  <will.newton@linaro.org>
16692             Yvan Roux  <yvan.roux@linaro.org>
16694         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16695         #include of asm/ptrace.h.
16696         (PTRACE_GET_THREAD_AREA): Remove #undef.
16697         (PTRACE_GETHBPREGS): Likewise.
16698         (PTRACE_SETHBPREGS): Likewise.
16699         (struct user_regs_struct): New structure.
16700         (struct user_fpsimd_struct): New structure.
16701         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16702         #include of asm/ptrace.h and second #include of sys/user.h.
16703         (PTRACE_GET_THREAD_AREA): Remove #undef.
16704         (PTRACE_GETHBPREGS): Likewise.
16705         (PTRACE_SETHBPREGS): Likewise.
16706         (ELF_NGREG): Use new struct user_regs_struct.
16707         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16709 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16714 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16716         [BZ #16958]
16717         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16718         membar to avoid block loads/stores to overlap previous stores.
16720 2014-05-17  Richard Henderson  <rth@redhat.com>
16722         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16723         Create the __##syscall_name##_nocancel entry point.
16724         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16725         Remove; let the sysdep-cancel.h code create it.
16727 2014-05-17  David S. Miller  <davem@davemloft.net>
16729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16730         Protect with __USE_GNU.
16731         (TIOCSET_TEMPT): Likewise.
16732         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16733         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16734         these are already provided in bits/ioctl-types.h
16736 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16738         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16739         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16741         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16742         Use wait4 regardless of [__NR_waitpid].
16744 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16746         PR libgcc/60166
16747         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16748         (_FP_NANSIGN_Q): Set the quiet bit.
16750 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16752         * benchtests/Makefile
16753         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16754         not $(common-objpfx)math/libm.so.
16755         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16756         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16757         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16758         $(common-objpfx)dlfcn/libdl.so.
16759         ($(objpfx)tst-audit8): Depend on $(libm), not
16760         $(common-objpfx)math/libm.so.
16761         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16762         not $(common-objpfx)dlfcn/libdl.so.
16763         * math/Makefile
16764         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16765         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16766         [$(build-shared) = yes].
16767         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16768         $(common-objpfx)nptl/libpthread.so.
16769         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16770         $(common-objpfx)math/libm.so$(libm.so-version) or
16771         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16772         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16773         $(common-objpfx)dlfcn/libdl.so.
16774         * setjmp/Makefile (link-libm): Remove variable.
16775         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16776         * stdio-common/Makefile (link-libm): Remove variable.
16777         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16778         * stdlib/Makefile (link-libm): Remove variable.
16779         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16780         ($(objpfx)tst-strtod-round): Likewise.
16781         ($(objpfx)tst-tininess): Likewise.
16782         ($(objpfx)tst-strtod-underflow): Likewise.
16783         ($(objpfx)tst-strtod6): Likewise.
16784         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16785         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16786         $(common-objpfx)dlfcn/libdl.so.
16788 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16790         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16791         BSD terminal modes definitions.
16793 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16795         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16796         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16798         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16799         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16800         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16801         Don't do #include_next.
16802         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16803         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16804         Don't do #include_next.
16805         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16806         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16807         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16808         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16810 2014-05-16  Allan McRae  <allan@archlinux.org>
16812         * po/sv.po: Update Swedish translation from translation project.
16814         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16815         in sed expression.
16817 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16819         [BZ #16917]
16820         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16821         errno if the TIOCGPTN ioctl fails with an error different than
16822         EINVAL.
16823         * login/tst-ptsname.c: New file.
16824         * login/Makefile (tests): Add tst-ptsname.
16826         [BZ #16943]
16827         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16828         and prlimit64.
16830 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16832         [BZ #16849]
16833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16834         herrno to return EAI_AGAIN.
16836 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16838         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16839         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16840         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16841         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16842         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16843         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16844         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16845         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16847         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16848         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16849         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16850         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16851         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16852         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16853         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16854         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16855         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16856         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16857         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16858         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16859         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16860         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16861         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16862         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16863         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16864         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16865         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16867         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16869         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16871         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16873         Moved ...
16874         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16880         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16894         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16896         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16898         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16900         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16902         Moved ...
16903         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16905         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16907         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16909         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16911         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16913         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16915         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16917         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16919         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16921         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16923         Moved ...
16924         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16926         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16928         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16929         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16930         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16931         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16932         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16933         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16934         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16935         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16936         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16937         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16938         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16939         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16940         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16941         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16942         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16943         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16944         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16945         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16946         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16947         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16948         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16949         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16950         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16951         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16952         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16953         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16954         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16955         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16956         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16957         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16958         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16960         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16961         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16963         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16964         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16965         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16966         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16967         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16969         Moved ...
16970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16972         Moved ...
16973         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16975         Moved ...
16976         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16978         Moved ...
16979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16980         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16981         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16982         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16983         Moved ...
16984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16985         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16986         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16987         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16989         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16990         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16992         Moved ...
16993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16995         Moved ...
16996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16997         ... here.
16998         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16999         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17000         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17001         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17002         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17005         ... here.
17006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17007         Moved ...
17008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17009         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17010         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17011         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17012         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17014         Moved ...
17015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17017         Moved ...
17018         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17020         Moved ...
17021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17023         Moved ...
17024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17025         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17026         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17027         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17028         Moved ...
17029         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17030         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17031         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17032         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17033         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17034         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17035         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17037         Moved ...
17038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17040         Moved ...
17041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17042         ... here.
17043         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17044         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17045         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17046         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17047         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17048         Moved ...
17049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17050         ... here.
17051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17054         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17055         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17056         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17057         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17058         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17060         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17061         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17063         Moved ...
17064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17066         Moved ...
17067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17069         Moved ...
17070         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17072         Moved ...
17073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17074         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17075         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17076         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17077         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17079         Moved ...
17080         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17081         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17082         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17085         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17086         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17088         Moved ...
17089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17091         Moved ...
17092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17093         ... here.
17094         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17095         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17096         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17097         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17099         Moved ...
17100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17101         ... here.
17102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17103         Moved ...
17104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17105         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17106         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17107         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17108         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17109         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17110         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17111         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17112         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17113         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17114         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17116         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17117         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17119         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17120         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17122         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17123         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17124         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17125         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17126         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17127         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17128         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17129         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17130         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17131         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17133         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17134         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17135         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17136         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17138         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17140         Moved ...
17141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17145         Moved ...
17146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17147         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17148         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17149         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17150         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17152         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17154         Moved ...
17155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17157         Moved ...
17158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17160         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17162         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17164         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17165         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17166         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17167         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17168         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17169         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17170         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17171         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17172         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17173         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17174         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17176         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17177         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17178         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17179         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17180         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17182         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17183         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17184         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17185         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17186         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17187         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17188         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17189         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17190         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17191         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17196         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17197         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17198         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17199         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17200         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17201         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17202         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17203         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17204         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17205         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17206         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17207         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17208         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17209         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17211         Update #include.
17212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17213         Likewise.
17214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17215         Likewise.
17216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17217         Likewise.
17218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17219         Likewise.
17220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17221         Likewise.
17222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17223         Likewise.
17224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17225         Likewise.
17226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17227         Likewise.
17228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17229         Likewise.
17230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17241         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17244         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17246         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17247         that was previously under [RESET_PID].
17248         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17249         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17250         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17252         * sysdeps/i386/nptl/Implies: New file.
17253         * sysdeps/x86_64/nptl/Implies: New file.
17254         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17255         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17256         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17257         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17259         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17260         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17261         (__libc_vfork): New strong alias.
17262         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17263         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17265         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17266         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17267         (__libc_vfork): New strong alias.
17268         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17269         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17271         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17273         (__libc_vfork): New strong alias.
17274         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17275         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17276         * nptl/pt-vfork.c: New file.
17277         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17278         (libpthread: GLIBC_2.20): New version set (empty).
17280 2014-05-14  Will Newton  <will.newton@linaro.org>
17282         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17283         rather than #if.
17285 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17287         [BZ #16564]
17288         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17289         arguments with exponent 65 or above.
17290         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17291         arguments 0x1p113L or above.
17292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17293         to arguments 0x1p107L or above.
17294         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17295         positive arguments with exponent 65 or above.
17296         * math/auto-libm-test-in: Add more tests of log1p.
17297         * math/auto-libm-test-out: Regenerated.
17299         [BZ #16928]
17300         * math/s_cacos.c (__cacos): Ensure zero real part of result from
17301         non-finite arguments is +0.
17302         * math/s_cacosf.c (__cacosf): Likewise.
17303         * math/s_cacosl.c (__cacosl): Likewise.
17304         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17305         * sysdeps/i386/fpu/libm-test-ulps: Update.
17306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17308         [BZ #16927]
17309         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17310         value.
17311         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17312         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17313         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17314         for explicit high bit of mantissa when testing for argument equal
17315         to 1.
17316         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17317         * sysdeps/i386/fpu/libm-test-ulps: Update.
17318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17320         [BZ #16516]
17321         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17322         (__erf): Scale by 16 instead of 8 in potentially underflowing
17323         case.  Ensure exception if result actually underflows.
17324         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17325         (__erff): Scale by 16 instead of 8 in potentially underflowing
17326         case.  Ensure exception if result actually underflows.
17327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17328         (efx8): Remove variable.
17329         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17330         case.  Ensure exception if result actually underflows.
17331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17332         (efx8): Remove variable.
17333         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17334         case.  Ensure exception if result actually underflows.
17335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17336         (efx8): Remove variable.
17337         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17338         case.  Ensure exception if result actually underflows.
17339         * math/auto-libm-test-in: Add more tests of erf.
17340         * math/auto-libm-test-out: Regenerated.
17342 2014-05-14  Andreas Schwab  <schwab@suse.de>
17344         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17345         Remove code conditionalized on USE___THREAD.
17347         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17348         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17349         not definedness.
17351 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17354         Define unconditionally.
17355         (__ASSUME_O_CLOEXEC): Likewise.
17356         (__ASSUME_SOCK_CLOEXEC): Likewise.
17357         (__ASSUME_IN_NONBLOCK): Likewise.
17358         (__ASSUME_PIPE2): Likewise.
17359         (__ASSUME_EVENTFD2): Likewise.
17360         (__ASSUME_SIGNALFD4): Likewise.
17361         (__ASSUME_DUP3): Likewise.
17362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17363         (__ASSUME_DUP3): Do not define.
17364         (__ASSUME_EVENTFD2): Likewise.
17365         (__ASSUME_IN_NONBLOCK): Likewise.
17366         (__ASSUME_O_CLOEXEC): Likewise.
17367         (__ASSUME_PIPE2): Likewise.
17368         (__ASSUME_SIGNALFD4): Likewise.
17369         (__ASSUME_SOCK_CLOEXEC): Likewise.
17370         (__ASSUME_UTIMES): Undefine.
17371         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17372         (__ASSUME_UTIMES): Do not define.
17373         (__ASSUME_O_CLOEXEC): Likewise.
17374         (__ASSUME_SOCK_CLOEXEC): Likewise.
17375         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17376         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17377         0x020621].
17378         (__ASSUME_PIPE2): Likewise.
17379         (__ASSUME_EVENTFD2): Likewise.
17380         (__ASSUME_SIGNALFD4): Likewise.
17381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17382         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17383         Do not define.
17384         (__ASSUME_EVENTFD2): Likewise.
17385         (__ASSUME_SIGNALFD4): Likewise.
17386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17387         (__ASSUME_32BITUIDS): Likewise.
17388         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17389         (__ASSUME_IPC64): Likewise.
17390         (__ASSUME_ST_INO_64_BIT): Likewise.
17391         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17392         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17393         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17394         (__ASSUME_UTIMES): Do not define.
17395         (__ASSUME_PSELECT): Likewise.
17396         (__ASSUME_PPOLL): Likewise.
17397         (__ASSUME_O_CLOEXEC): Likewise.
17398         (__ASSUME_SOCK_CLOEXEC): Likewise.
17399         (__ASSUME_IN_NONBLOCK): Likewise.
17400         (__ASSUME_PIPE2): Likewise.
17401         (__ASSUME_EVENTFD2): Likewise.
17402         (__ASSUME_SIGNALFD4): Likewise.
17403         (__ASSUME_DUP3): Likewise.
17404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17405         (__ASSUME_UTIMES): Likewise.
17406         (__ASSUME_O_CLOEXEC): Likewise.
17407         (__ASSUME_SOCK_CLOEXEC): Likewise.
17408         (__ASSUME_IN_NONBLOCK): Likewise.
17409         (__ASSUME_PIPE2): Likewise.
17410         (__ASSUME_EVENTFD2): Likewise.
17411         (__ASSUME_SIGNALFD4): Likewise.
17412         (__ASSUME_DUP3): Likewise.
17413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17414         (__ASSUME_UTIMES): Likewise.
17415         (__ASSUME_O_CLOEXEC): Likewise.
17416         (__ASSUME_SOCK_CLOEXEC): Likewise.
17417         (__ASSUME_IN_NONBLOCK): Likewise.
17418         (__ASSUME_PIPE2): Likewise.
17419         (__ASSUME_EVENTFD2): Likewise.
17420         (__ASSUME_SIGNALFD4): Likewise.
17421         (__ASSUME_DUP3): Likewise.
17422         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17423         Likewise.
17424         (__ASSUME_UTIMES): Likewise.
17425         (__ASSUME_EVENTFD2): Likewise.
17426         (__ASSUME_SIGNALFD4): Likewise.
17427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17428         (__ASSUME_O_CLOEXEC): Likewise.
17429         (__ASSUME_SOCK_CLOEXEC): Likewise.
17430         (__ASSUME_IN_NONBLOCK): Likewise.
17431         (__ASSUME_PIPE2): Likewise.
17432         (__ASSUME_EVENTFD2): Likewise.
17433         (__ASSUME_SIGNALFD4): Likewise.
17434         (__ASSUME_DUP3): Likewise.
17435         (__ASSUME_UTIMES): Undefine.
17437         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17438         feclearexcept.  Remove symbol versioning code.
17439         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17440         symbol versioning code.
17441         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17442         symbol versioning code.
17443         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17444         feupdateenv.  Remove symbol versioning code.
17445         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17446         fegetexceptflag.  Remove symbol versioning code.
17447         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17448         fesetexceptflag.  Remove symbol versioning code.
17449         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17450         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17451         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17452         (__posix_fadvise64_l32): Remove prototype.
17453         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17454         code.
17456 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17459         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17460         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17461         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17463 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17465         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17466         current working directory
17468 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17470         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17471         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17472         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17473         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17474         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17475         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17476         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17477         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17478         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17479         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17481         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17482         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17483         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17484         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17485         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17486         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17487         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17488         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17489         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17490         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17491         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17492         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17493         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17494         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17495         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17496         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17497         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17498         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17499         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17500         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17501         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17502         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17503         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17504         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17506         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17507         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17508         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17509         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17510         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17511         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17513         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17514         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17516         * sysdeps/unix/sysv/linux/arm/Makefile
17517         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17518         Add rt-aeabi_unwind_cpp_pr1.
17519         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17520         Add nptl-aeabi_unwind_cpp_pr1.
17521         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17522         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17523         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17524         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17525         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17526         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17528         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17529         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17530         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17531         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17533         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17534         Deconditionalize the code that was previously under [RESET_PID].
17535         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17537         * sysdeps/generic/exit-thread.h: New file.
17538         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17539         * include/unistd.h (__exit_thread): Remove declaration.
17540         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17541         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17542         * csu/libc-start.c: Include <exit-thread.h>.
17543         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17544         * nptl/pthread_create.c: Include <exit-thread.h>.
17545         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17546         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17547         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17548         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17549         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17550         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17551         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17552         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17553         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17554         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17555         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17556         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17557         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17558         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17559         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17560         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17561         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17563 2014-05-13  Andreas Schwab  <schwab@suse.de>
17565         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17567 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17569         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17570         (__ASSUME_UTIMES): Do not condition on kernel version.
17571         (__ASSUME_PSELECT): Define unconditionally.
17572         (__ASSUME_PPOLL): Likewise.
17573         (__ASSUME_ATFCTS): Likewise.
17574         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17575         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17576         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17577         (__ASSUME_UTIMENSAT): Define unconditionally.
17578         (__ASSUME_PRIVATE_FUTEX): Likewise.
17579         (__ASSUME_FALLOCATE): Likewise.
17580         (__ASSUME_O_CLOEXEC): Likewise.
17581         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17582         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17583         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17584         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17585         (__ASSUME_IN_NONBLOCK): Likewise.
17586         (__ASSUME_PIPE2): Likewise.
17587         (__ASSUME_EVENTFD2): Likewise.
17588         (__ASSUME_SIGNALFD4): Likewise.
17589         (__ASSUME_DUP3): Likewise.
17590         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17591         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17592         (__ASSUME_AT_RANDOM): Likewise.
17593         (__ASSUME_PREADV): Likewise.
17594         (__ASSUME_PWRITEV): Likewise.
17595         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17596         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17597         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17598         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17599         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17601         (__ASSUME_O_CLOEXEC): Define unconditionally.
17602         (__ASSUME_PSELECT): Do not undefine conditionally.
17603         (__ASSUME_PPOLL): Likewise.
17604         (__ASSUME_ATFCTS): Likewise.
17605         (__ASSUME_SET_ROBUST_LIST): Likewise.
17606         (__ASSUME_UTIMENSAT): Likewise.
17607         (__ASSUME_FDATASYNC): Define unconditionally.
17608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17609         (__ASSUME_SIGFRAME_V2): Likewise.
17610         )__ASSUME_EVENTFD2): Likewise.
17611         (__ASSUME_SIGNALFD4): Likewise.
17612         (__ASSUME_PSELECT): Do not undefine conditionally.
17613         (__ASSUME_PPOLL): Likewise.
17614         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17615         (__ASSUME_PSELECT): Define unconditionally.
17616         (__ASSUME_PPOLL): Likewise.
17617         (__ASSUME_O_CLOEXEC): Likewise.
17618         (__ASSUME_SOCK_CLOEXEC): Likewise.
17619         (__ASSUME_IN_NONBLOCK): Likewise.
17620         (__ASSUME_PIPE2): Likewise.
17621         (__ASSUME_EVENTFD2): Likewise.
17622         (__ASSUME_SIGNALFD4): Likewise.
17623         (__ASSUME_DUP3): Likewise.
17624         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17625         (__ASSUME_O_CLOEXEC): Likewise.
17626         (__ASSUME_SOCK_CLOEXEC): Likewise.
17627         (__ASSUME_IN_NONBLOCK): Likewise.
17628         (__ASSUME_PIPE2): Likewise.
17629         (__ASSUME_EVENTFD2): Likewise.
17630         (__ASSUME_SIGNALFD4): Likewise.
17631         (__ASSUME_DUP3): Likewise.
17632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17633         (__ASSUME_EVENTFD2): Likewise.
17634         (__ASSUME_SIGNALFD4): Likewise.
17635         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17637 2014-05-12  Andreas Schwab  <schwab@suse.de>
17639         [BZ #16932]
17640         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17641         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17642         than maximum RPC packet size.
17643         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17644         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17645         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17646         (_nss_nis_getservbyport_r): Likewise.
17648 2014-05-12  Will Newton  <will.newton@linaro.org>
17650         * malloc/Makefile (tests): Add tst-mallopt.
17651         * malloc/tst-mallopt.c: New file.
17653 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17655         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17656         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17658 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17660         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17661         (tst-tlsmod6.so): Likewise.
17663 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17665         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17667 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17669         [BZ #16064]
17670         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17671         and <dl-procinfo.h>.
17672         (__fegetenv): Save SSE state in envp->__eip if supported.
17673         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17674         envp->__eip if supported.
17675         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17676         and <dl-procinfo.h>.
17677         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17678         __data_offset and __data_selector in environment to 0.  Set SSE
17679         state if supported.
17680         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17681         test-fenv-sse.
17682         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17683         -mfpmath=sse.
17684         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17686 2014-05-09  Will Newton  <will.newton@linaro.org>
17688         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17689         and libc_relro_required for ARM.
17690         * sysdeps/arm/preconfigure: Regenerate.
17692 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17693             Stefan Liebler  <stli@linux.vnet.ibm.com>
17695         * config.make.in (enable-lock-elision): New Makefile variable.
17696         * configure.ac: Likewise.
17697         * configure: Regenerate.
17698         * sysdeps/s390/configure.ac:
17699         Add check for gcc transactions support.
17700         * sysdeps/s390/configure: Regenerate.
17701         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17702         Build elision files if enabled.
17703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17704         Add lock elision support for s390.
17705         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17706         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17707         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17708         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17709         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17710         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17711         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17712         Likewise.
17713         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17714         Likewise.
17715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17716         Likewise.
17717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17718         Likewise.
17719         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17720         (__lll_timedlock_elision, __lll_lock_elision)
17721         (__lll_unlock_elision, __lll_trylock_elision)
17722         (lll_timedlock_elision, lll_lock_elision)
17723         (lll_unlock_elision, lll_trylock_elision): Add.
17724         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17725         (pthread_mutex_t): Add lock elision support for s390.
17727 2014-05-14  Wilco  <wdijkstr@arm.com>
17729         * sysdeps/arm/fclrexcpt.c: Cleanup.
17730         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17731         * sysdeps/arm/feenablxcpt.c: Cleanup.
17732         * sysdeps/arm/fegetenv.c: Cleanup.
17733         * sysdeps/arm/fegetexcept.c: Cleanup.
17734         * sysdeps/arm/fegetround.c: Cleanup.
17735         * sysdeps/arm/feholdexcpt.c: Cleanup.
17736         * sysdeps/arm/fesetenv.c: Cleanup.
17737         * sysdeps/arm/fesetround.c: Cleanup.
17738         * sysdeps/arm/feupdateenv.c: Cleanup.
17739         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17740         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17741         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17742         * sysdeps/arm/ftestexcept.c: Cleanup.
17743         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17744         * sysdeps/arm/setfpucw.c: Cleanup.
17746 2014-05-09  Will Newton  <will.newton@linaro.org>
17748         * sysdeps/arm/armv7/strcmp.S: New file.
17749         * NEWS: Mention addition of ARMv7 optimized strcmp.
17751 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17753         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17754         look for %.ac rather than %.in.
17756         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17757         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17758         * sysdeps/mach/hurd/configure: Regenerated.
17759         * sysdeps/unix/sysv/linux/configure: Regenerated.
17761         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17763 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17765         [BZ# 16922]
17766         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17767         (LONG_SUB): Ditto.
17768         (PTR_SUB): Ditto.
17770 2014-05-07  Andreas Schwab  <schwab@suse.de>
17772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17773         when skipping over non-matching result from nscd.
17775 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17777         [BZ #16876]
17778         * nptl/sockperf.c (client): Check socket return value.
17780         [BZ #16877]
17781         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17782         nscd security class.
17784 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17786         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17787         * sysdeps/arm/unwind.h: ... here.
17789 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17791         [BZ# 16916]
17792         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17793         Define.
17795 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17797         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17798         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17799         multiarch strncpy for PPC64.
17800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17801         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17803         multiarch optimizations.
17804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17805         (__libc_ifunc_impl_list): Likewise.
17806         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17808         multiarch stpncpy for PPC64.
17809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17812 2014-05-06  Andreas Schwab  <schwab@suse.de>
17814         [BZ #16912]
17815         * gmon/mcount.c (_MCOUNT_DECL): Use
17816         atomic_compare_and_exchange_bool_acq instead of
17817         catomic_compare_and_exchange_bool_acq.
17819 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17821         * elf/Makefile (others, install-bin): Remove pldd.
17822         (pldd-modules): Variable removed.
17823         ($(objpfx)pldd): Target removed.
17824         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17825         (others, install-bin): Append pldd here.
17826         ($(objpfx)pldd): New target.
17828         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17829         to 0, so the first #if test emitted later doesn't see it undefined.
17830         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17831         * sysdeps/gnu/errlist.c: Regenerated.
17833 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17836         [libc_hidden_builtin_def]: Define to empty value.
17837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17838         [libc_hidden_builtin_def]: Likewise.
17839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17840         [libc_hidden_builtin_def]: Likewise.
17841         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17842         [libc_hidden_builtin_def]: Likewise.
17843         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17844         __redirect_memcpy and define ifunc as default hidden symbol.
17845         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17846         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17848 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17850         * locale/iso-4217.def: Reintroduce XDR currency.
17852 2014-05-04  Allan McRae  <allan@archlinux.org>
17854         * po/eo.po: Update Esperanto translation from translation project.
17856 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17858         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17859         and FEATURE_INDEX_MAX to 1.
17860         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17862 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17864         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17865         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17866         * iconvdata/big5.c (ONE_DIRECTION): Define.
17867         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17868         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17869         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17870         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17871         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17872         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17873         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17874         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17875         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17876         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17877         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17878         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17879         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17880         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17881         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17882         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17883         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17884         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17885         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17886         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17887         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17888         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17889         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17890         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17891         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17892         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17893         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17894         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17895         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17896         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17897         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17898         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17899         * iconvdata/johab.c (ONE_DIRECTION): Define.
17900         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17901         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17902         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17903         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17904         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17905         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17906         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17907         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17908         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17909         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17911 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17913         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17914         (_IO_JUMPS_OFFSET): Define to 0.
17916         * nptl/sysdeps/pthread/bits/libc-lock.h
17917         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17918         (__libc_lock_define_initialized_recursive): Always define using
17919         initializer.  Modern compilers treat uninitialized (implicit zero) and
17920         explicit zero initializers the same (i.e. put the datum in bss).
17922 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17924         * nscd/nscd-client.h: Include <string.h>.
17926 2014-05-01  David S. Miller  <davem@davemloft.net>
17928         [BZ #16885]
17929         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17930         multiple zero bytes exist at the end of a string.
17931         Reported by Aurelien Jarno <aurelien@aurel32.net>
17933         * string/test-strcmp.c (check): Add explicit test for situations where
17934         there are multiple zero bytes after the first.
17936 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17938         [BZ #16890]
17939         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17940         when compiling wprintf.
17941         * stdio-common/tstdiomisc.c (t3): New function.
17942         (main): Call it.
17944 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17946         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17947         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17948         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17949         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17951 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17953         * stdlib/longlong.h: Updated from GCC.
17955 2014-05-01  Will Newton  <will.newton@linaro.org>
17956             Bernard Ogden  <bernie.ogden@linaro.org>
17958         * NEWS: Update fixed bug list.
17960         [BZ #15119]
17961         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17963 2014-04-30  David S. Miller  <davem@davemloft.net>
17965         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17966         (libc_feholdexcept_setround_sparc_ctx): New function.
17967         (libc_fesetenv_sparc_ctx): Likewise.
17968         (libc_feupdateenv_sparc_ctx): Likewise.
17969         (libc_feholdsetround_sparc_ctx): Likewise.
17970         (libc_feholdexcept_setround_ctx): Define.
17971         (libc_feholdexcept_setroundf_ctx): Likewise.
17972         (libc_feholdexcept_setroundl_ctx): Likewise.
17973         (libc_fesetenv_ctx): Likewise.
17974         (libc_fesetenvf_ctx): Likewise.
17975         (libc_fesetenvl_ctx): Likewise.
17976         (libc_feupdateenv_ctx): Likewise.
17977         (libc_feupdateenvf_ctx): Likewise.
17978         (libc_feupdateenvl_ctx): Likewise.
17979         (libc_feresetround_ctx): Likewise.
17980         (libc_feresetroundf_ctx): Likewise.
17981         (libc_feresetroundl_ctx): Likewise.
17982         (libc_feholdsetround_ctx): Likewise.
17983         (libc_feholdsetroundf_ctx): Likewise.
17984         (libc_feholdsetroundl_ctx): Likewise.
17986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17987         with __USE_GNU instead of XOPEN cpp guards.
17989         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17990         0.
17992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17993         with XOPEN cpp guards.
17995 2014-04-30  Julian Brown  <julian@codesourcery.com>
17997         [BZ #16888]
17998         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17999         handling.
18001 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18003         [BZ #9894]
18004         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18005         Change to 2.6.32.
18006         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18007         * sysdeps/unix/sysv/linux/configure: Regenerated.
18008         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18009         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18010         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18011         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18012         * README: Update reference to required Linux kernel version.
18013         * manual/install.texi (Linux): Update reference to required Linux
18014         kernel headers version.
18015         * INSTALL: Regenerated.
18017         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18018         header inclusion.
18019         [POSIX] (limits.h): Likewise.
18020         [POSIX] (math.h): Likewise.
18021         [POSIX] (sys/wait.h): Likewise.
18022         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18023         function.
18024         [POSIX] (stddef.h): Do not allow header inclusion.
18026 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18028         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18030 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18032         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18033         Return immediately after lll_futex_wake.
18035 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18037         [BZ #16791]
18038         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18039         structure.
18040         (datahead_init_pos): Call datahead_init_common early.
18041         (datahead_init_neg): Likewise.
18043         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18044         datahead_init_neg): New functions.
18045         * nscd/aicache.c (addhstaiX): Use them.
18046         * nscd/grpcache.c (cache_addgr): Likewise.
18047         * nscd/hstcache.c (cache_addhst): Likewise.
18048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18049         * nscd/netgroupcache.c (do_notfound): Likewise.
18050         (addgetnetgrentX): Likewise.
18051         (addinnetgrX): Likewise.
18052         * nscd/pwdcache.c (cache_addpw): Likewise.
18053         * nscd/servicescache.c (cache_addserv): Likewise.
18055 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056             Atsushi Onoe  <atsushi@onoe.org>
18058         [BZ #14308]
18059         [BZ #12994]
18060         [BZ #13651]
18061         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18062         one response is valid.
18063         * resolv/res_send.c (send_dg): Check for validity of other
18064         response if the current response is a referral.
18066 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18068         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18070 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18072         [BZ #16823]
18073         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18074         Always divide by positive zero when computing -Inf result.
18075         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18076         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18078 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18080         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18081         FPSCR if value do not change.
18082         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18083         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18084         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18086         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18087         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18088         function.
18090 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18092         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18093         * sysdeps/unix/sysv/linux/hppa: Move directory from
18094         ports/systeps/unix/sysv/linux/hppa.
18095         * README: Update listing for hppa-*-linux-gnu.
18097 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18099         [BZ #16754]
18100         * manual/stdio.texi (Hook functions): Fix types of stream hook
18101         functions.
18102         [BZ #16854]
18103         * socket/sys/socket.h: Fix typo in comment.
18105 2014-04-28  Wilco  <wdijkstr@arm.com>
18107         * sysdeps/arm/fenv_private.h: New file.
18108         * sysdeps/arm/math_private.h: New file.
18109         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18111 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18113         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18114         with __int128_t.
18115         (La_x86_64_retval): Likewise.
18117 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18119         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18120         fpsr if value didn't change.
18121         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18122         to fpcr if value didn't change.
18123         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18125         fpsr or fpcr if value didn't change.
18126         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18127         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18128         fpcr if value didn't change.
18129         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18130         to fpsr if value didn't change.
18132 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18134         * nptl/tst-sem3.c: Use test-skeleton.c
18135         (main): Rename to do_test.  Use return instead of
18136         exit.
18137         * nptl/tst-sem4.c: Use test-skeleton.c
18138         (main): Rename to do_test.
18140 2014-04-22  David S. Miller  <davem@davemloft.net>
18142         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18143         (struct sigaction): New struct member __glibc_reserved0, change
18144         type of sa_flags to int.
18146 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18148         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18149         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18151 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18153         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18154         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18156 2014-04-22  Will Newton  <will.newton@linaro.org>
18157             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18159         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18160         (__longjmp): Add longjmp and longjmp_target SystemTap
18161         probes.
18162         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18163         (__sigsetjmp): Add setjmp SystemTap probe.
18165 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18167         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18168         match manual order.
18170 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18172         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18174         * sysdeps/powerpc/fpu/fenv_private.h
18175         (libc_feholdexcept_setroundl_ctx): Define to
18176         libc_feholdexcept_setround_ppc_ctx.
18177         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18178         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18179         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18180         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18182 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18184         * sysdeps/aarch64/math-tests.h: New file.
18186 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18188         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18189         New.
18190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18191         Check and set bit_AVX2_Usable.
18192         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18193         macro.
18194         (bit_AVX2): Likewise.
18195         (index_AVX2_Usable): Likewise.
18196         (CPUID_AVX2): Likewise.
18197         (HAS_AVX2): Likewise.
18199 2014-04-17  Will Newton  <will.newton@linaro.org>
18201         * manual/setjmp.texi (System V contexts): Add note that
18202         calling setcontext on a context created by a call to a
18203         signal handler is undefined.  Update text to note that
18204         setcontext from a signal handler is possible but not
18205         recommended.
18207         [BZ #16629]
18208         * stdlib/tst-setcontext.c: Include signal.h.
18209         (main): Check that the signal stack before and
18210         after swapcontext is the same.
18212         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18213         Re-implement to restore registers in user code and avoid
18214         rt_sigreturn system call.
18216 2014-04-17  Wilco  <wdijkstr@arm.com>
18218         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18219         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18220         * math/test-fenv.c: Skip exception trap tests on targets which only
18221         support non-stop mode.
18223 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18224             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18226         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18227         (libc_feholdsetround_aarch64_ctx)
18228         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18229         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18230         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18231         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18232         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18233         (libc_feresetround_noexl_ctx): Define.
18235 2014-04-16  Richard Henderson  <rth@redhat.com>
18237         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18239         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18240         unwind tables.
18242         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18243         const from the non-libc, non-ldso copy.
18245         * sysdeps/alpha/libm-test-ulps: Regenerate.
18247 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18248             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18250         * sysdeps/aarch64/fpu/math_private.h: New file.
18252 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18254         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18256 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18258         [BZ #16275]
18259         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18260         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18261         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18262         Intel MPX bound registers before _dl_profile_fixup.
18263         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18264         registers after _dl_profile_fixup.  Save and restore bound
18265         registers bnd0/bnd1 when calling _dl_call_pltexit.
18266         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18267         (LR_BND_OFFSET): Likewise.
18268         (LRV_BND0_OFFSET): Likewise.
18269         (LRV_BND1_OFFSET): Likewise.
18271 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18273         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18274         to...
18275         * sysdeps/mach/hurd/i386/tls.h: ... here.
18276         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18277         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18278         fields.
18280 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18282         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18284 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18288 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18290         [BZ #14770]
18291         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18292         * sysdeps/s390/configure: Regenerate.
18294         [BZ #16824]
18295         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18296         Set round-to-nearest internally to reduce error accumulation.
18298 2014-04-16  Alan Modra  <amodra@gmail.com>
18300         [BZ #16740]
18301         [BZ #16619]
18302         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18303         * math/libm-test.inc (frexp_test_data): Add tests.
18304         * NEWS: Update fixed bug list.
18306 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18308         * benchtests/Makefile: Depend on libraries in build directory.
18309         (bench-math): Separate out math tests.
18310         (bench-pthread): Separate out pthread tests.
18311         (bench): Include math and pthread tests.
18313 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18315         [BZ #16831]
18316         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18317         _dl_debug_initialize.
18319         * configure.ac: Remove SELinux header check.
18320         * configure: Regenerate.
18321         * nscd/selinux.c (perms): Array of const char* to permission names.
18322         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18323         default policy. Call string_to_security_class and string_to_av_perm to
18324         translate strings. Enforce default policy and call avs_has_perm with
18325         results of translated strings.
18327 2014-04-13  David S. Miller  <davem@davemloft.net>
18329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18331 2014-04-12  Allan McRae  <allan@archlinux.org>
18333         [BZ #16838]
18334         * manual/string.texi (Collation Functions): Fix qsort argument
18335         order in example.
18336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18338 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18340         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18341         Make the test a no-op if there are no exceptions defined.
18343 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18345         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18346         enable-hardcoded-path-in-tests
18348 2014-04-11  Will Newton  <will.newton@linaro.org>
18350         * benchtests/Makefile (extra-objs): Add json-lib.o.
18351         (bench-func): Tidy up JSON output.
18352         * benchtests/bench-skeleton.c: Include json-lib.h.
18353         (main): Use JSON library functions to do output of
18354         benchmark results.
18355         * benchtests/bench-timing-type.c (main): Output the
18356         timing type simply, leaving formatting to the user.
18357         * benchtests/json-lib.c: New file.
18358         * benchtests/json-lib.h: Likewise.
18360 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18362         [BZ #15215]
18363         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18364         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18365         memory barriers.  Add comments.
18366         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18367         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18368         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18369         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18370         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18371         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18373 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18375         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18376         * sysdeps/s390/s390-64/configure.ac: ... this ...
18377         * sysdeps/s390/configure.ac: ... to here.
18378         * sysdeps/s390/s390-32/configure: Delete file.
18379         * sysdeps/s390/s390-64/configure: Delete file.
18380         * sysdeps/s390/configure: Regenerate.
18382 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18384         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18386 2014-04-11  Will Newton  <will.newton@linaro.org>
18388         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18389         to zero if it is not defined elsewhere.  (mtrim): Test
18390         the value of MALLOC_DEBUG with #if rather than #ifdef.
18392 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18394         * benchtests/pthread_once-inputs: New file.
18395         * benchtests/pthread_once-source.c: New file.
18396         * benchtests/README: Update documentation.
18398 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18399             H.J. Lu  <hongjiu.lu@intel.com>
18401         [BZ #16275]
18402         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18403         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18404         * sysdeps/x86_64/configure: Regenerated.
18405         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18406         macro.
18407         (REGISTER_SAVE_RAX): Likewise.
18408         (REGISTER_SAVE_RCX): Likewise.
18409         (REGISTER_SAVE_RDX): Likewise.
18410         (REGISTER_SAVE_RSI): Likewise.
18411         (REGISTER_SAVE_RDI): Likewise.
18412         (REGISTER_SAVE_R8): Likewise.
18413         (REGISTER_SAVE_R9): Likewise.
18414         (REGISTER_SAVE_BND0): Likewise.
18415         (REGISTER_SAVE_BND1): Likewise.
18416         (REGISTER_SAVE_BND2): Likewise.
18417         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18418         bound registers when calling _dl_fixup.
18420 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18422         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18423         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18424         of its definition.
18425         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18426         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18427         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18428         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18429         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18430         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18431         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18433 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18435         [BZ #15514]
18436         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18437         pathconf(_PC_NAME_MAX).
18439 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18441         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18442         Remove macro usage.
18443         (__PTHREAD_SPINS): Move definition to ...
18444         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18445         (__PTHREAD_SPINS): ... here.
18446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18447         (__PTHREAD_SPIN): Likewise.
18448         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18449         (__PTHREAD_SPIN): Likewise.
18450         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18451         (__PTHREAD_SPIN): Likewise.
18452         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18453         (__PTHREAD_SPIN): Likewise.
18454         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18455         (__PTHREAD_SPIN): Likewise.
18456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18457         (__PTHREAD_SPIN): Likewise.
18458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18459         (__PTHREAD_SPIN): Likewise.
18460         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18461         (__PTHREAD_SPIN): Likewise.
18462         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18463         (__PTHREAD_SPIN): Likewise.
18464         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18465         (__PTHREAD_SPIN): Likewise.
18466         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18467         (__PTHREAD_SPIN): Likewise.
18468         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18469         (__PTHREAD_SPIN): Likewise.
18471         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18472         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18473         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18474         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18475         imply folder.
18476         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18477         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18478         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18479         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18480         correct imply path.
18481         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18482         strlen symbol for non multi-arch builds.
18483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18484         missing hidden_def and weak_alias.
18486 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18488         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18490 2014-04-07  Will Newton  <will.newton@linaro.org>
18492         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18493         and contents.  [!_LIBC] Remove #ifndef and contents.
18494         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18495         * string/memccpy.c (__memccpy): Use ANSI prototype.
18496         * string/memfrob.c (memfrob): Likewise.
18497         * string/strcoll.c (STRCOLL): Likewise.
18498         * string/strlen.c (strlen): Likewise.
18499         * string/strtok.c (STRTOK): Likewise.
18500         * string/strcat.c: Remove unused #include of memcopy.h.
18501         (strcat): Use ANSI prototype.
18502         * string/strchr.c: Remove unused #include of memcopy.h.
18503         (strchr): Use ANSI prototype.
18504         * string/strcmp.c: Remove unused #include of memcopy.h.
18505         (strcmp): Use ANSI prototype.
18506         * string/strcpy.c: Remove unused #include of memcopy.h.
18507         (strcpy): Use ANSI prototype.
18509 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18511         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18512         * config.make.in (config-extra-cppflags): Set it from
18513         libc_extra_cppflags.
18514         * configure.ac (libc_extra_cflags): Make it accumulate over
18515         configure fragments.
18516         (libc_extra_cppflags): New flag.
18517         * configure. Regenerate.
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18519         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18520         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18523         [BZ #16815]
18524         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18525         result for FE_DOWNWARD rounding mode.
18526         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18527         Likewise.
18528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18530 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18532         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18533         in function argument name.
18535 2014-04-03  David Svoboda  <svoboda@cert.org>
18537         [BZ #5666]
18538         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18539         explicitly.
18541 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18543         * elf/dl-unmap-segments.h: New file.
18544         * sysdeps/generic/ldsodefs.h
18545         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18546         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18547         * elf/dl-fptr.c: Likewise.
18548         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18549         * sysdeps/aarch64/tlsdesc.c: Likewise.
18550         * sysdeps/arm/tlsdesc.c: Likewise.
18551         * sysdeps/i386/tlsdesc.c: Likewise.
18552         * sysdeps/tile/dl-runtime.c: Likewise.
18553         * sysdeps/x86_64/tlsdesc.c: Likewise.
18554         * elf/dl-load.h: New file.
18555         * elf/dl-load.c: Include it.
18556         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18557         Macros moved to dl-load.h.
18558         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18559         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18560         Use _dl_unmap_segments in place of __munmap.
18561         Break out segment-mapping loop into ...
18562         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18564 2014-04-03  Will Newton  <will.newton@linaro.org>
18566         * elf/dl-lookup.c (do_lookup_x): Remove comment
18567         referring to nested function and move variable
18568         declarations down to before first use.
18570 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18572         [BZ #16799]
18573         [BZ #16800]
18574         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18575         with 0 numerator.
18576         * math/s_catanf.c (__catanf): Likewise.
18577         * math/s_catanh.c (__catanh): Likewise.
18578         * math/s_catanhf.c (__catanhf): Likewise.
18579         * math/s_catanhl.c (__catanhl): Likewise.
18580         * math/s_catanl.c (__catanl): Likewise.
18581         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18582         by positive zero when computing -Inf result.
18583         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18584         (catanh_test): Likewise.
18585         * sysdeps/i386/fpu/libm-test-ulps: Update.
18586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18588         [BZ #16789]
18589         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18590         instead of using underflowing value in computing result.
18591         * math/s_clog10.c (__clog10): Likewise.
18592         * math/s_clog10f.c (__clog10f): Likewise.
18593         * math/s_clog10l.c (__clog10l): Likewise.
18594         * math/s_clogf.c (__clogf): Likewise.
18595         * math/s_clogl.c (__clogl): Likewise.
18596         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18597         (clog10_test): Likewise.
18598         * sysdeps/i386/fpu/libm-test-ulps: Update.
18599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18601 2014-04-02  Alan Modra  <amodra@gmail.com>
18603         [BZ #16739]
18604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18605         output when value is near a power of two.  Use int64_t for lx and
18606         remove casts.  Use decimal rather than hex exponent constants.
18607         Don't use long double multiplication when double will suffice.
18608         * math/libm-test.inc (nextafter_test_data): Add tests.
18609         * NEWS: Add 16739 and 16786 to bug list.
18611         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18613         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18615 2014-04-01  Will Newton  <will.newton@linaro.org>
18617         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18618         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18620 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18622         [BZ #13347]
18623         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18624         * nptl/tst-setuid2.c: New file.
18625         * nptl/Makefile (xtests): Add tst-setuid2.
18627 2014-04-01  Alan Modra  <amodra@gmail.com>
18629         [BZ #16786]
18630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18632 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18634         [BZ #6803]
18635         [BZ #6804]
18636         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18637         set errno as appropriate.
18638         * math/w_scalbf.c (__scalbf): Likewise.
18639         * math/w_scalbl.c (__scalbl): Likewise.
18640         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18641         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18642         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18643         Add more NaN tests.
18645         [BZ #16349]
18646         * math/w_atan2.c: Include <errno.h>.
18647         (__atan2): Set errno for result underflowing to zero.
18648         * math/w_atan2f.c: Include <errno.h>.
18649         (__atan2f): Set errno for result underflowing to zero.
18650         * math/w_atan2l.c: Include <errno.h>.
18651         (__atan2l): Set errno for result underflowing to zero.
18652         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18653         tests.
18654         * math/auto-libm-test-out: Regenerated.
18656 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18658         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18659         Encode instruction correctly in little endian.
18660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18661         Likewise.
18662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18663         Likewise.
18664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18665         Likewise.
18666         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18667         Likewise.
18669 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18671         [BZ #9894]
18672         * sysdeps/unix/sysv/linux/kernel-features.h
18673         [__sparc__ && !__arch64__ && !__sparc_v9__]
18674         (__ASSUME_SET_ROBUST_LIST): Do not define.
18675         [__sparc__ && !__arch64__ && !__sparc_v9__]
18676         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18677         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18678         Likewise.
18679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18680         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18681         (__ASSUME_REQUEUE_PI): Likewise.
18682         (__ASSUME_SET_ROBUST_LIST): Likewise.
18683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18684         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18685         Undefine.
18686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18687         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18688         Likewise.
18689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18690         Likewise.
18691         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18692         Likewise.
18693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18694         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18695         Undefine.
18696         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18697         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18698         Likewise.
18700         [BZ #16648]
18701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18703         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18705 2014-03-31  Will Newton  <will.newton@linaro.org>
18707         * benchtests/Makefile (bench): Add ffs and ffsll to list
18708         of tests.
18709         * benchtests/ffs-inputs: New file.
18710         * benchtests/ffsll-inputs: Likewise.
18712 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18714         [BZ #16770]
18715         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18716         too large before casting to int.
18717         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18718         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18719         * math/libm-test.inc (scalb_test_data): Add more tests.
18721 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18723         * benchtests/Makefile (DETAILED_OPT): New make option.
18724         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18725         set.
18726         * benchtests/bench-skeleton.c: Include stdbool.h.
18727         (main): Store and print timings per input.
18728         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18729         member to each argument value.
18730         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18731         (_print_arg_data): Initialize per-input timing to 0.
18733         * benchtests/Makefile (timing-type): New binary.
18734         (bench-clean): Also remove bench-timing-type.
18735         (bench): New target for timing-type.
18736         (bench-func): Print output in JSON format.
18737         * benchtests/bench-skeleton.c (main): Print output in JSON
18738         format.
18739         * benchtests/bench-timing-type.c: New file.
18740         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18741         (TIMING_PRINT_STATS): Remove.
18742         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18743         name separately.
18745         * benchtests/bench-modf.c: Remove.
18746         * benchtests/modf-inputs: New inputs file.
18748 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18750         [BZ #16362]
18751         * math/s_clog10.c (M_PI_LOG10E): New macro.
18752         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18753         imaginary parts are 0.
18754         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18755         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18756         imaginary parts are 0.
18757         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18758         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18759         imaginary parts are 0.
18760         * math/libm-test.inc (clog10_test_data): Update expected results
18761         for when real and imaginary parts are 0.
18763 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18765         * elf/dl-load.c: Finish conversion of __builtin_expect into
18766         __glibc_{un}likely.
18768 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18770         [BZ #16348]
18771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18772         1+x for argument with exponent below -67.
18773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18774         Likewise.
18775         * math/auto-libm-test-in: Add more tests of exp.
18776         * math/auto-libm-test-out: Regenerated.
18778 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18780         [BZ #16759]
18781         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18782         (nscd_getnetgrent): Use it.
18784         [BZ #16760]
18785         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18786         of stpcpy.
18788 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18790         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18791         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18792         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18793         (lll_robust_unlock): Remove out of line section. Use cfi
18794         intrinsics.
18795         (LLL_STUB_UNWIND_INFO*): Remove.
18796         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18797         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18798         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18799         (lll_robust_unlock): Remove out of line section. Use cfi
18800         intrinsics.
18801         (LLL_STUB_UNWIND_INFO*): Remove.
18803 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18805         [BZ #16758]
18806         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18807         blank values.
18809 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18811         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18813 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18815         [BZ #16198]
18816         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18817         fnstenv.
18818         * math/test-fenv-preserve.c: New file.
18819         * math/Makefile (tests): Add test-fenv-preserve.
18821 2014-03-26  Will Newton <will.newton@linaro.org>
18823         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18825 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18827         * scripts/versionlist.awk: Partition the version sets and emit all
18828         GLIBC_* (sorted) before all others (sorted).
18830 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18832         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18833         GLIBC_2.2.5 version.
18835 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18837         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18838         calls.
18840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18841         previous change.
18843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18845 2014-03-25  Andreas Schwab  <schwab@suse.de>
18847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18848         label to be used after in6ailist is initialized.
18850 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18853         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18855 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18857         [BZ #16357]
18858         [BZ #16599]
18859         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18860         min_plus_half.
18861         (fp_formats): Update initializers.
18862         (init_fp_formats): Initialize new field.
18863         (output_for_one_input_case): Allow underflow for results up to
18864         min_plus_half.
18865         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18866         * math/auto-libm-test-in: Don't mark some underflows from asin and
18867         atanh as spurious.
18868         * math/auto-libm-test-out: Regenerated.
18869         * sysdeps/i386/fpu/libm-test-ulps: Update.
18870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18872 2014-03-25  Andreas Schwab  <schwab@suse.de>
18874         * libio/Makefile (tst-ftell-partial-wide-ENV)
18875         (tst-ftell-active-handler-ENV): Define.
18877 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18879         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18881 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18883         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18885 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18887         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18888         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18889         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18891 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18893         [BZ #16634]
18894         * elf/dl-load.c (open_verify): Add mode parameter.
18895         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18896         (open_path): Change from boolean 'secure' to complete flag 'mode'
18897         (_dl_map_object): Adjust.
18898         * elf/Makefile (tests): Add tst-dlopen-aout.
18899         * elf/tst-dlopen-aout.c: New test.
18901 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18903         [BZ #16714]
18904         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18905         (struct stat): Rename member pad0 to __glibc_reserved0.
18907         [BZ #16712]
18908         * sysdeps/s390/s390-32/bits/wordsize.h
18909         (__WORDSIZE32_SIZE_ULONG): New define.
18910         * sysdeps/s390/s390-64/bits/wordsize.h
18911         (__WORDSIZE32_SIZE_ULONG): Likewise.
18912         * sysdeps/generic/stdint.h (SIZE_MAX):
18913         Define as UL if __WORDSIZE32_SIZE_ULONG.
18915         [BZ #16713]
18916         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18917         (__glibc_reserved0): New variable.
18918         (sa_flags): Change type to int.
18920         * posix/Makefile (before-compile): Use += before-compile instead
18921         of a :=.
18923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18924         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18926 2014-03-20  Andreas Schwab  <schwab@suse.de>
18928         [BZ #16743]
18929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18930         non-matching result from nscd.
18932 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18934         * scripts/bench.py: Moved to ...
18935         * benchtests/scripts/bench.py: ... here.
18936         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18938 2014-03-24  Andreas Schwab  <schwab@suse.de>
18940         [BZ #16002]
18941         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18942         alloca_account and account alloca use for struct in6ailist.
18944 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18946         [BZ #16284]
18947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18948         rounding mode to recompute results that overflow to infinity or
18949         underflow to zero.
18950         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18951         bug 16284.
18952         * math/auto-libm-test-out: Regenerated.
18953         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18954         (ccosh_test): Likewise.
18955         (csin_test_data): Use plus_oflow.
18956         (csin_test): Use ALL_RM_TEST.
18957         (csinh_test_data): Use plus_oflow.
18958         (csinh_test): Use ALL_RM_TEST.
18959         * sysdeps/i386/fpu/libm-test-ulps: Update.
18960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18964         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18965         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18966         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18968         [BZ #16731]
18969         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18970         when x - 1 is zero.
18971         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18972         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18973         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18974         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18975         argument is 1.
18976         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18977         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18978         zero.
18979         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18980         * sysdeps/i386/fpu/libm-test-ulps: Update.
18981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18983 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18985         * scripts/bench.pl: Remove file.
18986         * scripts/bench.py: New benchmark script.
18987         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18988         * benchtests/README: Mention python dependency.
18989         * scripts/pylintrc: New file.
18990         * scripts/pylint: New file.
18992         * bits/mathdef.h: Use #ifdef instead of #if.
18993         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18994         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18995         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18996         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18997         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18998         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19000 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19003         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19005         and strpbrk-ppc64 objects.
19006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19007         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19008         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19009         multiarch strpbrk for POWER7.
19010         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19011         multiarch strpbrk for PPC64.
19012         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19013         ifunc selector.
19014         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19015         strpbrk for POWER7.
19017 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19019         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19020         (atan_test): Likewise.
19021         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19022         (atanh_test): Use ALL_RM_TEST.
19023         (atan2_test_data): Likewise.
19024         (cabs_test): Likewise.
19025         (cacosh_test): Likewise.
19026         (carg_test): Likewise.
19027         (casin_test): Likewise.
19028         (casinh_test): Likewise.
19029         (cbrt_test): Likewise.
19030         (csqrt_test): Likewise.
19031         (erf_test): Likewise.
19032         (erfc_test): Likewise.
19033         (pow10_test): Likewise.
19034         (exp2_test): Likewise.
19035         (hypot_test): Likewise.
19036         (j0_test): Likewise.
19037         (j1_test): Likewise.
19038         (lgamma_test): Likewise.
19039         (gamma_test): Likewise.
19040         (sincos_test): Likewise.
19041         (tanh_test): Likewise.
19042         (y0_test): Likewise.
19043         (y1_test): Likewise.
19044         * sysdeps/i386/fpu/libm-test-ulps: Update.
19045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19047 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19049         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19051         and strcspn-ppc64 objects.
19052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19053         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19054         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19055         multiarch strcspn for POWER7.
19056         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19057         multiarch strcspn for PPC64.
19058         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19059         ifunc selector.
19060         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19061         strcspn for POWER7.
19063 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19065         * math/gen-libm-test.pl (generate_testfile): Expect only function
19066         name as argument to AUTO_TESTS_* and pass results for all rounding
19067         modes to parse_args.
19068         (parse_auto_input): Separate inputs of automatic tests from
19069         outputs before storing in %auto_tests.
19070         * math/libm-test.inc (acos_test_data): Update call to
19071         AUTO_TESTS_f_f.
19072         (acos_test): Use ALL_RM_TEST.
19073         (acos_tonearest_test_data): Remove.
19074         (acos_test_tonearest): Likewise.
19075         (acos_towardzero_test_data): Likewise.
19076         (acos_test_towardzero): Likewise.
19077         (acos_downward_test_data): Likewise.
19078         (acos_test_downward): Likewise.
19079         (acos_upward_test_data): Likewise.
19080         (acos_test_upward): Likewise.
19081         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19082         (asin_test_data): Likewise.
19083         (asin_test): Use ALL_RM_TEST.
19084         (asin_tonearest_test_data): Remove.
19085         (asin_test_tonearest): Likewise.
19086         (asin_towardzero_test_data): Likewise.
19087         (asin_test_towardzero): Likewise.
19088         (asin_downward_test_data): Likewise.
19089         (asin_test_downward): Likewise.
19090         (asin_upward_test_data): Likewise.
19091         (asin_test_upward): Likewise.
19092         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19093         (atan_test_data): Likewise.
19094         (atanh_test_data): Likewise.
19095         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19096         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19097         (carg_test_data): Likewise.
19098         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19099         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19100         (ccosh_test_data): Likewise.
19101         (cexp_test_data): Likewise.
19102         (clog_test_data): Likewise.
19103         (clog10_test_data): Likewise.
19104         (cos_test_data): Update call to AUTO_TESTS_f_f.
19105         (cos_test): Use ALL_RM_TEST.
19106         (cos_tonearest_test_data): Remove.
19107         (cos_test_tonearest): Likewise.
19108         (cos_towardzero_test_data): Likewise.
19109         (cos_test_towardzero): Likewise.
19110         (cos_downward_test_data): Likewise.
19111         (cos_test_downward): Likewise.
19112         (cos_upward_test_data): Likewise.
19113         (cos_test_upward): Likewise.
19114         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19115         (cosh_test): Use ALL_RM_TEST.
19116         (cosh_tonearest_test_data): Remove.
19117         (cosh_test_tonearest): Likewise.
19118         (cosh_towardzero_test_data): Likewise.
19119         (cosh_test_towardzero): Likewise.
19120         (cosh_downward_test_data): Likewise.
19121         (cosh_test_downward): Likewise.
19122         (cosh_upward_test_data): Likewise.
19123         (cosh_test_upward): Likewise.
19124         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19125         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19126         (ctan_test_data): Likewise.
19127         (ctan_test): Use ALL_RM_TEST.
19128         (ctan_tonearest_test_data): Remove.
19129         (ctan_test_tonearest): Likewise.
19130         (ctan_towardzero_test_data): Likewise.
19131         (ctan_test_towardzero): Likewise.
19132         (ctan_downward_test_data): Likewise.
19133         (ctan_test_downward): Likewise.
19134         (ctan_upward_test_data): Likewise.
19135         (ctan_test_upward): Likewise.
19136         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19137         (ctanh_test): Use ALL_RM_TEST.
19138         (ctanh_tonearest_test_data): Remove.
19139         (ctanh_test_tonearest): Likewise.
19140         (ctanh_towardzero_test_data): Likewise.
19141         (ctanh_test_towardzero): Likewise.
19142         (ctanh_downward_test_data): Likewise.
19143         (ctanh_test_downward): Likewise.
19144         (ctanh_upward_test_data): Likewise.
19145         (ctanh_test_upward): Likewise.
19146         (erf_test_data): Update call to AUTO_TESTS_f_f.
19147         (erfc_test_data): Likewise.
19148         (exp_test_data): Likewise.
19149         (exp_test): Use ALL_RM_TEST.
19150         (exp_tonearest_test_data): Remove.
19151         (exp_test_tonearest): Likewise.
19152         (exp_towardzero_test_data): Likewise.
19153         (exp_test_towardzero): Likewise.
19154         (exp_downward_test_data): Likewise.
19155         (exp_test_downward): Likewise.
19156         (exp_upward_test_data): Likewise.
19157         (exp_test_upward): Likewise.
19158         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19159         (exp10_test): Use ALL_RM_TEST.
19160         (exp10_tonearest_test_data): Remove.
19161         (exp10_test_tonearest): Likewise.
19162         (exp10_towardzero_test_data): Likewise.
19163         (exp10_test_towardzero): Likewise.
19164         (exp10_downward_test_data): Likewise.
19165         (exp10_test_downward): Likewise.
19166         (exp10_upward_test_data): Likewise.
19167         (exp10_test_upward): Likewise.
19168         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19169         (expm1_test_data): Likewise.
19170         (expm1_test): Use ALL_RM_TEST.
19171         (expm1_tonearest_test_data): Remove.
19172         (expm1_test_tonearest): Likewise.
19173         (expm1_towardzero_test_data): Likewise.
19174         (expm1_test_towardzero): Likewise.
19175         (expm1_downward_test_data): Likewise.
19176         (expm1_test_downward): Likewise.
19177         (expm1_upward_test_data): Likewise.
19178         (expm1_test_upward): Likewise.
19179         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19180         (fma_test): Use ALL_RM_TEST.
19181         (fma_towardzero_test_data): Remove.
19182         (fma_test_towardzero): Likewise.
19183         (fma_downward_test_data): Likewise.
19184         (fma_test_downward): Likewise.
19185         (fma_upward_test_data): Likewise.
19186         (fma_test_upward): Likewise.
19187         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19188         (j0_test_data): Update call to AUTO_TESTS_f_f.
19189         (j1_test_data): Likewise.
19190         (jn_test_data): Update call to AUTO_TESTS_if_f.
19191         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19192         (log_test_data): Update call to AUTO_TESTS_f_f.
19193         (log10_test_data): Likewise.
19194         (log1p_test_data): Likewise.
19195         (log2_test_data): Likewise.
19196         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19197         (pow_tonearest_test_data): Likewise.
19198         (sin_test_data): Update call to AUTO_TESTS_f_f.
19199         (sin_test): Use ALL_RM_TEST.
19200         (sin_tonearest_test_data): Remove.
19201         (sin_test_tonearest): Likewise.
19202         (sin_towardzero_test_data): Likewise.
19203         (sin_test_towardzero): Likewise.
19204         (sin_downward_test_data): Likewise.
19205         (sin_test_downward): Likewise.
19206         (sin_upward_test_data): Likewise.
19207         (sin_test_upward): Likewise.
19208         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19209         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19210         (sinh_test): Use ALL_RM_TEST.
19211         (sinh_tonearest_test_data): Remove.
19212         (sinh_test_tonearest): Likewise.
19213         (sinh_towardzero_test_data): Likewise.
19214         (sinh_test_towardzero): Likewise.
19215         (sinh_downward_test_data): Likewise.
19216         (sinh_test_downward): Likewise.
19217         (sinh_upward_test_data): Likewise.
19218         (sinh_test_upward): Likewise.
19219         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19220         (sqrt_test): Use ALL_RM_TEST.
19221         (sqrt_tonearest_test_data): Remove.
19222         (sqrt_test_tonearest): Likewise.
19223         (sqrt_towardzero_test_data): Likewise.
19224         (sqrt_test_towardzero): Likewise.
19225         (sqrt_downward_test_data): Likewise.
19226         (sqrt_test_downward): Likewise.
19227         (sqrt_upward_test_data): Likewise.
19228         (sqrt_test_upward): Likewise.
19229         (tan_test_data): Update call to AUTO_TESTS_f_f.
19230         (tan_test): Use ALL_RM_TEST.
19231         (tan_tonearest_test_data): Remove.
19232         (tan_test_tonearest): Likewise.
19233         (tan_towardzero_test_data): Likewise.
19234         (tan_test_towardzero): Likewise.
19235         (tan_downward_test_data): Likewise.
19236         (tan_test_downward): Likewise.
19237         (tan_upward_test_data): Likewise.
19238         (tan_test_upward): Likewise.
19239         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19240         (tgamma_test_data): Likewise.
19241         (y0_test_data): Likewise.
19242         (y1_test_data): Likewise.
19243         (yn_test_data): Update call to AUTO_TESTS_if_f.
19244         (main): Do not call removed functions.
19246 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19248         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19249         (ldexp_test_data): Remove.
19250         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19251         scalbn_test_data.
19252         (scalb_test): Use ALL_RM_TEST.
19254 2014-03-19  Andreas Schwab  <schwab@suse.de>
19256         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19258 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19260         [BZ #16649]
19261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19262         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19263         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19264         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19265         (__ASSUME_PREADV): Undefine.
19266         (__ASSUME_PWRITEV): Likewise.
19268 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19270         * bits/mman-linux.h: Add comment about non-Linux use.
19271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19272         bits/mman-linux.h resting place.
19274         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19275         * bits/mman-linux.h: ... here.
19277 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19279         * conform/conformtest.pl: Add standard definition when calling C
19280         preprocessor on data files.
19281         (checknamespace): Remove unused variable.
19283 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19285         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19286         minus_oflow, plus_uflow and minus_uflow in expected results.
19287         * math/libm-test.inc (scalbn_test_data): Add more tests of
19288         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19289         minus_uflow.
19290         (scalbn_test): Use ALL_RM_TEST.
19291         (scalbln_test_data): Add more tests of negative arguments.  Use
19292         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19293         (scalbln_test): Use ALL_RM_TEST.
19295 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19297         * scripts/abilist.awk: Ignore symbols marked with .hidden.
19299 2014-03-18  Will Newton  <will.newton@linaro.org>
19301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19302         inaccurate comment.
19304 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19306         * Makerules [!subdir] (check-abi): Exit with error status if a
19307         test failed.
19309 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19311         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19312         for rint.  Include results for all rounding modes.
19313         (nearbyint_test): Use ALL_RM_TEST.
19314         (rint_test_data): Include all tests used for nearbyint.
19316 2014-03-17  Will Newton  <will.newton@linaro.org>
19318         * nptl/sysdeps/pthread/pthread.h: Revert previous
19319         change.
19321         * sysdeps/generic/ldsodefs.h: Revert previous
19322         change.
19324         * libio/genops.c: Revert previous change.
19325         * libio/libioP.h: Likewise.
19326         * stdio-common/vfprintf.c: Likewise.
19328         * sysdeps/generic/math_private.h: Revert previous
19329         change.
19331         * sysdeps/generic/math_private.h: Check whether
19332         HAVE_RM_CTX is defined with #ifdef rather
19333         than #if.
19335         * argp/argp-fmtstream.h: Check whether
19336         __STRICT_ANSI__ is defined with #ifdef rather
19337         than #if.
19338         * argp/argp.h: Likewise.
19340         * libio/genops.c: Check whether
19341         _IO_JUMPS_OFFSET is defined with #ifdef rather
19342         than #if.
19343         * libio/libioP.h: Likewise.
19344         * stdio-common/vfprintf.c: Likewise.
19346         * sysdeps/generic/ldsodefs.h: Check whether
19347         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19348         than #if.
19350         * nptl/sysdeps/pthread/pthread.h: Check
19351         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19352         its value.
19354 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19356         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19357         setting O_APPEND.
19358         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19359         test case.
19361         [BZ #16680]
19362         * libio/fileops.c (_IO_file_open): Seek to end of file but
19363         don't cache the offset.
19364         (get_file_offset): Remove function.
19365         (do_ftell): Use cached offset when available.
19366         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19367         don't cache the offset.
19368         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19369         case.
19370         (do_one_test): Call it.
19371         (do_ftell_test): Fix up expected old offset for a+ mode.
19372         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19373         available.
19375         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19376         up test status with function return status.
19377         (do_write_test): Likewise.
19378         (do_append_test): Likewise.
19380         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19381         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19382         Remove.
19384 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19386         * math/gen-libm-test.pl (parse_args): Handle results specified for
19387         each rounding mode separately.
19388         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19389         tests and results from lrint_tonearest_test_data,
19390         lrint_towardzero_test_data, lrint_downward_test_data and
19391         lrint_upward_test_data.
19392         (lrint_test): Use ALL_RM_TEST.
19393         (lrint_tonearest_test_data): Remove.
19394         (lrint_test_tonearest): Likewise.
19395         (lrint_towardzero_test_data): Likewise.
19396         (lrint_test_towardzero): Likewise.
19397         (lrint_downward_test_data): Likewise.
19398         (lrint_test_downward): Likewise.
19399         (lrint_upward_test_data): Likewise.
19400         (lrint_test_upward): Likewise.
19401         (llrint_test_data): Merge in per-rounding-mode tests and results
19402         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19403         llrint_downward_test_data and llrint_upward_test_data.
19404         (llrint_test): Use ALL_RM_TEST.
19405         (llrint_tonearest_test_data): Remove.
19406         (llrint_test_tonearest): Likewise.
19407         (llrint_towardzero_test_data): Likewise.
19408         (llrint_test_towardzero): Likewise.
19409         (llrint_downward_test_data): Likewise.
19410         (llrint_test_downward): Likewise.
19411         (llrint_upward_test_data): Likewise.
19412         (llrint_test_upward): Likewise.
19413         (rint_test_data): Merge in per-rounding-mode tests and results
19414         from rint_tonearest_test_data, rint_towardzero_test_data,
19415         rint_downward_test_data and rint_upward_test_data.  Add
19416         per-rounding-mode results for tests not in those arrays.
19417         (rint_test): Use ALL_RM_TEST.
19418         (rint_tonearest_test_data): Remove.
19419         (rint_test_tonearest): Likewise.
19420         (rint_towardzero_test_data): Likewise.
19421         (rint_test_towardzero): Likewise.
19422         (rint_downward_test_data): Likewise.
19423         (rint_test_downward): Likewise.
19424         (rint_upward_test_data): Likewise.
19425         (rint_test_upward): Likewise.
19426         (main): Don't call removed functions.
19428 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19430         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19431         "Compiled on ..." crapola.  It is anti-useful.
19433 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19435         * scripts/evaluate-test.sh: Handle fourth argument to determine
19436         whether test run should stop on failure.
19437         * Makeconfig (stop-on-test-failure): New variable.
19438         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19439         $(stop-on-test-failure).
19440         * Makefile (tests): Give a summary of results from testing and
19441         exit with failure status if they include an ERROR or FAIL.
19442         (xtests): Likewise.
19443         * manual/install.texi (Configuring and compiling): Mention
19444         stop-on-test-failure=y.
19445         * INSTALL: Regenerated.
19447 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19449         * scripts/versionlist.awk: New file.
19450         * Makerules [$(build-shared) = yes]
19451         (postclean-generated): Add Versions.def, not Versions.def.v and
19452         Versions.def.v.i.
19453         ($(common-objpfx)Versions.def.v.i): Target removed.
19454         ($(common-objpfx)Versions.def): New target.
19455         ($(common-objpfx)Versions.all): Depend on that rather that
19456         $(common-objpfx)Versions.def.v.
19457         * Versions.def: File removed.
19459         * Makeconfig (+gccwarn): Add -Wundef.
19460         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19461         a dl-sysdep.h breaking its contract.
19462         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19463         * include/stackinfo.h: New file.
19464         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19465         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19466         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19467         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19468         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19469         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19470         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19471         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19472         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19473         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19474         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19475         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19476         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19477         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19478         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19480 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19482         [BZ #16707]
19483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19484         implementation.
19485         * math/libm-test.inc (round_test_data): Add more tests.
19487         [BZ #16706]
19488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19489         implementation.
19490         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19492         [BZ #16701]
19493         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19494         implementation.
19495         * math/libm-test.inc (ceil_test_data): Add more tests.
19497         * math/libm-test.inc (trunc_test_data): Add more tests related to
19498         BZ#16414.
19500 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19502         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19503         with #if rather than #ifdef.
19504         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19506 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19508         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19509         first.  Disable AVX-512 GCC support if assembler doesn't support
19510         it.
19511         * sysdeps/x86_64/configure: Regenerated.
19513 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19515         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19516         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19517         (__old_pthread_attr_setstack): Likewise.
19518         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19519         [!_STACK_GROWS_DOWN]: Likewise.
19521 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19523         * config.make.in (have-bash2): Delete.
19524         * configure.ac (libc_cv_have_bash2): Delete.
19525         * configure: Regenerate.
19526         * elf/Makefile (common-ldd-rewrite): Rename to ...
19527         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19528         (sh-ldd-rewrite): Delete.
19529         (bash-ldd-rewrite): Delete.
19530         (have-bash2): Delete checks.
19531         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19532         ldd-rewrite.
19534         * config.make.in (have-ksh): Delete.
19535         (KSH): Delete.
19536         * configure.ac (libc_cv_have_ksh): Delete.
19537         * configure: Regenerate.
19539         * elf/Makefile: Delete $(have-ksh) check.
19540         ($(objpfx)sotruss): Change KSH to BASH.
19541         * elf/sotruss.ksh: Rename to ...
19542         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19543         function style to match POSIX.  Drop ksh vim mode setting.
19545         * manual/time.texi (Specifying the Time Zone with TZ): Change
19546         Tuesday to Thursday.
19548         * debug/tst-longjmp_chk2.c: Update header comment.
19549         (stackoverflow_handler): Add comment.  Call assert on pass value.
19551 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19553         [BZ #16194]
19554         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19555         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19556         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19557         (La_x86_64_vector): Add zmm.
19558         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19559         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19560         ($(objpfx)tst-audit10): New target.
19561         ($(objpfx)tst-audit10.out): Likewise.
19562         (tst-audit10-ENV): New.
19563         (AVX512-CFLAGS): Likewise.
19564         (CFLAGS-tst-audit10.c): Likewise.
19565         (CFLAGS-tst-auditmod10a.c): Likewise.
19566         (CFLAGS-tst-auditmod10b.c): Likewise.
19567         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19568         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19569         * sysdeps/x86_64/configure: Regenerated.
19570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19571         AVX-512 zmm register support.
19572         (_dl_x86_64_save_sse): Likewise.
19573         (_dl_x86_64_restore_sse): Likewise.
19574         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19575         size vector registers.
19576         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19577         (ZMM_SIZE): Likewise.
19578         * sysdeps/x86_64/tst-audit10.c: New file.
19579         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19580         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19582 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19584         * configure.ac (HAVE_EHDR_START): New check.
19585         * configure: Regenerated.
19586         * config.h.in (HAVE_EHDR_START): New #undef.
19587         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19588         assuming the lowest-addressed segment maps the start of the file.
19590 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19592         * INSTALL: Regenerated.
19594 2014-03-13  Will Newton  <will.newton@linaro.org>
19596         * manual/setjmp.texi (System V contexts): Improve
19597         clarity and grammar of documentation.
19599 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19601         [BZ #16381]
19602         * elf/Makefile (tests): Add tst-pie2.
19603         (tests-pie): Add tst-pie2.
19604         * elf/tst-pie2.c: New file.
19605         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19606         for ET_EXEC.
19607         * elf/rtld.c (map_doit): Load executable as lt_executable.
19608         (dl_main): Likewise.
19610 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19612         [BZ #16642]
19613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19614         (__ASSUME_PSELECT): Undefine.
19616 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19618         [BZ #16689]
19619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19620         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19621         static build.
19622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19623         selector for static builds.
19625 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19627         [BZ #16695]
19628         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19629         key in the buffer.
19631 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19634         IFUNC selector for static builds.
19636 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19638         * sysdeps/mips/math_private.h [__mips_hard_float]
19639         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19640         libc_feresetround_mips_ctx.
19641         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19642         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19643         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19645         [BZ #16677]
19646         * math/s_nextafter.c (__nextafter): Do not return value from
19647         overflowing computation.
19648         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19649         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19650         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19651         Likewise.
19652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19653         Likewise.
19654         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19655         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19657 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19659         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19660         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19661         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19662         the new mov targetting sp.
19664 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19666         [BZ #16683]
19667         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19668         Define it for static builds as well.
19669         (NO_BZERO_IMPL): Likewise.
19671 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19673         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19674         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19675         multiarch strspn for PPC64.
19676         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19677         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19679         (__libc_ifunc_impl_list): Likewise.
19680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19681         multiarch optimizations
19682         * string/strspn.c (strspn): Using macro to redefine symbol name.
19684 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19685             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19687         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19688         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19689         multiarch strncat for PPC64.
19690         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19691         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19693         (__libc_ifunc_impl_list): Likewise.
19694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19695         multiarch optimizations
19697 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19699         [BZ #16639]
19700         * nscd/nscd.service: Make service type forking.
19702 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19704         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19705         sign in non default rounding modes.
19706         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19708 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19710         * math/libm-test.inc (ALL_RM_TEST): New macro.
19711         (ceil_test): Use ALL_RM_TEST.
19712         (cimag_test): Likewise.
19713         (conj_test): Likewise.
19714         (copysign_test): Likewise.
19715         (cproj_test): Likewise.
19716         (creal_test): Likewise.
19717         (fabs_test): Likewise.
19718         (floor_test): Likewise.
19719         (fmax_test): Likewise.
19720         (fmin_test): Likewise.
19721         (fmod_test): Likewise.
19722         (fpclassify_test): Likewise.
19723         (frexp_test): Likewise.
19724         (ilogb_test): Likewise.
19725         (isfinite_test): Likewise.
19726         (finite_test): Likewise.
19727         (isgreater_test): Likewise.
19728         (isgreaterequal_test): Likewise.
19729         (isinf_test): Likewise.
19730         (isless_test): Likewise.
19731         (islessequal_test): Likewise.
19732         (islessgreater_test): Likewise.
19733         (isnan_test): Likewise.
19734         (isnormal_test): Likewise.
19735         (issignaling_test): Likewise.
19736         (isunordered_test): Likewise.
19737         (logb_test): Likewise.
19738         (logb_downward_test_data): Remove.
19739         (logb_test_downward): Likewise.
19740         (lround_test): Use ALL_RM_TEST.
19741         (llround_test): Likewise.
19742         (modf_test): Likewise.
19743         (nexttoward_test): Likewise.
19744         (remainder_test): Likewise.
19745         (drem_test): Likewise.
19746         (remainder_tonearest_test_data): Likewise.
19747         (remainder_test_tonearest): Likewise.
19748         (drem_test_tonearest): Likewise.
19749         (remainder_towardzero_test_data): Likewise.
19750         (remainder_test_towardzero): Likewise.
19751         (drem_test_towardzero): Likewise.
19752         (remainder_downward_test_data): Likewise.
19753         (remainder_test_downward): Likewise.
19754         (drem_test_downward): Likewise.
19755         (remainder_upward_test_data): Likewise.
19756         (remainder_test_upward): Likewise.
19757         (drem_test_upward): Likewise.
19758         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19759         (round_test): Use ALL_RM_TEST.
19760         (signbit_test): Likewise.
19761         (trunc_test): Likewise.
19762         (significand_test): Likewise.
19763         (main): Don't call removed functions.
19765 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19767         [BZ #16674]
19768         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19769         || __USE_XOPEN2K8].
19770         (ILL_ILLOPN): Likewise.
19771         (ILL_ILLADR): Likewise.
19772         (ILL_ILLTRP): Likewise.
19773         (ILL_PRVOPC): Likewise.
19774         (ILL_PRVREG): Likewise.
19775         (ILL_COPROC): Likewise.
19776         (ILL_BADSTK): Likewise.
19777         (FPE_INTDIV): Likewise.
19778         (FPE_INTOVF): Likewise.
19779         (FPE_FLTDIV): Likewise.
19780         (FPE_FLTOVF): Likewise.
19781         (FPE_FLTUND): Likewise.
19782         (FPE_FLTRES): Likewise.
19783         (FPE_FLTINV): Likewise.
19784         (FPE_FLTSUB): Likewise.
19785         (SEGV_MAPERR): Likewise.
19786         (SEGV_ACCERR): Likewise.
19787         (BUS_ADRALN): Likewise.
19788         (BUS_ADRERR): Likewise.
19789         (BUS_OBJERR): Likewise.
19790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19791         (TRAP_TRACE): Likewise.
19792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19793         __USE_XOPEN2K8].
19794         (CLD_KILLED): Likewise.
19795         (CLD_DUMPED): Likewise.
19796         (CLD_TRAPPED): Likewise.
19797         (CLD_STOPPED): Likewise.
19798         (CLD_CONTINUED): Likewise.
19799         (POLL_IN): Likewise.
19800         (POLL_OUT): Likewise.
19801         (POLL_MSG): Likewise.
19802         (POLL_ERR): Likewise.
19803         (POLL_PRI): Likewise.
19804         (POLL_HUP): Likewise.
19805         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19806         Likewise.
19807         (ILL_ILLOPN): Likewise.
19808         (ILL_ILLADR): Likewise.
19809         (ILL_ILLTRP): Likewise.
19810         (ILL_PRVOPC): Likewise.
19811         (ILL_PRVREG): Likewise.
19812         (ILL_COPROC): Likewise.
19813         (ILL_BADSTK): Likewise.
19814         (FPE_INTDIV): Likewise.
19815         (FPE_INTOVF): Likewise.
19816         (FPE_FLTDIV): Likewise.
19817         (FPE_FLTOVF): Likewise.
19818         (FPE_FLTUND): Likewise.
19819         (FPE_FLTRES): Likewise.
19820         (FPE_FLTINV): Likewise.
19821         (FPE_FLTSUB): Likewise.
19822         (SEGV_MAPERR): Likewise.
19823         (SEGV_ACCERR): Likewise.
19824         (BUS_ADRALN): Likewise.
19825         (BUS_ADRERR): Likewise.
19826         (BUS_OBJERR): Likewise.
19827         (BUS_MCEERR_AR): Likewise.
19828         (BUS_MCEERR_AO): Likewise.
19829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19830         (TRAP_TRACE): Likewise.
19831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19832         __USE_XOPEN2K8].
19833         (CLD_KILLED): Likewise.
19834         (CLD_DUMPED): Likewise.
19835         (CLD_TRAPPED): Likewise.
19836         (CLD_STOPPED): Likewise.
19837         (CLD_CONTINUED): Likewise.
19838         (POLL_IN): Likewise.
19839         (POLL_OUT): Likewise.
19840         (POLL_MSG): Likewise.
19841         (POLL_ERR): Likewise.
19842         (POLL_PRI): Likewise.
19843         (POLL_HUP): Likewise.
19844         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19845         (ILL_ILLOPN): Likewise.
19846         (ILL_ILLADR): Likewise.
19847         (ILL_ILLTRP): Likewise.
19848         (ILL_PRVOPC): Likewise.
19849         (ILL_PRVREG): Likewise.
19850         (ILL_COPROC): Likewise.
19851         (ILL_BADSTK): Likewise.
19852         (FPE_INTDIV): Likewise.
19853         (FPE_INTOVF): Likewise.
19854         (FPE_FLTDIV): Likewise.
19855         (FPE_FLTOVF): Likewise.
19856         (FPE_FLTUND): Likewise.
19857         (FPE_FLTRES): Likewise.
19858         (FPE_FLTINV): Likewise.
19859         (FPE_FLTSUB): Likewise.
19860         (SEGV_MAPERR): Likewise.
19861         (SEGV_ACCERR): Likewise.
19862         (BUS_ADRALN): Likewise.
19863         (BUS_ADRERR): Likewise.
19864         (BUS_OBJERR): Likewise.
19865         (BUS_MCEERR_AR): Likewise.
19866         (BUS_MCEERR_AO): Likewise.
19867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19868         (TRAP_TRACE): Likewise.
19869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19870         __USE_XOPEN2K8].
19871         (CLD_KILLED): Likewise.
19872         (CLD_DUMPED): Likewise.
19873         (CLD_TRAPPED): Likewise.
19874         (CLD_STOPPED): Likewise.
19875         (CLD_CONTINUED): Likewise.
19876         (POLL_IN): Likewise.
19877         (POLL_OUT): Likewise.
19878         (POLL_MSG): Likewise.
19879         (POLL_ERR): Likewise.
19880         (POLL_PRI): Likewise.
19881         (POLL_HUP): Likewise.
19882         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19883         Likewise.
19884         (ILL_ILLOPN): Likewise.
19885         (ILL_ILLADR): Likewise.
19886         (ILL_ILLTRP): Likewise.
19887         (ILL_PRVOPC): Likewise.
19888         (ILL_PRVREG): Likewise.
19889         (ILL_COPROC): Likewise.
19890         (ILL_BADSTK): Likewise.
19891         (ILL_BADIADDR): Likewise.
19892         (ILL_BREAK): Likewise.
19893         (FPE_INTDIV): Likewise.
19894         (FPE_INTOVF): Likewise.
19895         (FPE_FLTDIV): Likewise.
19896         (FPE_FLTOVF): Likewise.
19897         (FPE_FLTUND): Likewise.
19898         (FPE_FLTRES): Likewise.
19899         (FPE_FLTINV): Likewise.
19900         (FPE_FLTSUB): Likewise.
19901         (FPE_DECOVF): Likewise.
19902         (FPE_DECDIV): Likewise.
19903         (FPE_DECERR): Likewise.
19904         (FPE_INVASC): Likewise.
19905         (FPE_INVDEC): Likewise.
19906         (SEGV_MAPERR): Likewise.
19907         (SEGV_ACCERR): Likewise.
19908         (SEGV_PSTKOVF): Likewise.
19909         (BUS_ADRALN): Likewise.
19910         (BUS_ADRERR): Likewise.
19911         (BUS_OBJERR): Likewise.
19912         (BUS_MCEERR_AR): Likewise.
19913         (BUS_MCEERR_AO): Likewise.
19914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19915         (TRAP_TRACE): Likewise.
19916         (TRAP_BRANCH): Likewise.
19917         (TRAP_HWBKPT): Likewise.
19918         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19919         __USE_XOPEN2K8].
19920         (CLD_KILLED): Likewise.
19921         (CLD_DUMPED): Likewise.
19922         (CLD_TRAPPED): Likewise.
19923         (CLD_STOPPED): Likewise.
19924         (CLD_CONTINUED): Likewise.
19925         (POLL_IN): Likewise.
19926         (POLL_OUT): Likewise.
19927         (POLL_MSG): Likewise.
19928         (POLL_ERR): Likewise.
19929         (POLL_PRI): Likewise.
19930         (POLL_HUP): Likewise.
19931         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19932         (ILL_ILLOPN): Likewise.
19933         (ILL_ILLADR): Likewise.
19934         (ILL_ILLTRP): Likewise.
19935         (ILL_PRVOPC): Likewise.
19936         (ILL_PRVREG): Likewise.
19937         (ILL_COPROC): Likewise.
19938         (ILL_BADSTK): Likewise.
19939         (FPE_INTDIV): Likewise.
19940         (FPE_INTOVF): Likewise.
19941         (FPE_FLTDIV): Likewise.
19942         (FPE_FLTOVF): Likewise.
19943         (FPE_FLTUND): Likewise.
19944         (FPE_FLTRES): Likewise.
19945         (FPE_FLTINV): Likewise.
19946         (FPE_FLTSUB): Likewise.
19947         (SEGV_MAPERR): Likewise.
19948         (SEGV_ACCERR): Likewise.
19949         (BUS_ADRALN): Likewise.
19950         (BUS_ADRERR): Likewise.
19951         (BUS_OBJERR): Likewise.
19952         (BUS_MCEERR_AR): Likewise.
19953         (BUS_MCEERR_AO): Likewise.
19954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19955         (TRAP_TRACE): Likewise.
19956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19957         __USE_XOPEN2K8].
19958         (CLD_KILLED): Likewise.
19959         (CLD_DUMPED): Likewise.
19960         (CLD_TRAPPED): Likewise.
19961         (CLD_STOPPED): Likewise.
19962         (CLD_CONTINUED): Likewise.
19963         (POLL_IN): Likewise.
19964         (POLL_OUT): Likewise.
19965         (POLL_MSG): Likewise.
19966         (POLL_ERR): Likewise.
19967         (POLL_PRI): Likewise.
19968         (POLL_HUP): Likewise.
19969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19970         (ILL_ILLOPN): Likewise.
19971         (ILL_ILLADR): Likewise.
19972         (ILL_ILLTRP): Likewise.
19973         (ILL_PRVOPC): Likewise.
19974         (ILL_PRVREG): Likewise.
19975         (ILL_COPROC): Likewise.
19976         (ILL_BADSTK): Likewise.
19977         (FPE_INTDIV): Likewise.
19978         (FPE_INTOVF): Likewise.
19979         (FPE_FLTDIV): Likewise.
19980         (FPE_FLTOVF): Likewise.
19981         (FPE_FLTUND): Likewise.
19982         (FPE_FLTRES): Likewise.
19983         (FPE_FLTINV): Likewise.
19984         (FPE_FLTSUB): Likewise.
19985         (SEGV_MAPERR): Likewise.
19986         (SEGV_ACCERR): Likewise.
19987         (BUS_ADRALN): Likewise.
19988         (BUS_ADRERR): Likewise.
19989         (BUS_OBJERR): Likewise.
19990         (BUS_MCEERR_AR): Likewise.
19991         (BUS_MCEERR_AO): Likewise.
19992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19993         (TRAP_TRACE): Likewise.
19994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19995         __USE_XOPEN2K8].
19996         (CLD_KILLED): Likewise.
19997         (CLD_DUMPED): Likewise.
19998         (CLD_TRAPPED): Likewise.
19999         (CLD_STOPPED): Likewise.
20000         (CLD_CONTINUED): Likewise.
20001         (POLL_IN): Likewise.
20002         (POLL_OUT): Likewise.
20003         (POLL_MSG): Likewise.
20004         (POLL_ERR): Likewise.
20005         (POLL_PRI): Likewise.
20006         (POLL_HUP): Likewise.
20007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20008         (ILL_ILLOPN): Likewise.
20009         (ILL_ILLADR): Likewise.
20010         (ILL_ILLTRP): Likewise.
20011         (ILL_PRVOPC): Likewise.
20012         (ILL_PRVREG): Likewise.
20013         (ILL_COPROC): Likewise.
20014         (ILL_BADSTK): Likewise.
20015         (FPE_INTDIV): Likewise.
20016         (FPE_INTOVF): Likewise.
20017         (FPE_FLTDIV): Likewise.
20018         (FPE_FLTOVF): Likewise.
20019         (FPE_FLTUND): Likewise.
20020         (FPE_FLTRES): Likewise.
20021         (FPE_FLTINV): Likewise.
20022         (FPE_FLTSUB): Likewise.
20023         (SEGV_MAPERR): Likewise.
20024         (SEGV_ACCERR): Likewise.
20025         (BUS_ADRALN): Likewise.
20026         (BUS_ADRERR): Likewise.
20027         (BUS_OBJERR): Likewise.
20028         (BUS_MCEERR_AR): Likewise.
20029         (BUS_MCEERR_AO): Likewise.
20030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20031         (TRAP_TRACE): Likewise.
20032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20033         __USE_XOPEN2K8].
20034         (CLD_KILLED): Likewise.
20035         (CLD_DUMPED): Likewise.
20036         (CLD_TRAPPED): Likewise.
20037         (CLD_STOPPED): Likewise.
20038         (CLD_CONTINUED): Likewise.
20039         (POLL_IN): Likewise.
20040         (POLL_OUT): Likewise.
20041         (POLL_MSG): Likewise.
20042         (POLL_ERR): Likewise.
20043         (POLL_PRI): Likewise.
20044         (POLL_HUP): Likewise.
20045         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20046         (ILL_ILLOPN): Likewise.
20047         (ILL_ILLADR): Likewise.
20048         (ILL_ILLTRP): Likewise.
20049         (ILL_PRVOPC): Likewise.
20050         (ILL_PRVREG): Likewise.
20051         (ILL_COPROC): Likewise.
20052         (ILL_BADSTK): Likewise.
20053         (ILL_DBLFLT): Likewise.
20054         (ILL_HARDWALL): Likewise.
20055         (FPE_INTDIV): Likewise.
20056         (FPE_INTOVF): Likewise.
20057         (FPE_FLTDIV): Likewise.
20058         (FPE_FLTOVF): Likewise.
20059         (FPE_FLTUND): Likewise.
20060         (FPE_FLTRES): Likewise.
20061         (FPE_FLTINV): Likewise.
20062         (FPE_FLTSUB): Likewise.
20063         (SEGV_MAPERR): Likewise.
20064         (SEGV_ACCERR): Likewise.
20065         (BUS_ADRALN): Likewise.
20066         (BUS_ADRERR): Likewise.
20067         (BUS_OBJERR): Likewise.
20068         (BUS_MCEERR_AR): Likewise.
20069         (BUS_MCEERR_AO): Likewise.
20070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20071         (TRAP_TRACE): Likewise.
20072         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20073         __USE_XOPEN2K8].
20074         (CLD_KILLED): Likewise.
20075         (CLD_DUMPED): Likewise.
20076         (CLD_TRAPPED): Likewise.
20077         (CLD_STOPPED): Likewise.
20078         (CLD_CONTINUED): Likewise.
20079         (POLL_IN): Likewise.
20080         (POLL_OUT): Likewise.
20081         (POLL_MSG): Likewise.
20082         (POLL_ERR): Likewise.
20083         (POLL_PRI): Likewise.
20084         (POLL_HUP): Likewise.
20085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20086         (ILL_ILLOPN): Likewise.
20087         (ILL_ILLADR): Likewise.
20088         (ILL_ILLTRP): Likewise.
20089         (ILL_PRVOPC): Likewise.
20090         (ILL_PRVREG): Likewise.
20091         (ILL_COPROC): Likewise.
20092         (ILL_BADSTK): Likewise.
20093         (FPE_INTDIV): Likewise.
20094         (FPE_INTOVF): Likewise.
20095         (FPE_FLTDIV): Likewise.
20096         (FPE_FLTOVF): Likewise.
20097         (FPE_FLTUND): Likewise.
20098         (FPE_FLTRES): Likewise.
20099         (FPE_FLTINV): Likewise.
20100         (FPE_FLTSUB): Likewise.
20101         (SEGV_MAPERR): Likewise.
20102         (SEGV_ACCERR): Likewise.
20103         (BUS_ADRALN): Likewise.
20104         (BUS_ADRERR): Likewise.
20105         (BUS_OBJERR): Likewise.
20106         (BUS_MCEERR_AR): Likewise.
20107         (BUS_MCEERR_AO): Likewise.
20108         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20109         (TRAP_TRACE): Likewise.
20110         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20111         __USE_XOPEN2K8].
20112         (CLD_KILLED): Likewise.
20113         (CLD_DUMPED): Likewise.
20114         (CLD_TRAPPED): Likewise.
20115         (CLD_STOPPED): Likewise.
20116         (CLD_CONTINUED): Likewise.
20117         (POLL_IN): Likewise.
20118         (POLL_OUT): Likewise.
20119         (POLL_MSG): Likewise.
20120         (POLL_ERR): Likewise.
20121         (POLL_PRI): Likewise.
20122         (POLL_HUP): Likewise.
20123         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20124         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20126         [BZ #16670]
20127         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20128         before #include of <time.h>.
20129         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20130         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20131         (test-xfail-UNIX98/sched.h/conform): Likewise.
20133 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20136         error absence of trapping exception support.
20137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20139 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20141         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20142         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20143         * timezone/Makefile (testdata): Move definition above include of
20144         Rules.
20145         (test-zones): New variable.
20146         (tests-special): Add zone files.
20147         (build-testdata): Use $(evaluate-test).
20149         * elf/Makefile (tests-special): Rename tests to end with .out.
20150         ($(objpfx)noload-mem): Likewise.
20151         ($(objpfx)tst-leaks1-mem): Likewise.
20152         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20153         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20154         $(objpfx)test-iconvconfig.out.
20155         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20156         set -e inside subshell and redirect output to file.
20157         * iconvdata/Makefile (generated): Rename tests to end with .out.
20158         Correct type.
20159         (tests-special): Rename tests to end with .out.
20160         ($(objpfx)mtrace-tst-loading): Likewise.
20161         * intl/Makefile (generated): Likewise.
20162         (tests-special): Likewise.
20163         ($(objpfx)mtrace-tst-gettext): Likewise.
20164         * misc/Makefile (generated): Likewise.
20165         (tests-special): Likewise.
20166         ($(objpfx)tst-error1-mem): Likewise.
20167         * nptl/Makefile (tests-special): Likewise.
20168         ($(objpfx)tst-stack3-mem): Likewise.
20169         (generated): Likewise.
20170         * posix/Makefile (generated): Likewise.
20171         (tests-special): Likewise.
20172         (xtests-special): Likewise.
20173         ($(objpfx)tst-fnmatch-mem): Likewise.
20174         ($(objpfx)bug-regex2-mem): Likewise.
20175         ($(objpfx)bug-regex14-mem): Likewise.
20176         ($(objpfx)bug-regex21-mem): Likewise.
20177         ($(objpfx)bug-regex31-mem): Likewise.
20178         ($(objpfx)tst-vfork3-mem): Likewise.
20179         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20180         ($(objpfx)tst-pcre-mem): Likewise.
20181         ($(objpfx)tst-boost-mem): Likewise.
20182         ($(objpfx)bug-ga2-mem): Likewise.
20183         ($(objpfx)bug-glob2-mem): Likewise.
20184         * resolv/Makefile (generate): Likewise.
20185         (tests-special): Likewise.
20186         (xtests-special): Likewise.
20187         (generated): Likewise.
20188         ($(objpfx)mtrace-tst-leaks): Likewise.
20189         ($(objpfx)mtrace-tst-leaks2): Likewise.
20191         * scripts/merge-test-results.sh: New file.
20192         * Makefile (tests-special-notdir): New variable.
20193         (tests): Run merge-test-results.sh.
20194         (xtests): Likewise.
20195         * Rules (tests-special-notdir): New variable.
20196         (xtests-special-notdir): Likewise.
20197         (tests): Run merge-test-results.sh
20198         (xtests): Likewise.
20200         * Makeconfig (test-xfail-name): New variable.
20201         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20202         compute variable name for expected failures.
20203         * conform/Makefile (conformtest-headers-data): New variable.
20204         (conformtest-standards): Likewise.
20205         (conformtest-headers-ISO): Likewise.
20206         (conformtest-headers-ISO99): Likewise.
20207         (conformtest-headers-ISO11): Likewise.
20208         (conformtest-headers-POSIX): Likewise.
20209         (conformtest-headers-XPG3): Likewise.
20210         (conformtest-headers-XPG4): Likewise.
20211         (conformtest-headers-UNIX98): Likewise.
20212         (conformtest-headers-XOPEN2K): Likewise.
20213         (conformtest-headers-POSIX2008): Likewise.
20214         (conformtest-headers-XOPEN2K8): Likewise.
20215         (conformtest-header-list-base): Likewise.
20216         (conformtest-header-list-tests): Likewise.
20217         (conformtest-header-base): Likewise.
20218         (conformtest-header-tests): Likewise.
20219         (tests-special): Add $(conformtest-header-list-tests).  If
20220         [$(fast-check) && !$(cross-compiling)], add
20221         $(conformtest-header-tests) instead of
20222         $(objpfx)run-conformtest.out.
20223         (generated): Add $(conformtest-header-list-base).  If
20224         [$(fast-check) && !$(cross-compiling)], add
20225         $(conformtest-header-base).  Remove previous setting.
20226         ($(conformtest-header-list-tests)): New target.
20227         (test-xfail-run-conformtest): Remove variable.
20228         ($(objpfx)run-conformtest.out): Remove target.
20229         (test-xfail-ISO11/complex.h/conform): New variable.
20230         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20231         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20232         (test-xfail-XPG3/varargs.h/conform): Likewise.
20233         (test-xfail-XPG4/varargs.h/conform): Likewise.
20234         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20235         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20236         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20237         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20238         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20239         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20240         (test-xfail-XPG3/ftw.h/conform): Likewise.
20241         (test-xfail-XPG3/grp.h/conform): Likewise.
20242         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20243         (test-xfail-XPG3/limits.h/conform): Likewise.
20244         (test-xfail-XPG3/pwd.h/conform): Likewise.
20245         (test-xfail-XPG3/search.h/conform): Likewise.
20246         (test-xfail-XPG3/signal.h/conform): Likewise.
20247         (test-xfail-XPG3/stdio.h/conform): Likewise.
20248         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20249         (test-xfail-XPG3/string.h/conform): Likewise.
20250         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20251         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20252         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20253         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20254         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20255         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20256         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20257         (test-xfail-XPG3/termios.h/conform): Likewise.
20258         (test-xfail-XPG3/time.h/conform): Likewise.
20259         (test-xfail-XPG3/unistd.h/conform): Likewise.
20260         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20261         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20262         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20263         (test-xfail-XPG4/netdb.h/conform): Likewise.
20264         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20265         (test-xfail-XPG4/signal.h/conform): Likewise.
20266         (test-xfail-XPG4/stdio.h/conform): Likewise.
20267         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20268         (test-xfail-XPG4/stropts.h/conform): Likewise.
20269         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20270         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20271         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20272         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20273         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20274         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20275         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20276         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20277         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20278         (test-xfail-XPG4/termios.h/conform): Likewise.
20279         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20280         (test-xfail-XPG4/unistd.h/conform): Likewise.
20281         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20282         (test-xfail-POSIX/sched.h/conform): Likewise.
20283         (test-xfail-POSIX/signal.h/conform): Likewise.
20284         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20285         (test-xfail-POSIX/tar.h/conform): Likewise.
20286         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20287         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20288         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20289         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20290         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20291         (test-xfail-UNIX98/sched.h/conform): Likewise.
20292         (test-xfail-UNIX98/signal.h/conform): Likewise.
20293         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20294         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20295         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20296         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20297         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20298         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20299         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20300         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20301         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20302         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20303         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20304         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20305         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20306         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20307         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20308         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20309         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20310         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20311         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20312         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20313         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20314         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20315         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20316         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20317         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20318         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20319         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20320         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20321         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20322         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20323         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20324         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20325         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20326         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20327         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20328         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20329         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20330         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20331         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20332         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20333         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20334         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20335         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20336         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20337         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20338         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20339         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20340         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20341         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20342         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20343         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20344         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20345         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20346         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20347         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20348         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20349         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20350         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20351         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20352         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20353         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20354         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20355         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20356         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20357         (conformtest-cc-flags): Likewise.
20358         ($(conformtest-header-tests): New target.
20359         * conform/check-header-lists.sh: New file.
20360         * conform/run-conformtest.sh: Remove.
20362         * conform/conformtest.pl: Allow ' and \ in values given for
20363         constants.
20364         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20365         inclusion.
20366         [POSIX] (sys/types.h): Likewise.
20367         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20368         inclusion.
20369         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20370         inclusion.
20371         * conform/data/signal.h-data (SIGIO): Remove expectation.
20372         [XPG3] (SIGBUS): Do not expect.
20373         [POSIX || XPG3] (SIGPOLL): Likewise.
20374         [POSIX || XPG3] (SIGPROF): Likewise.
20375         [POSIX || XPG3] (SIGSYS): Likewise.
20376         [XPG3] (SIGTRAP): Likewise.
20377         [POSIX || XPG3] (SIGURG): Likewise.
20378         [POSIX || XPG3] (SIGVTALRM): Likewise.
20379         [POSIX || XPG3] (SIGXCPU): Likewise.
20380         [POSIX || XPG3] (SIGXFSZ): Likewise.
20381         [POSIX] (SA_SIGINFO): Expect.
20382         [XPG3] (siginfo_t): Do not expect type or contents.
20383         [POSIX] (si_pid): Do not expect element.
20384         [POSIX] (si_uid): Likewise.
20385         [POSIX] (si_addr): Likewise.
20386         [POSIX] (si_status): Likewise.
20387         [POSIX] (si_band): Likewise.
20388         [XPG4] (si_value): Likewise.
20389         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20390         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20391         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20392         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20393         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20394         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20395         [POSIX || XPG3] (ILL_COPROC): Likewise.
20396         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20397         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20398         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20399         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20400         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20401         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20402         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20403         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20404         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20405         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20406         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20407         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20408         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20409         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20410         [POSIX || XPG3] (CLD_EXITED): Likewise.
20411         [POSIX || XPG3] (CLD_KILLED): Likewise.
20412         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20413         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20414         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20415         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20416         [POSIX || XPG3] (POLL_IN): Likewise.
20417         [POSIX || XPG3] (POLL_OUT): Likewise.
20418         [POSIX || XPG3] (POLL_MSG): Likewise.
20419         [POSIX || XPG3] (POLL_ERR): Likewise.
20420         [POSIX || XPG3] (POLL_PRI): Likewise.
20421         [POSIX || XPG3] (POLL_HUP): Likewise.
20422         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20423         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20424         (SIG*): Do not allow.
20425         [XPG3] (si_*): Likewise.
20426         [XPG3] (SI_*): Likewise.
20427         [XPG3 || XPG4] (sigev_*): Likewise.
20428         [XPG3 || XPG4] (SIGEV_*): Likewise.
20429         [XPG3 || XPG4] (sival_*): Likewise.
20430         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20431         [POSIX || XPG3] (BUS_*): Likewise.
20432         [POSIX || XPG3] (CLD_*): Likewise.
20433         [POSIX || XPG3] (FPE_*): Likewise.
20434         [POSIX || XPG3] (ILL_*): Likewise.
20435         [POSIX || XPG3] (POLL_*): Likewise.
20436         [POSIX || XPG3] (SEGV_*): Likewise.
20437         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20438         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20439         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20440         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20441         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20442         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20443         Specify type and value.
20444         (TVERSLEN): Likewise.
20445         (REGTYPE): Likewise.
20446         (AREGTYPE): Likewise.
20447         (LNKTYPE): Likewise.
20448         (SYMTYPE): Likewise.
20449         (CHRTYPE): Likewise.
20450         (BLKTYPE): Likewise.
20451         (DIRTYPE): Likewise.
20452         (FIFOTYPE): Likewise.
20453         (CONTTYPE): Likewise.
20454         (TSUID): Likewise.
20455         (TSGID): Likewise.
20456         (TSVTX): Likewise.
20457         (TUREAD): Likewise.
20458         (TUWRITE): Likewise.
20459         (TUEXEC): Likewise.
20460         (TGREAD): Likewise.
20461         (TGWRITE): Likewise.
20462         (TGEXEC): Likewise.
20463         (TOREAD): Likewise.
20464         (TOWRITE): Likewise.
20465         (TOEXEC): Likewise.
20466         [POSIX] (TSVTX): Expect constant.
20468 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20470         * Makefile (tests): Change dependencies to ....
20471         (tests-special): ... additions to this variable.
20472         (tests): Depend on $(tests-special).
20473         * Makerules (check-abi-list): New variable.
20474         (check-abi): Depend on $(check-abi-list).
20475         [$(subdir) = elf] (tests-special): Add
20476         $(objpfx)check-abi-libc.out.
20477         [$(build-shared) = yes && subdir] (tests-special): Add
20478         $(check-abi-list).
20479         [$(build-shared) = yes && subdir] (tests): Do not depend on
20480         check-abi.
20481         * Rules (tests): Depend on $(tests-special).
20482         (xtests): Depend on $(xtests-special).
20483         * catgets/Makefile (tests): Change dependencies to ....
20484         (tests-special): ... additions to this variable.
20485         * conform/Makefile (tests): Change dependencies to ....
20486         (tests-special): ... additions to this variable.
20487         * elf/Makefile (tests): Change dependencies to ....
20488         (tests-special): ... additions to this variable.
20489         * grp/Makefile (tests): Change dependencies to ....
20490         (tests-special): ... additions to this variable.
20491         * iconv/Makefile (xtests): Change dependencies to ....
20492         (xtests-special): ... additions to this variable.
20493         * iconvdata/Makefile (tests): Change dependencies to ....
20494         (tests-special): ... additions to this variable.
20495         * intl/Makefile (tests): Change dependencies to ....
20496         (tests-special): ... additions to this variable.  Also add
20497         $(objpfx)tst-gettext.out.
20498         * io/Makefile (tests): Change dependencies to ....
20499         (tests-special): ... additions to this variable.
20500         * libio/Makefile (tests): Change dependencies to ....
20501         (tests-special): ... additions to this variable.
20502         * malloc/Makefile (tests): Change dependencies to ....
20503         (tests-special): ... additions to this variable.
20504         * misc/Makefile (tests): Change dependencies to ....
20505         (tests-special): ... additions to this variable.
20506         * nptl/Makefile (tests): Change dependencies to ....
20507         (tests-special): ... additions to this variable.
20508         * nptl_db/Makefile (tests): Change dependencies to ....
20509         (tests-special): ... additions to this variable.
20510         * posix/Makefile (tests): Change dependencies to ....
20511         (tests-special): ... additions to this variable.
20512         (xtests): Change dependencies to ....
20513         (xtests-special): ... additions to this variable.
20514         * resolv/Makefile (tests): Change dependencies to ....
20515         (tests-special): ... additions to this variable.
20516         (xtests): Change dependencies to ....
20517         (xtests-special): ... additions to this variable.
20518         * stdio-common/Makefile (tests): Change dependencies to ....
20519         (tests-special): ... additions to this variable.
20520         (do-tst-unbputc): Remove target.
20521         (do-tst-printf): Likewise.
20522         * stdlib/Makefile (tests): Change dependencies to ....
20523         (tests-special): ... additions to this variable.
20524         * string/Makefile (tests): Change dependencies to ....
20525         (tests-special): ... additions to this variable.
20526         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20527         (tests-special): ... additions to this variable.
20529         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20530         whole file.
20531         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20532         whole file.
20533         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20534         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20536         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20537         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20538         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20539         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20540         * conform/data/libgen.h-data [XPG3]: Likewise.
20541         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20542         * conform/data/ndbm.h-data [XPG3]: Likewise.
20543         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20544         * conform/data/netdb.h-data [XPG3]: Likewise.
20545         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20546         * conform/data/poll.h-data [XPG3]: Likewise.
20547         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20548         * conform/data/strings.h-data [XPG3]: Likewise.
20549         * conform/data/stropts.h-data [XPG3]: Likewise.
20550         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20551         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20552         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20553         Likewise.
20554         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20555         * conform/data/sys/time.h-data [XPG3]: Likewise.
20556         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20557         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20558         * conform/data/sys/un.h-data [XPG3]: Likewise.
20559         * conform/data/syslog.h-data [XPG3]: Likewise.
20560         * conform/data/ucontext.h-data [XPG3]: Likewise.
20561         * conform/data/utmpx.h-data [XPG3]: Likewise.
20562         * conform/data/varargs.h-data [UNIX98]: Enable file.
20564         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20566         * math/libm-test.inc (struct test_f_f_data): Move expected results
20567         into structure for each rounding mode.
20568         (struct test_ff_f_data): Likewise.
20569         (struct test_ff_f_data_nexttoward): Likewise.
20570         (struct test_fi_f_data): Likewise.
20571         (struct test_fl_f_data): Likewise.
20572         (struct test_if_f_data): Likewise.
20573         (struct test_fff_f_data): Likewise.
20574         (struct test_c_f_data): Likewise.
20575         (struct test_f_f1_data): Likewise.
20576         (struct test_fF_f1_data): Likewise.
20577         (struct test_ffI_f1_data): Likewise.
20578         (struct test_c_c_data): Likewise.
20579         (struct test_cc_c_data): Likewise.
20580         (struct test_f_i_data): Likewise.
20581         (struct test_ff_i_data): Likewise.
20582         (struct test_f_l_data): Likewise.
20583         (struct test_f_L_data): Likewise.
20584         (struct test_fFF_11_data): Likewise.
20585         (RM_): New macro.
20586         (RM_FE_DOWNWARD): Likewise.
20587         (RM_FE_TONEAREST): Likewise.
20588         (RM_FE_TOWARDZERO): Likewise.
20589         (RM_FE_UPWARD): Likewise.
20590         (RUN_TEST_LOOP_f_f): Update references to expected results.
20591         (RUN_TEST_LOOP_2_f): Likewise.
20592         (RUN_TEST_LOOP_fff_f): Likewise.
20593         (RUN_TEST_LOOP_c_f): Likewise.
20594         (RUN_TEST_LOOP_f_f1): Likewise.
20595         (RUN_TEST_LOOP_fF_f1): Likewise.
20596         (RUN_TEST_LOOP_fI_f1): Likewise.
20597         (RUN_TEST_LOOP_ffI_f1): Likewise.
20598         (RUN_TEST_LOOP_c_c): Likewise.
20599         (RUN_TEST_LOOP_cc_c): Likewise.
20600         (RUN_TEST_LOOP_f_i): Likewise.
20601         (RUN_TEST_LOOP_f_i_tg): Likewise.
20602         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20603         (RUN_TEST_LOOP_f_b): Likewise.
20604         (RUN_TEST_LOOP_f_b_tg): Likewise.
20605         (RUN_TEST_LOOP_f_l): Likewise.
20606         (RUN_TEST_LOOP_f_L): Likewise.
20607         (RUN_TEST_LOOP_fFF_11): Likewise.
20608         * math/gen-libm-test.pl (parse_args): Output four copies of
20609         expected results for each test.
20611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20612         (__ASSUME_UTIMES): Remove.
20613         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20614         (__ASSUME_UTIMES): Likewise.
20616         * math/gen-auto-libm-tests.c: Update comment on output format.
20617         (output_for_one_input_case): Generate before-rounding and
20618         after-rounding information as conditions on output flags not
20619         floating-point format.
20620         * math/auto-libm-test-out: Regenerated.
20621         * math/gen-libm-test.pl (cond_value): New function.
20622         (or_cond_value): Use cond_value.
20623         (generate_testfile): Handle conditional exceptions.
20625 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20627         * math/libm-test.inc (max_valid_error): New variable.
20628         (init_max_error): Take new argument specifying whether function
20629         results are exactly determined.  Set max_valid_error and bound
20630         other variables for errors based on this argument.
20631         (set_max_error): Do not record results above max_valid_error.
20632         (check_float_internal): Only accept errors of up to 0.5ulps if
20633         also at most max_valid_error.
20634         (START): Take new argument EXACT and pass it to init_max_error.
20635         (acos_test): Update call to START.
20636         (acos_test_tonearest): Likewise.
20637         (acos_test_towardzero): Likewise.
20638         (acos_test_downward): Likewise.
20639         (acos_test_upward): Likewise.
20640         (acosh_test): Likewise.
20641         (asin_test): Likewise.
20642         (asin_test_tonearest): Likewise.
20643         (asin_test_towardzero): Likewise.
20644         (asin_test_downward): Likewise.
20645         (asin_test_upward): Likewise.
20646         (asinh_test): Likewise.
20647         (atan_test): Likewise.
20648         (atanh_test): Likewise.
20649         (atan2_test): Likewise.
20650         (cabs_test): Likewise.
20651         (cacos_test): Likewise.
20652         (cacosh_test): Likewise.
20653         (carg_test): Likewise.
20654         (casin_test): Likewise.
20655         (casinh_test): Likewise.
20656         (catan_test): Likewise.
20657         (catanh_test): Likewise.
20658         (cbrt_test): Likewise.
20659         (ccos_test): Likewise.
20660         (ccosh_test): Likewise.
20661         (ceil_test): Likewise.
20662         (cexp_test): Likewise.
20663         (cimag_test): Likewise.
20664         (clog_test): Likewise.
20665         (clog10_test): Likewise.
20666         (conj_test): Likewise.
20667         (copysign_test): Likewise.
20668         (cos_test): Likewise.
20669         (cos_test_tonearest): Likewise.
20670         (cos_test_towardzero): Likewise.
20671         (cos_test_downward): Likewise.
20672         (cos_test_upward): Likewise.
20673         (cosh_test): Likewise.
20674         (cosh_test_tonearest): Likewise.
20675         (cosh_test_towardzero): Likewise.
20676         (cosh_test_downward): Likewise.
20677         (cosh_test_upward): Likewise.
20678         (cpow_test): Likewise.
20679         (cproj_test): Likewise.
20680         (creal_test): Likewise.
20681         (csin_test): Likewise.
20682         (csinh_test): Likewise.
20683         (csqrt_test): Likewise.
20684         (ctan_test): Likewise.
20685         (ctan_test_tonearest): Likewise.
20686         (ctan_test_towardzero): Likewise.
20687         (ctan_test_downward): Likewise.
20688         (ctan_test_upward): Likewise.
20689         (ctanh_test): Likewise.
20690         (ctanh_test_tonearest): Likewise.
20691         (ctanh_test_towardzero): Likewise.
20692         (ctanh_test_downward): Likewise.
20693         (ctanh_test_upward): Likewise.
20694         (erf_test): Likewise.
20695         (erfc_test): Likewise.
20696         (exp_test): Likewise.
20697         (exp_test_tonearest): Likewise.
20698         (exp_test_towardzero): Likewise.
20699         (exp_test_downward): Likewise.
20700         (exp_test_upward): Likewise.
20701         (exp10_test): Likewise.
20702         (exp10_test_tonearest): Likewise.
20703         (exp10_test_towardzero): Likewise.
20704         (exp10_test_downward): Likewise.
20705         (exp10_test_upward): Likewise.
20706         (pow10_test): Likewise.
20707         (exp2_test): Likewise.
20708         (expm1_test): Likewise.
20709         (expm1_test_tonearest): Likewise.
20710         (expm1_test_towardzero): Likewise.
20711         (expm1_test_downward): Likewise.
20712         (expm1_test_upward): Likewise.
20713         (fabs_test): Likewise.
20714         (fdim_test): Likewise.
20715         (floor_test): Likewise.
20716         (fma_test): Likewise.
20717         (fma_test_towardzero): Likewise.
20718         (fma_test_downward): Likewise.
20719         (fma_test_upward): Likewise.
20720         (fmax_test): Likewise.
20721         (fmin_test): Likewise.
20722         (fmod_test): Likewise.
20723         (fpclassify_test): Likewise.
20724         (frexp_test): Likewise.
20725         (hypot_test): Likewise.
20726         (ilogb_test): Likewise.
20727         (isfinite_test): Likewise.
20728         (finite_test): Likewise.
20729         (isgreater_test): Likewise.
20730         (isgreaterequal_test): Likewise.
20731         (isinf_test): Likewise.
20732         (isless_test): Likewise.
20733         (islessequal_test): Likewise.
20734         (islessgreater_test): Likewise.
20735         (isnan_test): Likewise.
20736         (isnormal_test): Likewise.
20737         (issignaling_test): Likewise.
20738         (isunordered_test): Likewise.
20739         (j0_test): Likewise.
20740         (j1_test): Likewise.
20741         (jn_test): Likewise.
20742         (ldexp_test): Likewise.
20743         (lgamma_test): Likewise.
20744         (gamma_test): Likewise.
20745         (lrint_test): Likewise.
20746         (lrint_test_tonearest): Likewise.
20747         (lrint_test_towardzero): Likewise.
20748         (lrint_test_downward): Likewise.
20749         (lrint_test_upward): Likewise.
20750         (llrint_test): Likewise.
20751         (llrint_test_tonearest): Likewise.
20752         (llrint_test_towardzero): Likewise.
20753         (llrint_test_downward): Likewise.
20754         (llrint_test_upward): Likewise.
20755         (log_test): Likewise.
20756         (log10_test): Likewise.
20757         (log1p_test): Likewise.
20758         (log2_test): Likewise.
20759         (logb_test): Likewise.
20760         (logb_test_downward): Likewise.
20761         (lround_test): Likewise.
20762         (llround_test): Likewise.
20763         (modf_test): Likewise.
20764         (nearbyint_test): Likewise.
20765         (nextafter_test): Likewise.
20766         (nexttoward_test): Likewise.
20767         (pow_test): Likewise.
20768         (pow_test_tonearest): Likewise.
20769         (pow_test_towardzero): Likewise.
20770         (pow_test_downward): Likewise.
20771         (pow_test_upward): Likewise.
20772         (remainder_test): Likewise.
20773         (drem_test): Likewise.
20774         (remainder_test_tonearest): Likewise.
20775         (drem_test_tonearest): Likewise.
20776         (remainder_test_towardzero): Likewise.
20777         (drem_test_towardzero): Likewise.
20778         (remainder_test_downward): Likewise.
20779         (drem_test_downward): Likewise.
20780         (remainder_test_upward): Likewise.
20781         (drem_test_upward): Likewise.
20782         (remquo_test): Likewise.
20783         (rint_test): Likewise.
20784         (rint_test_tonearest): Likewise.
20785         (rint_test_towardzero): Likewise.
20786         (rint_test_downward): Likewise.
20787         (rint_test_upward): Likewise.
20788         (round_test): Likewise.
20789         (scalb_test): Likewise.
20790         (scalbn_test): Likewise.
20791         (scalbln_test): Likewise.
20792         (signbit_test): Likewise.
20793         (sin_test): Likewise.
20794         (sin_test_tonearest): Likewise.
20795         (sin_test_towardzero): Likewise.
20796         (sin_test_downward): Likewise.
20797         (sin_test_upward): Likewise.
20798         (sincos_test): Likewise.
20799         (sinh_test): Likewise.
20800         (sinh_test_tonearest): Likewise.
20801         (sinh_test_towardzero): Likewise.
20802         (sinh_test_downward): Likewise.
20803         (sinh_test_upward): Likewise.
20804         (sqrt_test): Likewise.
20805         (sqrt_test_tonearest): Likewise.
20806         (sqrt_test_towardzero): Likewise.
20807         (sqrt_test_downward): Likewise.
20808         (sqrt_test_upward): Likewise.
20809         (tan_test): Likewise.
20810         (tan_test_tonearest): Likewise.
20811         (tan_test_towardzero): Likewise.
20812         (tan_test_downward): Likewise.
20813         (tan_test_upward): Likewise.
20814         (tanh_test): Likewise.
20815         (tgamma_test): Likewise.
20816         (trunc_test): Likewise.
20817         (y0_test): Likewise.
20818         (y1_test): Likewise.
20819         (yn_test): Likewise.
20820         (significand_test): Likewise.
20822         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20823         individual tests in comment.
20824         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20825         (prev_max_error): New variable.
20826         (prev_real_max_error): Likewise.
20827         (prev_imag_max_error): Likewise.
20828         (compare_ulp_data): Don't refer to test names in comment.
20829         (find_test_ulps): Remove function.
20830         (find_function_ulps): Likewise.
20831         (find_complex_function_ulps): Likewise.
20832         (init_max_error): Take function name as argument.  Look up ulps
20833         for that function.
20834         (print_ulps): Remove function.
20835         (print_max_error): Use prev_max_error instead of calling
20836         find_function_ulps.
20837         (print_complex_max_error): Use prev_real_max_error and
20838         prev_imag_max_error instead of calling find_complex_function_ulps.
20839         (check_float_internal): Take max_ulp parameter instead of calling
20840         find_test_ulps.  Don't call print_ulps.
20841         (check_float): Update call to check_float_internal.
20842         (check_complex): Update calls to check_float_internal.
20843         (START): Pass argument to init_max_error.
20844         * math/gen-libm-test.pl (%results): Don't include "kind"
20845         information.
20846         (parse_ulps): Don't handle ulps of individual tests.
20847         (print_ulps_file): Likewise.
20848         (output_ulps): Likewise.
20849         * math/README.libm-test: Update.
20850         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20851         individual tests.
20852         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20853         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20854         * sysdeps/arm/libm-test-ulps: Likewise.
20855         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20856         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20857         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20858         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20859         * sysdeps/microblaze/libm-test-ulps: Likewise.
20860         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20861         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20863         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20865         * sysdeps/sh/libm-test-ulps: Likewise.
20866         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20867         * sysdeps/tile/libm-test-ulps: Likewise.
20868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20870 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20872         * math/libm-test.inc (print_complex_max_error): Check separately
20873         whether real and imaginary errors are within allowed range and
20874         pass 0 to print_complex_function_ulps instead of value within
20875         allowed range.
20877 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20879         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20880         formatting.
20881         (get_handles_fopen): Likewise.
20882         (do_write_test): Likewise.
20884         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20886         * libio/fileops.c (do_ftell): Use cached offset when
20887         available.
20888         * libio/iofwide.c (do_ftell_wide): Likewise.
20889         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20890         _IO_file_attach.
20891         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20893         [BZ #16532]
20894         * libio/libioP.h (get_file_offset): New function.
20895         * libio/fileops.c (get_file_offset): Likewise.
20896         (do_ftell): Likewise.
20897         (_IO_new_file_seekoff): Split out ftell logic.
20898         * libio/wfileops.c (do_ftell_wide): Likewise.
20899         (_IO_wfile_seekoff): Split out ftell logic.
20900         * libio/tst-ftell-active-handler.c: New test case.
20901         * libio/Makefile (tests): Add it.
20903 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20905         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20906         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20908 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20910         [BZ #16639]
20911         * nscd/connections.c (nscd_init): Call do_exit.
20912         (start_threads): Call do_exit and notify_parent.
20913         (begin_drop_privileges): Call do_exit.
20914         (finish_drop_privileges): Likewise.
20915         * nscd/selinux.c (preserve_capabilities): Likewise.
20916         (install_real_capabilities): Likewise.
20917         (nscd_selinux_enabled): Likewise.
20918         (avc_create_thread): Likewise.
20919         (avc_alloc_lock): Likewise.
20920         (nscd_avc_init): Likewise.
20921         * nscd/nscd.c (parent_fd): New static variable.
20922         (main): Create a pipe between parent and child processes.
20923         Skip closing parent_fd.
20924         (monitor_child): New function.
20925         (do_exit): Likewise.
20926         (notify_parent): Likewise.
20927         * nscd/nscd.h (notify_parent): Likewise.
20928         (do_exit): Likewise.
20930 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20932         * malloc/malloc.c (__libc_calloc): Revert last change.
20934 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20938 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20940         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20942         implementation.
20943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20944         (__libc_ifunc_impl_list): Likewise.
20945         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20946         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20947         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20948         * string/strrchr.c: Define STRRCHR.
20950 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20952         * benchtest/bench-strtok.c (simple_strtok): Delete.
20953         (strtok_string): Use as benchmark.
20954         * string/strtok (STRTOK): New macro.
20956 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20958         * manual/threads.texi: Add header and standard comments to all
20959         functions.
20961         * elf/dl-lookup.c (check_match): New function.
20962         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20963         (do_lookup_x): Remove nested function check_match. Use non-nested
20964         function check_match.
20966 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20968         * csu/Makefile (generated, before-compile): Use += rather than =.
20969         * catgets/Makefile (generated, generated-dirs): Likewise.
20970         * debug/Makefile (generated): Likewise.
20971         * dlfcn/Makefile (generated): Likewise.
20972         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20973         * iconvdata/Makefile (before-compile, generated): Likewise.
20974         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20975         * libio/Makefile (generated): Likewise.
20976         * malloc/Makefile (generated): Likewise.
20977         * manual/Makefile (generated, generated-dirs): Likewise.
20978         * misc/Makefile (generated): Likewise.
20979         * posix/Makefile (generated): Likewise.
20980         * resolv/Makefile (generated): Likewise.
20981         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20982         * timezone/Makefile (generated, generated-dirs): Likewise.
20984         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20986 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20989         power8 implementation.
20990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20991         file: POWER8 llround ifunc implementation.
20992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20993         (__lllround): Add POWER8 implementation.
20994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20995         POWER8 llround implementation.
20997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20998         power8 implementation.
20999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21000         file: POWER8 llrint ifunc implementation.
21001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21002         Add POWER8 implementation.
21003         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21004         POWER8 llrint implementation.
21006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21007         power8 implementation.
21008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21009         file: POWER8 finite ifunc implementation.
21010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21011         Add POWER8 implementation.
21012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21013         Likewise.
21014         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21015         POWER8 finite implementation.
21016         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21019         power8 implementation.
21020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21021         file: POWER8 isinf ifunc implementation.
21022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21023         POWER8 implementation.
21024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21025         Likewise.
21026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21027         isinf implementation.
21028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21030         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21031         (INIT_ARCH): Add hwcap2 initialization.
21032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21033         power8 implementation.
21034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21035         file: POWER8 isnan ifunc implementation.
21036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21037         POWER8 implementation.
21038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21039         Likewise.
21040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21041         isnan implementation.
21042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21044 2014-02-27  Joey Ye  <joey.ye@arm.com>
21046         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21047         (_FP_NANFRAC_Q): Set to zero.
21049 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21051         [BZ #16623]
21052         * math/auto-libm-test-in: New test inputs.
21053         * math/auto-libm-test-out: Regenerate.
21054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21055         and DA.
21056         (__cos): Likewise.
21057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21059 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21061         * scripts/evaluate-test.sh: Take new argument indicating whether
21062         failure is expected.
21063         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21064         indicating whether failure is expected.
21065         * conform/Makefile (test-xfail-run-conformtest): New variable.
21066         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21067         level.
21068         * posix/Makefile (test-xfail-annexc): New variable.
21069         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21071 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21073         * argp/Makefile: Include Makeconfig immediately after defining
21074         subdir.
21075         * assert/Makefile: Likewise.
21076         * benchtests/Makefile: Likewise.
21077         * catgets/Makefile: Likewise.
21078         * conform/Makefile: Likewise.
21079         * crypt/Makefile: Likewise.
21080         * csu/Makefile: Likewise.
21081         (all): Remove target.
21082         * ctype/Makefile: Include Makeconfig immediately after defining
21083         subdir.
21084         * debug/Makefile: Likewise.
21085         * dirent/Makefile: Likewise.
21086         * dlfcn/Makefile: Likewise.
21087         * gmon/Makefile: Likewise.
21088         * gnulib/Makefile: Likewise.
21089         * grp/Makefile: Likewise.
21090         * gshadow/Makefile: Likewise.
21091         * hesiod/Makefile: Likewise.
21092         * hurd/Makefile: Likewise.
21093         (all): Remove target.
21094         * iconvdata/Makefile: Include Makeconfig immediately after
21095         defining subdir.
21096         * inet/Makefile: Likewise.
21097         * intl/Makefile: Likewise.
21098         * io/Makefile: Likewise.
21099         * libio/Makefile: Likewise.
21100         (all): Remove target.
21101         * locale/Makefile: Include Makeconfig immediately after defining
21102         subdir.
21103         * login/Makefile: Likewise.
21104         * mach/Makefile: Likewise.
21105         (all): Remove target.
21106         * malloc/Makefile: Include Makeconfig immediately after defining
21107         subdir.
21108         (all): Remove target.
21109         * manual/Makefile: Include Makeconfig immediately after defining
21110         subdir.
21111         * math/Makefile: Likewise.
21112         * misc/Makefile: Likewise.
21113         * nis/Makefile: Likewise.
21114         * nss/Makefile: Likewise.
21115         * po/Makefile: Likewise.
21116         (all): Remove target.
21117         * posix/Makefile: Include Makeconfig immediately after defining
21118         subdir.
21119         * pwd/Makefile: Likewise.
21120         * resolv/Makefile: Likewise.
21121         * resource/Makefile: Likewise.
21122         * rt/Makefile: Likewise.
21123         * setjmp/Makefile: Likewise.
21124         * shadow/Makefile: Likewise.
21125         * signal/Makefile: Likewise.
21126         * socket/Makefile: Likewise.
21127         * soft-fp/Makefile: Likewise.
21128         * stdio-common/Makefile: Likewise.
21129         * stdlib/Makefile: Likewise.
21130         * streams/Makefile: Likewise.
21131         * string/Makefile: Likewise.
21132         * sunrpc/Makefile: Likewise.
21133         (all): Remove target.
21134         * sysvipc/Makefile: Include Makeconfig immediately after defining
21135         subdir.
21136         * termios/Makefile: Likewise.
21137         * time/Makefile: Likewise.
21138         * timezone/Makefile: Likewise.
21139         (all): Remove target.
21140         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21141         subdir.
21142         * wctype/Makefile: Likewise.
21144 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21146         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21147         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21148         (libc_feholdexcept_setround_mips): Ditto.
21149         (libc_feholdsetround): New.
21150         (libc_feholdsetroundf): New.
21151         (libc_feholdsetroundl): New.
21152         (libc_feupdateenv_test_mips): New.
21153         (libc_feupdateenv_test): New.
21154         (libc_feupdateenv_testf): New.
21155         (libc_feupdateenv_testl): New.
21156         (libc_feresetround): New.
21157         (libc_feresetroundf): New.
21158         (libc_feresetroundl): New.
21159         (libc_fetestexcept_mips): New.
21160         (libc_fetestexcept): New.
21161         (libc_fetestexceptf): New.
21162         (libc_fetestexceptl): New.
21163         (HAVE_RM_CTX): New.
21164         (libc_feholdexcept_setround_mips_ctx): New.
21165         (libc_feholdexcept_setround_ctx): New.
21166         (libc_feholdexcept_setroundf_ctx): New.
21167         (libc_feholdexcept_setroundl_ctx): New.
21168         (libc_fesetenv_mips_ctx): New.
21169         (libc_fesetenv_ctx): New.
21170         (libc_fesetenv_ctxf): New.
21171         (libc_fesetenv_ctxl): New.
21172         (libc_feupdateenv_mips_ctx): New.
21173         (libc_feupdateenv_ctx): New.
21174         (libc_feupdateenvf_ctx): New.
21175         (libc_feupdateenvl_ctx): New.
21176         (libc_feholdsetround_mips_ctx): New.
21177         (libc_feholdsetround_ctx): New.
21178         (libc_feholdsetroundf_ctx): New.
21179         (libc_feholdsetroundl_ctx): New.
21180         (libc_feresetround_mips_ctx): New.
21181         (libc_feresetround_ctx): New.
21182         (libc_feresetroundf_ctx): New.
21183         (libc_feresetroundl_ctx): New.
21185 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21187         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21189         * manual/ipc.texi: New file.
21190         * manual/Makefile (chapters): Add ipc.
21191         * manual/job.texi: Add "Inter-Process Communication" to next.
21192         * manual/process.texi: Add "Inter-Process Communication" to prev.
21194 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21198 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21200         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21202         * manual/arith.texi: Fix spaces after sentences.
21203         * manual/charset.texi: Likewise.
21204         * manual/errno.texi: Likewise.
21205         * manual/install.texi: Likewise.
21206         * manual/llio.texi: Likewise.
21207         * manual/locale.texi: Likewise.
21208         * manual/maint.texi: Likewise.
21209         * manual/math.texi: Likewise.
21210         * manual/memory.texi: Likewise.
21211         * manual/message.texi: Likewise.
21212         * manual/probes.texi: Likewise.
21213         * manual/resource.texi: Likewise.
21214         * manual/signal.texi: Likewise.
21215         * manual/socket.texi: Likewise.
21216         * manual/stdio.texi: Likewise.
21217         * manual/string.texi: Likewise.
21218         * manual/time.texi: Likewise.
21219         * manual/users.texi: Likewise.
21221 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21223         [BZ #16632]
21224         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21225         _DEFAULT_SOURCE is defined.
21227 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21228             Carlos O'Donell  <carlos@redhat.com>
21230         [BZ #16613]
21231         * elf/dl-tls.c (_dl_count_modids): New function.
21232         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21233         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21234         audit library and increment generation counter.
21235         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21236         * elf/tst-audit9.c: New file.
21237         * elf/tst-auditmod9a.c: New file.
21238         * elf/tst-auditmod9b.c: New file.
21239         * elf/Makefile: Add rules to build and run tst-audit9.
21241 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21243         [BZ #15347]
21244         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21246 2014-02-25  Will Newton  <will.newton@linaro.org>
21248         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21249         (__longjmp): Restore sp and lr before restoring callee
21250         saved registers.  Add longjmp and longjmp_target
21251         SystemTap probe point.
21252         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21253         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21254         Define to zero to match jmpbuf layout.
21255         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21256         (__sigsetjmp): Save sp and lr before saving callee
21257         saved registers.  Add setjmp SystemTap probe point.
21259 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21261         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21263 2014-02-24  Andreas Schwab  <schwab@suse.de>
21265         [BZ #15804]
21266         * elf/pldd.c (wait_for_ptrace_stop): New function.
21267         (main): Call it after attaching.
21269 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21271         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21272         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21273         Versions files is now verboten.
21274         * hurd/Versions (libc: GLIBC_2.0):
21275         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21276         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21277         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21278         * mach/Versions: Likewise.
21280         * csu/Versions: Remove unused %include.
21281         * resolv/Versions: Likewise.
21283 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21285         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21286         ($(objpfx)check-local-headers.out): Likewise.
21287         ($(objpfx)begin-end-check.out): Likewise.
21288         * Makerules (check-abi-%.out): Likewise.
21289         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21290         ($(objpfx)test2.cat): Likewise.
21291         ($(objpfx)de/libc.cat): Likewise.
21292         ($(objpfx)test-gencat.out): Likewise.
21293         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21294         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21295         ($(objpfx)noload-mem): Likewise.
21296         ($(objpfx)tst-pathopt.out): Likewise.
21297         ($(objpfx)tst-rtld-load-self.out): Likewise.
21298         ($(objpfx)tst-array1-cmp.out): Likewise.
21299         ($(objpfx)tst-array1-static-cmp.out): Likewise.
21300         ($(objpfx)tst-array2-cmp.out): Likewise.
21301         ($(objpfx)tst-array3-cmp.out): Likewise.
21302         ($(objpfx)tst-array4-cmp.out): Likewise.
21303         ($(objpfx)tst-array5-cmp.out): Likewise.
21304         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21305         ($(objpfx)check-textrel.out): Likewise.
21306         ($(objpfx)check-execstack.out): Likewise.
21307         ($(objpfx)check-localplt.out): Likewise.
21308         ($(objpfx)order2-cmp.out): Likewise.
21309         ($(objpfx)tst-leaks1-mem): Likewise.
21310         ($(objpfx)tst-leaks1-static-mem): Likewise.
21311         ($(objpfx)tst-initorder-cmp.out): Likewise.
21312         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21313         ($(objpfx)tst-unused-dep.out): Likewise.
21314         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21315         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21316         * iconv/Makefile (test-iconvconfig): Likewise.
21317         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21318         ($(objpfx)iconv-test.out): Likewise.
21319         ($(objpfx)tst-tables.out): Likewise.
21320         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21321         ($(objpfx)tst-gettext.out): Likewise.
21322         ($(objpfx)tst-translit.out): Likewise.
21323         ($(objpfx)tst-gettext2.out): Likewise.
21324         ($(objpfx)tst-gettext4.out): Likewise.
21325         ($(objpfx)tst-gettext6.out): Likewise.
21326         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21327         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21328         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21329         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21331         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21332         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21333         ($(objpfx)wordexp-tst.out): Likewise.
21334         ($(objpfx)annexc.out): Likewise.
21335         ($(objpfx)tst-fnmatch-mem): Likewise.
21336         ($(objpfx)bug-regex2-mem): Likewise.
21337         ($(objpfx)bug-regex14-mem): Likewise.
21338         ($(objpfx)bug-regex21-mem): Likewise.
21339         ($(objpfx)bug-regex31-mem): Likewise.
21340         ($(objpfx)tst-vfork3-mem): Likewise.
21341         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21342         ($(objpfx)tst-pcre-mem): Likewise.
21343         ($(objpfx)tst-boost-mem): Likewise.
21344         ($(objpfx)tst-getconf.out): Likewise.
21345         ($(objpfx)bug-ga2-mem): Likewise.
21346         ($(objpfx)bug-glob2-mem): Likewise.
21347         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21348         ($(objpfx)mtrace-tst-leaks2): Likewise.
21349         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21350         ($(objpfx)tst-printf.out): Likewise.
21351         ($(objpfx)tst-setvbuf1.out): Likewise.
21352         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21353         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21354         ($(objpfx)tst-fmtmsg.out): Likewise.
21355         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21356         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21358         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21359         * bits/sigaction.h [__USE_MISC]: Likewise.
21360         * bits/waitstatus.h: Update #endif comments.
21361         * ctype/ctype.h: Likewise.
21362         * dirent/dirent.h: Likewise.
21363         [__USE_MISC]: Remove redundant conditionals.
21364         * grp/grp.h: Update #endif comments.
21365         [__USE_GNU]: Remove redundant conditionals.
21366         [__USE_MISC]: Likewise.
21367         * inet/netinet/in.h [__USE_GNU]: Likewise.
21368         * io/sys/stat.h [__USE_MISC]: Likewise.
21369         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21370         * libio/bits/stdio.h: Update #endif comments.
21371         [__USE_MISC]: Remove redundant conditionals.
21372         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21373         * libio/stdio.h: Update #endif comments.
21374         [__USE_MISC]: Remove redundant conditionals.
21375         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21376         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21377         * math/math.h: Update #else and #endif comments.
21378         [__USE_MISC]: Remove redundant conditionals.
21379         * misc/sys/uio.h: Update #endif comments.
21380         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21381         * posix/glob.h [__USE_MISC]: Likewise.
21382         * posix/sys/types.h: Update #endif comments.
21383         [__USE_MISC]: Remove redundant conditionals.
21384         * posix/sys/wait.h: Update #endif comments.
21385         [__USE_MISC]: Remove redundant conditionals.
21386         * posix/unistd.h: Update #endif comments.
21387         [__USE_MISC]: Remove redundant conditionals.
21388         * pwd/pwd.h [__USE_GNU]: Likewise.
21389         [__USE_MISC]: Likewise.
21390         * resolv/netdb.h [__USE_GNU]: Likewise.
21391         * signal/signal.h: Update #endif comments.
21392         [__USE_MISC]: Remove redundant conditionals.
21393         * stdlib/stdlib.h: Update #else and #endif comments.
21394         [__USE_MISC]: Remove redundant conditionals.
21395         [__USE_GNU]: Likewise.
21396         * string/bits/string2.h [__USE_MISC]: Likewise.
21397         * string/string.h: Update #endif comments.
21398         [__USE_MISC]: Remove redundant conditionals.
21399         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21400         Likewise.
21401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21402         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21403         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21404         Likewise.
21405         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21406         Likewise.
21407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21408         comments.
21409         [__USE_MISC]: Remove redundant conditionals.
21410         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21411         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21412         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21413         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21414         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21415         Likewise.
21416         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21417         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21418         Likewise.
21419         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21420         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21421         Likewise.
21422         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21423         Likewise.
21424         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21425         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21426         Likewise.
21427         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21428         Likewise.
21429         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21430         * sysdeps/x86/bits/string.h: Update #endif comments.
21431         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21432         conditionals.
21433         * time/sys/time.h: Update #endif comments.
21434         * time/time.h: Likewise.
21435         [__USE_MISC]: Remove redundant conditionals.
21437 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21439         [BZ #16600]
21440         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21442 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21444         * Versions.def (librt): Add GLIBC_2.17.
21446 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21448         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21449         synonym for _SYS_AUXV_H to allow direct inclusion.
21450         * sysdeps/sparc/bits/hwcap.h: Likewise.
21451         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21452         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21453         * sysdeps/sparc/sysdep.h: Likewise.
21455 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21457         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21459 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21461         * benchtests/bench-strrchr.c: Print length instead of position.
21463 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21465         [BZ #16611]
21466         * sysdeps/unix/sysv/linux/kernel-features.h
21467         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21468         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21469         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21470         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21471         Likewise.
21472         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21473         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21474         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21475         (__ASSUME_SENDMMSG): Define instead of using previous
21476         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21478         (__ASSUME_SENDMMSG_SYSCALL): Define.
21479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21480         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21481         Likewise.
21482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21484         Likewise.
21485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21486         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21487         Likewise.
21488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21489         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21490         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21491         [__ASSUME_SENDMMSG]: Change conditionals to
21492         [__ASSUME_SENDMMSG_SOCKETCALL].
21493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21494         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21495         Define.
21496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21497         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21498         Likewise.
21499         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21500         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21501         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21502         [!__ASSUME_SENDMMSG]: Change conditional to
21503         [!__ASSUME_SENDMMSG_SOCKETCALL].
21504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21506         Define.
21508         [BZ #16610]
21509         * sysdeps/unix/sysv/linux/kernel-features.h
21510         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21511         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21512         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21513         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21514         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21515         [__i386__ || __sparc__]
21516         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21517         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21518         (__ASSUME_RECVMMSG): Define instead of using previous
21519         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21521         (__ASSUME_RECVMMSG_SYSCALL): Define.
21522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21523         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21524         Likewise.
21525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21527         Likewise.
21528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21530         Likewise.
21531         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21532         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21533         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21534         [__ASSUME_RECVMMSG]: Change condition to
21535         [__ASSUME_RECVMMSG_SOCKETCALL].
21536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21538         Define.
21539         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21542         Likewise.
21543         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21544         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21545         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21546         [!__ASSUME_RECVMMSG]: Change condition to
21547         [!__ASSUME_RECVMMSG_SOCKETCALL].
21548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21549         (__ASSUME_RECVMMSG_SYSCALL): Define.
21551         [BZ #16609]
21552         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21553         __powerpc__ || __s390__ || __sh__ || __sparc__]
21554         (__ASSUME_SOCKETCALL): Define.
21555         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21556         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21557         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21558         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21559         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21560         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21561         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21562         (__ASSUME_ACCEPT4): Define instead of using previous
21563         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21564         __powerpc__ || __sparc__ || __s390__)] condition.
21565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21566         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21567         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21568         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21569         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21570         [!__ASSUME_ACCEPT4]: Change condition to
21571         [!__ASSUME_ACCEPT4_SOCKETCALL].
21572         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21573         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21574         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21576         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21577         __ASSUME_ACCEPT4_SYSCALL.
21578         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21579         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21581         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21582         __ASSUME_ACCEPT4_SYSCALL.
21583         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21584         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21585         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21586         [__ASSUME_ACCEPT4]: Change condition to
21587         [__ASSUME_ACCEPT4_SOCKETCALL].
21588         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21589         (__ASSUME_SOCKETCALL): Define.
21590         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21592         (__ASSUME_SOCKETCALL): Define.
21593         (__ASSUME_ACCEPT4): Remove.
21594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21595         Define.
21596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21597         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21598         Likewise.
21599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21600         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21602         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21603         macro.
21604         (HWCAP_ARM_LPAE): Likewise.
21605         (HWCAP_ARM_EVTSTRM): Likewise.
21606         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21607         Add vpfd32, lpae and evtstrm.
21608         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21609         Increase to 22.
21611 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21613         * math/auto-libm-test-in: Add tests of clog10.
21614         * math/auto-libm-test-out: Regenerated.
21615         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21616         * sysdeps/i386/fpu/libm-test-ulps: Update.
21617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21619 2014-02-18  Andreas Schwab  <schwab@suse.de>
21621         [BZ #16574]
21622         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21623         Store non-zero if the second buffer was newly allocated.
21624         (send_dg): Likewise.
21625         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21626         to send_vc and send_dg.
21627         (res_nsend): Pass NULL for ansp2_malloced.
21628         * resolv/res_query.c (__libc_res_nquery): Add parameter
21629         answerp2_malloced and pass it down to __libc_res_nsend.
21630         (res_nquery): Pass additional NULL to __libc_res_nquery.
21631         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21632         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21633         second answer buffer if answerp2_malloced was set.
21634         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21635         (__libc_res_nquerydomain): Add parameter
21636         answerp2_malloced and pass it down to __libc_res_nquery.
21637         (res_nquerydomain): Pass additional NULL to
21638         __libc_res_nquerydomain.
21639         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21640         additional NULL to __libc_res_nsend and __libc_res_nquery.
21641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21642         additional NULL to __libc_res_nsearch.
21643         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21644         parameter of __libc_res_nsearch to check for separately allocated
21645         second buffer.
21646         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21647         __libc_res_nquery.
21648         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21649         additional NULL to __libc_res_nquery.
21650         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21651         __libc_res_nsearch.
21652         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21653         * include/resolv.h: Update prototypes of __libc_res_nquery,
21654         __libc_res_nsearch, __libc_res_nsend.
21656 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21658         * math/auto-libm-test-in: Add tests of fma.
21659         * math/auto-libm-test-out: Regenerated.
21660         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21661         (fma_towardzero_test_data): Likewise.
21662         (fma_downward_test_data): Likewise.
21663         (fma_upward_test_data): Likewise.
21664         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21665         mpc_mode.
21666         (rounding_modes): Add values for new field.
21667         (func_calc_method): Add value mpfr_fff_f.
21668         (func_calc_desc): Add mpfr_fff_f union field.
21669         (test_function): Add field exact_args.
21670         (FUNC): Add macro argument EXACT_ARGS.
21671         (FUNC_mpfr_f_f): Update call to FUNC.
21672         (FUNC_mpfr_f_f): Likewise.
21673         (FUNC_mpfr_ff_f): Likewise.
21674         (FUNC_mpfr_if_f): Likewise.
21675         (FUNC_mpc_c_f): Likewise.
21676         (FUNC_mpc_c_c): Likewise.
21677         (test_functions): Add fma.  Update calls to FUNC.
21678         (handle_input_arg): Add argument exact_args.
21679         (add_test): Update call to handle_input_arg.
21680         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21681         (output_for_one_input_case): Update call to calc_generic_results.
21682         Recalculate exact zero results in each rounding mode.
21684         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21685         non-negative before setting low bit.
21686         * math/auto-libm-test-in: Mark one asin test possibly having
21687         spurious underflow.
21688         * math/auto-libm-test-out: Regenerated.
21689         * sysdeps/i386/fpu/libm-test-ulps: Update.
21690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21692 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21694         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21695         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21696         ports/sysdeps/unix/sysv/linux/microblaze.
21697         * README: Add missing listing for microblaze*-*-linux-gnu.
21699 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21701         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21702         duplicate code
21704 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21706         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21707         * sysdeps/unix/sysv/linux/ia64: Move directory from
21708         ports/sysdeps/unix/sysv/linux/ia64.
21709         * README: Update listing for ia64-*-linux-gnu.
21711 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21712             Joseph Myers  <joseph@codesourcery.com>
21714         * Makeconfig (test-name): New variable.
21715         (evaluate-test): Likewise.
21716         * Makerules (do-test-clean): Remove .test-result files.
21717         (common-mostlyclean): Likewise.
21718         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21719         * scripts/evaluate-test.sh: New file.
21721 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21723         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21724         separate $(objpfx)tst-fopenloc-cmp.out and
21725         $(objpfx)tst-fopenloc-mem.out targets.
21726         (tests): Update dependencies.
21727         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21728         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21729         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21730         (tst-rxspencer-no-utf8-ARGS): New variable.
21731         (tst-rxspencer-no-utf8-ENV): Likewise.
21732         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21733         instead of $(objpfx)tst-rxspencer-mem.
21734         ($(objpfx)tst-rxspencer-mem): Change target to
21735         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21736         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21737         * posix/tst-rxspencer-no-utf8.c: New file.
21739         * elf/Makefile ($(objpfx)order.out): Remove rule.
21740         [$(run-built-tests) = yes] (tests): Depend on
21741         $(objpfx)order-cmp.out.
21742         ($(objpfx)order-cmp.out): New rule.
21743         [$(run-built-tests) = yes] (tests): Depend on
21744         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21745         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21746         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21747         $(objpfx)tst-array5-static-cmp.out.
21748         ($(objpfx)tst-array1.out): Remove rule.
21749         ($(objpfx)tst-array1-cmp.out): New rule.
21750         ($(objpfx)tst-array1-static.out): Remove rule.
21751         ($(objpfx)tst-array1-static-cmp.out): New rule.
21752         ($(objpfx)tst-array2.out): Remove rule.
21753         ($(objpfx)tst-array2-cmp.out): New rule.
21754         ($(objpfx)tst-array3.out): Remove rule.
21755         ($(objpfx)tst-array3-cmp.out): New rule.
21756         ($(objpfx)tst-array4.out): Remove rule.
21757         ($(objpfx)tst-array4-cmp.out): New rule.
21758         ($(objpfx)tst-array5.out): Remove rule.
21759         ($(objpfx)tst-array5-cmp.out): New rule.
21760         ($(objpfx)tst-array5-static.out): Remove rule.
21761         ($(objpfx)tst-array5-static-cmp.out): New rule.
21762         [$(run-built-tests) = yes] (tests): Depend on
21763         $(objpfx)order2-cmp.out.
21764         ($(objpfx)order2.out): Remove rule.
21765         ($(objpfx)order2-cmp.out): New rule.
21766         ($(objpfx)tst-initorder.out): Remove rule.
21767         [$(run-built-tests) = yes] (tests): Depend on
21768         $(objpfx)tst-initorder-cmp.out.
21769         ($(objpfx)tst-initorder-cmp.out): New rule.
21770         ($(objpfx)tst-initorder2.out): Remove rule.
21771         [$(run-built-tests) = yes] (tests): Depend on
21772         $(objpfx)tst-initorder2-cmp.out.
21773         ($(objpfx)tst-initorder2-cmp.out): New rule.
21774         [$(run-built-tests) = yes] (tests): Depend on
21775         $(objpfx)tst-unused-dep-cmp.out.
21776         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21777         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21778         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21779         on $(objpfx)tst-setvbuf1-cmp.out.
21780         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21781         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21782         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21783         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21784         ($(objpfx)tst-svc.out): Remove rule.
21785         ($(objpfx)tst-svc-cmp.out): New rule.
21787 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21789         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21790         * ctype/ctype.h [__USE_MISC]: Likewise.
21791         * dirent/dirent.h [__USE_MISC]: Likewise.
21792         * grp/grp.h [__USE_MISC]: Likewise.
21793         * io/fcntl.h [__USE_MISC]: Likewise.
21794         * io/sys/stat.h [__USE_MISC]: Likewise.
21795         * libio/stdio.h [__USE_MISC]: Likewise.
21796         * posix/unistd.h [__USE_MISC]: Likewise.
21797         * pwd/pwd.h [__USE_MISC]: Likewise.
21798         * stdlib.h [__USE_MISC]: Likewise.
21799         * string/bits/string2.h [__USE_MISC]: Likewise.
21800         * string/string.h [__USE_MISC]: Likewise.
21801         * time/time.h [__USE_MISC]: Likewise.
21803 2014-02-13  Andreas Schwab  <schwab@suse.de>
21805         [BZ #16574]
21806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21807         second answer buffer if it was separately allocated.
21809 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21811         * sysdeps/mips/math-tests.h: Include <features.h>.
21812         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21813         (ROUNDING_TESTS_long_double): Do not define.
21814         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21815         (EXCEPTION_TESTS_long_double): Likewise.
21816         * sysdeps/mips/mips64/libm-test-ulps: Update.
21818         * include/features.h (__USE_BSD): Remove macro definitions.
21819         (__USE_SVID): Likewise.
21820         (_BSD_SOURCE): Likewise.
21821         (_SVID_SOURCE): Likewise.
21822         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21823         from definition of _DEFAULT_SOURCE.
21824         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21825         [_DEFAULT_SOURCE].
21826         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21827         * bits/mman.h [__USE_BSD]: Likewise.
21828         * bits/termios.h [__USE_BSD]: Likewise.
21829         * bits/waitstatus.h [__USE_BSD]: Likewise.
21830         * ctype/ctype.h [__USE_SVID]: Likewise.
21831         * dirent/dirent.h [__USE_BSD]: Likewise.
21832         * grp/grp.h [__USE_SVID]: Likewise.
21833         [__USE_BSD]: Likewise.
21834         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21835         * io/fcntl.h [__USE_BSD]: Likewise.
21836         * io/ftw.h [__USE_BSD]: Likewise.
21837         * io/sys/stat.h [__USE_BSD]: Likewise.
21838         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21839         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21840         * libio/stdio.h [__USE_SVID]: Likewise.
21841         [__USE_BSD]: Likewise.
21842         * math/math.h [__USE_SVID]: Likewise.
21843         [__USE_BSD]: Likewise.
21844         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21845         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21846         * misc/search.h [__USE_SVID]: Likewise.
21847         * misc/sys/mman.h [__USE_BSD]: Likewise.
21848         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21849         * misc/sys/uio.h [__USE_BSD]: Likewise.
21850         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21851         * posix/glob.h [__USE_BSD]: Likewise.
21852         * posix/regex.h [__USE_BSD]: Likewise.
21853         * posix/sys/types.h [__USE_BSD]: Likewise.
21854         [__USE_SVID]: Likewise.
21855         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21856         * posix/sys/wait.h [__USE_BSD]: Likewise.
21857         [__USE_SVID]: Likewise.
21858         * posix/unistd.h [__USE_BSD]: Likewise.
21859         [__USE_SVID]: Likewise.
21860         * pwd/pwd.h [__USE_SVID]: Likewise.
21861         * resolv/netdb.h [__USE_BSD]: Likewise.
21862         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21863         * signal/signal.h [__USE_BSD]: Likewise.
21864         [__USE_SVID]: Likewise.
21865         * socket/sys/socket.h [__USE_BSD]: Likewise.
21866         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21867         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21868         [__USE_SVID]: Likewise.
21869         * string/bits/string2.h [__USE_BSD]: Likewise.
21870         [__USE_SVID]: Likewise.
21871         * string/bits/string3.h [__USE_BSD]: Likewise.
21872         * string/endian.h [__USE_BSD]: Likewise.
21873         * string/string.h [__USE_SVID]: Likewise.
21874         [__USE_BSD]: Likewise.
21875         * string/strings.h [__USE_BSD]: Likewise.
21876         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21877         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21878         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21879         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21880         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21881         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21882         Likewise.
21883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21884         Likewise.
21885         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21886         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21887         Likewise.
21888         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21889         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21890         Likewise.
21891         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21892         Likewise.
21893         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21894         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21896         Likewise.
21897         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21898         Likewise.
21899         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21900         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21901         * termios/termios.h [__USE_BSD]: Likewise.
21902         * time/sys/time.h [__USE_BSD]: Likewise.
21903         * time/time.h [__USE_BSD]: Likewise.
21904         [__USE_SVID]: Likewise.
21906         * Makefile (subdir_targets): Remove subdir_lint.out.
21908         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21909         (do-tst-printf): Likewise.
21910         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21911         $(objpfx)tst-printf.out.
21913         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21915         * Makerules (check-abi-%): Change target to
21916         $(objpfx)check-abi-%.out.
21917         (check-abi target): Update dependencies.
21918         (check-abi-pattern variable): Redirect output of diff to $@.
21919         (check-abi variable): Likewise.
21920         * elf/Makefile (check-abi): Update dependencies.
21922         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21923         unused.
21924         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21925         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21926         subnormal range.
21927         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21928         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21929         value has largest subnormal exponent.
21930         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21931         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21932         * sysdeps/aarch64/soft-fp/sfp-machine.h
21933         (_FP_TININESS_AFTER_ROUNDING): New macro.
21934         * sysdeps/alpha/soft-fp/sfp-machine.h
21935         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21936         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21937         Likewise.
21938         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21939         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21940         * sysdeps/mips/soft-fp/sfp-machine.h
21941         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21942         * sysdeps/powerpc/soft-fp/sfp-machine.h
21943         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21944         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21945         Likewise.
21946         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21947         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21948         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21949         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21950         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21951         Likewise.
21953 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21955         [BZ #16545]
21956         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21957         model 1.
21959 2014-02-12  Richard Henderson  <rth@redhat.com>
21961         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21962         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21963         * sysdeps/unix/sysv/linux/alpha: Move directory from
21964         ports/sysdeps/unix/sysv/linux/alpha.
21965         * README: Update listing for alpha-*-linux-gnu.
21967 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21969         * include/features.h: Update comment documenting feature test
21970         macros.
21971         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21972         _DEFAULT_SOURCE.
21973         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21974         (_SVID_SOURCE): Likewise.
21975         (_DEFAULT_SOURCE): Update description of default features.
21976         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21977         with _GNU_SOURCE.
21978         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21979         (S_ISVTX): Likewise.
21980         * manual/math.texi (Mathematical Constants): Likewise.
21981         * manual/signal.texi (Interrupted Primitives): Likewise.
21982         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21983         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21984         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21985         Don't refer to _SVID_SOURCE in warning text.
21987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21989         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21990         already defined.
21991         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21992         * sysdeps/mips/dl-lookup.c: Remove.
21993         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21995 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21997         [BZ #16447]
21998         * math/auto-libm-test-in: Add testcase for expl.
21999         * math/auto-libm-test-out: Regenerate.
22000         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22001         calculation of unsafe.
22002         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22004 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22006         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22007         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22008         ports/sysdeps/unix/sysv/linux/aarch64.
22009         * README: Update listing for aarch64*-*-linux-gnu.
22011 2014-02-11  Will Newton  <will.newton@linaro.org>
22013         * manual/probes.texi (Mathematical Function Probes): Use
22014         "triggered" instead of "hit".
22016         * manual/probes.texi (Internal Probes): Add documentation
22017         of setjmp, longjmp and longjmp_target probes.
22019         * include/stap-probe.h: Add comment about probe argument
22020         format.
22022         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22023         definition.  (tr_where, tr_freehook, tr_mallochook,
22024         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22026 2014-02-11  David S. Miller  <davem@davemloft.net>
22028         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22029         processing int_tests.
22031 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22033         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22034         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22035         * sysdeps/unix/sysv/linux/mips: Move directory from
22036         ports/sysdeps/unix/sysv/linux/mips.
22037         * README: Update listing for mips-*-linux-gnu and
22038         mips64-*-linux-gnu.
22040 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22042         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22043         * sysdeps/unix/sysv/linux/m68k: Move directory from
22044         ports/sysdeps/unix/sysv/linux/m68k.
22045         * README: Update listing for m68k-*-linux-gnu.
22047 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22049         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22050         * sysdeps/unix/sysv/linux/generic: Move directory from
22051         ports/sysdeps/unix/sysv/linux/generic.
22052         * sysdeps/unix/sysv/linux/tile: Move directory from
22053         ports/sysdeps/unix/sysv/linux/tile.
22054         * README: Update listing for tile*-*-linux-gnu.
22056 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22058         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22059         __builtin_expect.
22060         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22061         * catgets/open_catalog.c (__open_catalog): Likewise.
22062         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22063         * debug/confstr_chk.c: Likewise.
22064         * debug/fread_chk.c (__fread_chk): Likewise.
22065         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22066         * debug/getgroups_chk.c: Likewise.
22067         * debug/mbsnrtowcs_chk.c: Likewise.
22068         * debug/mbsrtowcs_chk.c: Likewise.
22069         * debug/mbstowcs_chk.c: Likewise.
22070         * debug/memcpy_chk.c: Likewise.
22071         * debug/memmove_chk.c: Likewise.
22072         * debug/mempcpy_chk.c: Likewise.
22073         * debug/memset_chk.c: Likewise.
22074         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22075         * debug/strcat_chk.c (__strcat_chk): Likewise.
22076         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22077         * debug/strncat_chk.c (__strncat_chk): Likewise.
22078         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22079         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22080         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22081         * debug/wcpncpy_chk.c: Likewise.
22082         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22083         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22084         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22085         * debug/wcsncpy_chk.c: Likewise.
22086         * debug/wcsnrtombs_chk.c: Likewise.
22087         * debug/wcsrtombs_chk.c: Likewise.
22088         * debug/wcstombs_chk.c: Likewise.
22089         * debug/wmemcpy_chk.c: Likewise.
22090         * debug/wmemmove_chk.c: Likewise.
22091         * debug/wmempcpy_chk.c: Likewise.
22092         * debug/wmemset_chk.c: Likewise.
22093         * dirent/scandirat.c (SCANDIRAT): Likewise.
22094         * dlfcn/dladdr1.c (dladdr1): Likewise.
22095         * dlfcn/dladdr.c (dladdr): Likewise.
22096         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22097         * dlfcn/dlerror.c (__dlerror): Likewise.
22098         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22099         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22100         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22101         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22102         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22103         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22104         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22105         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22106         Likewise.
22107         * elf/dl-conflict.c: Likewise.
22108         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22109         * elf/dl-dst.h: Likewise.
22110         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22111         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22112         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22113         * elf/dl-init.c (call_init, _dl_init): Likewise.
22114         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22115         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22116         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22117         Likewise.
22118         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22119         Likewise.
22120         * elf/dl-minimal.c (__libc_memalign): Likewise.
22121         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22122         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22123         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22124         * elf/dl-sym.c (do_sym): Likewise.
22125         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22126         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22127         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22128         * elf/dl-writev.h (_dl_writev): Likewise.
22129         * elf/ldconfig.c (search_dir): Likewise.
22130         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22131         (dl_main): Likewise.
22132         * elf/setup-vdso.h (setup_vdso): Likewise.
22133         * grp/compat-initgroups.c (compat_call): Likewise.
22134         * grp/fgetgrent.c (fgetgrent): Likewise.
22135         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22136         * grp/putgrent.c (putgrent): Likewise.
22137         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22138         Likewise.
22139         * hurd/hurdinit.c: Likewise.
22140         * iconvdata/8bit-gap.c (struct): Likewise.
22141         * iconvdata/ansi_x3.110.c : Likewise.
22142         * iconvdata/big5.c : Likewise.
22143         * iconvdata/big5hkscs.c : Likewise.
22144         * iconvdata/cp1255.c: Likewise.
22145         * iconvdata/cp1258.c : Likewise.
22146         * iconvdata/cp932.c : Likewise.
22147         * iconvdata/euc-cn.c: Likewise.
22148         * iconvdata/euc-jisx0213.c : Likewise.
22149         * iconvdata/euc-jp.c: Likewise.
22150         * iconvdata/euc-jp-ms.c : Likewise.
22151         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22152         * iconvdata/gb18030.c : Likewise.
22153         * iconvdata/gbbig5.c (const): Likewise.
22154         * iconvdata/gbgbk.c: Likewise.
22155         * iconvdata/gbk.c : Likewise.
22156         * iconvdata/ibm1364.c : Likewise.
22157         * iconvdata/ibm930.c : Likewise.
22158         * iconvdata/ibm932.c: Likewise.
22159         * iconvdata/ibm933.c : Likewise.
22160         * iconvdata/ibm935.c : Likewise.
22161         * iconvdata/ibm937.c : Likewise.
22162         * iconvdata/ibm939.c : Likewise.
22163         * iconvdata/ibm943.c: Likewise.
22164         * iconvdata/iso_11548-1.c: Likewise.
22165         * iconvdata/iso-2022-cn.c : Likewise.
22166         * iconvdata/iso-2022-cn-ext.c : Likewise.
22167         * iconvdata/iso-2022-jp-3.c: Likewise.
22168         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22169         * iconvdata/iso-2022-kr.c : Likewise.
22170         * iconvdata/iso646.c (gconv_end): Likewise.
22171         * iconvdata/iso_6937-2.c : Likewise.
22172         * iconvdata/iso_6937.c : Likewise.
22173         * iconvdata/iso8859-1.c: Likewise.
22174         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22175         * iconvdata/shift_jisx0213.c : Likewise.
22176         * iconvdata/sjis.c : Likewise.
22177         * iconvdata/t.61.c : Likewise.
22178         * iconvdata/tcvn5712-1.c : Likewise.
22179         * iconvdata/tscii.c: Likewise.
22180         * iconvdata/uhc.c : Likewise.
22181         * iconvdata/unicode.c (gconv_end): Likewise.
22182         * iconvdata/utf-16.c (gconv_end): Likewise.
22183         * iconvdata/utf-32.c (gconv_end): Likewise.
22184         * iconvdata/utf-7.c (base64): Likewise.
22185         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22186         * iconv/gconv_close.c (__gconv_close): Likewise.
22187         * iconv/gconv_open.c (__gconv_open): Likewise.
22188         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22189         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22190         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22191         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22192         (ucs4le_internal_loop_single): Likewise.
22193         * iconv/iconv.c (iconv): Likewise.
22194         * iconv/iconv_close.c: Likewise.
22195         * iconv/loop.c (SINGLE): Likewise.
22196         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22197         * include/atomic.h: Likewise.
22198         * inet/inet6_option.c (option_alloc): Likewise.
22199         * intl/bindtextdom.c (set_binding_values): Likewise.
22200         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22201         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22202         * intl/localealias.c (read_alias_file): Likewise.
22203         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22204         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22205         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22206         * libio/fmemopen.c (fmemopen): Likewise.
22207         * libio/iofgets.c (_IO_fgets): Likewise.
22208         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22209         * libio/iofgetws.c (fgetws): Likewise.
22210         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22211         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22212         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22213         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22214         * locale/findlocale.c (_nl_find_locale): Likewise.
22215         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22216         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22217         Likewise.
22218         * locale/setlocale.c (setlocale): Likewise.
22219         * login/programs/pt_chown.c (main): Likewise.
22220         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22221         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22222         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22223         (mmap, mmap64, mremap, munmap): Likewise.
22224         * math/e_exp2l.c: Likewise.
22225         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22226         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22227         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22228         * math/s_catan.c (__catan): Likewise.
22229         * math/s_catanf.c (__catanf): Likewise.
22230         * math/s_catanh.c (__catanh): Likewise.
22231         * math/s_catanhf.c (__catanhf): Likewise.
22232         * math/s_catanhl.c (__catanhl): Likewise.
22233         * math/s_catanl.c (__catanl): Likewise.
22234         * math/s_ccosh.c (__ccosh): Likewise.
22235         * math/s_ccoshf.c (__ccoshf): Likewise.
22236         * math/s_ccoshl.c (__ccoshl): Likewise.
22237         * math/s_cexp.c (__cexp): Likewise.
22238         * math/s_cexpf.c (__cexpf): Likewise.
22239         * math/s_cexpl.c (__cexpl): Likewise.
22240         * math/s_clog10.c (__clog10): Likewise.
22241         * math/s_clog10f.c (__clog10f): Likewise.
22242         * math/s_clog10l.c (__clog10l): Likewise.
22243         * math/s_clog.c (__clog): Likewise.
22244         * math/s_clogf.c (__clogf): Likewise.
22245         * math/s_clogl.c (__clogl): Likewise.
22246         * math/s_csin.c (__csin): Likewise.
22247         * math/s_csinf.c (__csinf): Likewise.
22248         * math/s_csinh.c (__csinh): Likewise.
22249         * math/s_csinhf.c (__csinhf): Likewise.
22250         * math/s_csinhl.c (__csinhl): Likewise.
22251         * math/s_csinl.c (__csinl): Likewise.
22252         * math/s_csqrt.c (__csqrt): Likewise.
22253         * math/s_csqrtf.c (__csqrtf): Likewise.
22254         * math/s_csqrtl.c (__csqrtl): Likewise.
22255         * math/s_ctan.c (__ctan): Likewise.
22256         * math/s_ctanf.c (__ctanf): Likewise.
22257         * math/s_ctanh.c (__ctanh): Likewise.
22258         * math/s_ctanhf.c (__ctanhf): Likewise.
22259         * math/s_ctanhl.c (__ctanhl): Likewise.
22260         * math/s_ctanl.c (__ctanl): Likewise.
22261         * math/w_pow.c: Likewise.
22262         * math/w_powf.c: Likewise.
22263         * math/w_powl.c: Likewise.
22264         * math/w_scalb.c (sysv_scalb): Likewise.
22265         * math/w_scalbf.c (sysv_scalbf): Likewise.
22266         * math/w_scalbl.c (sysv_scalbl): Likewise.
22267         * misc/error.c (error_tail): Likewise.
22268         * misc/pselect.c (__pselect): Likewise.
22269         * nis/nis_callback.c (__nis_create_callback): Likewise.
22270         * nis/nis_call.c (__nisfind_server): Likewise.
22271         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22272         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22273         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22274         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22275         * nis/nis_lookup.c (nis_lookup): Likewise.
22276         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22277         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22278         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22279         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22280         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22281         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22282         * nis/nss_compat/compat-initgroups.c (add_group)
22283         (internal_getgrent_r): Likewise.
22284         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22285         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22286         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22287         (internal_getspnam_r): Likewise.
22288         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22289         (_nss_nis_getaliasbyname_r): Likewise.
22290         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22291         (_nss_nis_getntohost_r): Likewise.
22292         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22293         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22294         (_nss_nis_getgrgid_r): Likewise.
22295         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22296         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22297         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22298         (_nss_nis_gethostbyname4_r): Likewise.
22299         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22300         (initgroups_netid): Likewise.
22301         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22302         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22303         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22304         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22305         (_nss_nis_getprotobynumber_r): Likewise.
22306         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22307         (_nss_nis_getsecretkey): Likewise.
22308         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22309         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22310         (_nss_nis_getpwuid_r): Likewise.
22311         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22312         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22313         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22314         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22315         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22316         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22317         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22318         Likewise.
22319         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22320         (_nss_nisplus_getntohost_r): Likewise.
22321         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22322         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22323         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22324         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22325         Likewise.
22326         * nis/nss_nisplus/nisplus-initgroups.c
22327         (_nss_nisplus_initgroups_dyn): Likewise.
22328         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22329         (_nss_nisplus_getnetbyaddr_r): Likewise.
22330         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22331         (_nss_nisplus_getprotobynumber_r): Likewise.
22332         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22333         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22334         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22335         Likewise.
22336         * nis/nss_nisplus/nisplus-service.c
22337         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22338         (_nss_nisplus_getservbyport_r): Likewise.
22339         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22340         (_nss_nisplus_getspnam_r): Likewise.
22341         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22342         Likewise.
22343         * nscd/aicache.c (addhstaiX): Likewise.
22344         * nscd/cache.c (cache_search, prune_cache): Likewise.
22345         * nscd/connections.c (register_traced_file, send_ro_fd)
22346         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22347         (main_loop_epoll): Likewise.
22348         * nscd/grpcache.c (addgrbyX): Likewise.
22349         * nscd/hstcache.c (addhstbyX): Likewise.
22350         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22351         * nscd/mem.c (gc, mempool_alloc): Likewise.
22352         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22353         (addinnetgrX): Likewise.
22354         * nscd/nscd-client.h (__nscd_acquire_maplock)
22355         (__nscd_drop_map_ref): Likewise.
22356         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22357         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22358         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22359         Likewise.
22360         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22361         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22362         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22363         (__nscd_get_map_ref): Likewise.
22364         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22365         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22366         Likewise.
22367         * nscd/pwdcache.c (addpwbyX): Likewise.
22368         * nscd/selinux.c (preserve_capabilities): Likewise.
22369         * nscd/servicescache.c (addservbyX): Likewise.
22370         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22371         * posix/fnmatch.c (fnmatch): Likewise.
22372         * posix/getopt.c (_getopt_internal_r): Likewise.
22373         * posix/glob.c (glob, glob_in_dir): Likewise.
22374         * posix/wordexp.c (exec_comm_child): Likewise.
22375         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22376         (getanswer_r, gaih_getanswer_slice): Likewise.
22377         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22378         * resolv/res_init.c: Likewise.
22379         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22380         * resolv/res_query.c (__libc_res_nquery): Likewise.
22381         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22382         Likewise.
22383         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22384         * stdio-common/perror.c (perror): Likewise.
22385         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22386         * stdio-common/tmpnam.c (tmpnam): Likewise.
22387         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22388         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22389         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22390         Likewise.
22391         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22392         * stdlib/putenv.c (putenv): Likewise.
22393         * stdlib/setenv.c (__add_to_environ): Likewise.
22394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22395         * stdlib/strtol_l.c (INTERNAL): Likewise.
22396         * string/memmem.c (memmem): Likewise.
22397         * string/strerror.c (strerror): Likewise.
22398         * string/strnlen.c (__strnlen): Likewise.
22399         * string/test-memmem.c (simple_memmem): Likewise.
22400         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22401         * sunrpc/pm_getport.c (__get_socket): Likewise.
22402         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22403         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22404         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22405         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22406         Likewise.
22407         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22409         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22410         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22411         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22412         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22413         Likewise.
22414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22415         Likewise.
22416         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22417         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22419         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22420         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22422         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22424         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22425         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22426         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22427         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22428         Likewise.
22429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22430         Likewise.
22431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22432         Likewise.
22433         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22436         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22437         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22439         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22440         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22446         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22449         Likewise.
22450         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22451         Likewise.
22452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22453         Likewise.
22454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22455         Likewise.
22456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22458         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22459         Likewise.
22460         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22461         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22462         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22463         * sysdeps/posix/sleep.c: Likewise.
22464         * sysdeps/posix/tempname.c: Likewise.
22465         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22466         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22467         Likewise.
22468         * sysdeps/powerpc/powerpc32/dl-machine.h
22469         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22470         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22472         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22473         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22474         Likewise.
22475         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22477         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22479         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22480         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22481         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22482         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22484         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22486         (elf_machine_lazy_rel): Likewise.
22487         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22489         (elf_machine_lazy_rel): Likewise.
22490         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22491         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22492         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22493         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22494         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22496         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22498         Likewise.
22499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22500         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22501         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22502         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22503         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22504         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22505         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22506         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22509         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22510         Likewise.
22511         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22512         (__posix_fallocate64_l64): Likewise.
22513         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22514         (posix_fallocate): Likewise.
22515         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22516         Likewise.
22517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22518         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22519         (getifaddrs_internal): Likewise.
22520         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22521         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22522         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22523         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22525         (__posix_fallocate64_l64): Likewise.
22526         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22527         Likewise.
22528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22530         (__get_clockfreq): Likewise.
22531         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22532         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22533         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22536         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22537         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22538         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22539         Likewise.
22540         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22541         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22542         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22545         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22547         Likewise.
22548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22549         (posix_fallocate): Likewise.
22550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22551         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22552         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22553         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22554         (elf_machine_rela, elf_machine_rela_relative)
22555         (elf_machine_lazy_rel): Likewise.
22556         * time/asctime.c (asctime_internal): Likewise.
22557         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22558         * time/tzset.c (__tzset_parse_tz): Likewise.
22559         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22560         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22561         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22562         * wcsmbs/wcsmbsload.h: Likewise.
22564         [BZ #15894]
22565         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22567         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22568         (arena_get2): Remove THREAD_STATS conditionals.
22569         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22570         (__malloc_stats, int): Likewise.
22572 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22574         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22575         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22577         * manual/setjmp.texi: Fix typos/grammar errors.
22579         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22580         Only return early when n is <= 0.  Delete unused return statement.
22582         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22583         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22584         * debug/tst-longjmp_chk3.c: New file.
22586         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22587         (test_main): Replace code with set_fortify_handler call.
22588         * debug/test-strcpy_chk.c: Likewise.
22589         * debug/tst-chk1.c: Likewise.
22590         * debug/tst-longjmp_chk.c: Likewise.
22591         * test-skeleton.c: Include fcntl.h & paths.h
22592         (set_fortify_handler): Define.
22594         * debug/tst-longjmp_chk.c: Add header comment and include
22595         ../test-skeleton.c.
22596         (do_test): Mark static.
22597         (TEST_FUNCTION): Define.
22599         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22600         (IP_PMTUDISC_INTERFACE): Likewise.
22601         (IP_MULTICAST_IF): Likewise.
22602         (IP_MULTICAST_TTL): Likewise.
22603         (IP_MULTICAST_LOOP): Likewise.
22604         (IP_ADD_MEMBERSHIP): Likewise.
22605         (IP_DROP_MEMBERSHIP): Likewise.
22606         (IP_UNBLOCK_SOURCE): Likewise.
22607         (IP_BLOCK_SOURCE): Likewise.
22608         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22609         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22610         (IP_MSFILTER): Likewise.
22611         (MCAST_JOIN_GROUP): Likewise.
22612         (MCAST_BLOCK_SOURCE): Likewise.
22613         (MCAST_UNBLOCK_SOURCE): Likewise.
22614         (MCAST_LEAVE_GROUP): Likewise.
22615         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22616         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22617         (MCAST_MSFILTER): Likewise.
22618         (IP_MULTICAST_ALL): Likewise.
22619         (IP_UNICAST_IF): Likewise.
22621         * timezone/Makefile: Delete $(have-ksh) check.
22622         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22623         * timezone/tzselect.ksh: Add +x mode bits.
22625         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22626         (ANON_INODE_FS_MAGIC): Likewise.
22627         (BDEVFS_MAGIC): Likewise.
22628         (BINFMTFS_MAGIC): Likewise.
22629         (BTRFS_TEST_MAGIC): Likewise.
22630         (CRAMFS_MAGIC_WEND): Likewise.
22631         (DEBUGFS_MAGIC): Likewise.
22632         (ECRYPTFS_SUPER_MAGIC): Likewise.
22633         (EXT3_SUPER_MAGIC): Likewise.
22634         (EXT4_SUPER_MAGIC): Likewise.
22635         (FUTEXFS_SUPER_MAGIC): Likewise.
22636         (HOSTFS_SUPER_MAGIC): Likewise.
22637         (HUGETLBFS_MAGIC): Likewise.
22638         (MINIX3_SUPER_MAGIC): Likewise.
22639         (MTD_INODE_FS_MAGIC): Likewise.
22640         (NILFS_SUPER_MAGIC): Likewise.
22641         (OPENPROM_SUPER_MAGIC): Likewise.
22642         (PIPEFS_MAGIC): Likewise.
22643         (PSTOREFS_MAGIC): Likewise.
22644         (QNX6_SUPER_MAGIC): Likewise.
22645         (RAMFS_MAGIC): Likewise.
22646         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22647         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22648         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22649         (SECURITYFS_MAGIC): Likewise.
22650         (SELINUX_MAGIC): Likewise.
22651         (SMACK_MAGIC): Likewise.
22652         (SOCKFS_MAGIC): Likewise.
22653         (SQUASHFS_MAGIC): Likewise.
22654         (STACK_END_MAGIC): Likewise.
22655         (TMPFS_MAGIC): Likewise.
22656         (USBDEVICE_SUPER_MAGIC): Likewise.
22657         (V9FS_MAGIC): Likewise.
22658         (XENFS_SUPER_MAGIC): Likewise.
22659         (CRAMFS_MAGIC): Fix typo in comment.
22660         (EXT2_SUPER_MAGIC): Update comment.
22661         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22663 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22665         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22666         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22667         * sysdeps/unix/sysv/linux/arm: Move directory from
22668         ports/sysdeps/unix/sysv/linux/arm.
22669         * README: Update listing for arm-*-linux-gnueabi.
22671         * README: Remove mention of am33.
22673 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22675         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22676         than the comma operator, to avoid "rhs of comma has no effect"
22677         compiler warnings.
22678         (__sigfillset, __sigandset, __sigorset): Likewise.
22679         * include/signal.h (__sigemptyset): Likewise.
22680         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22682 2014-02-07  Allan McRae  <allan@archlinux.org>
22684         * version.h (RELEASE): Set to "development".
22685         (VERSION): Set to "2.19.90"
22686         * NEWS: Add 2.20 section.
22688 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22690         [BZ #16529]
22691         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22693 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         * manual/contrib.texi: Update entry for Carlos O'Donell,
22696         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22698 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22700         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22702         * sysdeps/unix/sysv/linux/kernel-features.h
22703         [__LINUX_KERNEL_VERSION >= 0x020621]
22704         (__ASSUME_PROC_PID_TASK_COMM): Define.
22706 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22708         [BZ #16398]
22709         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22710         conversion when destination buffer does not have enough space.
22711         * libio/tst-ftell-partial-wide.c: New test case.
22712         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22714         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22715         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22716         Leonard and Allan McRae.
22718 2014-02-04  David S. Miller  <davem@davemloft.net>
22720         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22721         32-bit.
22723 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22726         New file
22727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22728         New file
22729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22730         New file.
22731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22732         New file.
22733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22734         New file.
22735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22736         New file.
22737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22738         New file.
22739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22740         New file.
22741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22742         New file.
22743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22744         New file.
22745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22746         New file.
22747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22748         New file.
22749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22750         New file.
22752 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22754         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22755         * shlib-versions: Likewise.
22757 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22760         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22761         (abilist-pattern): New variable, set to %-le.abilist.
22763         * Makerules (abilist-pattern): New variable.
22764         (vpath): Use $(abilist-pattern) in place of %.abilist.
22765         (check-abi-% pattern rule): Likewise.
22766         (check-abi, update-abi): Likewise.
22768 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22772 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22774         * manual/startup.texi: Add next, previous, and top entries for
22775         the `Program Arguments' and `Environment Variables' nodes.
22777 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22779         * manual/macros.texi: Add comments before MTASC-safety macros.
22781         * manual/users.texi: Document MTASC-safety properties.
22783         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22784         (pthread_getspecific, pthread_setspecific): Format with
22785         @deftypefun, and add @safety note.
22786         * manual/signal.texi: Move comments that analyze the above
22787         functions to their home place.
22789 2014-02-03  Allan McRae  <allan@archlinux.org>
22791         * po/sl.po: Update Slovenian translation from translation project.
22793 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22795         * manual/time.texi (timegm): Add missing blank after @c.
22796         Reported by Joseph Myers <joseph@codesourcery.com>.
22798 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22800         * manual/check-safety.sh: New.
22801         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22803         * manual/terminal.texi: Document MTASC-safety properties.
22805         * manual/filesys.texi: Document MTASC-safety properties.
22807         * manual/errno.texi: Document MTASC-safety properties.
22809         * manual/intro.texi: Document safety identifiers and
22810         conditionals.
22812         * manual/string.texi (wcstok): Fix prototype.
22813         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22815         * manual/time.texi: Document MTASC-safety properties.
22817         * manual/string.texi: Document MTASC-safety properties.
22819         * manual/threads.texi: Document MTASC-safety properties.
22821         * manual/stdio.texi: Document MTASC-safety properties.
22823         * manual/syslog.texi: Document MTASC-safety properties.
22825         * manual/sysinfo.texi: Document MTASC-safety properties.
22827         * manual/startup.texi: Document MTASC-safety properties.
22829         * manual/socket.texi: Document MTASC-safety properties.
22831         * manual/signal.texi: Document MTASC-safety properties.
22833 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22835         * manual/setjmp.texi: Document MTASC-safety properties.
22837         * manual/search.texi: Document MTASC-safety properties.
22839         * manual/resource.texi: Document MTASC-safety properties.
22841         * manual/process.texi: Document MTASC-safety properties.
22843         * manual/platform.texi: Document MTASC-safety properties.
22845         * manual/pipe.texi: Document MTASC-safety properties.
22847         * manual/pattern.texi: Document MTASC-safety properties.
22849         * manual/message.texi: Document MTASC-safety properties.
22851         [BZ #12751]
22852         * manual/memory.texi: Document MTASC-safety properties.
22854         * manual/math.texi: Document MTASC-safety properties.
22856         * manual/locale.texi: Document MTASC-safety properties.
22858         * manual/llio.texi: Document MTASC-safety properties.
22860         * manual/libdl.texi: New.
22862         * manual/lang.texi: Document MTASC-safety properties.
22864         * manual/job.texi: Document MTASC-safety properties.
22866         * manual/getopt.texi: Document MTASC-safety properties.
22868         * manual/ctype.texi: Document MTASC-safety properties.
22870 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22872         [BZ #16046]
22873         * csu/libc-tls.c (static_map): Remove variable.
22874         (__libc_setup_tls): Use main executable's link map for TLS data.
22875         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22876         casing for LM_ID_BASE and GL(dl_nns).
22877         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22878         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22879         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22880         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22881         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22882         member.
22883         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22884         l_phnum members.
22886 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22888         * manual/debug.texi: Document MTASC-safety properties.
22890 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22892         [BZ #16510]
22893         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22894         of __x86_64__ when disabling x87 inline functions.
22896 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22898         * manual/charset.texi: Document MTASC-safety properties.
22900         * manual/crypt.texi: Document MTASC-safety properties.
22902         * manual/conf.texi: Document MTASC-safety properties.
22904         * manual/arith.texi: Document MTASC-safety properties.
22906         * manual/argp.texi: Document MTASC-safety properties.
22908         * manual/macros.texi: Introduce macros to document multi
22909         thread, asynchronous signal and asynchronous cancellation
22910         safety properties.
22911         * manual/intro.texi: Introduce the properties themselves.
22913 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22915         * sysdeps/sh/sh4/Makefile: New file.
22917 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22919         * math/gen-libm-test.pl ($srcdir): New variable.
22920         ($auto_input): Use it.
22922 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22924         [BZ #16506]
22925         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22926         access beyond array bounds when parsing netgroups file.
22928         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22929         the old buffer before realloc.
22931 2014-01-27  Allan McRae  <allan@archlinux.org>
22933         * po/fr.po: Update French translation from translation project.
22935 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22937         * sysdeps/sh/libm-test-ulps: Regenerate.
22939 2014-01-24  David S. Miller  <davem@davemloft.net>
22941         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22943 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22945         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22946         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22948 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22950         [BZ #16474]
22951         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22952         string pointers after reallocation.
22954 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22956         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22957         __SH4A__ instead of __SH_FPU_ANY__.
22959 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22961         * sysdeps/sh/fpu_control.h: New file.
22962         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22963         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22964         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22965         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22966         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22967         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22968         * sysdeps/sh/sys/ucontext.h: Remove.
22969         * sysdeps/sh/sys: Remove directory.
22971 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22973         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22974         s390/sys/ucontext.h.
22975         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22976         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22978 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22980         [BZ #15605]
22981         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22983 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22985         [BZ#16431]
22986         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22987         Adjust the vDSO correctly for internal calls.
22988         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22990 2014-01-20  Allan McRae  <allan@archlinux.org>
22992         * po/ca.po: Update Catalan translation from translation project.
22994 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22996         * sysdeps/s390/sotruss-lib.c: New file.
22998 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23000         [BZ#16430]
23001         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23002         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23003         local calls issues by not having a PLT stub required for IFUNC calls.
23004         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23006 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23008         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23009         * math/test-fpucw-static.c: Likewise.
23011 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23013         [BZ #16453]
23014         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23016 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23018         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23019         implementation for powerpc.
23021 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23023         [BZ #14782]
23024         * sysdeps/posix/system.c (__libc_system): Do not enable
23025         asynchronous cancellation.
23027 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23029         [BZ #16427]
23030         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23031         handling only for numbers special also in the IEEE case.
23033 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23037 2014-01-11  Allan McRae  <allan@archlinux.org>
23039         * po/bg.po: Update Bulgarian translation from translation project.
23041         * po/de.po: Update German translation from translation project.
23043 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23045         * sysdeps/generic/gcc-compat.h: New file.
23047 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * benchtests/asin-inputs: Correct slow inputs.
23050         * benchtests/acos-inputs: Likewise.
23052 2014-01-10  Allan McRae  <allan@archlinux.org>
23054         * po:sv.po: Update Swedish translation from translation project.
23056         * po/vi.po: Update Vietnamese translation from translation project.
23058         * po/eo.po: Update Esperanto translation from translation project.
23060         * po/cs.po: Update Czech translation from translation project.
23062         * po/nl.po: Update Dutch translation from translation project.
23064         * po/pl.po: Update Polish translation from translation project.
23066         * po/ru.po: Update Russian translation from translation project.
23068         * po/uk.po: Update Ukrainian translation from translation project.
23070 2014-01-08  Brooks Moses  <bmoses@google.com>
23072         * elf/dl-load.c: Fix comment typo.
23074 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23076         * po/header.pot: Rename to...
23077         * po/pot.header: ... this.
23078         * po/Makefile: Use pot.header.
23080 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23081             Maxim Kuvyrkov  <maxim@kugelworks.com>
23083         [BZ #16394]
23084         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23085         SRC and DEST against LEN.
23087 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23089         [BZ #16414]
23090         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23091         implementation.
23092         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23094 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23098 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23100         [BZ #16408]
23101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23102         for large positive arguments.
23104 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23106         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23108         * math/auto-libm-test-in: Mark various tests with
23109         xfail-rounding:ldbl-128ibm.
23110         * math/auto-libm-test-out: Regenerated.
23112         [BZ #16407]
23113         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23114         Increase overflow threshold.
23116 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23118         [BZ #14286]
23119         * stdio-common/vfprintf.c: Check for integer overflow.
23121 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23123         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23124         the first argument and return value of __tls_get_addr_internal.
23126 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23128         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23129         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23131 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23133         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23134         * sysdeps/s390/rtld-global-offsets.sym: New file.
23135         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23136         GLIBC_2.19 symbol.
23137         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23140         ... this.
23141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23143         ... this.
23144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23145         Regenerate.
23146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23147         Regenerate.
23148         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23149         halfs of GPRs for high_gprs contexts.
23150         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23151         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23152         field.
23153         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23154         uc_flags field.
23155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23156         64 bit versions:
23157         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23158         for high GPRs (uc_high_gprs) and for future extensions
23159         (__reserved).
23160         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23161         for future extensions (__reserved).
23162         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23163         64 bit versions:
23164         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23165         SC_HIGHGPRS offset definition.
23166         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23167         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23169         * Versions.def: Add GLIBC_2.19 for libpthread.
23170         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23171         siglongjmp for libpthread with GLIBC_2.19 symver.
23172         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23173         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23174         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23175         * sysdeps/s390/__longjmp.c: New file.
23176         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23177         * sysdeps/s390/longjmp.c: New file.
23178         * sysdeps/s390/setjmp.S: New file.
23179         * sysdeps/s390/sigjmp.S: New file.
23180         * sysdeps/s390/v1-longjmp.c: New file.
23181         * sysdeps/s390/v1-setjmp.h: New file.
23182         * sysdeps/s390/v1-sigjmp.c: New file.
23183         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23184         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23185         GLIBC_2.19 version.
23186         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23187         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23188         versioned symbols for ____longjmp_chk.
23189         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23190         Likewise.
23191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23192         Regenerate.
23193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23194         Regenerate.
23195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23196         Regenerate.
23197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23198         Regenerate.
23199         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23200         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23201         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23202         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23203         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23204         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23205         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23206         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23207         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23208         * sysdeps/s390/rtld-__longjmp.c: New file.
23209         * sysdeps/s390/rtld-setjmp.S: New file.
23211 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23213         [BZ #16400]
23214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23215         Return -__logl (x) for small positive arguments without evaluating
23216         a polynomial.
23218 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23220         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23221         Rename to ...
23222         (__ptrace_peeksiginfo_args): ... this.
23223         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23227 2014-01-06  Allan McRae  <allan@archlinux.org>
23229         * inet/netinet/in.h: Fix typo in comment.
23231 2014-01-05  Andreas Jaeger  <aj@suse.de>
23233         * sysdeps/i386/fpu/libm-test-ulps: Update.
23235 2014-01-05  Allan McRae  <allan@archlinux.org>
23237         * po/libc.pot: Regenerated.
23239         * malloc/memusagestat.c: Fix gettext call formatting.
23241 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23243         * nscd/nscd.c: Improve usage() output.
23245 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23247         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23248         * sysdeps/unix/sysv/linux/configure: Regenerated.
23249         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23250         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23252 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23254         [BZ #16390]
23255         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23256         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23258 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23261         extra tokens at end of #undef directive.
23262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23263         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23264         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23266 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23268         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23270         * math/auto-libm-test-in: Mark various tests with
23271         xfail-rounding:ldbl-128ibm.
23272         * math/auto-libm-test-out: Regenerated.
23274 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23276         [BZ #16386]
23277         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23278         numbers with subnormal high part when calculating exponent.
23280         [BZ #16385]
23281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23282         fabs.
23284         [BZ #16384]
23285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23286         M_LN2l.
23287         (__ieee754_acoshl): Use __log1pl not __log1p.
23289 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23291         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23292         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23293         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23294         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23295         (reused_arena, arena_get2): Convert to GNU style.
23296         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23297         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23298         (memalign_check, __malloc_set_state): Likewise.
23299         * malloc/mallocbug.c (main): Likewise.
23300         * malloc/malloc.c (__malloc_assert, malloc_init_state)
23301         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23302         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23303         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23304         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23305         (__posix_memalign, malloc_info): Likewise.
23306         * malloc/malloc.h: Likewise.
23307         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23308         (mallochook, memalignhook, reallochook, mabort): Likewise.
23309         * malloc/mcheck.h: Likewise.
23310         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23311         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23312         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23313         * malloc/morecore.c (__default_morecore): Likewise.
23314         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23315         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23316         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23317         (print_and_abort): Likewise.
23318         * malloc/obstack.h: Likewise.
23319         * malloc/set-freeres.c (__libc_freeres): Likewise.
23320         * malloc/tst-mallocstate.c (main): Likewise.
23321         * malloc/tst-mtrace.c (main): Likewise.
23322         * malloc/tst-realloc.c (do_test): Likewise.
23324 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23326         [BZ #16366]
23327         * nscd/netgroupcache.c (do_notfound): New function.
23328         (addgetnetgrentX): Use it.
23330         [BZ # 16365]
23331         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23332         NSS_STATUS_NOTFOUND.
23334 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23336         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23339 2014-01-01  Allan McRae  <allan@archlinux.org>
23341         * scripts/update-copyrights: Update configure input file suffix.
23343         * NEWS: Update copyright year.
23344         * catgets/gencat.c: Likewise.
23345         * csu/version.c: Likewise.
23346         * debug/catchsegv.sh: Likewise.
23347         * debug/pcprofiledump.c: Likewise.
23348         * debug/xtrace.sh: Likewise.
23349         * elf/ldconfig.c: Likewise.
23350         * elf/ldd.bash.in: Likewise.
23351         * elf/pldd.c: Likewise.
23352         * elf/sotruss.ksh: Likewise.
23353         * elf/sprof.c: Likewise.
23354         * iconv/iconv_prog.c: Likewise.
23355         * iconv/iconvconfig.c: Likewise.
23356         * locale/programs/locale.c: Likewise.
23357         * locale/programs/localedef.c: Likewise.
23358         * login/programs/pt_chown.c: Likewise.
23359         * malloc/memusage.sh: Likewise.
23360         * malloc/memusagestat.c: Likewise.
23361         * malloc/mtrace.pl: Likewise.
23362         * manual/libc.texinfo: Likewise.
23363         * nscd/nscd.c: Likewise.
23364         * nss/getent.c: Likewise.
23365         * nss/makedb.c: Likewise.
23366         * posix/getconf.c: Likewise.
23367         * scripts/test-installation.pl: Likewise.
23369         * All files with FSF copyright notices: Update copyright dates
23370         using scripts/update-copyrights.
23371         * intl/plural.c: Regenerated.
23372         * locale/programs/charmap-kw.h: Likewise.
23373         * locale/programs/locfile-kw.h: Likewise.
23375 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23377         * sysdeps/unix/sysv/linux/configure: Regenerated.
23378         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23379         the linux/fanotify.h header.
23380         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23381         HAVE_LINUX_FANOTIFY_H is defined.
23383 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23385         * benchtests/cos-inputs: New inputs.
23386         * benchtests/sin-inputs: Likewise.
23388         * benchtests/atan-inputs: New inputs. Fix name of multiple
23389         precision fallback inputs.
23391         * benchtests/atanh-inputs: New inputs.
23392         * benchtests/tanh-inputs: Likewise.
23394         * benchtests/acosh-inputs: New inputs.
23395         * benchtests/asinh-inputs: Likewise.
23397         * benchtests/cosh-inputs: New inputs.
23398         * benchtests/sinh-inputs: Likewise.
23400         * benchtests/acos-inputs: Add more inputs.
23401         * benchtests/asin-inputs: Likewise.
23403 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23405         [BZ #16375]
23406         * manual/arith.texi: Fix spelling.
23407         * manual/charset.texi: Likewise.
23408         * manual/errno.texi: Likewise.
23409         * manual/filesys.texi: Likewise.
23410         * manual/lang.texi: Likewise.
23411         * manual/llio.texi: Likewise.
23412         * manual/locale.texi: Likewise.
23413         * manual/message.texi: Likewise.
23414         * manual/resource.texi: Likewise.
23415         * manual/search.texi: Likewise.
23416         * manual/setjmp.texi: Likewise.
23417         * manual/stdio.texi: Likewise.
23418         * manual/string.texi: Likewise.
23419         * manual/sysinfo.texi: Likewise.
23420         * manual/time.texi: Likewise.
23422 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23424         * po/sl.po: New file.
23426 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23428         * .gitignore: Add core/.gdbinit/.gdb_history.
23430 2013-12-27  Allan McRae  <allan@archlinux.org>
23432         [BZ #16369]
23433         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23434         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23436 2013-12-24  Brooks Moses  <bmoses@google.com>
23438         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23439         all compilers that claim C++98 compliance, not just GCC.
23440         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23441         Likewise.
23443 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23445         * NEWS: Restore accidentally deleted bug-fix entries.
23447 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23448             Ondřej Bílka  <neleai@seznam.cz>
23450         [BZ #15073]
23451         * malloc/malloc.c (_int_free): Perform sanity check only if we
23452         have_lock.
23454 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23456         [BZ #12986]
23457         * manual/stdio.texi (String Input Conversions): Clarify that character
23458         classes are not supported.
23460 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23464 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23466         [BZ #16337]
23467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23468         Calculate results for small negative arguments directly rather
23469         than using reflection formula with special underflow handling.
23471         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23472         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23473         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23474         (fchflags): Likewise.
23475         (revoke): Likewise.
23476         (setlogin): Likewise.
23477         (sigaltstack): Likewise.
23478         (wait4): Likewise.
23479         (sigblock): Remove.
23480         (sigsetmask): Likewise.
23481         (wait3): Likewise.
23482         (waitpid): Likewise.
23483         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23484         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23485         file.
23486         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23487         * sysdeps/unix/bsd/Makefile: ... here.
23488         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23489         * sysdeps/unix/bsd/Versions: ... here.
23490         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23491         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23492         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23493         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23494         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23495         * sysdeps/unix/bsd/sigblock.c: ... here.
23496         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23497         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23498         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23499         * sysdeps/unix/bsd/sigvec.c: ... here.
23500         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23501         * sysdeps/unix/bsd/tcdrain.c: ... here.
23502         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23503         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23504         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23505         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23506         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23507         * sysdeps/unix/bsd/wait.c: ... here.
23508         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23509         * sysdeps/unix/bsd/wait3.c: ... here.
23510         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23511         * sysdeps/unix/bsd/waitpid.c: ... here.
23513 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23515         [BZ #16356]
23516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23517         round-to-nearest for [!USE_AS_EXPM1L].
23518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23519         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23520         more tests of exp and exp10.  Expect some exp10 tests to miss
23521         exceptions or fail in directed rounding modes.
23522         * math/auto-libm-test-out: Regenerated.
23523         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23524         (exp10_test_tonearest): New function.
23525         (exp10_towardzero_test_data): New array.
23526         (exp10_test_towardzero): New function.
23527         (exp10_downward_test_data): New array.
23528         (exp10_test_downward): New function.
23529         (exp10_upward_test_data): New array.
23530         (exp10_test_upward): New function.
23531         (main): Call the new functions.
23532         * sysdeps/i386/fpu/libm-test-ulps: Update.
23533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23535 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23537         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23538         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23539         * math/auto-libm-test-out: Regenerated.
23540         * math/libm-test.inc (acosh_test_data): Add more tests.
23541         (atanh_test_data): Likewise.
23542         (ceil_test_data): Likewise.
23543         (copysign_test_data): Likewise.
23544         * sysdeps/i386/fpu/libm-test-ulps: Update.
23545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23547         * timezone/checktab.awk: Update from tzcode 2013i.
23548         * timezone/private.h: Likewise.
23549         * timezone/scheck.c: Likewise.
23550         * timezone/tzfile.h: Likewise.
23551         * timezone/tzselect.ksh: Likewise.
23552         * timezone/zdump.c: Likewise.
23553         * timezone/zic.c: Likewise.
23555         * math/auto-libm-test-in: Add tests of cpow.
23556         * math/auto-libm-test-out: Regenerated.
23557         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23559         mpc_cc_c.
23560         (func_calc_desc): Add mpc_cc_c union field.
23561         (test_functions): Add cpow.
23562         (special_fill_2pi): New function.
23563         (special_real_inputs): Add 2pi.
23564         (calc_generic_results): Handle mpc_cc_c.
23565         * sysdeps/i386/fpu/libm-test-ulps: Update.
23566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23568         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23569         csqrt, ctan and ctanh.
23570         * math/auto-libm-test-out: Regenerated.
23571         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23572         (TEST_COND_x86): Likewise.
23573         (ccos_test_data): Use AUTO_TESTS_c_c.
23574         (ccosh_test_data): Likewise.
23575         (cexp_test_data): Likewise.
23576         (clog_test_data): Likewise.
23577         (csqrt_test_data): Likewise.
23578         (ctan_test_data): Likewise.
23579         (ctan_tonearest_test_data): Likewise.
23580         (ctan_towardzero_test_data): Likewise.
23581         (ctan_downward_test_data): Likewise.
23582         (ctan_upward_test_data): Likewise.
23583         (ctanh_test_data): Likewise.
23584         (ctanh_tonearest_test_data): Likewise.
23585         (ctanh_towardzero_test_data): Likewise.
23586         (ctanh_downward_test_data): Likewise.
23587         (ctanh_upward_test_data): Likewise.
23588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23589         mpc_c_c.
23590         (func_calc_desc): Add mpc_c_c union field.
23591         (FUNC_mpc_c_c): New macro.
23592         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23593         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23594         ctanh.
23595         (special_fill_min_subnorm_p120): New function.
23596         (special_real_inputs): Add min_subnorm_p120.
23597         (calc_generic_results): Handle mpc_c_c.
23598         * sysdeps/i386/fpu/libm-test-ulps: Update.
23599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23601 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23603         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23604         (do_sin_slow): New functions.
23605         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23606         (cslow2, csloww1, csloww2): Use the new functions.
23608         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23609         Use M to change sign of result instead of X.  Assume X is
23610         positive.
23611         (csloww1): Likewise.
23612         (__sin): Adjust.
23613         (__cos): Adjust.
23615         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23616         arguments A and DA.
23617         (__sin): Adjust.
23618         (__cos): Likewise.
23620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23621         (__cos): Likewise.
23622         (sloww1): Don't adjust sign of DX.
23623         (csloww1): Likewise.
23624         (sloww2): Use X directly and don't adjust sign of DX.
23625         (csloww2): Likewise.
23627 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23629         * math/auto-libm-test-in: Add tests of cabs and carg.
23630         * math/auto-libm-test-out: Regenerated.
23631         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23632         (carg_test_data): Likewise.
23633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23634         mpc_c_f.
23635         (func_calc_desc): Add mpc_c_f union field.
23636         (test_functions): Add cabs and carg.
23637         (calc_generic_results): Handle mpc_c_f.
23639         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23640         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23641         as a macro and a compat symbol.
23642         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23643         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23644         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23645         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23646         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23647         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23648         not use .hidden.
23649         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23650         Likewise.
23651         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23652         Likewise.
23653         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23654         Likewise.
23655         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23656         Likewise.
23657         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23658         Likewise.
23659         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23660         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23661         from GLIBC_2.3.2.
23663 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23667 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23669         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23670         trailing whitespace removed.
23671         * scripts/config.guess: Update to version 2013-11-29.
23672         * scripts/config.sub: Update to version 2013-10-01.
23674         * math/auto-libm-test-in: Add tests of sincos.
23675         * math/auto-libm-test-out: Regenerated.
23676         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23677         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23678         mpfr_f_11.
23679         (func_calc_desc): Add mpfr_f_11 union field.
23680         (test_functions): Add sincos.
23681         (calc_generic_results): Handle mpfr_f_11.
23682         * sysdeps/i386/fpu/libm-test-ulps: Update.
23683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23685 2013-12-19  Andreas Schwab  <schwab@suse.de>
23687         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23688         CALL_MCOUNT.
23689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23690         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23691         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23693 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23695         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23696         * sysdeps/i386/fpu/libm-test-ulps: Update.
23697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23699         [BZ #16293]
23700         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23701         round-to-nearest mode when using frndint.
23702         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23705         Likewise.
23706         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23707         sinh test to fail.
23708         * math/auto-libm-test-out: Regenerated.
23709         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23710         (TEST_COND_x86): Likewise.
23711         (expm1_tonearest_test_data): New array.
23712         (expm1_test_tonearest): New function.
23713         (expm1_towardzero_test_data): New array.
23714         (expm1_test_towardzero): New function.
23715         (expm1_downward_test_data): New array.
23716         (expm1_test_downward): New function.
23717         (expm1_upward_test_data): New array.
23718         (expm1_test_upward): New function.
23719         (main): Run the new test functions.
23720         * sysdeps/i386/fpu/libm-test-ulps: Update.
23721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23723         * include/features.h: Update comment documenting feature test
23724         macros.  Mention _DEFAULT_SOURCE in comment.
23725         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23726         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23727         _BSD_SOURCE and _SVID_SOURCE.
23728         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23729         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23730         !_SVID_SOURCE]: Likewise.
23731         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23732         (__USE_POSIX_IMPLICITLY): Define.
23733         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23734         (_POSIX_SOURCE): Undefine and redefine.
23735         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23736         (_POSIX_C_SOURCE): Likewise.
23737         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23738         (Feature Test Macros): Update documentation of default features.
23740 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23742         * benchtests/Makefile: Add bench-strtok.
23743         * benchtests/bench-strtok.c: New file: strtok benchtest.
23745 2013-12-19  Allan McRae  <allan@archlinux.org>
23747         * manual/install.texi: Suppress menu for plain text output.
23748         * INSTALL: Regenerated.
23750 2013-12-18  Brooks Moses  <bmoses@google.com>
23752         [BZ #15846]
23753         * misc/getauxval.c: Include errno.h.
23754         (__getauxval): Set errno to ENOENT if the requested type is not
23755         found.
23756         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23757         don't declare with __attribute_const__.
23758         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23759         * manual/startup.texi: Document that getauxval sets errno.
23761 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23763         * math/auto-libm-test-in: Add tests of jn and yn.
23764         * math/auto-libm-test-out: Regenerated.
23765         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23766         (yn_test_data): Likewise.
23767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23768         mpfr_if_f.
23769         (func_calc_desc): Add mpfr_if_f union field.
23770         (FUNC_mpfr_if_f): New macro.
23771         (test_functions): Add jn and yn.
23772         (calc_generic_results): Assert type of second input for
23773         mpfr_ff_f.  Handle mpfr_if_f.
23774         (output_for_one_input_case): Disable all checking for arguments
23775         fitting floating-point types in case of an integer argument.
23776         * sysdeps/i386/fpu/libm-test-ulps: Update.
23777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23780         Don't expect fegetround reference in libm.so.
23782 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23784         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23785         $(config-cflags-nofma).
23787 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23789         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23790         * math/auto-libm-test-out: Regenerated.
23792         [BZ #16338]
23793         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23794         to determine exponent and adjust argument to have exponent of -1.
23795         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23796         log2.
23797         * math/auto-libm-test-out: Regenerated.
23798         * sysdeps/i386/fpu/libm-test-ulps: Update.
23799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23801 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23803         * manual/probes.texi: Remove cases when per-thread arenas are
23804         disabled.
23806 2013-12-18  Andreas Schwab  <schwab@suse.de>
23808         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23809         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23810         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23811         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23812         * sysdeps/i386/i686/multiarch/Makefile: Update.
23813         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23815 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23817         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23818         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23820 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23822         [BZ #15968]
23823         Support TZ transition times < 00:00:00.
23824         This is needed for version-3 tz-format files; it supports time
23825         stamps past 2037 for America/Godthab (the only entry in the tz
23826         database for which this change is relevant).
23827         * manual/time.texi (TZ Variable): Document transition times
23828         from -167:59:59 through -00:00:01.
23829         * time/tzset.c (tz_rule): Time of day is now signed.
23830         (__tzset_parse_tz): Parse negative time of day.
23832         Document TZ transition times >= 25:00:00.
23833         * manual/time.texi (TZ Variable): Document transition times from
23834         25:00:00 through 167:59:59.  These are already supported, and this
23835         support will help with version-3 tz-format files.
23837         * manual/time.texi (TZ Variable): Modernize North America example
23838         to reflect current (i.e., 2007-and-later) daylight saving rules.
23840         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23842 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23844         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23845         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23848         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23849         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23850         * sysdeps/unix/bsd/clock.c: Likewise.
23851         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23852         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23853         * sysdeps/unix/bsd/init-posix.c: Likewise.
23854         * sysdeps/unix/bsd/poll.c: Likewise.
23855         * sysdeps/unix/bsd/ptsname.c: Likewise.
23856         * sysdeps/unix/bsd/seekdir.c: Likewise.
23857         * sysdeps/unix/bsd/setegid.c: Likewise.
23858         * sysdeps/unix/bsd/seteuid.c: Likewise.
23859         * sysdeps/unix/bsd/setgid.c: Likewise.
23860         * sysdeps/unix/bsd/setrgid.c: Likewise.
23861         * sysdeps/unix/bsd/setruid.c: Likewise.
23862         * sysdeps/unix/bsd/setsid.c: Likewise.
23863         * sysdeps/unix/bsd/setuid.c: Likewise.
23864         * sysdeps/unix/bsd/sigaction.c: Likewise.
23865         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23866         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23867         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23868         * sysdeps/unix/bsd/telldir.c: Likewise.
23869         * sysdeps/unix/bsd/times.c: Likewise.
23870         * sysdeps/unix/bsd/usleep.c: Likewise.
23872         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23873         ($(objpfx)libbsd-compat.a): Remove rule.
23875         * include/features.h (__FAVOR_BSD): Do not define.
23876         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23877         features conflicting with POSIX.
23878         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23879         (_BSD_SOURCE): Remove description of not being a subset of other
23880         feature test macros.
23881         * manual/job.texi (getpgrp): Do not document BSD version.
23882         (getpgid): Do not document by reference to BSD getpgrp.
23883         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23884         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23885         * signal/signal.h [__FAVOR_BSD]: Likewise.
23886         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23887         instead of making contents conditional on [__FAVOR_BSD].
23888         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23890 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23896         [BZ #16314]
23897         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23898         values below 2**-450, not 2**-500.
23899         * math/auto-libm-test-in: Don't allow spurious underflow from
23900         hypot.
23901         * math/auto-libm-test-out: Regenerated.
23903         [BZ #16316]
23904         [BZ #16330]
23905         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23906         values of ha and hb and sort them after adjusting subnormal
23907         arguments.
23908         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23909         Likewise.
23910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23911         values of ea and eb and sort them after adjusting subnormal
23912         arguments.
23913         * math/auto-libm-test-in: Do not expect some hypot tests of
23914         subnormals to fail.  Add more hypot tests.
23915         * math/auto-libm-test-out: Regenerated.
23917 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23919         [BZ #13304]
23920         * sysdeps/sh/s_fma.c: New file.
23921         * sysdeps/sh/s_fmaf.c: New file.
23922         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23923         version.
23924         * sysdeps/sh/Implies: Add sh/soft-fp.
23926 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23928         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23929         level of indirection to members `objname', `errstring', `malloced'.
23930         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23931         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23932         it as the __longjmp argument (just pass 1 instead).
23933         (_dl_catch_error): Initialize C with argument pointers and address of
23934         volatile local ERRCODE rather than copying values out of C at return.
23936 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23938         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23939         * math/auto-libm-test-out: Regenerated.
23940         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23941         (hypot_test_data): Likewise.
23942         (pow_test_data): Likewise.
23943         (pow_tonearest_test_data): Likewise.
23944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23945         mpfr_ff_f.
23946         (func_calc_desc): Add mpfr_ff_f union field.
23947         (FUNC_mpfr_ff_f): New macro.
23948         (test_functions): Add atan2, hypot and pow.
23949         (special_fill_min): New function.
23950         (special_fill_minus_min): Likewise.
23951         (special_fill_min_subnorm): Likewise.
23952         (special_fill_minus_min_subnorm): Likewise.
23953         (special_real_inputs): Add min, -min, min_subnorm and
23954         -min_subnorm.
23955         (calc_generic_results): Handle mpfr_ff_f.
23956         * sysdeps/i386/fpu/libm-test-ulps: Update.
23957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23959 2013-12-16  Will Newton  <will.newton@linaro.org>
23961         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23962         (Aligned Memory Blocks): Add documentation for aligned_alloc
23963         and suggest it as an alternative to posix_memalign.
23964         (Hooks for Malloc): Document __memalign_hook is also called
23965         for aligned_alloc.  (Summary of Malloc): Add summary for
23966         aligned alloc.  Document __memalign_hook is also called
23967         for aligned_alloc.
23969 2013-12-16  Will Newton  <will.newton@linaro.org>
23971         * manual/memory.texi (Malloc Examples): Clarify default
23972         alignment documentation.  Suggest posix_memalign rather
23973         than memalign or valloc.
23974         (Aligned Memory Blocks): Remove suggestion to use memalign
23975         or valloc.  Remove obsolete comment about BSD.
23976         Document memalign errno values and mark the function obsolete.
23977         Document posix_memalign returned error codes.  Mark valloc
23978         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23979         called for posix_memalign and valloc.
23980         (Summary of Malloc): Add posix_memalign to function summary.
23981         __memalign_hook is also called for posix_memalign and valloc.
23983 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23985         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23986         TAYLOR_SIN.
23987         (__sin): Adjust.
23988         (__cos): Likewise.
23989         (sloww): Use mynumber union.  Expand ternary operator into
23990         if-else statements.
23991         (cslow): use mynumber union.
23993 2013-12-16  Allan McRae  <allan@archlinux.org>
23995         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23996         * configure: Regenerated.
23998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24000         [BZ #14120]
24001         * configure.ac: Added --enable-maintainer-mode. Check for
24002         autoconf when enabled.
24003         * configure: Regenerated.
24005         * nscd/nscd.service: New file.
24006         * nscd/nscd.tmpfiles: New file.
24008 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24010         [BZ #12100]
24011         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24012         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24013         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24014         (strstr): Add __strstr_sse2_unaligned ifunc.
24015         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24016         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24017         (strcasestr): Remove __strcasestr_sse42 ifunc.
24018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24022 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24024         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24025         * sysdeps/sh/bits/fenv.h: ... here.
24026         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24030         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24033         hypotf multiarch implementations.
24034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24036         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24037         multiarch hypot for PPC64.
24038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24040         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24041         multiarch hypotf for PPC64.
24043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24044         modff multiarch implementations.
24045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24048         multiarch modf for PPC64.
24049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24052         multiarch modff for PPC64.
24054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24055         and logl multiarch implementations.
24056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24059         multiarch logb for PPC64.
24060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24063         multiarch logb for PPC64.
24064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24067         multiarch logb for PPC64.
24069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24070         isinff multiarch implementation.
24071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24072         file.
24073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24075         multiarch isinf for PPC64.
24076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24077         file.
24078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24079         multiarch isinff for PPC64.
24081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24082         finitef multiarch implementation.
24083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24084         file.
24085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24087         multiarch finite for PPC64.
24088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24089         file.
24090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24091         multiarch finitef for PPC64.
24093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24094         lrint multiarch implementation.
24095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24096         file.
24097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24099         multiarch llrint for PPC64.
24100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24101         multiarch lrint for PPC64.
24103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24104         copysignf multiarch implementation.
24105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24106         file.
24107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24108         file.
24109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24110         multiarch copysign for PPC64.
24111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24112         multiarch copysignf for PPC64.
24114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24115         multiarch implementation.
24116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24117         file.
24118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24119         file.
24120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24121         file.
24122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24123         file.
24124         multiarch llround for PPC64.
24125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24126         multiarch trunc for PPC64.
24127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24128         multiarch truncf for PPC64.
24130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24131         multiarch implementation.
24132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24133         file.
24134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24135         file.
24136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24137         file.
24138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24139         file.
24140         multiarch llround for PPC64.
24141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24142         multiarch round for PPC64.
24143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24144         multiarch roundf for PPC64.
24146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24147         multiarch implementation.
24148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24149         file.
24150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24151         file.
24152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24153         file.
24154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24155         file.
24156         multiarch llround for PPC64.
24157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24158         multiarch floor for PPC64.
24159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24160         multiarch floorf for PPC64.
24162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24163         multiarch implementation.
24164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24165         file.
24166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24167         file.
24168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24169         file.
24170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24171         file.
24172         multiarch llround for PPC64.
24173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24174         multiarch ceil for PPC64.
24175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24176         multiarch ceilf for PPC64.
24178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24179         multiarch implementation.
24180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24181         file.
24182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24183         file.
24184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24185         file.
24186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24187         multiarch llround for PPC64.
24188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24189         multiarch lround for PPC64.
24191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24192         multiarch implementation.
24193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24196         file.
24197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24200         multiarch isnan for PPC64.
24201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24202         multiarch isnanf for PPC64.
24204         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24205         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24206         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24207         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24208         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24211         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24217         multiarch implementations.
24218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24219         (__libc_ifunc_impl_list): Likewise.
24220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24223         multiarch stpcpy for PPC64.
24225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24226         multiarch implementations.
24227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24228         (__libc_ifunc_impl_list): Likewise.
24229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24231         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24232         multiarch strcpy for PPC64.
24234         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24235         redefine function name.
24236         (_wordcopy_fwd_dest_aligned): Likewise.
24237         (_wordcopy_bwd_aligned): Likewise.
24238         (_wordcopy_bwd_dest_aligned): Likewise.
24239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24240         multiarch implementations.
24241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24242         (__libc_ifunc_impl_list): Likewise.
24243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24245         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24246         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24247         multiarch wcscpy for PPC64.
24249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24250         multiarch implementations.
24251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24252         (__libc_ifunc_impl_list): Likewise.
24253         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24256         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24257         multiarch wcscpy for PPC64.
24259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24260         multiarch implementations.
24261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24262         (__libc_ifunc_impl_list): Likewise.
24263         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24264         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24265         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24266         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24267         multiarch wcsrchr for PPC64.
24269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24270         multiarch implementations.
24271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24272         (__libc_ifunc_impl_list): Likewise.
24273         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24274         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24275         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24276         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24277         multiarch wcschr for PPC64.
24279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24280         multiarch implementations.
24281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24282         (__libc_ifunc_impl_list): Likewise.
24283         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24284         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24285         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24286         multiarch strchrnul for PPC64.
24288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24289         implementations.
24290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24291         (__libc_ifunc_impl_list): Likewise.
24292         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24293         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24294         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24295         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24296         strchr for PPC64.
24298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24299         implementations.
24300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24301         (__libc_ifunc_impl_list): Likewise.
24302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24303         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24304         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24305         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24306         strncmp for PPC64.
24308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24309         multiarch implementations.
24310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24311         (__libc_ifunc_impl_list): Likewise.
24312         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24313         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24314         strncasecmp for PPC64.
24315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24316         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24317         multiarch strncasecmp_l for PPC64.
24319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24320         multiarch implementations.
24321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24322         (__libc_ifunc_impl_list): Likewise.
24323         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24325         multiarch strcasecmp for PPC64.
24326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24327         file.
24328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24329         multiarch strcasecmp_l for PPC64.
24331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24332         implementations.
24333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24334         (__libc_ifunc_impl_list): Likewise.
24335         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24336         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24337         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24338         strnlen for PPC64.
24340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24341         implementations.
24342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24343         (__libc_ifunc_impl_list): Likewise.
24344         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24345         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24346         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24347         strlen for PPC64.
24349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24350         implementations.
24351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24352         (__libc_ifunc_impl_list): Likewise.
24353         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24354         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24355         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24356         rawmemrchr for PPC64.
24358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24359         implementation.
24360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24361         (__libc_ifunc_impl_list): Likewise.
24362         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24363         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24364         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24365         memrchr for PPC64.
24367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24368         implementation.
24369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24370         (__libc_ifunc_impl_list): Likewise.
24371         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24372         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24373         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24374         memchr for PPC64.
24376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24377         implementation.
24378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24379         (__libc_ifunc_impl_list): Likewise.
24380         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24381         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24382         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24383         mempcpy for PPC64.
24385         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24386         avoid cretion of __bzero symbol.
24387         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24388         Likewise.
24389         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24390         Likewise.
24391         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24392         Likewise.
24393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24394         multiarch implementations.
24395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24396         (__libc_ifunc_impl_list): Likewise.
24397         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24399         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24400         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24401         bzero for PPC32.
24402         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24403         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24404         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24406         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24407         memset for PPC64.
24408         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24410         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24412         implementations.
24413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24414         (__libc_ifunc_impl_list): Likewise.
24415         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24416         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24417         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24418         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24419         memcmp for PPC64.
24421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24422         multiarch for POWER/PPC64.
24423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24424         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24426         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24427         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24431         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24432         memcpy for PPC64.
24434         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24435         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24436         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24437         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24438         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24439         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24440         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24441         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24442         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24443         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24444         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24445         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24446         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24447         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24448         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24457 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24459         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24461 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24463         * benchtests/Makefile (bench): Add exp2 and log2.
24464         (LDLIBS-bench-exp2): Add -lm.
24465         (LDLIBS-bench-log2): Likewise.
24466         * benchtests/exp2-inputs: New inputs file.
24467         * benchtests/log2-inputs: New inputs file.
24468         * benchtests/log-inputs: Add new inputs.
24469         * benchtests/tan-inputs: Likewise.
24471 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24473         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24474         definition...
24475         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24476         (csloww2): ... from here.
24478         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24479         instead of structures.
24480         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24481         (POLYNOMIAL): Likewise.
24482         (TAYLOR_SLOW): Likewise.
24483         (__sin): Likewise.
24484         (__cos): Likewise.
24485         (slow1): Likewise.
24486         (slow2): Likewise.
24487         (sloww): Likewise.
24488         (sloww1); Likewise.
24489         (sloww2): Likewise.
24490         (bsloww1): Likewise.
24491         (bsloww2): Likewise.
24492         (cslow2): Likewise.
24493         (csloww): Likewise.
24494         (csloww1): Likewise.
24495         (csloww2): Likewise.
24497 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24499         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24500         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24501         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24502         * malloc/hooks.c (realloc_check): Likewise.
24504         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24505         * malloc/arena.c: Remove PER_THREAD conditional.
24506         [!PER_THREAD]: Remove code.
24507         (ptmalloc_unlock_all2): Likewise.
24508         (ptmalloc_init): Likewise.
24509         (_int_new_arena): Likewise.
24510         (arena_get2): Likewise.
24511         * malloc/hooks.c (__malloc_get_state): Likewise.
24512         (__malloc_set_state): Likewise.
24513         * malloc/malloc.c: Likewise.
24514         (struct malloc_state): Likewise.
24515         (struct malloc_par): Likewise.
24516         (__libc_realloc): Likewise.
24517         (__libc_mallopt): Likewise.
24519 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24521         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24523 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24525         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24526         macro to a function.  Check for zero perturb_byte.
24527         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24529         * malloc/malloc.c: (force_reg): Remove.
24530         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24531         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24532         force_reg by atomic_forced_read.
24533         * malloc/arena.c (ptmalloc_init): Likewise.
24534         * malloc/hooks.c (top_check): Likewise.
24536 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24540 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24544 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24546         * math/auto-libm-test-in: Add tests of lgamma.
24547         * math/auto-libm-test-out: Regenerated.
24548         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24549         (M_LOG_2_SQRT_PIl): Likewise.
24550         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24552         mpfr_f_f1.
24553         (func_calc_desc): Add mpfr_f_f1 union field.
24554         (ARGS1): New macro.
24555         (ARGS2): Likewise.
24556         (ARGS3): Likewise.
24557         (ARGS4): Likewise.
24558         (RET1): Likewise.
24559         (RET2): Likewise.
24560         (CALC): Likewise.
24561         (FUNC): Likewise.
24562         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24563         (test_functions): Add lgamma.
24564         (calc_generic_results): Handle mpfr_f_f1.
24565         * sysdeps/i386/fpu/libm-test-ulps: Update.
24566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24568 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24570         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24571         __mpn_add_n for PowerPC64/POWER7.
24572         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24573         __mpn_sub_n for PowerPC64/POWER7.
24575         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24576         __mpn_addmul_1 for PowerPC64.
24577         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24578         __mpn_submul_1 for PowerPC64.
24579         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24580         for PowerPC64.
24581         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24582         for PowerPC64.
24584 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24586         [BZ #15089]
24587         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24589 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24591         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24593         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24594         add multiarch folders.
24595         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24596         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24597         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24598         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24599         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24600         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24601         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24602         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24603         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24604         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24605         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24614         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24616         New file.
24617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24618         New file.
24619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24620         multiarch __ieee754_hypot for PowerPC32.
24621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24622         New file.
24623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24624         New file.
24625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24626         multiarch __ieee754_hypotf for PowerPC32.
24628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24629         long_double_symbol only if __logbl is defined.
24630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24631         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24633         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24635         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24636         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24637         path for implementation.
24638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24639         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24641         logb, and logbl multiarch implementations for PowerPC32.
24642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24643         file.
24644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24645         file.
24646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24647         multiarch logb for PowerPC32.
24648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24649         file.
24650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24651         file.
24652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24653         multiarch logbf for PowerPC32.
24654         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24656         file.
24657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24658         multiarch logbl implementation for PowerPC32.
24660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24661         and modff multiarch implementations.
24662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24663         New file.
24664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24665         New file.
24666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24667         multiarch modf for PowerPC32.
24668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24669         New file.
24670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24671         New file.
24672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24673         multiarch modff for PowerPC32.
24675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24676         and lrintf multiarch implementations.
24677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24678         New file.
24679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24680         New file.
24681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24682         multiarch lrint for PowerPC32.
24683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24684         file: multiarch lrintf for PowerPC32.
24686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24687         and lroundf multiarch implementations.
24688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24689         New file.
24690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24691         New file.
24692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24693         New file.
24694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24695         multiarch lround for PowerPC32.
24696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24697         file: multiarch lroundf for PowerPC32.
24699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24700         copysign and copysignf multiarch implementations.
24701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24702         New file.
24703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24704         New file.
24705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24706         file: multiarch copysign for PowerPC32.
24707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24708         file: multiarch copysignf for PowerPC32.
24710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24711         and truncf multiarch implementations.
24712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24713         New file.
24714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24715         file.
24716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24717         multiarch trunc for PowerPC32.
24718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24719         New file.
24720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24721         New file.
24722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24723         multiarch truncf for PowerPC32.
24725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24726         and roundf multiarch implementations.
24727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24728         New file.
24729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24730         file.
24731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24732         multiarch round for PowerPC32.
24733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24734         New file.
24735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24736         New file.
24737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24738         multiarch roundf for PowerPC32.
24740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24741         and floorf multiarch implementations.
24742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24743         New file.
24744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24745         file.
24746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24747         multiarch floor for PowerPC32.
24748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24749         New file.
24750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24751         New file.
24752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24753         multiarch floorf for PowerPC32.
24755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24756         and ceilf multiarch implementations.
24757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24758         New file.
24759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24760         file.
24761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24762         multiarch ceil for PowerPC32.
24763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24764         New file.
24765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24766         file.
24767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24768         multiarch ceilf for PowerPC32.
24770         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24771         is defined.
24772         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24773         FINITEF is defined.
24774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24775         and finitef multiarch implementations.
24776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24777         New file.
24778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24779         file.
24780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24781         multiarch finite for PowerPC32.
24782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24783         New file.
24784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24785         file: multiarch finitef for PowerPC32.
24787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24788         and isinff multiarch implementations.
24789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24790         file.
24791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24792         file.
24793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24794         multiarch isinf for PowerPC32.
24795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24796         New file.
24797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24798         multiarch isinff for PowerPC32.
24800         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24801         alias when __isnan is defined.
24802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24803         and isnanf multiarch implementations.
24804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24805         file.
24806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24807         file.
24808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24809         file.
24810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24811         file.
24812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24813         multiarch isnan for PowerPC32.
24814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24815         New file.
24816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24817         New file.
24818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24819         multiarch isnanf for PowerPC32.
24821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24822         and sqrtf multiarch implementations.
24823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24824         file.
24825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24826         file.
24827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24828         multiarch sqrt for PowerPC32.
24829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24830         file.
24831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24832         file.
24833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24834         multiarch sqrtf for PowerPC32.
24836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24837         and llroundf multiarch implementations.
24838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24839         New file.
24840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24841         New file.
24842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24843         New file.
24844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24845         file: multiarch llround for PowerPC32.
24846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24847         file: multiarch llroundf for PowerPC32.
24849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24850         multiarch PowerPC32 fpu implementations.
24851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24852         New file.
24853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24854         New file.
24855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24856         multiarch llrint for PowerPC32.
24857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24858         New file.
24859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24860         New file.
24861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24862         file.
24864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24866         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24867         file.
24868         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24869         file.
24870         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24871         file.
24872         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24873         multiarch wordcopy for PPC32.
24874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24875         wordcopy objects.
24876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24877         (__libc_ifunc_impl_list): Likewise.
24878         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24879         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24881         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24883         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24885         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24887         file.
24888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24889         file.
24890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24891         file.
24892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24893         multiarch wcscpy for PPC32.
24894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24895         multiarch objects.
24896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24897         (__libc_ifunc_impl_list): Likewise.
24898         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24899         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24900         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24901         sysdeps/powerpc/power6/wcscpy.c.
24903         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24905         file.
24906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24907         file.
24908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24909         file.
24910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24911         multiarch wcsrchr for PPC32.
24912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24913         multiarch objects.
24914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24915         (__libc_ifunc_impl_list): Likewise.
24916         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24917         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24918         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24919         sysdeps/powerpc/power6/wcsrchr.c.
24921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24922         file.
24923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24924         file.
24925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24927         multiarch wcschr for PPc32.
24928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24929         multiarch objects.
24930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24931         (__libc_ifunc_impl_list): Likewise.
24932         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24933         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24934         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24935         sysdeps/powerpc/power6/wcschr.c.
24937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24938         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24939         file.
24940         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24941         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24942         file: multiarch strchr for PPC32.
24943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24944         multiarch objects.
24945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24946         (__libc_ifunc_impl_list): Likewise.
24948         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24949         name.
24950         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24951         file.
24952         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24953         file.
24954         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24955         multiarch strchrnul for PPC32.
24956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24957         multiarch objects.
24958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24959         (__libc_ifunc_impl_list): Likewise.
24961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24962         file.
24963         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24964         multiarch strncasecmp for PPC32.
24965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24966         file.
24967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24968         multiarch strncasecmp_l for PPC32.
24969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24970         strncasecmp multiarch objects.
24971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24972         (__libc_ifunc_impl_list): Likewise.
24974         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24975         file.
24976         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24977         multiarch strncasecmp for PPC32.
24978         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24979         New file.
24980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24981         multiarch strcasecmp_l for PPC32.
24982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24983         multiarch objects.
24984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24985         (__libc_ifunc_impl_list): Likewise.
24987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24988         file.
24989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24990         file.
24991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24992         multiarch strncmp for PPC32.
24993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24994         multiarch objects.
24995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24996         (__libc_ifunc_impl_list): Likewise.
24998         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24999         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25000         file.
25001         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25004         multiarch objects.
25005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25006         (__libc_ifunc_impl_list): Likewise.
25008         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25009         file.
25010         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25011         file.
25012         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25014         multiarch objects.
25015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25016         (__libc_ifunc_impl_list): Likewise.
25018         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25019         file.
25020         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25021         file.
25022         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25023         multiarch rawmemchr for PPC32.
25024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25025         multiarch objects.
25026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25027         (__libc_ifunc_impl_list): Likewise.
25029         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25030         file.
25031         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25032         file.
25033         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25034         file: memrchr multiarch for PPC32.
25035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25036         multiarch objects.
25037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25038         (__libc_ifunc_impl_list): Likewise.
25040         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25042         file.
25043         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25045         multiarch memchr for PPC32.
25046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25047         multiarch objects.
25048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25049         (__libc_ifunc_impl_list): Likewise.
25051         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25052         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25053         file.
25054         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25055         file.
25056         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25057         file: multiarch mempcpy for PPC32.
25058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25059         multiarch objects.
25060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25061         (__libc_ifunc_impl_list): Likewise.
25063         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25064         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25065         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25067         multiarch bzero for PPC32.
25068         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25069         file.
25070         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25071         file.
25072         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25073         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25074         file: multiarch memset for PPC32.
25075         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25077         memset multiarch objects.
25078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25079         (__libc_ifunc_impl_list): Likewise.
25081         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25082         file.
25083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25085         memcmp for PPC32.
25086         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25088         multiarch objects.
25089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25090         (__libc_ifunc_impl_list): Likewise.
25092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25094         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25095         file.
25096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25097         file.
25098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25099         file.
25100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25101         multiarch memcpy for PPC32.
25102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25103         multiarch objects.
25104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25105         (__libc_ifunc_impl_list): Likewise.
25107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25108         support multiarch for POWER/PPC32.
25109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25110         Likewise.
25111         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25113         Implies file to make multiarch folder appers before the fpu and
25114         default folder for power4 configuration.
25116 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118         * scripts/bench.pl: Append volatile keyword to type.
25120 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25122         * sysdeps/sh/sotruss-lib.c: New file.
25123         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25125 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25129 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25131         [BZ #6810]
25132         * math/w_tgamma.c: Include <errno.h>.
25133         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25134         * math/w_tgammaf.c: Include <errno.h>.
25135         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25136         * math/w_tgammal.c: Include <errno.h>.
25137         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25138         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25139         underflow.  Add more tgamma tests.
25140         * math/auto-libm-test-out: Regenerated.
25141         * sysdeps/i386/fpu/libm-test-ulps: Update.
25142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25144         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25145         sin, sinh, tan, tanh, tgamma, y0 and y1.
25146         * math/auto-libm-test-out: Regenerated.
25147         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25148         (TEST_COND_x86): Likewise.
25149         (M_E2l): Remove macro.
25150         (M_E3l): Likewise.
25151         (M_2_SQRT_PIl): Likewise.
25152         (M_SQRT_PIl): Likewise.
25153         (M_1_DIV_El): Likewise.
25154         (log_test_data): Use AUTO_TESTS_f_f.
25155         (log10_test_data): Likewise.
25156         (log1p_test_data): Likewise.
25157         (log2_test_data): Likewise.
25158         (sin_test_data): Likewise.
25159         (sin_tonearest_test_data): Likewise.
25160         (sin_towardzero_test_data): Likewise.
25161         (sin_downward_test_data): Likewise.
25162         (sin_upward_test_data): Likewise.
25163         (sinh_test_data): Likewise.
25164         (sinh_tonearest_test_data): Likewise.
25165         (sinh_towardzero_test_data): Likewise.
25166         (sinh_downward_test_data): Likewise.
25167         (sinh_upward_test_data): Likewise.
25168         (tan_test_data): Likewise.
25169         (tan_tonearest_test_data): Likewise.
25170         (tan_towardzero_test_data): Likewise.
25171         (tan_downward_test_data): Likewise.
25172         (tan_upward_test_data): Likewise.
25173         (tanh_test_data): Likewise.
25174         (tgamma_test_data): Likewise.
25175         (y0_test_data): Likewise.
25176         (y1_test_data): Likewise.
25177         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25178         (special_real_inputs): Add pi/4.
25179         * sysdeps/i386/fpu/libm-test-ulps: Update.
25180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25184         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25185         "longjmp_target" static probes.
25186         (__longjmp): Rename to __longjmp_symbol.
25187         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25188         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25189         on which longjmp to generate.
25190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25192         probe.
25193         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25194         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25195         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25197         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25200         __longjmp_symbol based on which __longjmp to generate.
25201         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25202         probe.
25203         (setjmp): Rename to setjmp_symbol.
25204         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25205         (_setjmp): Rename to _setjmp_symbol.
25206         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25207         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25208         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25209         which setjmp to generate.
25210         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25211         "longjmp_target" static probes.
25213 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25215         * benchtests/README: Add note about output arguments.
25216         * benchtests/bench-sincos.c: Remove file.
25217         * benchtests/sincos-inputs: New file.
25218         * scripts/bench.pl: Identify output arguments and define
25219         static variables for them.
25221         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25223         [BZ #15941]
25224         * Makefile (INSTALL): Add install-plain.texi as the primary
25225         dependency.
25226         * manual/install-plain.texi: New file.
25227         * manual/install.texi: Include node directive only for
25228         non-plaintext output.
25230 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25232         * stdlib/longlong.h: Update from GCC.
25234         [BZ #6807]
25235         [BZ #15901]
25236         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25237         * math/w_j0f.c (y0f): Likewise.
25238         * math/w_j0l.c (__y0l): Likewise.
25239         * math/w_j1.c (y1): Likewise.
25240         * math/w_j1f.c (y1f): Likewise.
25241         * math/w_j1l.c (__y1l): Likewise
25242         * math/w_jn.c (yn): Likewise.
25243         * math/w_jnf.c (ynf): Likewise.
25244         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25245         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25246         value for Bessel function domain errors outside _SVID_ mode.
25247         Adjust sign of return value for yn (negative integer, 0).
25248         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25249         by zero in return for negative x and set sign appropriately for
25250         negative n.
25251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25253         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25254         expectations in error cases.
25255         (y1_test_data): Likewise.
25256         (yn_test_data): Likewise.
25257         * sysdeps/i386/fpu/libm-test-ulps: Update.
25258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25260 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25262         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25263         "64" to "64-v1".  Add "64-v2".
25264         (abi-64-options): Rename to ...
25265         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25266         (abi-64-condition): Rename to ...
25267         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25268         (abi-64-ld-soname): Rename to ...
25269         (abi-64-v1-ld-soname): ... this.
25270         (abi-64-v2-options): Define.
25271         (abi-64-v2-condition): Likewise.
25272         (abi-64-v2-ld-soname): Likewise.
25273         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25274         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25279 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25280             Alan Modra  <amodra@gmail.com>
25282         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25283         New versions for use with the ELFv2 ABI.
25284         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25285         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25286         declaration.
25287         (struct La_ppc64v2_retval): Likewise.
25288         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25289         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25290         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25291         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25292         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25294         Do not save or restore CR.
25295         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25296         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25297         return values for ELFv2 ABI.  Fix location of FPR return registers.
25298         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25299         updated values for _CALL_ELF == 2.
25300         (La_regs, La_retval, int_retval): Likewise.
25302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25304         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25305         (FRAME_MIN_SIZE_PARM): Likewise.
25306         (FRAME_BACKCHAIN): Likewise.
25307         (FRAME_CR_SAVE): Likewise.
25308         (FRAME_LR_SAVE): Likewise.
25309         (FRAME_TOC_SAVE): Likewise.
25310         (FRAME_PARM_SAVE): Likewise.
25311         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25312         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25313         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25314         (call_mcount_parm_offset): New macro.
25315         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25316         (PROF): Use symbolic stack frame offsets.
25317         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25318         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25319         Redefine in terms of FRAME_MIN_SIZE.
25320         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25321         (_dl_profile_resolve): Likewise.  Update comment.
25322         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25323         symbols stack frame offsets.
25324         (__sigsetjmp): Likewise.
25325         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25326         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25327         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25328         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25331         (FRAME_BACKCHAIN): Remove.
25332         (FRAME_CR_SAVE): Likewise.
25333         (FRAME_LR_SAVE): Likewise.
25334         (FRAME_COMPILER_DW): Likewise.
25335         (FRAME_LINKER_DW): Likewise.
25336         (FRAME_TOC_SAVE): Likewise.
25337         (FRAME_PARM_SAVE): Likewise.
25338         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25339         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25340         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25342         (CHECK_SP): Use symbolic stack frame offsets.
25343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25344         zone" instead of caller's parameter save area for temp storage.
25345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25346         Likewise.  Also, use symbolic stack frame offsets.
25347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25348         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25349         our own stack frame instead of the caller's.
25350         (__socket): Use symbolic stack frame offsets.
25352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25353             Alan Modra  <amodra@gmail.com>
25355         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25356         Define.
25357         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25358         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25359         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25360         New function.
25361         (elf_machine_fixup_plt): Call it.
25362         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25363         reloc arguments.
25364         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25365         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25366         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25367         r2 before calling target.
25369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25370             Alan Modra  <amodra@gmail.com>
25372         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25373         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25374         versions of macros to support ELFv2 ABI.
25375         (LOCALENTRY): New macro.
25376         (ENTRY, EALIGN): Use it.
25377         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25378         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25379         fall through into ENTRY entry point.
25380         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25381         Only define if _CALL_ELF != 2.
25383         (elf_machine_matches_host): Verify ABI version matches.
25384         (RTLD_START): Use LOCALENTRY.
25385         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25386         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25387         (PLT_ENTRY_WORDS): New macro.
25388         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25389         (elf_machine_runtime_setup): Support ELFv2 ABI.
25390         (elf_machine_fixup_plt): Likewise.
25391         (elf_machine_plt_conflict): Likewise.
25392         (resolve_ifunc): Likewise.
25393         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25395         Likewise.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25397         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25399         (makecontext): Support ELFv2 ABI.
25400         * elf/elf.h (EF_PPC64_ABI): Define.
25402 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25404         * sysdeps/powerpc/powerpc64/sysdep.h
25405         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25406         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25407         (ENTRY) [ASSEMBLER]: ... but instead here ...
25408         (EALIGN) [ASSEMBLER]: ... and here.
25409         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25410         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25411         (ENTRY_2) [!ASSEMBLER]: Use it.
25412         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25413         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25414         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25415         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25416         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25418         Use PPC64_LOAD_FUNCPTR.
25420         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25422 2013-12-04  Alan Modra  <amodra@gmail.com>
25424         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25425         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25426         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25427         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25430         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25431         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25432         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25433         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25434         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25436 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25439         (__makecontext): Fix incorrect CFI when backtracing out of
25440         context created via makecontext.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25442         (__setcontext): Fix incorrect CFI during switch to new context.
25443         (__novec_setcontext): Likewise.
25445 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25447         [BZ #4772]
25448         * time/strptime_l.c (__strptime_internal): Allow modifiers
25449         in strptime.
25450         * time/tst-strptime.c (day_tests): Add testcase.
25452 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25454         * scripts/bench.pl: Skip over blank lines.
25456 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25458         [BZ #926]
25459         * manual/time.texi (Calendar Time): Clarify what timezone functions
25460         use.
25462 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25466 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25468         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25469         implementation.
25470         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25471         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25472         * debug/memset_chk.c (__memset_chk): Likewise.
25473         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25474         * debug/strncpy_chk.c: Likewise.
25476 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #15268]
25479         [BZ #15425]
25480         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25481         (__ieee754_exp): For possibly underflowing results, check size of
25482         result and force underflow exception if required.
25483         * math/auto-libm-test-in: Add more tests of exp.
25484         * math/auto-libm-test-out: Regenerated.
25485         * sysdeps/i386/fpu/libm-test-ulps: Update.
25486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25488         [BZ #16283]
25489         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25490         * math/w_exp2f.c (__exp2f): Likewise.
25491         * math/w_exp2l.c (__exp2l): Likewise.
25492         * math/auto-libm-test-in: Do not allow missing errno on exp2
25493         underflow.
25494         * math/auto-libm-test-out: Regenerated.
25496 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25498         [BZ #16274]
25499         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25500         handle filename validation.
25501         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25502         (do_open): Delete.
25504 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25506         [BZ #6786]
25507         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25508         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25509         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25510         <float.h>.
25511         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25513         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25515         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25516         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25517         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25518         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25519         Add more erfc tests.
25520         * math/auto-libm-test-out: Regenerated.
25521         * sysdeps/i386/fpu/libm-test-ulps: Update.
25522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25524         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25525         exp2, expm1, j0 and j1.
25526         * math/auto-libm-test-out: Regenerated.
25527         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25528         (erfc_test_data): Likewise.
25529         (exp_test_data): Likewise.
25530         (exp_tonearest_test_data): Likewise.
25531         (exp_towardzero_test_data): Likewise.
25532         (exp_downward_test_data): Likewise.
25533         (exp_upward_test_data): Likewise.
25534         (exp10_test_data): Likewise.
25535         (exp2_test_data): Likewise.
25536         (expm1_test_data): Likewise.
25537         (j0_test_data): Likewise.
25538         (j1_test_data): Likewise.
25539         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25540         (input_flag_type): Add flag_xfail_rounding.
25541         (input_flags): Add xfail-rounding.
25542         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25543         (output_for_one_input_case): Handle flag_xfail_rounding.
25544         * sysdeps/i386/fpu/libm-test-ulps: Update.
25545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25547 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25549         [BZ #16289]
25550         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25551         division by 0.
25553 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25555         [BZ #16195]
25556         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25557         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25558         (STAP_PROBE0): New macro.
25559         (STAP_PROBE1): Likewise.
25560         (STAP_PROBE2): Likewise.
25561         (STAP_PROBE3): Likewise.
25562         (STAP_PROBE4): Likewise.
25564 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25566         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25568 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25570         * benchtests/Makefile (bench): Add sqrt.
25571         (LDLIBS-bench-sqrt): New.
25572         * benchtests/sqrt-input: New.
25574 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25576         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25577         (GAIH_EAI): Likewise.
25578         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25579         (gaih_inet): Likewise.
25580         (getaddrinfo): Don't use GAIH_EAI.
25582         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25583         (struct gaih): Remove definition.
25585 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25587         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25588         Use HERRNOP directly.
25590 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25594 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25596         * math/gen-auto-libm-tests.c (test_functions): Add more
25597         single-argument functions.
25598         (special_fill_pi_2): New function.
25599         (special_fill_minus_pi_2): Likewise.
25600         (special_fill_pi_6): Likewise.
25601         (special_fill_minus_pi_6): Likewise.
25602         (special_fill_pi_3): Likewise.
25603         (special_fill_2pi_3): Likewise.
25604         (special_fill_e): Likewise.
25605         (special_fill_1_e): Likewise.
25606         (special_fill_e_minus_1): Likewise.
25607         (special_real_inputs): Add more special inputs.
25608         (output_for_one_input_case): Do not require ERANGE on underflow to
25609         zero if round-to-nearest result does not underflow to zero, unless
25610         exact results required.
25611         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25612         atan, atanh, cbrt, cos and cosh.
25613         * math/auto-libm-test-out: Regenerated.
25614         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25615         (acos_tonearest_test_data): Likewise.
25616         (acos_towardzero_test_data): Likewise.
25617         (acos_downward_test_data): Likewise.
25618         (acos_upward_test_data): Likewise.
25619         (acosh_test_data): Likewise.
25620         (asin_test_data): Likewise.
25621         (asin_tonearest_test_data): Likewise.
25622         (asin_towardzero_test_data): Likewise.
25623         (asin_upward_test_data): Likewise.
25624         (asinh_test_data): Likewise.
25625         (atan_test_data): Likewise.
25626         (atanh_test_data): Likewise.
25627         (cbrt_test_data): Likewise.
25628         (cos_test_data): Likewise.
25629         (cos_tonearest_test_data): Likewise.
25630         (cos_towardzero_test_data): Likewise.
25631         (cos_downward_test_data): Likewise.
25632         (cos_upward_test_data): Likewise.
25633         (cosh_test_data): Likewise.
25634         (cosh_tonearest_test_data): Likewise.
25635         (cosh_towardzero_test_data): Likewise.
25636         (cosh_downward_test_data): Likewise.
25637         (cosh_upward_test_data): Likewise.
25638         * sysdeps/i386/fpu/libm-test-ulps: Update.
25639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25641 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25643         [BZ #6787]
25644         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25645         * math/w_exp10f.c (__exp10f): Likewise.
25646         * math/w_exp10l.c (__exp10l): Likewise.
25647         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25648         errno settings in existing tests.
25650         [BZ #14032]
25651         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25652         precision control set to double precision.
25653         * sysdeps/i386/fpu/w_sqrt.c: New file.
25654         * math/auto-libm-test-in: Add more tests.
25655         * math/auto-libm-test-out: Update.
25657         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25658         (sqrt_test_tonearest): New function.
25659         (sqrt_towardzero_test_data): New variable.
25660         (sqrt_test_towardzero): New function.
25661         (sqrt_downward_test_data): New variable.
25662         (sqrt_test_downward): New function.
25663         (sqrt_upward_test_data): New variable.
25664         (sqrt_test_upward): New function.
25665         (main): Call the new functions.
25667         * math/gen-auto-libm-tests.c: New file.
25668         * math/auto-libm-test-in: Likewise.
25669         * math/auto-libm-test-out: New generated file.
25670         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25671         variables.
25672         (%beautify): Add generated representations of zero.
25673         (top level): Set $auto_input and call parse_auto_input.
25674         (beautify): Remove trailing "f" from hex float constants.
25675         (parse_args): Handle XFAIL_TEST.
25676         (convert_condition): New function.
25677         (or_value): Likewise.
25678         (or_cond_value): Likewise.
25679         (generate_testfile): Handle AUTO_TESTS_* lines.
25680         (parse_auto_input): New function.
25681         * math/libm-test.inc (XFAIL_TEST): New macro.
25682         (ERRNO_UNCHANGED): Update value.
25683         (ERRNO_EDOM): Likewise.
25684         (ERRNO_ERANGE): Likewise.
25685         (IGNORE_RESULT): Likewise.
25686         (TEST_COND_flt_32): New macro.
25687         (TEST_COND_dbl_64): Likewise.
25688         (TEST_COND_ldbl_96_intel): Likewise.
25689         (TEST_COND_ldbl_96_m68k): Likewise.
25690         (TEST_COND_ldbl_128): Likewise.
25691         (TEST_COND_ldbl_128ibm): Likewise.
25692         (TEST_COND_long32): Likewise.
25693         (TEST_COND_long64): Likewise.
25694         (TEST_COND_before_rounding): Likewise.
25695         (TEST_COND_after_rounding): Likewise.
25696         (enable_test): Handle XFAIL_TEST flag.
25697         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25698         with finite results.
25699         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25700         auto-libm-test-out.
25702 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25703             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25705         [BZ #16214]
25706         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25707         __tls_get_addr_internal instead of __tls_get_offset in order to
25708         avoid GOT pointer dependency.  Make rtld export
25709         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25710         __tls_get_addr since we are a __tls_get_offset platform.
25711         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25712         GOT pointer being set up before.
25713         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25715 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25717         * manual/math.texi (Errors in Math Functions): Document accuracy
25718         goals.
25720         [BZ #15004]
25721         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25722         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25723         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25724         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25728         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25729         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25731         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25732         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25733         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25734         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25735         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25736         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25738         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25739         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25740         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25741         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25742         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25743         Likewise.
25744         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25745         Likewise.
25746         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25747         Likewise.
25748         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25749         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25750         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25751         atomic-feupdateenv and flt-rounds.
25752         * sysdeps/powerpc/nofpu/Versions (libc): Add
25753         __atomic_feholdexcept, __atomic_feclearexcept,
25754         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25756         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25757         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25758         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25759         here.
25760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25761         Update.
25763         * manual/arith.texi (FP Exceptions): Document that exceptions may
25764         not be raised when matherr is used.
25765         (Math Error Reporting): Document overflow in directed rounding
25766         modes.  Document that errno may not be set when finite values are
25767         returned on overflow.  Document intent to set errno on underflow
25768         only for underflow to zero.
25770         [BZ #16271]
25771         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25772         round-to-nearest then adjust result for other rounding modes.
25773         * include/fenv.h (fegetround): Use libm_hidden_proto.
25774         * math/fegetround.c (fegetround): Use libm_hidden_def.
25775         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25776         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25777         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25778         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25779         Likewise.
25780         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25781         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25782         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25783         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25785 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25787         [BZ #16077]
25788         * nss/Versions (libnss_files): Add
25789         _nss_files_gethostbyname3_r.
25790         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25791         New function.
25792         (HOST_DB_LOOKUP): Remove macro.
25793         (_nss_files_gethostbyname_r): Implement function without the
25794         HOST_DB_LOOKUP macro.
25795         (_nss_files_gethostbyname2_r): Likewise.
25797 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25799         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25801 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25803         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25804         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25805         warning.
25807 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25809         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25810         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25811         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25812         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25813         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25814         __fe_nomask_env_priv and attribute_hidden.
25815         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25816         (libc_feupdateenv_test_ppc): Likewise.
25817         (libc_feresetround_ppc): Likewise.
25818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25819         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25820         compat_symbol macro.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25822         (__fe_nomask_env): Likewise.
25823         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25825 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25827         * string/Makefile: Remove ifunc tests.
25828         * string/test-string.h: Define TEST_IFUNC.
25829         * string/test-bcopy-ifunc.c: Remove.
25830         * string/test-bzero-ifunc.c: Likewise.
25831         * string/test-memccpy-ifunc.c: Likewise.
25832         * string/test-memchr-ifunc.c: Likewise.
25833         * string/test-memcmp-ifunc.c: Likewise.
25834         * string/test-memcpy-ifunc.c: Likewise.
25835         * string/test-memmem-ifunc.c: Likewise.
25836         * string/test-memmove-ifunc.c: Likewise.
25837         * string/test-mempcpy-ifunc.c: Likewise.
25838         * string/test-memrchr-ifunc.c: Likewise.
25839         * string/test-memset-ifunc.c: Likewise.
25840         * string/test-rawmemchr-ifunc.c: Likewise.
25841         * string/test-stpcpy-ifunc.c: Likewise.
25842         * string/test-stpncpy-ifunc.c: Likewise.
25843         * string/test-strcasecmp-ifunc.c: Likewise.
25844         * string/test-strcasestr-ifunc.c: Likewise.
25845         * string/test-strcat-ifunc.c: Likewise.
25846         * string/test-strchr-ifunc.c: Likewise.
25847         * string/test-strchrnul-ifunc.c: Likewise.
25848         * string/test-strcmp-ifunc.c: Likewise.
25849         * string/test-strcpy-ifunc.c: Likewise.
25850         * string/test-strcspn-ifunc.c: Likewise.
25851         * string/test-strlen-ifunc.c: Likewise.
25852         * string/test-strncasecmp-ifunc.c: Likewise.
25853         * string/test-strncat-ifunc.c: Likewise.
25854         * string/test-strncmp-ifunc.c: Likewise.
25855         * string/test-strncpy-ifunc.c: Likewise.
25856         * string/test-strnlen-ifunc.c: Likewise.
25857         * string/test-strpbrk-ifunc.c: Likewise.
25858         * string/test-strrchr-ifunc.c: Likewise.
25859         * string/test-strspn-ifunc.c: Likewise.
25860         * string/test-strstr-ifunc.c: Likewise.
25862 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25864         * benchtests/Makefile: Remove ifunc tests.
25865         * benchtests/bench-string.h: Define TEST_IFUNC.
25866         * benchtests/bench-bcopy-ifunc.c: Remove.
25867         * benchtests/bench-bzero-ifunc.c: Likewise.
25868         * benchtests/bench-memccpy-ifunc.c: Likewise.
25869         * benchtests/bench-memchr-ifunc.c: Likewise.
25870         * benchtests/bench-memcmp-ifunc.c: Likewise.
25871         * benchtests/bench-memcpy-ifunc.c: Likewise.
25872         * benchtests/bench-memmem-ifunc.c: Likewise.
25873         * benchtests/bench-memmove-ifunc.c: Likewise.
25874         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25875         * benchtests/bench-memrchr-ifunc.c: Likewise.
25876         * benchtests/bench-memset-ifunc.c: Likewise.
25877         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25878         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25879         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25880         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25881         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25882         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25883         * benchtests/bench-strcat-ifunc.c: Likewise.
25884         * benchtests/bench-strchr-ifunc.c: Likewise.
25885         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25886         * benchtests/bench-strcmp-ifunc.c: Likewise.
25887         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25888         * benchtests/bench-strcpy-ifunc.c: Likewise.
25889         * benchtests/bench-strcspn-ifunc.c: Likewise.
25890         * benchtests/bench-strlen-ifunc.c: Likewise.
25891         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25892         * benchtests/bench-strncat-ifunc.c: Likewise.
25893         * benchtests/bench-strncmp-ifunc.c: Likewise.
25894         * benchtests/bench-strncpy-ifunc.c: Likewise.
25895         * benchtests/bench-strnlen-ifunc.c: Likewise.
25896         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25897         * benchtests/bench-strrchr-ifunc.c: Likewise.
25898         * benchtests/bench-strsep-ifunc.c: Likewise.
25899         * benchtests/bench-strspn-ifunc.c: Likewise.
25900         * benchtests/bench-strstr-ifunc.c: Likewise.
25902 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25904         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25906 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25908         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25909         * rt/aio.h: Likewise.
25910         * sysdeps/gnu/bits/utmp.h: Likewise.
25911         * sysdeps/gnu/bits/utmpx.h: Likewise.
25912         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25913         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25914         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25915         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25916         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25917         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25918         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25919         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25920         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25921         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25922         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25923         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25924         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25926         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25927         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25928         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25929         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25930         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25931         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25932         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25933         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25934         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25935         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25936         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25938         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25939         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25940         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25941         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25942         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25943         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25944         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25945         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25946         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25947         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25948         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25949         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25950         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25951         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25952         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25953         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25955 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25957         [BZ #16245]
25958         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25959         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25961 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25963         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25964         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25965         Likewise.
25967 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25969         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25970         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25971         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25972         (__fesetround): Remove define.
25973         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25974         rounding and exceptions handling.
25975         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25976         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25977         (__fe_nomask_env): Likewise.
25978         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25979         __fegetround instead of fegetround.
25980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25981         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25983 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25985         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25986         it's there.
25988         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25990 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25992         [BZ #11157]
25993         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25994         (encrypt_r): Likewise.
25995         * malloc/obstack.h (obstack_free): Likewise.
25996         * posix/unistd.h (encrypt): Likewise.
25998 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26000         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26001         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26002         DL_CALL_DT_FINI() that call the functions directly.
26003         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26004         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26005         * elf/dl-fini.c: Likewise.
26007 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26009         * malloc/hooks.c (memalign_check): Add alignment rounding.
26010         * malloc/malloc.c (_mid_memalign): New function.
26011         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26012         Implement by calling _mid_memalign.
26013         * manual/probes.texi (Memory Allocation Probes): Remove
26014         memory_valloc_retry and memory_pvalloc_retry.
26016 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26018         * locale/programs/locarchive.c (open_archive): Add const
26019         qualifier to ARCHIVEFNAME and copy default fname to
26020         DEFAULT_FNAME.
26022         [BZ #15601]
26023         * libio/tst-widetext.input: Rename Oriya to Odia.
26024         * locale/iso-639.def: Likewise.
26026         * manual/probes.texi (Mathematical Function Probes): Add
26027         documentation for sin, cos, asin and acos probes.
26028         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26029         (__sin32): Add slowasin probe.
26030         (__cos32): Add slowacos probe.
26031         (__mpsin): Add slowsin probe.
26032         (__mpcos): Add slowcos probe.
26034 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26036         [BZ #15483]
26037         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26038         thread-local __sim_exceptions_thread and global
26039         __sim_exceptions_global.
26040         (__sim_disabled_exceptions): Change to thread-local
26041         __sim_disabled_exceptions_thread and global
26042         __sim_disabled_exceptions_global.
26043         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26044         and global __sim_round_mode_global.
26045         (__simulate_exceptions): Use thread-local floating-point state and
26046         set global state from it as needed.
26047         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26048         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26049         __sim_round_mode_thread.
26050         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26051         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26052         and global __sim_exceptions_global.
26053         (__sim_disabled_exceptions): Change to thread-local
26054         __sim_disabled_exceptions_thread and global
26055         __sim_disabled_exceptions_global.
26056         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26057         and global __sim_round_mode_global.
26058         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26059         (SIM_SET_GLOBAL): Likewise.
26060         * sysdeps/powerpc/soft-fp/sfp-machine.h
26061         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26062         __sim_round_mode_thread.
26063         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26064         __sim_disabled_exceptions_thread.
26065         (__sim_exceptions): Change to __sim_exceptions_thread.
26066         (__sim_disabled_exceptions): Change to
26067         __sim_disabled_exceptions_thread.
26068         (__sim_round_mode): Change to __sim_round_mode_thread.
26069         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26070         thread-local floating-point state and set global state from it as
26071         needed.
26072         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26073         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26074         (__sim_disabled_exceptions): Remove extern declaration.
26075         (feenableexcept): Use thread-local floating-point state and set
26076         global state from it as needed.
26077         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26078         extern declaration.
26079         (__sim_disabled_exceptions): Likewise.
26080         (__sim_round_mode): Likewise.
26081         (__fegetenv): Use thread-local floating-point state.
26082         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26083         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26084         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26085         floating-point state and set global state from it as needed.
26086         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26087         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26088         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26089         Likewise.
26090         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26091         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26092         Likewise.
26093         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26094         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26095         Use __sim_round_mode_thread.
26096         * math/test-fenv-tls.c: New file.
26097         * math/Makefile (tests): Add test-fenv-tls.
26098         ($(objpfx)test-fenv-tls): Depend on
26099         $(common-objpfx)nptl/libpthread.so.
26101 2013-11-19  Andreas Schwab  <schwab@suse.de>
26103         * locale/programs/locale.c (show_info): Decode wordarray elements.
26104         * locale/categories.def (LC_MONETARY): Add element for
26105         _NL_MONETARY_CRNCYSTR.
26106         * locale/C-monetary.c (conversion_rate): New variable.
26107         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26108         element.
26110 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26112         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26113         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26115 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26117         * elf/Makefile (tst-auxv): New test.
26118         * elf/tst-auxv.c: New
26119         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26121 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26123         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26124         (hidden_proto): Caller changed.
26125         (hidden_tls_proto): New macro.
26126         (libc_hidden_tls_proto): Likewise.
26127         (rtld_hidden_tls_proto): Likewise.
26128         (libm_hidden_tls_proto): Likewise.
26129         (libresolv_hidden_tls_proto): Likewise.
26130         (librt_hidden_tls_proto): Likewise.
26131         (libdl_hidden_tls_proto): Likewise.
26132         (libnss_files_hidden_tls_proto): Likewise.
26133         (libnsl_hidden_tls_proto): Likewise.
26134         (libnss_nisplus_hidden_tls_proto): Likewise.
26135         (libutil_hidden_tls_proto): Likewise.
26137 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26139         [BZ #10253]
26140         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26141         (decompose_rpath): Defer expansion to fillin_rpath.
26142         (_dl_init_paths): Pass linkmap to fillin_rpath.
26144 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26146         * benchtests/Makefile: Add strsep.
26147         * benchtests/bench-strsep.c: New file: strsep benchtest.
26148         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26150 2013-11-18  Andreas Schwab  <schwab@suse.de>
26152         * locale/programs/locale.c (show_info) [case byte]: Check for
26153         '\377' instead of '\177'.
26154         * locale/C-monetary.c (not_available): Always use "\377".
26155         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26156         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26157         detect unavailable sign_posn locale elements.
26158         * locale/localeconv.c (__localeconv): For grouping and
26159         mon_grouping handle "\177" and "\377" like no grouping.
26160         (INT_ELEM): New macro.  Use it to set all numeric members.
26161         * locale/programs/ld-monetary.c (monetary_read)
26162         <tok_mon_grouping>: Normalize single -1 to the empty string.
26163         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26164         Likewise.
26166 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26168         [BZ #16055]
26169         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26170         when we match (nil).
26171         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26173 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26175         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26176         (NO_TEST_INLINE): Update value.
26177         (ERRNO_UNCHANGED): Likewise.
26178         (ERRNO_EDOM): Likewise.
26179         (ERRNO_ERANGE): Likewise.
26180         (IGNORE_RESULT): Likewise.
26181         (check_float_internal): Check signs of NaN results if
26182         TEST_NAN_SIGN used.
26183         (check_complex): Pass TEST_NAN_SIGN flag through to second
26184         check_float_internal call.
26185         (copysign_test_data): Add tests with quiet NaNs as second
26186         argument.  Use TEST_NAN_SIGN.
26187         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26188         TEST_NAN_SIGN.
26189         (signbit_test_data): Add tests of quiet NaN argument.
26190         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26192         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26193         $ignore_result.
26194         (parse_args): Handle function results specified as IGNORE.
26195         * math/libm-test.inc (IGNORE_RESULT): New macro.
26196         (check_float_internal): Do not check numerical result if flag
26197         IGNORE_RESULT set.
26198         (check_complex): Pass through IGNORE_RESULT to second
26199         check_float_internal call.
26200         (check_int): Do not check numerical result if flag IGNORE_RESULT
26201         set.
26202         (check_long): Likewise.
26203         (check_bool): Likewise.
26204         (check_longlong): Likewise.
26205         (lrint_test_data): Add tests of infinite and NaN arguments.
26206         (lrint_tonearest_test_data): Likewise.
26207         (lrint_towardzero_test_data): Likewise.
26208         (lrint_downward_test_data): Likewise.
26209         (lrint_upward_test_data): Likewise.
26210         (llrint_test_data): Likewise.
26211         (llrint_tonearest_test_data): Likewise.
26212         (llrint_towardzero_test_data): Likewise.
26213         (llrint_downward_test_data): Likewise.
26214         (llrint_upward_test_data): Likewise.
26215         (lround_test_data): Likewise.
26216         (llround_test_data): Likewise.
26218         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26219         (ERRNO_UNCHANGED): Update value.
26220         (ERRNO_EDOM): Likewise.
26221         (ERRNO_ERANGE): Likewise.
26222         (NO_TEST_INLINE_FLOAT): New macro.
26223         (NO_TEST_INLINE_DOUBLE): Likewise.
26224         (enable_test): New function.
26225         (RUN_TEST_f_f): Check enable_test before running test.
26226         (RUN_TEST_2_f): Likewise.
26227         (RUN_TEST_fff_f): Likewise.
26228         (RUN_TEST_c_f): Likewise.
26229         (RUN_TEST_f_f1): Likewise.
26230         (RUN_TEST_fF_f1): Likewise.
26231         (RUN_TEST_fI_f1): Likewise.
26232         (RUN_TEST_ffI_f1): Likewise.
26233         (RUN_TEST_c_c): Likewise.
26234         (RUN_TEST_cc_c): Likewise.
26235         (RUN_TEST_f_i): Likewise.
26236         (RUN_TEST_f_i_tg): Likewise.
26237         (RUN_TEST_ff_i_tg): Likewise.
26238         (RUN_TEST_f_b): Likewise.
26239         (RUN_TEST_f_b_tg): Likewise.
26240         (RUN_TEST_f_l): Likewise.
26241         (RUN_TEST_f_L): Likewise.
26242         (RUN_TEST_fFF_11): Likewise.
26243         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26244         conditionals.
26245         (cosh_test_data): Likewise.
26246         (exp_test_data): Likewise.
26247         (expm1_test_data): Likewise.
26248         (hypot_test_data): Likewise.
26249         (pow_test_data): Likewise.
26250         (sinh_test_data): Likewise.
26251         (tanh_test_data): Likewise.
26252         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26253         flags argument.
26255         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26256         tests with quiet NaN input and output.
26257         (acosh_test_data): Likewise.
26258         (asin_test_data): Likewise.
26259         (asinh_test_data): Likewise.
26260         (atan_test_data): Likewise.
26261         (atanh_test_data): Likewise.
26262         (atan2_test_data): Likewise.
26263         (cbrt_test_data): Likewise.
26264         (cos_test_data): Likewise.
26265         (cosh_test_data): Likewise.
26266         (erf_test_data): Likewise.
26267         (erfc_test_data): Likewise.
26268         (exp_test_data): Likewise.
26269         (exp10_test_data): Likewise.
26270         (exp2_test_data): Likewise.
26271         (expm1_test_data): Likewise.
26272         (hypot_test_data): Likewise.
26273         (j0_test_data): Likewise.
26274         (j1_test_data): Likewise.
26275         (jn_test_data): Likewise.
26276         (lgamma_test_data): Likewise.
26277         (log_test_data): Likewise.
26278         (log10_test_data): Likewise.
26279         (log1p_test_data): Likewise.
26280         (log2_test_data): Likewise.
26281         (pow_test_data): Likewise.
26282         (scalb_test_data): Likewise.
26283         (sin_test_data): Likewise.
26284         (sincos_test_data): Likewise.
26285         (sinh_test_data): Likewise.
26286         (tan_test_data): Likewise.
26287         (tanh_test_data): Likewise.
26288         (tgamma_test_data): Likewise.
26289         (y0_test_data): Likewise.
26290         (y1_test_data): Likewise.
26291         (yn_test_data): Likewise.
26293         [BZ #16167]
26294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26295         argument being NaN and avoid computations with second argument in
26296         that case.
26297         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26298         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26301 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
26303         * locale/iso-639.def: Add Chitwani Tharu (the).
26305 2013-11-14  Andreas Schwab  <schwab@suse.de>
26307         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26308         word instead of empty string.
26310 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26313         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26315         (__fe_nomask_env): Likewise.
26317 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26319         * benchtests/bench-timing.h: Include time.h.
26321 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26323         [BZ #15997]
26324         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26325         to 3.4.0 for x32.
26326         * sysdeps/unix/sysv/linux/configure: Regenerated.
26328 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26330         [BZ #16151]
26331         * stdlib/strtod_l.c (round_and_return): Do not consider
26332         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26333         exponent one less than half the least subnormal exponent.
26334         * stdlib/test-strtod-round-data: Add more tests.
26335         * stdlib/tst-strtod-round.c (tests): Regenerated.
26337 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26339         [BZ #14143]
26340         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26341         (__fe_mask_env): Likewise.
26342         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26343         libm_hidden_proto and add function prototype.
26344         (__fe_mask_env): Add function prototype.
26345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26346         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26348         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26350         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26352 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26354         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26355         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26357 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26359         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26360         of htab_find_slot().
26362 2013-11-11  David S. Miller  <davem@davemloft.net>
26364         [BZ #16150]
26365         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26366         symbol in the non-vis3 case in static builds.
26367         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26368         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26369         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26370         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26372 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26374         [BZ #387]
26375         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26376         it is empty.
26378 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26380         * benchtests/Makefile: Add bench-strtod.
26381         * benchtests/bench-strtod.c: New file: strtod benchtest
26383 2013-11-11  Andreas Schwab  <schwab@suse.de>
26385         [BZ #16153]
26386         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26387         terminating NUL in key length.
26389 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26391         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26392         Add artificial ODP entry for vDSO symbol for PPC64.
26393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26394         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26396 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26398         [BZ #15374]
26399         * nss/getent.c (services_keys): Recognize services starting with digit.
26401 2013-11-06  David S. Miller  <davem@davemloft.net>
26403         [BZ #15985]
26404         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26405         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26407 2013-11-06  Will Newton  <will.newton@linaro.org>
26409         * manual/memory.texi (Malloc Examples): Remove register
26410         keyword from examples.
26412 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26414         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26416 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26418         [BZ #6981]
26419         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26420         depending on [__GCC_IEC_559 > 0].
26421         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26422         depending on [__GCC_IEC_559_COMPLEX > 0].
26424 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26426         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26427         to iso-639.def.
26429 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26431         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26433 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26435         [BZ #16112]
26436         * malloc/malloc (malloc_info): Do not handle first bin as
26437         special case.
26439 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26441         * locale/iso-639.def: Add Central Nahuatl (nhn).
26443 2013-11-01  Bruno Haible  <bruno@clisp.org>
26445         [BZ #7003]
26446         * manual/math.texi (BSD Random): Specify range upper bound as
26447         in POSIX.
26449 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26451         * locale/iso-639.def: Add Meadow Mari (mhr).
26453 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26455         [BZ #14752], [BZ #15763]
26456         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26457         Validate name.
26458         * rt/tst_shm.c: Add test for escaping directory.
26460 2013-10-31  Andreas Schwab  <schwab@suse.de>
26462         [BZ #15917]
26463         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26464         followed by 'x' as part of digit sequence.
26465         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26467 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26469         [BZ #16037]
26470         * configure.ac: allow GNU Make 4.0 and greater.
26471         * configure: Regenerated.
26473 2013-10-30  Will Newton  <will.newton@linaro.org>
26475         [BZ #16038]
26476         * malloc/hooks.c (memalign_check): Limit alignment to the
26477         maximum representable power of two.
26478         * malloc/malloc.c (__libc_memalign): Likewise.
26479         * malloc/tst-memalign.c (do_test): Add test for very
26480         large alignment values.
26481         * malloc/tst-posix_memalign.c (do_test): Likewise.
26483 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26485         [BZ #11087]
26486         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26487         (munmap_chunk): Likewise.
26488         (mremap_chunk): Likewise.
26490 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26492         [BZ #15799]
26493         * stdlib/div.c (div): Remove obsolete code.
26494         * stdlib/ldiv.c (ldiv): Likewise.
26495         * stdlib/lldiv.c (lldiv): Likewise.
26497 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26499         [BZ #16071]
26500         * nss/nss_files/files-XXX.c (get_contents_ret): New
26501         enumerator.
26502         (get_contents): New function.
26503         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26505 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26507         * configure.in: Moved to ...
26508         * configure.ac: ... here. Change reference to configure.in
26509         to configure.ac.
26510         * sysdeps/arm/preconfigure.ac: ... here.
26511         configure.in to configure.ac.
26512         * sysdeps/gnu/configure.in: Moved to ...
26513         * sysdeps/gnu/configure.ac: ... here.
26514         * sysdeps/i386/configure.in: Moved to ...
26515         * sysdeps/i386/configure.ac: ... here.
26516         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26517         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26518         * sysdeps/mach/configure.in: Moved to ...
26519         * sysdeps/mach/configure.ac: ... here.
26520         * sysdeps/mach/hurd/configure.in: Moved to ...
26521         * sysdeps/mach/hurd/configure.ac: ... here.
26522         * sysdeps/powerpc/configure.in: Moved to ...
26523         * sysdeps/powerpc/configure.ac: ... here.
26524         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26525         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26526         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26527         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26528         * sysdeps/s390/s390-32/configure.in: Moved to ...
26529         * sysdeps/s390/s390-32/configure.ac: ... here.
26530         * sysdeps/s390/s390-64/configure.in: Moved to ...
26531         * sysdeps/s390/s390-64/configure.ac: ... here.
26532         * sysdeps/sh/configure.in: Moved to ...
26533         * sysdeps/sh/configure.ac: ... here.
26534         * sysdeps/sparc/configure.in: Moved to ...
26535         * sysdeps/sparc/configure.ac: ... here.
26536         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26537         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26538         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26539         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26540         * sysdeps/x86_64/configure.in: Moved to ...
26541         * sysdeps/x86_64/configure.ac: ... here.
26542         * sysdeps/x86_64/preconfigure.in: Moved to ...
26543         * sysdeps/x86_64/preconfigure.ac: ... here.
26544         * aclocal.m4: Change reference to configure.in to configure.ac.
26545         * config.h.in: Likewise.
26546         * manual/install.texi: Likewise.
26547         * manual/maint.texi: Likewise.
26548         * Makefile: Likewise.
26549         * malloc/Makefile: Likewise.
26550         * nscd/Makefile: Likewise.
26551         * Makeconfig: Change reference to configure.in and
26552         preconfigure.in to configure.ac and preconfigure.ac
26553         respectively.
26554         * INSTALL: Regenerated.
26555         * configure: Likewise.
26556         * sysdeps/gnu/configure: Likewise.
26557         * sysdeps/i386/configure: Likewise.
26558         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26559         * sysdeps/mach/configure: Likewise.
26560         * sysdeps/mach/hurd/configure: Likewise.
26561         * sysdeps/powerpc/configure: Likewise.
26562         * sysdeps/powerpc/powerpc32/configure: Likewise.
26563         * sysdeps/powerpc/powerpc64/configure: Likewise.
26564         * sysdeps/s390/s390-32/configure: Likewise.
26565         * sysdeps/s390/s390-64/configure: Likewise.
26566         * sysdeps/sh/configure: Likewise.
26567         * sysdeps/sparc/configure: Likewise.
26568         * sysdeps/unix/sysv/linux/configure: Likewise.
26569         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26570         * sysdeps/x86_64/configure: Likewise.
26571         * sysdeps/x86_64/preconfigure: Likewise.
26573 2013-10-29  Andreas Schwab  <schwab@suse.de>
26575         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26577 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26579         * benchtests/pow-inputs: Add new inputs.
26581         * benchtests/exp-inputs: Add new inputs.
26583         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26584         conditional check for return value.
26585         (__cos32): Likewise.
26587 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26589         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26590         to provide a boost for large inputs with word alignment.
26591         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26592         implementation based on optimized PPC64 strcpy.
26593         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26594         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26595         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26596         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26598 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26600         [BZ #2801]
26601         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26603 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26605         [BZ #14876]
26606         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26607         * time/tst-strptime.c (day_tests): Add testcase.
26609 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26611         [BZ #14029]
26612         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26614 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26616         [BZ #16074]
26617         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26618         MAP_FAILED on error.
26620 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26622         [BZ #16072]
26623         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26624         heap for large requests.
26626 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26628         [BZ #9954]
26629         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26630         result if the result has no associated interface.
26631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26632         interface for all 127.X.Y.Z addresses.
26634 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26636         * locale/iso-639.def: Add Ligurian (lij)
26638 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26640         [BZ #15825]
26641         * sunrpc/rpc_main.c: Document rpcgen -5.
26643 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26645         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26647 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26649         [BZ #10278]
26650         * posix/glob.c: Match only directories when trailing slash is present.
26651         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26652         (main): Add testcase.
26654 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26656         [BZ #15670]
26657         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26659 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26661         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26662         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26663         AUTH_DES and cindex for FIPS 140-2.
26664         (DES Encryption): Add cindex FIPS 46-3.
26666         * locale/locarchive.h (struct locarhandle): Add fname.
26667         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26668         if an optional argument was specified to --list-archive,
26669         otherwise NULL.
26670         * locale/programs/locarchive.c (show_archive_content): Take new
26671         argument fname and pass it via ah.fname to open_archive.
26672         * locale/programs/localedef.h: Update decl.
26673         (open_archive): If AH->fname is non-null, open that file
26674         rather than the default file name, and don't ignore ENOENT.
26675         (create_archive): Set AH.fname to NULL.
26676         (delete_locales_from_archive): Likewise.
26677         (add_locales_to_archive): Likewise.
26678         * locale/programs/locfile.c (write_all_categories): Likewise.
26680 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26681             Aldy Hernandez  <aldyh@redhat.com>
26683         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26684         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26685         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26686         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26687         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26690         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26691         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26693         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26694         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26696         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26697         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26698         Likewise.
26699         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26700         Likewise.
26701         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26702         Likewise.
26703         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26704         Likewise.
26705         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26706         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26707         Likewise.
26708         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26709         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26710         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26711         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26712         Likewise.
26713         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26714         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26715         * sysdeps/powerpc/preconfigure: Likewise.
26716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26717         Likewise.
26718         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26719         Replace contents of file by #include of <fenv_libc.h>.
26720         * sysdeps/powerpc/soft-fp/sfp-machine.h
26721         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26722         and <sys/prctl.h>.
26723         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26726         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26728         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26736         Allow copysignl PLT reference to be missing.
26738 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26739             Joseph Myers  <joseph@codesourcery.com
26741         [BZ #15948]
26742         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26743         single character.
26744         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26746 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26748         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26749         * elf/tst-tls1.c: Likewise.
26750         * elf/tst-tls10.h: Likewise.
26751         * elf/tst-tls14.c: Likewise.
26752         * elf/tst-tls2.c: Likewise.
26753         * elf/tst-tls3.c: Likewise.
26754         * elf/tst-tls4.c: Likewise.
26755         * elf/tst-tls5.c: Likewise.
26756         * elf/tst-tls6.c: Likewise.
26757         * elf/tst-tls7.c: Likewise.
26758         * elf/tst-tls8.c: Likewise.
26759         * elf/tst-tls9.c: Likewise.
26760         * elf/tst-tlsmod1.c: Likewise.
26761         * elf/tst-tlsmod13.c: Likewise.
26762         * elf/tst-tlsmod13a.c: Likewise.
26763         * elf/tst-tlsmod14a.c: Likewise.
26764         * elf/tst-tlsmod16a.c: Likewise.
26765         * elf/tst-tlsmod16b.c: Likewise.
26766         * elf/tst-tlsmod2.c: Likewise.
26767         * elf/tst-tlsmod3.c: Likewise.
26768         * elf/tst-tlsmod4.c: Likewise.
26769         * elf/tst-tlsmod5.c: Likewise.
26770         * elf/tst-tlsmod6.c: Likewise.
26772 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26774         [BZ #12486]
26775         * malloc/malloc.c: remove checks for statistics.
26777 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26779         [BZ #15277]
26780         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26781         * inet/tst-network.c: Add testcase.
26783 2013-10-17  Andreas Schwab  <schwab@suse.de>
26785         [BZ #15218]
26786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26787         to determine canonical name.
26789 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26791         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26792         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26794         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26796         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26797         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26798         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26799         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26801         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26802         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26803         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26804         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26805         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26806         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26809         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26810         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26814         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26815         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26816         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26817         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26818         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26819         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26820         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26821         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26823         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26824         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26825         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26826         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26827         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26831         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26832         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26834         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26835         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26837         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26838         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26839         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26840         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26841         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26842         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26843         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26844         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26846         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26848         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26850 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26852         [BZ #16041]
26853         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26854         make result into a quiet NaN.
26856 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26858         * soft-fp/adddf3.c: Fix horizontal whitespace.
26859         * soft-fp/addsf3.c: Likewise.
26860         * soft-fp/addtf3.c: Likewise.
26861         * soft-fp/divdf3.c: Likewise.
26862         * soft-fp/divsf3.c: Likewise.
26863         * soft-fp/divtf3.c: Likewise.
26864         * soft-fp/double.h: Likewise.
26865         * soft-fp/eqdf2.c: Likewise.
26866         * soft-fp/eqsf2.c: Likewise.
26867         * soft-fp/eqtf2.c: Likewise.
26868         * soft-fp/extenddftf2.c: Likewise.
26869         * soft-fp/extended.h: Likewise.
26870         * soft-fp/extendsfdf2.c: Likewise.
26871         * soft-fp/extendsftf2.c: Likewise.
26872         * soft-fp/extendxftf2.c: Likewise.
26873         * soft-fp/fixdfdi.c: Likewise.
26874         * soft-fp/fixdfsi.c: Likewise.
26875         * soft-fp/fixdfti.c: Likewise.
26876         * soft-fp/fixsfdi.c: Likewise.
26877         * soft-fp/fixsfsi.c: Likewise.
26878         * soft-fp/fixsfti.c: Likewise.
26879         * soft-fp/fixtfdi.c: Likewise.
26880         * soft-fp/fixtfsi.c: Likewise.
26881         * soft-fp/fixtfti.c: Likewise.
26882         * soft-fp/fixunsdfdi.c: Likewise.
26883         * soft-fp/fixunsdfsi.c: Likewise.
26884         * soft-fp/fixunsdfti.c: Likewise.
26885         * soft-fp/fixunssfdi.c: Likewise.
26886         * soft-fp/fixunssfsi.c: Likewise.
26887         * soft-fp/fixunssfti.c: Likewise.
26888         * soft-fp/fixunstfdi.c: Likewise.
26889         * soft-fp/fixunstfsi.c: Likewise.
26890         * soft-fp/fixunstfti.c: Likewise.
26891         * soft-fp/floatdidf.c: Likewise.
26892         * soft-fp/floatdisf.c: Likewise.
26893         * soft-fp/floatditf.c: Likewise.
26894         * soft-fp/floatsidf.c: Likewise.
26895         * soft-fp/floatsisf.c: Likewise.
26896         * soft-fp/floatsitf.c: Likewise.
26897         * soft-fp/floattidf.c: Likewise.
26898         * soft-fp/floattisf.c: Likewise.
26899         * soft-fp/floattitf.c: Likewise.
26900         * soft-fp/floatundidf.c: Likewise.
26901         * soft-fp/floatundisf.c: Likewise.
26902         * soft-fp/floatunditf.c: Likewise.
26903         * soft-fp/floatunsidf.c: Likewise.
26904         * soft-fp/floatunsisf.c: Likewise.
26905         * soft-fp/floatunsitf.c: Likewise.
26906         * soft-fp/floatuntidf.c: Likewise.
26907         * soft-fp/floatuntisf.c: Likewise.
26908         * soft-fp/floatuntitf.c: Likewise.
26909         * soft-fp/fmadf4.c: Likewise.
26910         * soft-fp/fmasf4.c: Likewise.
26911         * soft-fp/fmatf4.c: Likewise.
26912         * soft-fp/gedf2.c: Likewise.
26913         * soft-fp/gesf2.c: Likewise.
26914         * soft-fp/getf2.c: Likewise.
26915         * soft-fp/ledf2.c: Likewise.
26916         * soft-fp/lesf2.c: Likewise.
26917         * soft-fp/letf2.c: Likewise.
26918         * soft-fp/muldf3.c: Likewise.
26919         * soft-fp/mulsf3.c: Likewise.
26920         * soft-fp/multf3.c: Likewise.
26921         * soft-fp/negdf2.c: Likewise.
26922         * soft-fp/negsf2.c: Likewise.
26923         * soft-fp/negtf2.c: Likewise.
26924         * soft-fp/op-1.h: Likewise.
26925         * soft-fp/op-2.h: Likewise.
26926         * soft-fp/op-4.h: Likewise.
26927         * soft-fp/op-8.h: Likewise.
26928         * soft-fp/op-common.h: Likewise.
26929         * soft-fp/quad.h: Likewise.
26930         * soft-fp/single.h: Likewise.
26931         * soft-fp/soft-fp.h: Likewise.
26932         * soft-fp/sqrtdf2.c: Likewise.
26933         * soft-fp/sqrtsf2.c: Likewise.
26934         * soft-fp/sqrttf2.c: Likewise.
26935         * soft-fp/subdf3.c: Likewise.
26936         * soft-fp/subsf3.c: Likewise.
26937         * soft-fp/subtf3.c: Likewise.
26938         * soft-fp/truncdfsf2.c: Likewise.
26939         * soft-fp/trunctfdf2.c: Likewise.
26940         * soft-fp/trunctfsf2.c: Likewise.
26941         * soft-fp/trunctfxf2.c: Likewise.
26942         * soft-fp/unorddf2.c: Likewise.
26943         * soft-fp/unordsf2.c: Likewise.
26944         * soft-fp/unordtf2.c: Likewise.
26946 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26948         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26949         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26951 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26953         * elf/dl-libc.c: Clear initfini list after freeing.
26955 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26957         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26958         * soft-fp/addsf3.c: Likewise.
26959         * soft-fp/addtf3.c: Likewise.
26960         * soft-fp/divdf3.c: Likewise.
26961         * soft-fp/divsf3.c: Likewise.
26962         * soft-fp/divtf3.c: Likewise.
26963         * soft-fp/double.h: Likewise.
26964         * soft-fp/eqdf2.c: Likewise.
26965         * soft-fp/eqsf2.c: Likewise.
26966         * soft-fp/eqtf2.c: Likewise.
26967         * soft-fp/extenddftf2.c: Likewise.
26968         * soft-fp/extended.h: Likewise.
26969         * soft-fp/extendsfdf2.c: Likewise.
26970         * soft-fp/extendsftf2.c: Likewise.
26971         * soft-fp/extendxftf2.c: Likewise.
26972         * soft-fp/fixdfdi.c: Likewise.
26973         * soft-fp/fixdfsi.c: Likewise.
26974         * soft-fp/fixdfti.c: Likewise.
26975         * soft-fp/fixsfdi.c: Likewise.
26976         * soft-fp/fixsfsi.c: Likewise.
26977         * soft-fp/fixsfti.c: Likewise.
26978         * soft-fp/fixtfdi.c: Likewise.
26979         * soft-fp/fixtfsi.c: Likewise.
26980         * soft-fp/fixtfti.c: Likewise.
26981         * soft-fp/fixunsdfdi.c: Likewise.
26982         * soft-fp/fixunsdfsi.c: Likewise.
26983         * soft-fp/fixunsdfti.c: Likewise.
26984         * soft-fp/fixunssfdi.c: Likewise.
26985         * soft-fp/fixunssfsi.c: Likewise.
26986         * soft-fp/fixunssfti.c: Likewise.
26987         * soft-fp/fixunstfdi.c: Likewise.
26988         * soft-fp/fixunstfsi.c: Likewise.
26989         * soft-fp/fixunstfti.c: Likewise.
26990         * soft-fp/floatdidf.c: Likewise.
26991         * soft-fp/floatdisf.c: Likewise.
26992         * soft-fp/floatditf.c: Likewise.
26993         * soft-fp/floatsidf.c: Likewise.
26994         * soft-fp/floatsisf.c: Likewise.
26995         * soft-fp/floatsitf.c: Likewise.
26996         * soft-fp/floattidf.c: Likewise.
26997         * soft-fp/floattisf.c: Likewise.
26998         * soft-fp/floattitf.c: Likewise.
26999         * soft-fp/floatundidf.c: Likewise.
27000         * soft-fp/floatundisf.c: Likewise.
27001         * soft-fp/floatunsidf.c: Likewise.
27002         * soft-fp/floatunsisf.c: Likewise.
27003         * soft-fp/floatuntidf.c: Likewise.
27004         * soft-fp/floatuntisf.c: Likewise.
27005         * soft-fp/floatuntitf.c: Likewise.
27006         * soft-fp/fmadf4.c: Likewise.
27007         * soft-fp/fmasf4.c: Likewise.
27008         * soft-fp/fmatf4.c: Likewise.
27009         * soft-fp/gedf2.c: Likewise.
27010         * soft-fp/gesf2.c: Likewise.
27011         * soft-fp/getf2.c: Likewise.
27012         * soft-fp/ledf2.c: Likewise.
27013         * soft-fp/lesf2.c: Likewise.
27014         * soft-fp/letf2.c: Likewise.
27015         * soft-fp/muldf3.c: Likewise.
27016         * soft-fp/mulsf3.c: Likewise.
27017         * soft-fp/multf3.c: Likewise.
27018         * soft-fp/negdf2.c: Likewise.
27019         * soft-fp/negsf2.c: Likewise.
27020         * soft-fp/negtf2.c: Likewise.
27021         * soft-fp/op-1.h: Likewise.
27022         * soft-fp/op-2.h: Likewise.
27023         * soft-fp/op-4.h: Likewise.
27024         * soft-fp/op-8.h: Likewise.
27025         * soft-fp/op-common.h: Likewise.
27026         * soft-fp/quad.h: Likewise.
27027         * soft-fp/single.h: Likewise.
27028         * soft-fp/soft-fp.h: Likewise.
27029         * soft-fp/sqrtdf2.c: Likewise.
27030         * soft-fp/sqrtsf2.c: Likewise.
27031         * soft-fp/sqrttf2.c: Likewise.
27032         * soft-fp/subdf3.c: Likewise.
27033         * soft-fp/subsf3.c: Likewise.
27034         * soft-fp/subtf3.c: Likewise.
27035         * soft-fp/truncdfsf2.c: Likewise.
27036         * soft-fp/trunctfdf2.c: Likewise.
27037         * soft-fp/trunctfsf2.c: Likewise.
27038         * soft-fp/trunctfxf2.c: Likewise.
27039         * soft-fp/unorddf2.c: Likewise.
27040         * soft-fp/unordsf2.c: Likewise.
27041         * soft-fp/unordtf2.c: Likewise.
27043 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27045         [BZ #15672]
27046         * misc/error.c (error_tail): Fix possible buffer overflow.
27048 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27050         [BZ #13028]
27051         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27052         address.
27054 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27056         [BZ #832]
27057         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27058         testing pipefail option.
27060 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27062         * soft-fp/double.h: Indent preprocessor directives inside #if.
27063         * soft-fp/extended.h: Likewise.
27064         * soft-fp/op-2.h: Likewise.
27065         * soft-fp/op-4.h: Likewise.
27066         * soft-fp/op-common.h: Likewise.
27067         * soft-fp/quad.h: Likewise.
27068         * soft-fp/single.h: Likewise.
27069         * soft-fp/soft-fp.h: Likewise.
27071 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27073         * iconv/iconv_prog.c: Fix typos.
27074         * stdio-common/psiginfo-data.h: Likewise.
27076 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27078         [BZ #15764]
27079         * locale/setlocale.c: Fix typo.
27081 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27083         [BZ #16036]
27084         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27085         signaling NaN arguments.
27086         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27087         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27089         [BZ #14910]
27090         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27091         unordered operands.
27092         * soft-fp/gesf2.c (__gesf2): Likewise.
27093         * soft-fp/getf2.c (__getf2): Likewise.
27094         * soft-fp/ledf2.c (__ledf2): Likewise.
27095         * soft-fp/lesf2.c (__lesf2): Likewise.
27096         * soft-fp/letf2.c (__letf2): Likewise.
27098         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27099         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27100         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27101         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27102         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27103         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27104         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27105         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27106         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27107         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27108         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27109         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27110         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27111         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27112         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27113         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27114         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27115         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27116         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27117         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27118         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27119         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27120         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27121         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27122         * soft-fp/floattidf.c (__floattidf): Likewise.
27123         * soft-fp/floattisf.c (__floattisf): Likewise.
27124         * soft-fp/floattitf.c (__floattitf): Likewise.
27125         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27126         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27127         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27128         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27129         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27130         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27131         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27132         * soft-fp/gesf2.c (__gesf2): Likewise.
27133         * soft-fp/getf2.c (__getf2): Likewise.
27134         * soft-fp/ledf2.c (__ledf2): Likewise.
27135         * soft-fp/lesf2.c (__lesf2): Likewise.
27136         * soft-fp/letf2.c (__letf2): Likewise.
27138         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27139         Undefine and redefine.
27140         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27141         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27142         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27143         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27144         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27145         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27146         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27147         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27148         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27149         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27150         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27151         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27152         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27153         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27154         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27156         [BZ #16032]
27157         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27158         without decrementing exponent if mantissa >= that for the
27159         denominator, not >.
27160         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27161         denominator, not >.  Decrement exponent in < case instead of
27162         incrementing in >= case.
27163         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27164         without decrementing exponent if mantissa >= that for the
27165         denominator, not >.
27167         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27168         computing saturated result for unsigned overflow.
27170 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27171             Jeff Law  <law@redhat.com>
27173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27174         (atan2Mp): Add systemtap probe marker.
27175         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27176         (__ieee754_log): Add systemtap probe marker.
27177         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27178         (atanMp): Add systemtap probe marker.
27179         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27180         (tanMp): Add systemtap probe marker.
27181         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27182         (__slowexp): Add systemtap probe marker.
27183         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27184         (__slowpow): Add systemtap probe marker.
27185         * manual/probes.texi: Document probes.
27187 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27189         [BZ #15362]
27190         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27191         written.
27192         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27193         written.
27194         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27195         written to buffer but not flushed.
27196         * libio/iofwrite_u.c:  Likewise.
27197         * libio/iopadn.c:  Return bytes returned even if EOF was
27198         encountered.
27199         * libio/iowpadn.c:  Likewise.
27200         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27201         if _IO_padn does not write the whole buffer.
27202         [!COMPILE_WPRINTF] (PAD): Likewise.
27204 2013-10-10  David S. Miller  <davem@davemloft.net>
27206         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27207         directory block.
27209 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27211         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27212         instead of FSF address.
27213         * soft-fp/fixdfti.c: Likewise.
27214         * soft-fp/fixsfti.c: Likewise.
27215         * soft-fp/fixtfti.c: Likewise.
27216         * soft-fp/fixunsdfti.c: Likewise.
27217         * soft-fp/fixunssfti.c: Likewise.
27218         * soft-fp/fixunstfti.c: Likewise.
27219         * soft-fp/floattidf.c: Likewise.
27220         * soft-fp/floattisf.c: Likewise.
27221         * soft-fp/floattitf.c: Likewise.
27222         * soft-fp/floatuntidf.c: Likewise.
27223         * soft-fp/floatuntisf.c: Likewise.
27224         * soft-fp/floatuntitf.c: Likewise.
27225         * soft-fp/trunctfxf2.c: Likewise.
27227         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27228         * soft-fp/fixdfti.c: Likewise.
27229         * soft-fp/fixsfti.c: Likewise.
27230         * soft-fp/fixtfti.c: Likewise.
27231         * soft-fp/fixunsdfti.c: Likewise.
27232         * soft-fp/fixunssfti.c: Likewise.
27233         * soft-fp/fixunstfti.c: Likewise.
27234         * soft-fp/floattidf.c: Likewise.
27235         * soft-fp/floattisf.c: Likewise.
27236         * soft-fp/floattitf.c: Likewise.
27237         * soft-fp/floatuntidf.c: Likewise.
27238         * soft-fp/floatuntisf.c: Likewise.
27239         * soft-fp/floatuntitf.c: Likewise.
27240         * soft-fp/trunctfxf2.c: Likewise.
27242 2013-10-10  David S. Miller  <davem@davemloft.net>
27244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27246 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27248         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27249         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27250         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27251         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27252         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27253         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27254         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27257         for NaNs before doing comparisons on argument.
27258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27259         Likewise.
27261 2013-10-10  Will Newton  <will.newton@linaro.org>
27263         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27264         passed to _int_memalign does not overflow.
27266 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27268         * scripts/bench.pl: Add include-sources directive.
27269         * benchtests/README: Update documentation.
27271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27273         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27274         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27275         instead of FP_INIT_ROUNDMODE.
27276         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27277         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27279         [BZ #16034]
27280         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27281         copy class of input value.
27282         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27283         not handle exceptions.
27284         * soft-fp/negsf2.c (__negsf2): Likewise.
27285         * soft-fp/negtf2.c (__negtf2): Likewise.
27286         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27288 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27290         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27291         semicolon.  From Linux kernel.
27293 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27297 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
27299         [BZ #156]
27300         * manual/socket.texi: Added statement about buffer
27301         for gethostbyname2_r.
27303 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27305         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27306         Use .p2align directive instead, throughout.
27307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27308         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27312         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27313         * sysdeps/x86_64/strchr.S: Likewise.
27314         * sysdeps/x86_64/strrchr.S: Likewise.
27316 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27318         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27320         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27322         * sysdeps/generic/math_private.h (__mpsin1): Remove
27323         declaration.
27324         (__mpcos1): Likewise.
27325         (__mpsin): New argument __range_reduce.
27326         (__mpcos): Likewise.
27327         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27328         (slow): Use __mpsin and __mpcos.
27329         (slow1): Likewise.
27330         (slow2): Likewise.
27331         (sloww): Likewise.
27332         (sloww1): Likewise.
27333         (sloww2): Likewise.
27334         (bsloww): Likewise.
27335         (bsloww1): Likewise.
27336         (bsloww2): Likewise.
27337         (cslow2): Likewise.
27338         (csloww): Likewise.
27339         (csloww1): Likewise.
27340         (csloww2): Likewise.
27341         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27342         range_reduce.  Merge in __mpsin1.
27343         (__mpcos): Likewise.
27344         (__mpsin1): Remove.
27345         (__mpcos1): Likewise.
27347 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27349         * locale/loadlocale.c (_nl_intern_locale_data): Use
27350         LOCFILE_ALIGNED_P.
27351         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27352         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27353         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27354         obstack data is appropriately aligned.
27355         (obstack_int32_grow_fast): Likewise.
27356         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27357         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27358         (add_locale_uint32_array): Likewise.
27360 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27362         * benchtests/Makefile: Remove ARGLIST and RET variables.
27363         ($(objpfx)bench-%.c): Pass only function name to the script.
27364         * benchtests/README: Update documentation.
27365         * benchtests/acos-inputs: Add new directives.
27366         * benchtests/acosh-inputs: Likewise.
27367         * benchtests/asin-inputs: Likewise.
27368         * benchtests/asinh-inputs: Likewise.
27369         * benchtests/atan-inputs: Likewise.
27370         * benchtests/atanh-inputs: Likewise.
27371         * benchtests/cos-inputs: Likewise.
27372         * benchtests/cosh-inputs: Likewise.
27373         * benchtests/exp-inputs: Likewise.
27374         * benchtests/log-inputs: Likewise.
27375         * benchtests/pow-inputs: Likewise.
27376         * benchtests/rint-inputs: Likewise.
27377         * benchtests/sin-inputs: Likewise.
27378         * benchtests/sinh-inputs: Likewise.
27379         * benchtests/tan-inputs: Likewise.
27380         * benchtests/tanh-inputs: Likewise.
27381         * scripts/bench.pl: Add support for new directives.
27383 2013-10-07  Alan Modra  <amodra@gmail.com>
27385         * README: Fix careless merge.
27387 2013-10-05  Alan Modra  <amodra@gmail.com>
27389         * NEWS: Mention powerpc64le support and bugs fixed.
27390         * README: Both big-endian and little-endian powerpc64 supported.
27392 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27394         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27395         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27396         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27397         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27399 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27401         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27402         match prototype.
27404 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27406         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27407         Move -mhard-float appending from
27408         ports/sysdeps/powerpc/powerpc32/Makefile.
27409         [$(with-fp) = yes] (ASFLAGS): Likewise.
27410         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27411         * sysdeps/powerpc/nofpu: Move directory from
27412         ports/sysdeps/powerpc/nofpu.
27413         * sysdeps/powerpc/soft-fp: Move directory from
27414         ports/sysdeps/powerpc/soft-fp.
27415         * sysdeps/powerpc/powerpc32/405: Move directory from
27416         ports/sysdeps/powerpc/powerpc32/405.
27417         * sysdeps/powerpc/powerpc32/440: Move directory from
27418         ports/sysdeps/powerpc/powerpc32/440.
27419         * sysdeps/powerpc/powerpc32/464: Move directory from
27420         ports/sysdeps/powerpc/powerpc32/464.
27421         * sysdeps/powerpc/powerpc32/476: Move directory from
27422         ports/sysdeps/powerpc/powerpc32/476.
27423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27424         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27426         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27428         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27430         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27432         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27433         * README: Update for powerpc-*-linux-gnu software floating point
27434         support in libc.
27436         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27437         case to powerpc/powerpc32*.
27438         * sysdeps/unix/sysv/linux/configure: Regenerated.
27440         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27441         (_FPU_MASK_OM): Define as 0x04.
27442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27444         0x00c10080.
27445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27446         0x0000003c.
27447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27450         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27451         getcontext_e500.
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27453         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27454         setcontext_e500.
27455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27456         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27457         and setcontext_e500.
27459 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27461         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27463 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27465         * manual/threads.texi (Default Thread Attributes): Fix typo.
27467 2013-10-04  Will Newton  <will.newton@linaro.org>
27469         * malloc/Makefile: Add tst-memalign.
27470         * malloc/tst-memalign.c: New file.
27472         * malloc/tst-posix_memalign.c: Add comments.
27473         (do_test): Add comments and call free on all potentially
27474         allocated pointers. Add space after cast.
27476         * malloc/tst-pvalloc.c: Add comments.
27477         (do_test): Add comments and call free on all potentially
27478         allocated pointers. Remove duplicate check for NULL pointer.
27479         Add space after cast.
27481         * malloc/tst-valloc.c: Add comments.
27482         (do_test): Add comments and call free on all potentially
27483         allocated pointers. Remove duplicate check for NULL pointer.
27484         Add space after cast.
27486 2013-10-04  Alan Modra  <amodra@gmail.com>
27488         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27489         Use stdint types in rather than __attribute__((mode())).
27490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27492 2013-10-04  Alan Modra  <amodra@gmail.com>
27494         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27495         Correct handling of unaligned relocs for little-endian.
27496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27498 2013-10-04  Alan Modra  <amodra@gmail.com>
27500         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27501         * configure: Regenerate.
27502         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27503         * shlib-versions: Likewise.
27505 2013-10-04  Alan Modra  <amodra@gmail.com>
27507         * string/tester.c (test_memrchr): Increment reported test cycle.
27509 2013-10-04  Alan Modra  <amodra@gmail.com>
27511         * string/test-memcpy.c (do_one_test): When reporting errors, print
27512         string address and don't overrun end of string.
27514 2013-10-04  Alan Modra  <amodra@gmail.com>
27516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27517         insrdi.  Make better use of reg selection to speed exit slightly.
27518         Schedule entry path a little better.  Remove useless "are we done"
27519         checks on entry to main loop.  Handle wrapping around zero address.
27520         Correct main loop count.  Handle single left-over word from main
27521         loop inline rather than by using loop_small.  Remove extra word
27522         case in loop_small caused by wrong loop count.  Add little-endian
27523         support.
27524         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27526         cache hint.
27527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27529         support.  Avoid rlwimi.
27530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27532 2013-10-04  Alan Modra  <amodra@gmail.com>
27534         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27535         insrdi.  Formatting.
27536         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27538         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27539         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27540         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27541         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27543 2013-10-04  Alan Modra  <amodra@gmail.com>
27545         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27548         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27549         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27552         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27553         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27554         use of regs.  Use power7 mtocrf.  Tidy function tails.
27556 2013-10-04  Alan Modra  <amodra@gmail.com>
27558         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27559         Formatting.  Consistently use rXXX register defines or rN defines.
27560         Use early exit labels that avoid restoring unused non-volatile regs.
27561         Make cr field use more consistent with rWORDn compares.  Rename
27562         regs used as shift registers for unaligned loop, using rN defines
27563         for short lifetime/multiple use regs.
27564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27566         addi 1,1,64 to pop stack frame.  Simplify return value code.
27567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27569 2013-10-04  Alan Modra  <amodra@gmail.com>
27571         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27572         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27573         rather than rlwimi.
27574         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27575         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27576         little-endian support.  Correct typos.
27577         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27578         rather than rlwimi.
27579         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27580         in loop and entry code to keep "and." results.
27581         (strchr): Add little-endian support.  Comment.  Move cntlzd
27582         earlier in tail.
27583         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27585 2013-10-04  Alan Modra  <amodra@gmail.com>
27587         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27588         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27589         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27590         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27592 2013-10-04  Alan Modra  <amodra@gmail.com>
27594         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27595         (rTMP): Define as r11.
27596         (strcmp): Add little-endian support.  Optimise tail.
27597         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27598         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27599         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27605 2013-10-04  Alan Modra  <amodra@gmail.com>
27607         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27608         little-endian support.  Remove unnecessary "are we done" tests.
27609         Handle "s" wrapping around zero and extremely large "size".
27610         Correct main loop count.  Handle single left-over word from main
27611         loop inline rather than by using small_loop.  Correct comments.
27612         Delete "zero" tail, use "end_max" instead.
27613         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27615 2013-10-04  Alan Modra  <amodra@gmail.com>
27617         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27618         support.  Don't branch over align.
27619         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27620         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27621         support.  Rearrange tmp reg use to suit.  Comment.
27622         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27624 2013-10-04  Alan Modra  <amodra@gmail.com>
27626         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27628 2013-10-04  Alan Modra  <amodra@gmail.com>
27630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27631         conditional form of branch and link when obtaining pc.
27632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27634 2013-10-04  Alan Modra  <amodra@gmail.com>
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27637         HIWORD/LOWORD.
27638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27641 2013-10-04  Alan Modra  <amodra@gmail.com>
27643         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27644         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27645         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27646         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27647         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27649         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27651         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27652         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27654 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27655             Alistair Popple <alistair@ozlabs.au.ibm.com>
27656             Alan Modra <amodra@gmail.com>
27658         [BZ #15723]
27659         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27660         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27661         _dl_hwcap access for little-endian.
27662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27663         destroy vmx regs when saving unaligned.
27664         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27666         destroy vmx regs when saving unaligned.
27668 2013-10-04  Alan Modra  <amodra@gmail.com>
27670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27671         Don't use a union to pack hi/low value.
27673 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27675         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27676         for little-endian.
27677         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27679         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27680         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27681         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27683 2013-10-04  Alan Modra  <amodra@gmail.com>
27685         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27686         constants to usual value for .cst8 section, and remove redundant
27687         high address load.
27688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27689         constant for 0x1p52.  Load little-endian words of double from
27690         correct stack offsets.
27692 2013-10-04  Alan Modra  <amodra@gmail.com>
27694         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27695         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27696         words of double from correct stack offsets.
27697         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27698         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27699         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27702         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27704         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27709         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27710         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27711         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27713         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27715 2013-10-04  Alan Modra  <amodra@gmail.com>
27717         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27718         64-bit int/double union.
27719         (_FPU_SETCW): Likewise.
27720         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27721         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27723 2013-10-04  Alan Modra  <amodra@gmail.com>
27725         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27726         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27728 2013-10-04  Alan Modra  <amodra@gmail.com>
27730         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27731         use vector int constants.
27732         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27736         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27737         array with long long.
27738         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27739         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27740         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27741         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27742         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27743         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27744         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27745         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27747         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27748         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27749         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27750         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27752 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27754         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27755         (__signbit): Likewise.  Correct for little-endian.
27756         (__signbitl): Call __signbit.
27757         (lrint): Correct for little-endian.
27758         (lrintf): Call lrint.
27760 2013-10-04  Alan Modra  <amodra@gmail.com>
27762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27763         union 32-bit int array member with 64-bit int array.
27764         (t515, tm256): Double rather than long double.
27765         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27767 2013-10-04  Alan Modra  <amodra@gmail.com>
27769         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27770         Delete.
27771         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27773         version of math_ldbl.h.
27775 2013-10-04  Alan Modra  <amodra@gmail.com>
27777         [BZ #15734], [BZ #15735]
27778         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27779         all uses of ieee875 long double macros and unions.  Simplify test
27780         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27781         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27782         normalize after ldbl_extract_mantissa, and don't add hidden bit
27783         already handled.  Don't treat low word of ieee854 mantissa like
27784         low word of IBM long double and mask off bit when testing for
27785         zero.
27786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27787         all uses of ieee875 long double macros and unions.  Simplify tests
27788         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27789         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27790         two1022, instead use their values.  Recognise that tests for large
27791         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27793         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27794         test for 0.0L and nan.  Correct negation.
27795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27796         ieee875 long double macros and unions.  Correct output for large
27797         magnitude x.  Correct absolute value calculation.
27798         (__erfcl): Likewise.
27799         * math/libm-test.inc: Add tests for errors discovered in IBM long
27800         double versions of fmodl, remainderl, erfl and erfcl.
27802 2013-10-04  Alan Modra  <amodra@gmail.com>
27804         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27805         all uses of ieee854 long double macros and unions.  Simplify tests
27806         for long doubles that are fully specified by the high double.
27807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27808         Likewise.
27809         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27810         Remove dead code too.
27811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27812         (__ieee754_ynl): Likewise.
27813         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27816         Remove dead code too.
27817         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27818         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27821         Simplify.
27822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27823         Simplify.
27824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27825         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27827         Comment on variable precision.
27828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27829         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27830         Likewise.
27831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27835         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27837 2013-10-04  Alan Modra  <amodra@gmail.com>
27839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27840         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27841         all uses of ieee854 long double macros and unions.
27842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27845         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27846         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27848         Likewise.
27849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27850         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27852         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27853         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27854         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27855         Simplify sign and nan test too.
27856         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27857         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27858         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27859         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27860         Likewise.
27861         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27862         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27863         Likewise.
27864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27865         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27866         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27867         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27868         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27871 2013-10-04  Alan Modra  <amodra@gmail.com>
27873         * stdio-common/printf_size.c (__printf_size): Don't use
27874         union ieee854_long_double in fpnum union.
27875         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27876         signbit macro to retrieve sign from long double.
27877         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27878         retrieve sign from long double.
27879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27880         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27881         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27882         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27883         * math/test-misc.c (main): Don't use union ieee854_long_double.
27885 2013-10-04  Alan Modra  <amodra@gmail.com>
27887         [BZ #15680]
27888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27889         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27890         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27891         calculation.  Remove unnecessary test for denormal exponent.
27892         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27893         Correct handling of denormals.  Avoid undefined shift behaviour.
27894         Correct normalisation of low mantissa when low double is denormal.
27895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27896         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27897         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27898         Correct normalisation of low mantissa.  Test for overflow of high
27899         mantissa and normalise.
27900         (ldbl_nearbyint): Use more readable constant for two52.
27901         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27902         (__mpn_construct_long_double): Fix test for overflow of high
27903         mantissa and correct normalisation.  Avoid undefined shift.
27905 2013-10-04  Alan Modra  <amodra@gmail.com>
27907         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27908         (union ibm_extended_long_double): Define as an array of ieee754_double.
27909         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27910         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27911         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27912         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27916         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27917         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27918         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27919         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27921 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27923         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27924         page size instead of calling getpagesize.
27926         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27927         (LOCFILE_ALIGN_MASK): Likewise.
27928         (LOCFILE_ALIGN_UP): Likewise.
27929         (LOCFILE_ALIGNED_P): Likewise.
27930         * locale/programs/ld-collate.c (collate_output): Use the new
27931         macros instead of __alignof__ (int32_t).
27932         * locale/weight.h (findidx): Likewise.
27934 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27936         [BZ #431]
27937         * manual/string.texi: Fix strncat and wcsncat.
27939 2013-10-03  Brooks Moses  <bmoses@google.com>
27941         [BZ #15915]
27942         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27943         * Makerules: ...here, and adjust associated comments.
27945 2013-10-02  Will Newton  <will.newton@linaro.org>
27947         * malloc/Makefile: Add tst-pvalloc.
27948         * malloc/tst-pvalloc.c: New file.
27950 2013-10-02  Will Newton  <will.newton@linaro.org>
27952         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27953         improve test coverage.
27955 2013-10-02  Will Newton  <will.newton@linaro.org>
27957         * malloc/Makefile: Add tst-posix_memalign.
27958         * malloc/tst-posix_memalign.c: New file.
27960 2013-10-01  Eric Blake  <eblake@redhat.com>
27962         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27963         Use __THROWNL rather than __THROW on static functions.
27965 2013-09-30  Petr Machata  <pmachata@redhat.com>
27967         * elf/elf.h (R_AARCH64_ABS16): New macro.
27968         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27969         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27970         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27971         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27972         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27973         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27974         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27975         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27976         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27977         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27978         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27979         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27980         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27981         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27982         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27983         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27984         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27985         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27986         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27987         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27988         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27989         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27990         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27991         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27992         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27993         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27994         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27995         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27996         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27997         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27998         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27999         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28000         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28001         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28002         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28003         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28004         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28005         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28006         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28007         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28008         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28009         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28010         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28011         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28012         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28013         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28014         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28015         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28016         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28017         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28018         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28019         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28020         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28021         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28022         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28023         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28024         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28025         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28026         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28027         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28028         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28029         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28030         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28031         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28032         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28033         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28034         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28035         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28036         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28037         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28038         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28039         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28040         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28041         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28042         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28043         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28044         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28045         (R_AARCH64_TLSDESC_LDR): Likewise.
28046         (R_AARCH64_TLSDESC_ADD): Likewise.
28047         (R_AARCH64_TLSDESC_CALL): Likewise.
28049 2013-09-30  Andreas Schwab  <schwab@suse.de>
28051         [BZ #15048]
28052         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28053         the nss database lookup.
28054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28057 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28059         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28061 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28064         ${Bash-specific parameter/pattern/string} parameter expansion.
28065         * sysdeps/unix/make-syscalls.sh: Likewise.
28067 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28069         * sysdeps/sh/stackguard-macros.h: New file.
28071 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28075         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28076         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28078         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28080 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28082         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28083         Fix thread ID register.
28085 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28087         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28088         [POSIX || UNIX98]: Require rather than permitting all symbols from
28089         <time.h>.
28090         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28091         element of struct sched_param.
28092         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28093         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28094         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28095         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28096         constant.
28098 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28100         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28101         argument calculation.
28103 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28105         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28106         Expect macro.
28107         [POSIX] (pthread_attr_t): Do not require type.
28108         [POSIX] (pthread_cond_t): Likewise.
28109         [POSIX] (pthread_condattr_t): Likewise.
28110         [POSIX] (pthread_key_t): Likewise.
28111         [POSIX] (pthread_mutex_t): Likewise.
28112         [POSIX] (pthread_mutexattr_t): Likewise.
28113         [POSIX] (pthread_once_t): Likewise.
28114         [POSIX] (pthread_t): Likewise.
28115         [POSIX-based standards] (pthread_atfork): Expect function.
28117 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28118             Richard Sandiford  <richard@codesourcery.com>
28120         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28121         (swap_endianness_p): New extern variable.
28122         (set_big_endian): New inline function.
28123         (maybe_swap_uint32): Likewise.
28124         (maybe_swap_uint32_array): Likewise.
28125         (maybe_swap_uint32_obstack): Likewise.
28126         * locale/programs/locfile.c: Include <stdbool.h>.
28127         (swap_endianness_p): New variable.
28128         (add_locale_uint32): Call maybe_swap_uint32.
28129         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28130         (write_locale_data): Call maybe_swap_uint32_array.
28131         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28132         maybe_swap_uint32.
28133         (obstack_int32_grow_fast): Likewise.
28134         (output_weightwc): Call maybe_swap_uint32_obstack.
28135         (collate_output): Likewise.
28136         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28137         (OPT_LITTLE_ENDIAN): Likewise.
28138         (options): Add --little-endian and --big-endian options.
28139         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28140         * locale/programs/locarchive.c: Include "locfile.h".
28141         (GET): New macro.
28142         (SET): Likewise.
28143         (INC): Likewise.
28144         (create_archive): Use the new macros to access fields of
28145         structures directly mapped from or written to locale archives.
28146         (oldlocrecentcmp): Likewise.
28147         (enlarge_archive): Likewise.
28148         (insert_name): Likewise.
28149         (add_alias): Likewise.
28150         (add_locale): Likewise.
28151         (delete_locales_from_archive): Likewise.
28152         (show_archive_content): Likewise.
28153         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28154         locale data.
28156 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28158         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28159         http://www.gnu.org/doc/freemanuals.texi.
28160         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28162 2013-09-24  Will Newton  <will.newton@linaro.org>
28164         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28165         macro.
28167 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28169         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28170         unsigned char.
28172 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28174         * manual/threads.texi (POSIX Threads): Fix a typo.
28176 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28178         [BZ #14547]
28179         * string/tst-strcoll-overflow.c: New test case.
28180         * string/Makefile (xtests): Add tst-strcoll-overflow.
28181         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28182         cache if string sizes may cause integer overflow.
28184         [BZ #14547]
28185         * string/strcoll_l.c (coll_seq): New members rule, idx,
28186         save_idx and back_us.
28187         (get_next_seq_nocache): New function.
28188         (do_compare_nocache): New function.
28189         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28190         when malloc fails.
28192 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28194         [BZ #15754]
28195         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28196         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28197         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28199         [BZ #15754]
28200         * elf/Makefile (tests): Add tst-ptrguard1.
28201         (tests-static): Add tst-ptrguard1-static.
28202         (tst-ptrguard1-ARGS): Define.
28203         (tst-ptrguard1-static-ARGS): Define.
28204         * elf/tst-ptrguard1.c: New file.
28205         * elf/tst-ptrguard1-static.c: New file.
28206         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28207         * sysdeps/i386/stackguard-macros.h: Likewise.
28208         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28209         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28210         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28211         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28212         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28213         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28215 2013-09-23  Hector Marco  <hecmargi@upv.es>
28216             Ismael Ripoll  <iripoll@disca.upv.es>
28217             Carlos O'Donell  <carlos@redhat.com>
28219         [BZ #15754]
28220         * sysdeps/generic/stackguard-macros.h: Define
28221         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28222         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28223         Define __pointer_chk_guard_local.
28224         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28225         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28227 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28229         [BZ #15859]
28230         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28232 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28234         * include/string.h (__ffs): Declare as hidden.
28235         * string/ffs.c (__ffs): Define as hidden.
28236         * sysdeps/i386/ffs.c (__ffs): Likewise.
28237         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28238         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28239         * sysdeps/s390/ffs.c (__ffs): Likewise.
28240         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28242 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28244         * NEWS: Mention malloc probes.
28246         * malloc/arena.c (new_heap): New memory_heap_new probe.
28247         (grow_heap): New memory_heap_more probe.
28248         (shrink_heap): New memory_heap_less probe.
28249         (heap_trim): New memory_heap_free probe.
28250         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28251         (systrim): New memory_sbrk_less probe.
28252         * manual/probes.texi: Document them.
28254         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28255         * manual/probes.texi: Document it.
28257         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28258         (__libc_realloc): Add memory_realloc_retry probe.
28259         (__libc_memalign): Add memory_memalign_retry probe.
28260         (__libc_valloc): Add memory_valloc_retry probe.
28261         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28262         (__libc_calloc): Add memory_calloc_retry probe.
28263         * manual/probes.texi: Document them.
28265         * malloc/arena.c (get_free_list): Add probe
28266         memory_arena_reuse_free_list.
28267         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28268         and memory_arena_reuse.
28269         (arena_get2) [!PER_THREAD]: Likewise.
28270         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28271         memory_arena_reuse_realloc.
28272         * manual/probes.texi: Document them.
28274         * malloc/malloc.c (__libc_free): Add
28275         memory_mallopt_free_dyn_thresholds probe.
28276         (__libc_mallopt): Add multiple memory_mallopt probes.
28277         * manual/probes.texi: Document them.
28279         * malloc/malloc.c: Include stap-probe.h.
28280         (__libc_mallopt): Add memory_mallopt probe.
28281         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28282         * manual/probes.texi: New.
28283         * manual/Makefile (chapters): Add probes.
28284         * manual/threads.texi: Set next node.
28286 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28288         [BZ #15963, #13985]
28289         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28290         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28291         Add `Chinese' to `nan' entry name.
28293 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28295         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28296         (POLYNOMIAL): Likewise.
28297         (TAYLOR_SINCOS): Likewise.
28298         (TAYLOR_SLOW): Likewise.
28299         (__sin): Use TAYLOR_SINCOS.
28300         (__cos): Likewise.
28301         (slow): Use TAYLOR_SLOW.
28302         (sloww): Likewise.
28303         (bsloww): Likewise.
28304         (csloww): Likewise.
28306 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28308         * stdlib/strtod_l.c: Fix buffer overrun.
28310 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28312         * benchtests/Makefile (bench): Add sincos.
28313         * benchtests/bench-sincos.c: New file.
28315         * math/libm-test.inc (cos_test_data): New test inputs.
28316         (sin_test_data): Likewise.
28318         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28319         macro.
28320         (__sin): Use it.
28321         (__cos): Likewise.
28322         (slow1): Likewise.
28323         (slow2): Likewise.
28324         (sloww1): Likewise.
28325         (sloww2): Likewise.
28326         (bsloww1): Likewise.
28327         (bsloww2): Likewise.
28328         (cslow2): Likewise.
28329         (csloww1): Likewise.
28330         (csloww2): Likewise.
28332         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28333         function.
28334         (__sin): Use it.
28335         (__cos): Likewise.
28337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28338         gotos.
28339         (__cos): Likewise.
28341 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28343         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28344         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28345         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28346         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28347         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28348         * elf/cache.c (print_entry): Handle the new cache flags.
28350 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28351             Aldy Hernandez  <aldyh@redhat.com>
28353         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28354         Change condition to [_SOFT_FLOAT].
28355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28367         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28370         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28371         declaration.
28373 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28375         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28376         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28377         (__longjmp): Use LOAD_GP to load saved GPRs.
28378         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28379         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28380         (__sigsetjmp): Use SAVE_GP to save GPRs.
28382         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28383         Do not append -msoft-float.
28384         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28386 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28388         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28390 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28392         [BZ #15966]
28393         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28394         (_FPU_GETCW): Use initial "__" on variable and field names but not
28395         on macro parameter name.
28396         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28397         parentheses around reference to macro parameter.
28399 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28401         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28402         prototype.
28403         (ctype_startup): Use uint32_t in cast and sizeof for
28404         ctype->charnames.
28406 2013-09-11  Jia Liu  <proljc@gmail.com>
28408         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28409         __daddr_t_defined.
28410         [__FreeBSD__]: Likewise.
28412 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28415         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28416         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28417         (strchr): Remove __strchr_sse42 ifunc selection.
28418         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28419         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28421 2013-09-11  Will Newton  <will.newton@linaro.org>
28423         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28424         parameter to RES. Remove hardcoded 1000 value.
28425         * benchtests/bench-skeleton.c (main): Pass RES parameter
28426         to TIMING_INIT and multiply result by 1000.
28428 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28432 2013-09-11  Andreas Schwab  <schwab@suse.de>
28434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28435         if not defined.
28436         (O_TMPFILE) [__USE_GNU]: Define.
28437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28438         Define.
28440 2013-09-11  Will Newton  <will.newton@linaro.org>
28442         [BZ #15857]
28443         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28444         does not overflow.
28446 2013-09-11  Will Newton  <will.newton@linaro.org>
28448         [BZ #15856]
28449         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28450         does not overflow.
28452 2013-09-11  Will Newton  <will.newton@linaro.org>
28454         [BZ #15855]
28455         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28456         does not overflow.
28458 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28460         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28461         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28462         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28463         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28464         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28466 2013-09-10  Allan McRae  <allan@archlinux.org>
28468         [BZ #15748]
28469         * manual/arith.texi (Parsing of Floats): Clarify
28470         cross-reference.
28472         [BZ #15849]
28473         * manual/install.texi (Running make install): Mention
28474         --enable-pt-chown.
28475         * INSTALL: Regenerated.
28477 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28479         * csu/init-first.c (_init): Remove the !SHARED condition around
28480         FPU control word initialization.
28481         * elf/dl-support.c (_dl_fpu_control): New variable.
28482         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28483         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28484         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28485         * math/test-fpucw-static.c: New file.
28486         * math/test-fpucw-ieee.c: New file.
28487         * math/test-fpucw-ieee-static.c: New file.
28488         * math/Makefile (tests): Add `test-fpucw-ieee' and
28489         `$(tests-static)'.
28490         (tests-static): New variable.
28491         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28492         dependency to...
28493         [($(build-shared),yes)]
28494         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28495         ... this.
28496         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28497         New dependency.
28499 2013-09-09  Allan McRae  <allan@archlinux.org>
28501         [BZ #15939]
28502         * manual/string.texi (Collation Functions): Fix typo in
28503         strcoll example.
28504         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28506         [BZ #15893]
28507         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28509         [BZ #15892]
28510         * libio/memstream.c (open_memstream): Fix memory leak.
28511         * libio/wmemstream.c (open_wmemstream): Likewise.
28513         [BZ #15895]
28514         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28516 2013-09-09  Will Newton  <will.newton@linaro.org>
28518         * malloc/Makefile: Add tst-realloc to tests.
28519         * malloc/tst-realloc.c: New file.
28521 2013-09-09  Allan McRae  <allan@archlinux.org>
28523         [BZ #15844]
28524         * COPYING: Update from GNU website to fix FSF address.
28525         * COPYING.LIB: Likewise.
28527 2013-09-06  David S. Miller  <davem@davemloft.net>
28529         * po/zh_TW.po: Update Chinese (traditional) translation from
28530         translation project.
28532 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28533             Joseph Myers  <joseph@codesourcery.com>
28535         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28536         "localeinfo.h".
28537         (obstack_chunk_alloc): New macro.
28538         (obstack_chunk_free): Likewise.
28539         (record_offset): New function.
28540         (init_locale_data): Likewise.
28541         (align_locale_data): Likewise.
28542         (add_locale_empty): Likewise.
28543         (add_locale_raw_data): Likewise.
28544         (add_locale_raw_obstack): Likewise.
28545         (add_locale_string): Likewise.
28546         (add_locale_wstring): Likewise.
28547         (add_locale_uint32): Likewise.
28548         (add_locale_uint32_array): Likewise.
28549         (add_locale_char): Likewise.
28550         (start_locale_structure): Likewise.
28551         (end_locale_structure): Likewise.
28552         (start_locale_prelude): Likewise.
28553         (end_locale_prelude): Likewise.
28554         (write_locale_data): Take locale_file structure rather than an
28555         iovec.
28556         * locale/programs/locfile.h: Include "obstack.h".
28557         (struct locale_file): Change to store locale file contents instead
28558         of header.
28559         (init_locale_data): New prototype.
28560         (align_locale_data): Likewise.
28561         (add_locale_empty): Likewise.
28562         (add_locale_raw_data): Likewise.
28563         (add_locale_raw_obstack): Likewise.
28564         (add_locale_string): Likewise.
28565         (add_locale_wstring): Likewise.
28566         (add_locale_uint32): Likewise.
28567         (add_locale_uint32_array): Likewise.
28568         (add_locale_char): Likewise.
28569         (start_locale_structure): Likewise.
28570         (end_locale_structure): Likewise.
28571         (start_locale_prelude): Likewise.
28572         (end_locale_prelude): Likewise.
28573         (write_locale_data): Update prototype.
28574         * locale/programs/3level.h (struct TABLE): Remove result field.
28575         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28576         Use new locale_file interface.
28577         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28578         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28579         * locale/programs/ld-address.c (address_output): Use new
28580         locale_file interface.
28581         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28582         NO_ADD_LOCALE.
28583         (collate_finish): Don't call collseq_table_finalize.
28584         (collate_output): Use new locale_file interface.
28585         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28586         in file.
28587         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28588         (TABLE): Move defines earlier in file.
28589         (ELEMENT): Likewise.
28590         (DEFAULT): Likewise.
28591         (wctrans_table_add): Move macro and inline function earlier in
28592         file.
28593         (struct wctype_table): Move type earlier in file.
28594         (add_locale_wctype_table): New static prototype.
28595         (struct locale_ctype_t): Use logical types instead of struct iovec
28596         pointers for members.
28597         (ctype_output): Use new locale_file interface.
28598         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28599         new locale_file interface.
28600         (allocate_arrays): Update for use of new locale_file interface.
28601         * locale/programs/ld-identification.c (identification_output): Use
28602         new locale_file interface.
28603         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28604         * locale/programs/ld-messages.c (messages_output): Likewise.
28605         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28606         * locale/programs/ld-name.c (name_output): Likewise.
28607         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28608         * locale/programs/ld-paper.c (paper_output): Likewise.
28609         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28610         * locale/programs/ld-time.c (time_output): Likewise.
28612 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28614         * benchtests/Makefile: Add memrchr benchmark.
28615         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28616         benchmark as memrchr.
28617         * benchtests/bench-memrchr-ifunc.c: New file.
28618         * benchtests/bench-memrchr.c: New file.
28620 2013-09-06   Will Newton  <will.newton@linaro.org>
28622         * benchtests/Makefile (string-bench): Add memcpy.
28624 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28625             Cong Wang  <amwang@redhat.com>
28627         [BZ #15850]
28628         * sysdeps/unix/sysv/linux/bits/in.h
28629         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28630         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28631         before __USE_KERNEL_IPV6_DEFS uses.
28632         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28633         IPPROTO_BEETPH.
28634         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28635         sockaddr_in6, or ipv6_mreq.
28637 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28639         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28640         memory access for final bytes in some large inputs.
28641         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28643 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28645         * string/test-memrchr.c: New file.
28646         * string/test-memrchr-ifunc.c: New file.
28647         * string/Makefile: Add new memrchr testcase.
28649 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28651         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28652         fanotify_init returns EPERM.
28654 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28656         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28657         errors.
28658         (top level): Treat second token from macro or constant entries for
28659         allowed headers as allowed.
28660         * include/complex.h: Condition internal declarations on
28661         [!_ISOMAC].
28662         * include/fenv.h: Condition include of <stdbool.h> and internal
28663         declarations on [!_ISOMAC].
28665 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28667         [BZ #15923]
28668         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28670 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28672         * configure.in (--enable-versioning): Remove configure option.
28673         (libc_cv_asm_symver_directive): Remove configure test.
28674         (libc_cv_ld_version_script_option): Likewise.
28675         (VERSIONING): Remove variable and AC_SUBST.
28676         (DO_VERSIONING): Remove AC_DEFINE.
28677         * configure: Regenerated.
28678         * config.h.in (DO_VERSIONING): Remove macro.
28679         * Makerules [$(versioning) = yes]: Change conditionals to
28680         [$(build-shared) = yes].
28681         * config.make.in (versioning): Remove variable.
28682         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28683         [$(build-shared) = yes].
28684         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28685         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28686         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28687         [$(build-shared) = yes].
28688         * extra-lib.mk [$(versioning) = yes]: Likewise.
28689         * hurd/Makefile [$(versioning) = yes]: Likewise.
28690         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28691         [SHARED].
28692         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28693         [SHARED].
28694         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28695         [SHARED && !NO_HIDDEN].
28696         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28697         [SHARED].
28698         [SHARED && DO_VERSIONING]: Likewise..
28699         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28700         [$(build-shared) = yes].
28701         * manual/install.texi (--disable-versioning): Remove
28702         documentation.
28703         * INSTALL: Regenerated.
28704         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28705         to [SHARED].
28706         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28707         [$(build-shared) = yes].
28708         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28709         * sysdeps/i386/i686/multiarch/strstr-c.c
28710         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28711         [SHARED && !NO_HIDDEN].
28712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28713         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28714         * sysdeps/powerpc/powerpc32/dl-machine.c
28715         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28716         * sysdeps/powerpc/powerpc32/sysdep.h
28717         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28718         to [SHARED && PIC && !NO_HIDDEN].
28719         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28720         conditional to [SHARED].
28722 2013-09-04   Will Newton  <will.newton@linaro.org>
28724         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28725         * benchtests/bench-string.h: Include bench-timing.h instead
28726         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28727         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28728         call to HP_TIMING_DIFF_INIT.
28729         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28730         instead of hp-timing.h macros.
28731         * benchtests/bench-memchr.c: Likewise.
28732         * benchtests/bench-memcmp.c: Likewise.
28733         * benchtests/bench-memcpy.c: Likewise.
28734         * benchtests/bench-memmem.c: Likewise.
28735         * benchtests/bench-memmove.c: Likewise.
28736         * benchtests/bench-memset.c: Likewise.
28737         * benchtests/bench-rawmemchr.c: Likewise.
28738         * benchtests/bench-strcasecmp.c: Likewise.
28739         * benchtests/bench-strcasestr.c: Likewise.
28740         * benchtests/bench-strcat.c: Likewise.
28741         * benchtests/bench-strchr.c: Likewise.
28742         * benchtests/bench-strcmp.c: Likewise.
28743         * benchtests/bench-strcpy.c: Likewise.
28744         * benchtests/bench-strcpy_chk.c: Likewise.
28745         * benchtests/bench-strlen.c: Likewise.
28746         * benchtests/bench-strncasecmp.c: Likewise.
28747         * benchtests/bench-strncat.c: Likewise.
28748         * benchtests/bench-strncmp.c: Likewise.
28749         * benchtests/bench-strncpy.c: Likewise.
28750         * benchtests/bench-strnlen.c: Likewise.
28751         * benchtests/bench-strpbrk.c: Likewise.
28752         * benchtests/bench-strrchr.c: Likewise.
28753         * benchtests/bench-strspn.c: Likewise.
28754         * benchtests/bench-strstr.c: Likewise.
28756 2013-09-04  Will Newton  <will.newton@linaro.org>
28758         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28760 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28762         [BZ #15427]
28763         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28764         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28765         * math/libm-test.inc (lgamma_test_data): Add more tests.
28766         * sysdeps/i386/fpu/libm-test-ulps: Update.
28767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28769 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28771         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28773         Add ifunc.
28774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28775         Add strcmp-sse2-unaligned
28776         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28778 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28780         * Versions.def (libc): Add GLIBC_2.19.
28782 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28784         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28785         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28787 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28789         [BZ #14155]
28790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28791         intermediate calculations in recurrence.
28792         (__ieee754_ynf): Likewise.
28793         * math/libm-test.inc (jn_test_data): Do not allow spurious
28794         underflow exception.  Add more tests.
28795         (yn_test_data): Add more tests.
28796         * sysdeps/i386/fpu/libm-test-ulps: Update.
28797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28799 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28803 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28805         * csu/init-first.c: Fix then/than typos.
28806         * locale/programs/ld-collate.c: Likewise.
28807         * locale/programs/linereader.h: Likewise.
28808         * manual/charset.texi: Likewise.
28809         * manual/filesys.texi: Likewise.
28810         * manual/stdio.texi: Likewise.
28811         * manual/string.texi: Likewise.
28812         * stdlib/fmtmsg.c: Likewise.
28813         * sysdeps/i386/stpncpy.S: Likewise.
28814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28815         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28817         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28819 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28821         * elf/dl-open.c: Fix typos.
28822         * iconvdata/gbbig5.c: Likewise.
28823         * iconvdata/iso-2022-jp.c: Likewise.
28824         * iconv/gconv_int.h: Likewise.
28825         * iconv/loop.c: Likewise.
28826         * nis/rpcsvc/nis.h: Likewise.
28827         * resolv/ns_name.c: Likewise.
28828         * stdio-common/vfscanf.c: Likewise.
28829         * streams/stropts.h: Likewise.
28830         * sunrpc/rpc_thread.c: Likewise.
28831         * sysdeps/i386/strpbrk.S: Likewise.
28832         * sysdeps/ieee754/k_standard.c: Likewise.
28833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28835         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28836         * sysdeps/mach/hurd/profil.c: Likewise.
28837         * sysdeps/s390/dl-procinfo.h: Likewise.
28838         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28839         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28840         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28841         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28842         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28844 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28846         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28849 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28851         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28852         aix specific files.
28853         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28855         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28856         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28857         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28858         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28859         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28860         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28862 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28863             Roland McGrath  <roland@hack.frob.com>
28865         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28866         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28868 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28870         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28871         __executable_start symbol instead of _start.
28873 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28875         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28876         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28877         Move macros to...
28878         * sysdeps/gnu/ldsodefs.h: ... this new file.
28880         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28881         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28882         instead of ELFOSABI_LINUX.
28884         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28885         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28886         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28887         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28888         Likewise.
28889         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28890         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28891         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28892         Likewise.
28893         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28894         (ibm_extended_long_double): Add ieee_nan member.
28895         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28896         (do_test): New function.
28898         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28899         TEST_TRUNC.
28900         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28901         functions, renamed from truncdfsf_test, trunctfsf_test,
28902         trunctfdf_test.
28903         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28904         functions.
28905         (do_test): Run all these.
28907 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28909         * argp/argp-help.c: Fix typos.
28910         * argp/argp-parse.c: Likewise.
28911         * debug/backtracesyms.c: Likewise.
28912         * elf/elf.h: Likewise.
28913         * malloc/malloc.c: Likewise.
28914         * nis/nis_print.c: Likewise.
28915         * resolv/res_comp.c: Likewise.
28916         * stdlib/stdlib.h: Likewise.
28917         * sunrpc/clnt_tcp.c: Likewise.
28918         * sunrpc/clnt_udp.c: Likewise.
28919         * sunrpc/clnt_unix.c: Likewise.
28920         * sysdeps/unix/bsd/ptsname.c: Likewise.
28921         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28924         Likewise.
28925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28926         Likewise.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28928         Likewise.
28929         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28931 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28936 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28938         [BZ #15897]
28939         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28940         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28941         ($(objpfx)bug-dl-leaf): New rule.
28942         ($(objpfx)bug-dl-leaf.so): Likewise.
28943         ($(objpfx)bug-dl-leaf.out): Likewise.
28944         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28945         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28946         * dlfcn/bug-dl-leaf.c: New test.
28947         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28948         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28949         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28950         (dlclose): Likewise.
28951         (dlmopen): Likewise.
28953 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28955         * include/netdb.h [!_ISOMAC]:
28956         Don't include <tls.h>.
28957         (h_errno, __libc_h_errno): Move declaration and macros out of
28958         [_LIBC_REENTRANT].
28960         * include/resolv.h [_RESOLV_H_]:
28961         Don't include <tls.h>.
28962         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28963         * resolv/res_libc.c: Don't include <tls.h>.
28964         (_res): Use __attribute__ ((nocommon)) in place of
28965         __attribute__ ((section (".bss"))).
28967         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28968         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28970         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28972         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28973         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28975         * resolv/res_mkquery.c: Include <sys/time.h>.
28977         * inet/ifreq.c: Moved to ...
28978         * sysdeps/unix/ifreq.c: ... here.
28979         * inet/ifreq.c: New file, true stub version.
28981         * socket/sa_len.c: New file.
28982         * socket/Makefile (aux): Add it.
28983         * sysdeps/unix/sysv/linux/Makefile
28984         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28985         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28986         and #include <socket/sa_len.c>.
28987         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28988         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28990         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28991         * bits/socket.h: ... here.
28993         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28994         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28995         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28997 2013-08-27  Andreas Schwab  <schwab@suse.de>
28999         [BZ #15736]
29000         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29001         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29002         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29003         * string/test-strcasecmp.c (test_main): Run tests in several
29004         locales.
29005         * string/test-strncasecmp.c (test_main): Likewise.
29007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29008         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29009         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29011         (__strncasecmp_ssse3) [PIC]: Likewise.
29013 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29015         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29017         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29018         instead of explicitly declaring xdecrypt.
29019         * nis/nss_nis/nis-publickey.c: Likewise.
29021 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29023         [BZ #15890]
29024         * nscd/aicache.c: Include res_hconf.h.
29025         (addhstaiX): Initialize res_hconf.
29027 2013-08-26  Andreas Schwab  <schwab@suse.de>
29029         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29030         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29032 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29034         * nscd/aicache.c (addhstaiX): Fix indentation.
29036 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29038         * configure.ac: Quote $build_pt_chown test.
29039         * configure: Regenerated.
29041 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29043         [BZ #15532]
29044         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29045         * math/s_cexpf.c (__cexpf): Likewise.
29046         * math/s_cexpl.c (__cexpl): Likewise.
29047         * math/libm-test.inc (cexp_test_data): Correct expected return
29048         value for NaN + i0.  Add another test.
29050 2013-08-22  David S. Miller  <davem@davemloft.net>
29052         * po/ca.po: Update Catalan translation from translation project.
29053         * po/uk.po: Add Ukrainian translations from translation project.
29055 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29057         [BZ #15797]
29058         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29059         is infinite, not alongside NaN test.
29060         * math/s_fdimf.c (__fdimf): Likewise.
29061         * math/s_fdiml.c (__fdiml): Likewise.
29062         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29063         errno is unchanged.
29065 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29067         * argp/argp-help.c: Fix typos.
29068         * crypt/speeds.c: Likewise.
29069         * csu/check_fds.c: Likewise.
29070         * elf/dl-load.c: Likewise.
29071         * elf/dl-open.c: Likewise.
29072         * elf/reldep3.c: Likewise.
29073         * elf/reldep.c: Likewise.
29074         * elf/sprof.c: Likewise.
29075         * iconv/iconv_charmap.c: Likewise.
29076         * iconv/skeleton.c: Likewise.
29077         * iconv/strtab.c: Likewise.
29078         * io/lockf64.c: Likewise.
29079         * libio/libioP.h: Likewise.
29080         * resolv/gai_notify.c: Likewise.
29081         * resolv/ns_name.c: Likewise.
29082         * resolv/ns_samedomain.c: Likewise.
29083         * resolv/res_send.c: Likewise.
29084         * stdlib/random.c: Likewise.
29085         * sunrpc/rpc/xdr.h: Likewise.
29086         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29090         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29092         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29093         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29094         * sysdeps/mach/hurd/check_fds.c: Likewise.
29095         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29096         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29099         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29101         * sysdeps/pthread/aio_notify.c: Likewise.
29102         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29103         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29104         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29105         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29106         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29108 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29110         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29111         version if bit_Slow_SSE4_2 is set.
29112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29115 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29117         [BZ #15867]
29118         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29119         trampoline stack frame information.
29120         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29122         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29123         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29124         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29125         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29126         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29127         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29128         sa_flags value.
29129         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29130         interrupting a syscall and set with option SA_SIGINFO.
29132 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29134         [BZ #15531]
29135         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29136         argument is infinite.
29137         * math/s_cprojf.c (__cprojf): Likewise.
29138         * math/s_cprojl.c (__cprojl): Likewise.
29139         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29140         * math/libm-test.inc (cproj_test_data): Add more tests.
29142         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29144         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29145         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29146         size.  Use __ffs to determine corresponding shift.
29148 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29149             Roland McGrath  <roland@hack.frob.com>
29151         * Makefile (INSTALL): Remove trailing blank lines from output of
29152         makeinfo.
29154 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29156         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29157         Align 32 bit compat elf_greg to 8 bytes.
29159 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29161         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29163 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29165         * string/strcoll_l.c (coll_seq): New structure.
29166         (get_next_seq_cached): New function.
29167         (get_next_seq): New function.
29168         (do_compare): New function.
29169         (STRCOLL): Use GNU style definition.  Simplify implementation
29170         by using get_next_seq, get_next_seq_cached and do_compare.
29172 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29174         [BZ #14699]
29175         CVE-2013-4237
29176         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29177         member.
29178         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29179         member.
29180         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29181         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29182         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29183         conditional.
29184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29185         GETDENTS_64BIT_ALIGNED.
29186         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29187         * manual/filesys.texi (Reading/Closing Directory): Document
29188         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29189         strongly.
29190         * manual/conf.texi (Limits for Files): Add portability note to
29191         NAME_MAX, PATH_MAX.
29192         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29194 2013-08-13  Andreas Schwab  <schwab@suse.de>
29196         [BZ #15749]
29197         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29198         of fabs.
29199         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29200         LDBL_MAX_EXP >= 16384]: Add tests for it.
29202 2013-08-12  David S. Miller  <davem@davemloft.net>
29204         * version.h (RELEASE): Set to "development".
29205         (VERSION): Set to "2.18.90".
29206         * NEWS: Add 2.19 section.
29208 2013-08-03  David S. Miller  <davem@davemloft.net>
29210         * po/ko.po: Update Korean translation from translation project.
29212 2013-08-01  David S. Miller  <davem@davemloft.net>
29214         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29215         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29216         Bilka.
29218 2013-07-30  David S. Miller  <davem@davemloft.net>
29220         * po/fr.po: Update French translation from translation project.
29222 2013-07-28  David S. Miller  <davem@davemloft.net>
29224         * po/cs.po: Update Czech translation from translation project.
29226         * po/sv.po: Update Swedish translation from translation project.
29228 2013-07-27  David S. Miller  <davem@davemloft.net>
29230         * po/eo.po: Update Esperanto translation from translation project.
29232         * po/vi.po: Update Vietnamese translation from translation project.
29234         * po/de.po: Update German translation from translation project.
29236 2013-07-26  David S. Miller  <davem@davemloft.net>
29238         * po/bg.po: Update Bulgarian translation from translation project.
29240         * po/nl.po: Update Dutch translation from translation project.
29241         * po/pl.po: Update Polish translation from translation project.
29242         * po/ru.po: Update Russian translation from translation project.
29244 2013-07-24  David S. Miller  <davem@davemloft.net>
29246         * po/libc.pot: Update.
29248 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29250         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29251         variable page size.
29252         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29253         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29254         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29256 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29258         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29260 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29261             Andreas Schwab  <schwab@suse.de>
29262             Roland McGrath  <roland@hack.frob.com>
29263             Joseph Myers  <joseph@codesourcery.com>
29264             Carlos O'Donell  <carlos@redhat.com>
29266         [BZ #15755]
29267         * config.h.in: Define HAVE_PT_CHOWN.
29268         * config.make.in (build-pt-chown): New variable.
29269         * configure.in (--enable-pt_chown): New configure option.
29270         * configure: Regenerate.
29271         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29272         build-pt-chown is enabled.
29273         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29274         pt_chown to fix pty ownership.
29275         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29276         CLOSE_ALL_FDS.
29277         * manual/install.texi (Configuring and compiling): Mention
29278         --enable-pt_chown. Add @findex for grantpt.
29279         * INSTALL: Regenerate.
29281 2013-07-20  David S. Miller  <davem@davemloft.net>
29283         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29284         difference between 32-bit and 64-bit.
29286 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29288         [BZ #15711]
29289         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29290         Avoid system header dependency with -ffreestanding.
29291         ($(objpfx)bits/syscall%d): Likewise.
29293 2013-07-13  David S. Miller  <davem@davemloft.net>
29295         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29296         underflows from atanl/atan2l due to bug 15319.
29297         (casinh_test_data): Likewise.
29299 2013-07-07  David S. Miller  <davem@davemloft.net>
29301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29303 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29305         * sysdeps/i386/fpu/libm-test-ulps: Update.
29306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29308 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29310         * configure.in (--enable-lock-elision): Fix message text.
29311         * INSTALL: Regenerate.
29312         * configure: Regenerate.
29314 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29318 2013-07-03  Andreas Jaeger  <aj@suse.de>
29320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29321         define.
29322         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29323         (ptrace_peeksiginfo_args): Add.
29324         (__ptrace_peeksiginfo_flags): Add.
29325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29329 2013-07-03  Allan McRae  <allan@archlinux.org>
29331         * sysdeps/i386/fpu/libm-test-ulps: Update.
29333 2013-07-02  David S. Miller  <davem@davemloft.net>
29335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29337 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29341 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29343         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29346 2013-07-02  Andi Kleen <ak@linux.intel.com>
29348         * config.h.in (ENABLE_LOCK_ELISION): Add.
29349         * configure.in (--enable-lock-elision): Add option.
29350         * manual/install.texi: Document --enable lock elision.
29351         * configure: Regenerate
29352         * INSTALL: Regenerate.
29354 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29356         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29357         SSE4.2 strcasecmp for libc.a.
29358         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29360 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29362         [BZ #13304]
29363         * soft-fp/op-common.h (_FP_FMA): New macro.
29364         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29365         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29366         (_FP_MUL_MEAT_1_imm): ... here.
29367         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29368         (_FP_MUL_MEAT_1_wide): ... here.
29369         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29370         (_FP_MUL_MEAT_1_hard): ... here.
29371         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29372         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29373         (_FP_MUL_MEAT_2_wide): ... here.
29374         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29375         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29376         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29377         (_FP_MUL_MEAT_2_gmp): ... here.
29378         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29379         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29380         (_FP_MUL_MEAT_4_wide): ... here.
29381         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29382         (_FP_MUL_MEAT_4_gmp): ... here.
29383         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29384         (_FP_WFRACBITS_DW_S): Likewise.
29385         (_FP_WFRACXBITS_DW_S): Likewise.
29386         (_FP_HIGHBIT_DW_S): Likewise.
29387         (FP_FMA_S): Likewise.
29388         (_FP_FRAC_HIGH_DW_S): Likewise.
29389         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29390         (_FP_WFRACBITS_DW_D): Likewise.
29391         (_FP_WFRACXBITS_DW_D): Likewise.
29392         (_FP_HIGHBIT_DW_D): Likewise.
29393         (FP_FMA_D): Likewise.
29394         (_FP_FRAC_HIGH_DW_D): Likewise.
29395         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29396         (_FP_WFRACBITS_DW_E): Likewise.
29397         (_FP_WFRACXBITS_DW_E): Likewise.
29398         (_FP_HIGHBIT_DW_E): Likewise.
29399         (FP_FMA_E): Likewise.
29400         (_FP_FRAC_HIGH_DW_E): Likewise.
29401         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29402         (_FP_WFRACBITS_DW_Q): Likewise.
29403         (_FP_WFRACXBITS_DW_Q): Likewise.
29404         (_FP_HIGHBIT_DW_Q): Likewise.
29405         (FP_FMA_Q): Likewise.
29406         (_FP_FRAC_HIGH_DW_Q): Likewise.
29407         * soft-fp/fmasf4.c: New file.
29408         * soft-fp/fmadf4.c: Likewise.
29409         * soft-fp/fmatf4.c: Likewise.
29411 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29414         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29415         Silvermont.
29416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29417         macro.
29418         (index_Slow_SSE4_2): Likewise.
29419         (index_Prefer_PMINUB_for_stringop): Likewise.
29420         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29421         bit_Slow_SSE4_2 is set.
29422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29423         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29425 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29427         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29428         rtld_global._dl_hwcap2.
29429         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29430         POWER8.
29431         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29432         POWER8 feature descriptions defined in _dl_hwcap2.
29433         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29434         string handling for POWER8 feature bits.
29435         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29436         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29437         _dl_powerpc_cap_flags.
29438         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29439         * sysdeps/powerpc/rtld-global-offsets.sym
29440         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29441         _dl_hwcap2 in the rtld_global_ro structure.
29443 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29445         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29446         hardware capabilities in support of AT_HWCAP2.
29447         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29448         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29449         GLRO(dl_hwcap2).
29450         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29451         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29452         explicitly the unknown a_type display mechanism is used.
29453         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29454         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29455         struct member.
29456         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29457         to macro prototype for AT_HWCAP2 support.
29458         * sysdeps/i386/dl-procinfo.h: Likewise.
29459         * sysdeps/s390/dl-procinfo.h: Likewise.
29460         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29461         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29462         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29463         return -1 for unknown a_type display fallback.
29464         * sysdeps/sparc/dl-procinfo.h: Likewise.
29465         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29466         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29468 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29470         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29471         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29473 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29475         [BZ #12492]
29476         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29477         mprotect making __stack_prot writable.
29479 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29480             Joseph Myers  <joseph@codesourcery.com>
29482         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29483         as being properly aligned.
29485 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29487         * dlfcn/modstatic5.c: New file.
29488         * dlfcn/tststatic5.c: New file.
29489         * dlfcn/Makefile (tests): Add tststatic5.
29490         (tests-static): Likewise.
29491         (modules-names): Add modstatic5.
29492         (tststatic5-ENV): New variable.
29493         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29495         [BZ #15022]
29496         * elf/dl-support.c (_dl_main_map): New variable.
29497         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29498         (_dl_nns, _dl_load_adds): Set to 1.
29499         (_dl_initial_searchlist): Refer to _dl_main_map.
29500         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29501         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29502         call to _dl_get_origin.
29503         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29504         around call_map.
29505         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29506         * dlfcn/modstatic3.c: New file.
29507         * dlfcn/tststatic3.c: New file.
29508         * dlfcn/tststatic4.c: New file.
29509         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29510         (tests-static): Likewise.
29511         (modules-names): Add modstatic3.
29512         (tststatic3-ENV, tststatic4-ENV): New variables.
29513         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29514         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29516 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29518         * configure.in (CC): Require GCC version 4.4 or later.
29519         * configure: Regenerated.
29520         * manual/install.texi (Tools for Compilation): Update GCC version
29521         requirement.
29522         * INSTALL: Regenerated.
29524 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29526         [BZ #15674]
29527         * string/test-memcmp.c (check2): New.
29528         (main): Call check2.
29530         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29532 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29534         [BZ #15022]
29535         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29536         over to...
29537         (dl_open_worker) [!SHARED]: ... here.
29539 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29541         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29543 2013-06-25  Richard Henderson  <rth@redhat.com>
29545         * locale/programs/locarchive.c: Include <libc-internal.h>
29547 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29549         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29550         trailing whitespace removed.
29552 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29554         [BZ #10283]
29555         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29556         * locale/programs/locarchive.c: Include libc-mmap.h.
29557         (prepare_address_space): Take two new outputs (the mmap base and len).
29558         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29559         values.
29560         (create_archive): Declare new mmap base and len values for
29561         prepare_address_space, and store the result in ah.
29562         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29563         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29564         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29565         Declare new mmap base and len values for
29566         prepare_address_space, and store the result in new_ah.
29567         (open_archive): Declare new mmap base and len values for
29568         prepare_address_space, and store the result in ah.
29569         (close_archive): If ah->mmap_base is not NULL, use that and
29570         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29571         * sysdeps/generic/libc-mmap.h: New file.
29573 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29575         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29576         (ALIGN_UP): Likewise.
29577         (PTR_ALIGN_DOWN): Likewise.
29578         (PTR_ALIGN_UP): Likewise.
29580 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29583         entry mapped to PPC_PLATFORM_POWER8.
29584         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29585         POWER8.
29586         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29587         (_dl_string_platform): Add case for exporting platform position for
29588         POWER8.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29590         search path to sysdeps/powerpc/powerpc32/power8 directory.
29591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29592         search path to sysdeps/powerpc/powerpc64/power8 directory.
29593         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29594         power7 directories.
29595         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29596         power7 directories.
29598 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29600         * INSTALL: Regenerate.
29602         * nscd/connections.c (nscd_init): Fix comment.
29604 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29606         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29608         [BZ #15667]
29609         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29610         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29612 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29614         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29615         DL_DST_REQ_STATIC.
29616         (DL_DST_REQ_STATIC): Remove macro.
29618 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29620         [BZ #7006]
29621         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29622         with a shift of 0 bits.
29624 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29626         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29627         $(tststatic-ENV).
29629 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29631         [BZ #15655]
29632         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29634 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29637         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29638         accepts -fno-tree-loop-distribute-patterns.
29639         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29640         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29641         recursive call.
29642         * string/memset.c (memset): Likewise.
29643         * string/test-memmove.c (simple_memmove): Disable loop transformation
29644         to library calls.
29645         * string/test-memset.c (simple_memset): Likewise.
29646         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29647         * benchtests/bench-memset.c (simple_memset): Likewise.
29648         * configure: Regenerated.
29650 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29652         * math/test-misc.c (main): Ignore fesetround failure when failures
29653         of subsequent rounding tests would be ignored.
29655         [BZ #15654]
29656         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29657         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29658         * math/fegetenv.c (__fegetenv): Return 0.
29659         * math/fegetexcept.c (fegetexcept): Return 0.
29660         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29661         FE_TONEAREST.
29662         * math/feholdexcpt.c (feholdexcept): Return 0.
29663         * math/fesetenv.c (__fesetenv): Return 0.
29664         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29665         argument FE_TONEAREST.
29666         * math/feupdateenv.c (__feupdateenv): Return 0.
29667         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29669 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29671         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29672         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29673         ($(objpfx)rtld-%.os rules): Use them.
29675 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29677         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29678         fields.
29680 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29682         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29683         length of target pattern, then descending length of dependency pattern.
29684         * configure.in (AWK): Require gawk 3.1.2 or newer.
29685         * manual/install.texi (Tools for Compilation): Say that we do.
29686         * configure: Regenerated.
29688         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29689         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29690         * scripts/sysd-rules.awk: ... this new script.
29691         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29692         than a glob-style pattern.
29694 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29696         * math/test-misc.c (main): Do not treat incorrectly rounded
29697         conversions as failure unless ROUNDING_TESTS passes.
29699 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29701         [BZ #15631]
29702         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29703         restore exception state around main square root computation, then
29704         check for inexactness explicitly.
29706         * math/libm-test.inc (fma_test_data): Add another test.
29708 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29710         * manual/threads.texi (Non-POSIX Extensions): New document
29711         node.  Document pthread_getattr_default_np and
29712         pthread_setattr_default_np.
29714         * Versions.def (libpthread): Add GLIBC_2.18.
29715         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29717         Likewise.
29718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29719         Likewise.
29720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29721         Likewise.
29722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29723         Likewise.
29724         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29725         Likewise.
29726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29727         Likewise.
29728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29729         Likewise.
29730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29731         Likewise.
29732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29733         Likewise.
29735 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29738         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29740 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29741             H.J. Lu  <hjl.tools@gmail.com>
29743         [BZ #15627]
29744         * sysdeps/x86_64/rtld-memset.c: Remove file.
29745         * sysdeps/x86_64/rtld-memset.S: New file.
29747 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29749         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29750         (test_in_one_mode): Take arguments for whether the rounding mode
29751         is supported for each floating-point type.
29752         (do_test): Pass new arguments to test_in_one_mode using
29753         ROUNDING_TESTS.
29755 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29757         * posix/tst-waitid.c (do_test): Distinguish different instances of
29758         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29759         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29760         before entering the kernel for waitpid.
29762 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29764         * NEWS: Fix note on clock function precision.  Text by Roland
29765         McGrath.
29767 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29769         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29770         it into place only when and if the sanity check passes.
29772 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29774         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29775         output for whether conversion result is exact.  Take argument
29776         indicating whether type is IBM long double.
29777         (round_for_all): Change need_exact field to ibm_ld.
29778         * stdlib/tst-strtod-round.c (struct exactness): New type.
29779         (struct test): Change bool ld_ok field to struct exactness exact.
29780         (TEST): Update all definitions for change to field.
29781         (tests): Regenerate array contents.
29782         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29783         field value.  Check for IBM long double here.
29784         (do_test): Update calls to test_in_one_mode.
29786 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29788         [BZ #12515]
29789         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29790         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29792 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29794         [BZ #15605]
29795         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29796         generated by the compiler on loop optimizations.
29797         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29798         general definitions.
29800 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29802         * math/bug-nextafter.c: Include <math-tests.h>.
29803         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29804         the relevant type.
29805         * math/bug-nexttoward.c: Include <math-tests.h>.
29806         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29807         the relevant type.
29808         * math/test-misc.c: Include <math-tests.h>.
29809         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29810         the relevant type.
29812 2013-06-12  Andreas Jaeger  <aj@suse.de>
29814         * po/ia.po: Update Interlingua translation from translation
29815         project.
29817 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29819         * include/fenv.h: Include stdbool.h.
29820         (struct rm_ctx): New structure.
29821         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29822         Define macro.
29823         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29824         (SET_RESTORE_ROUNDF): Likewise.
29825         (SET_RESTORE_ROUNDL): Likewise.
29826         (SET_RESTORE_ROUND_NOEX): Likewise.
29827         (SET_RESTORE_ROUND_NOEXF): Likewise.
29828         (SET_RESTORE_ROUND_NOEXL): Likewise.
29829         (SET_RESTORE_ROUND_53BIT): Likewise.
29830         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29831         (libc_feresetround_noexf_ctx): Likewise.
29832         (libc_feresetround_noexl_ctx): Likewise.
29833         (libc_feholdsetround_53bit_ctx): Likewise.
29834         (libc_feresetround_53bit_ctx): Likewise.
29835         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29836         (libc_feholdexcept_setround_sse_ctx): New function.
29837         (libc_fesetenv_sse_ctx): Likewise.
29838         (libc_feupdateenv_sse_ctx): Likewise.
29839         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29840         (libc_feholdexcept_setround_387_ctx): Likewise.
29841         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29842         (libc_feholdsetround_387_prec_ctx): Likewise.
29843         (libc_feholdsetround_387_ctx): Likewise.
29844         (libc_feholdsetround_387_53bit_ctx): Likewise.
29845         (libc_feholdsetround_sse_ctx): Likewise.
29846         (libc_feresetround_sse_ctx): Likewise.
29847         (libc_feresetround_387_ctx): Likewise.
29848         (libc_feupdateenv_387_ctx): Likewise.
29849         (libc_feholdexcept_setroundf_ctx): Define macro.
29850         (libc_fesetenvf_ctx): Likewise.
29851         (libc_feupdateenvf_ctx): Likewise.
29852         (libc_feholdsetroundf_ctx): Likewise.
29853         (libc_feresetroundf_ctx): Likewise.
29854         (libc_feholdexcept_setround_ctx): Likewise.
29855         (libc_fesetenv_ctx): Likewise.
29856         (libc_feupdateenv_ctx): Likewise.
29857         (libc_feholdsetround_ctx): Likewise.
29858         (libc_feresetround_ctx): Likewise.
29859         (libc_feholdexcept_setroundl_ctx): Likewise.
29860         (libc_feupdateenvl_ctx): Likewise.
29861         (libc_feholdsetroundl_ctx): Likewise.
29862         (libc_feresetroundl_ctx): Likewise.
29863         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29864         (libc_feresetround_53bit_ctx): Likewise.
29866 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29868         * locale/iso-639.def: Convert to UTF-8.
29870 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29872         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29873         (EXCEPTION_TESTS_double): Likewise.
29874         (EXCEPTION_TESTS_long_double): Likewise.
29875         (EXCEPTION_TESTS): Likewise.
29876         * math/libm-test.inc (test_exceptions): Only test exceptions if
29877         EXCEPTION_TESTS (FLOAT).
29879 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29881         * benchtests/Makefile (string-bench): Add strcpy_chk and
29882         stpcpy_chk.
29883         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29884         * benchtests/bench-stpcpy_chk.c: New file.
29885         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29886         * benchtests/bench-strcpy_chk.c: New file.
29887         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29888         code.
29889         (do_test): Likewise.
29891 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29893         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29894         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29895         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29896         with tabs where appropriate.
29897         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29898         dl-procinfo.h.
29899         [PPC_PLATFORM_PPC440]: Likewise.
29900         [PPC_PLATFORM_PPC464]: Likewise.
29901         [PPC_PLATFORM_PPC476]: Likewise.
29902         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29903         ppc464, and ppc476 platform strings merging from ports/
29904         dl-procinfo.h.
29906 2013-06-11  Andreas Schwab  <schwab@suse.de>
29908         [BZ #14991]
29909         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29910         (from_ucs4_idx): Regenerate.
29911         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29912         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29913         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29914         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29915         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29916         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29917         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29918         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29919         from FROM_LOOP and TO_LOOP specific macros.
29920         (BODY): Handle combining characters.
29921         * iconvdata/BIG5HKSCS.irreversible: Update.
29922         * iconvdata/BIG5HKSCS.precomposed: New file.
29923         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29924         characters.
29925         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29927 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29929         * include/sys/time.h: Fix indentation and add copyright header.
29931         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29932         (do_test): Likewise.
29933         * string/test-memchr.c (do_one_test): Likewise.
29934         (do_test): Likewise.
29935         * string/test-memcmp.c (do_one_test): Likewise.
29936         (do_test): Likewise.
29937         * string/test-memcpy.c (do_one_test): Likewise.
29938         (do_test): Likewise.
29939         * string/test-memmem.c (do_one_test): Likewise.
29940         (do_test): Likewise.
29941         (do_random_tests): Likewise.
29942         * string/test-memmove.c (do_one_test): Likewise.
29943         (do_test): Likewise.
29944         * string/test-memset.c (do_one_test): Likewise.
29945         (do_test): Likewise.
29946         * string/test-rawmemchr.c (do_one_test): Likewise.
29947         (do_test): Likewise.
29948         * string/test-strcasecmp.c (do_one_test): Likewise.
29949         (do_test): Likewise.
29950         * string/test-strcasestr.c (do_one_test): Likewise.
29951         (do_test): Likewise.
29952         * string/test-strcat.c (do_one_test): Likewise.
29953         (do_test): Likewise.
29954         * string/test-strchr.c (do_one_test): Likewise.
29955         (do_test): Likewise.
29956         * string/test-strcmp.c (do_one_test): Likewise.
29957         (do_test): Likewise.
29958         * string/test-strcpy.c (do_one_test): Likewise.
29959         (do_test): Likewise.
29960         * string/test-string.h: Likewise.
29961         (test_init): Likewise.
29962         * string/test-strlen.c (do_one_test): Likewise.
29963         (do_test): Likewise.
29964         * string/test-strncasecmp.c (do_one_test): Likewise.
29965         (do_test): Likewise.
29966         * string/test-strncat.c (do_one_test): Likewise.
29967         (do_test): Likewise.
29968         * string/test-strncmp.c (do_one_test): Likewise.
29969         (do_test_limit): Likewise.
29970         (do_test): Likewise.
29971         * string/test-strncpy.c (do_one_test): Likewise.
29972         (do_test): Likewise.
29973         * string/test-strnlen.c (do_one_test): Likewise.
29974         (do_test): Likewise.
29975         * string/test-strpbrk.c (do_one_test): Likewise.
29976         (do_test): Likewise.
29977         * string/test-strrchr.c (do_one_test): Likewise.
29978         (do_test): Likewise.
29979         * string/test-strspn.c (do_one_test): Likewise.
29980         (do_test): Likewise.
29981         * string/test-strstr.c (do_one_test): Likewise.
29982         (do_test): Likewise.
29984         * benchtests/Makefile (string-bench): Add string benchmarks.
29985         * benchtests/bench-bcopy-ifunc.c: New file.
29986         * benchtests/bench-bcopy.c: New file.
29987         * benchtests/bench-bzero-ifunc.c: New file.
29988         * benchtests/bench-bzero.c: New file.
29989         * benchtests/bench-memccpy-ifunc.c: New file.
29990         * benchtests/bench-memccpy.c: New file.
29991         * benchtests/bench-memchr-ifunc.c: New file.
29992         * benchtests/bench-memchr.c: New file.
29993         * benchtests/bench-memcmp-ifunc.c: New file.
29994         * benchtests/bench-memcmp.c: New file.
29995         * benchtests/bench-memmem-ifunc.c: New file.
29996         * benchtests/bench-memmem.c: New file.
29997         * benchtests/bench-memmove-ifunc.c: New file.
29998         * benchtests/bench-memmove.c: New file.
29999         * benchtests/bench-mempcpy-ifunc.c: New file.
30000         * benchtests/bench-mempcpy.c: New file.
30001         * benchtests/bench-memset-ifunc.c: New file.
30002         * benchtests/bench-memset.c: New file.
30003         * benchtests/bench-rawmemchr-ifunc.c: New file.
30004         * benchtests/bench-rawmemchr.c: New file.
30005         * benchtests/bench-stpcpy-ifunc.c: New file.
30006         * benchtests/bench-stpcpy.c: New file.
30007         * benchtests/bench-stpncpy-ifunc.c: New file.
30008         * benchtests/bench-stpncpy.c: New file.
30009         * benchtests/bench-strcasecmp-ifunc.c: New file.
30010         * benchtests/bench-strcasecmp.c: New file.
30011         * benchtests/bench-strcasestr-ifunc.c: New file.
30012         * benchtests/bench-strcasestr.c: New file.
30013         * benchtests/bench-strcat-ifunc.c: New file.
30014         * benchtests/bench-strcat.c: New file.
30015         * benchtests/bench-strchr-ifunc.c: New file.
30016         * benchtests/bench-strchr.c: New file.
30017         * benchtests/bench-strchrnul-ifunc.c: New file.
30018         * benchtests/bench-strchrnul.c: New file.
30019         * benchtests/bench-strcmp-ifunc.c: New file.
30020         * benchtests/bench-strcmp.c: New file.
30021         * benchtests/bench-strcpy-ifunc.c: New file.
30022         * benchtests/bench-strcpy.c: New file.
30023         * benchtests/bench-strcspn-ifunc.c: New file.
30024         * benchtests/bench-strcspn.c: New file.
30025         * benchtests/bench-strlen-ifunc.c: New file.
30026         * benchtests/bench-strlen.c: New file.
30027         * benchtests/bench-strncasecmp-ifunc.c: New file.
30028         * benchtests/bench-strncasecmp.c: New file.
30029         * benchtests/bench-strncat-ifunc.c: New file.
30030         * benchtests/bench-strncat.c: New file.
30031         * benchtests/bench-strncmp-ifunc.c: New file.
30032         * benchtests/bench-strncmp.c: New file.
30033         * benchtests/bench-strncpy-ifunc.c: New file.
30034         * benchtests/bench-strncpy.c: New file.
30035         * benchtests/bench-strnlen-ifunc.c: New file.
30036         * benchtests/bench-strnlen.c: New file.
30037         * benchtests/bench-strpbrk-ifunc.c: New file.
30038         * benchtests/bench-strpbrk.c: New file.
30039         * benchtests/bench-strrchr-ifunc.c: New file.
30040         * benchtests/bench-strrchr.c: New file.
30041         * benchtests/bench-strspn-ifunc.c: New file.
30042         * benchtests/bench-strspn.c: New file.
30043         * benchtests/bench-strstr-ifunc.c: New file.
30044         * benchtests/bench-strstr.c: New file.
30046         * benchtests/Makefile: Disable parallel execution of targets.
30047         (string-bench): Add memcpy.
30048         (benchset): New variable to store a list of benchmark sets.
30049         (bench-func): Renamed from bench.
30050         (bench-set): New target.
30051         (bench): Depend on bench-func and bench-set.
30052         * benchtests/README: Add section on benchmark sets.
30053         * benchtests/bench-memcpy-ifunc.c: New file.
30054         * benchtests/bench-memcpy.c: New file.
30055         * benchtests/bench-string.h: New file.
30057 2013-06-11  Andreas Schwab  <schwab@suse.de>
30059         [BZ #15577]
30060         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30061         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30062         values in the triple.
30063         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30064         terminator in the group key.
30066 2013-06-11  Andreas Jaeger  <aj@suse.de>
30068         * po/zh_TW.po: Update Chinese (traditional) translation from
30069         translation project.
30071 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30073         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30074         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30075         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30076         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30077         (clock_getcpuclockid): Likewise.
30078         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30079         Add weak_alias and libc_hidden_def.
30080         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30081         * rt/clock_gettime.c (clock_gettime): Rename to
30082         __clock_gettime.  Add weak_alias and libc_hidden_def.
30083         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30084         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30085         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30086         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30087         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30088         Likewise.
30089         * rt/clock_settime.c (clock_settime): Rename to
30090         __clock_settime.  Add weak_alias and libc_hidden_def.
30091         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30093 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30095         * mach/err_boot.sub: Remove trailing whitespace.
30096         * mach/err_ipc.sub: Likewise.
30097         * mach/err_mach.sub: Likewise.
30099         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30100         (ROUNDING_TESTS_double): Likewise.
30101         (ROUNDING_TESTS_long_double): Likewise.
30102         (ROUNDING_TESTS): Likewise.
30103         * math/libm-test.inc: Include <math-tests.h>.
30104         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30105         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30106         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30107         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30109 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30111         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30112         of assigning.
30114 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30116         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30117         otherwise empty TRANS lines.
30118         * sysdeps/gnu/errlist.c: Regenerated.
30120         * catgets/gencat.c (error_print): Use (void) in function
30121         definition.
30122         * crypt/crypt_util.c (__init_des): Likewise.
30123         * crypt/speeds.c (Stop): Likewise.
30124         (main): Likewise.
30125         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30126         * inet/ruserpass.c (token): Likewise.
30127         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30128         * intl/localealias.c (extend_alias_table): Likewise.
30129         * intl/plural-exp.c (init_germanic_plural): Likewise.
30130         * libio/fcloseall.c (__fcloseall): Likewise.
30131         * libio/genops.c (_IO_flush_all): Likewise.
30132         (_IO_flush_all_linebuffered): Likewise.
30133         (_IO_cleanup): Likewise.
30134         (_IO_iter_begin): Likewise.
30135         (_IO_iter_end): Likewise.
30136         (_IO_list_lock): Likewise.
30137         (_IO_list_unlock): Likewise.
30138         (_IO_list_resetlock): Likewise.
30139         * libio/getchar.c (getchar): Likewise.
30140         * libio/getchar_u.c (getchar_unlocked): Likewise.
30141         * libio/getwchar.c (getwchar): Likewise.
30142         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30143         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30144         * login/getpt.c (__getpt): Likewise.
30145         * login/tst-utmp.c (main): Likewise.
30146         * malloc/hooks.c (__malloc_check_init): Likewise.
30147         * malloc/malloc.c (__malloc_stats): Likewise.
30148         * malloc/mtrace.c (tr_break): Likewise.
30149         (mtrace): Likewise.
30150         (muntrace): Likewise.
30151         * misc/fstab.c (endfsent): Likewise.
30152         * misc/getclktck.c (__getclktck): Likewise.
30153         * misc/getdtsz.c (__getdtablesize): Likewise.
30154         * misc/gethostid.c (gethostid): Likewise.
30155         * misc/getpagesize.c (__getpagesize): Likewise.
30156         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30157         (__get_nprocs): Likewise.
30158         (__get_phys_pages): Likewise.
30159         (__get_avphys_pages): Likewise.
30160         * misc/getttyent.c (getttyent): Likewise.
30161         (setttyent): Likewise.
30162         (endttyent): Likewise.
30163         * misc/getusershell.c (getusershell): Likewise.
30164         (endusershell): Likewise.
30165         (setusershell): Likewise.
30166         (initshells): Likewise.
30167         * misc/hsearch.c (__hdestroy): Likewise.
30168         * misc/sync.c (sync): Likewise.
30169         * misc/syslog.c (closelog_internal): Likewise.
30170         (closelog): Likewise.
30171         * misc/ttyslot.c (ttyslot): Likewise.
30172         * misc/vhangup.c (vhangup): Likewise.
30173         * posix/fork.c (__fork): Likewise.
30174         * posix/getegid.c (__getegid): Likewise.
30175         * posix/geteuid.c (__geteuid): Likewise.
30176         * posix/getgid.c (__getgid): Likewise.
30177         * posix/getpid.c (__getpid): Likewise.
30178         * posix/getppid.c (__getppid): Likewise.
30179         * posix/getuid.c (__getuid): Likewise.
30180         * posix/pause.c (pause): Likewise.
30181         * posix/setpgrp.c (setpgrp): Likewise.
30182         * posix/setsid.c (__setsid): Likewise.
30183         * posix/test-vfork.c (noop): Likewise.
30184         * resolv/gethnamaddr.c (_endhtent): Likewise.
30185         (_gethtent): Likewise.
30186         (ht_endhostent): Likewise.
30187         (gethostent): Likewise.
30188         (dns_service): Likewise.
30189         * stdlib/drand48.c (drand48): Likewise.
30190         * stdlib/lrand48.c (lrand48): Likewise.
30191         * stdlib/mrand48.c (mrand48): Likewise.
30192         * stdlib/rand.c (rand): Likewise.
30193         * stdlib/random.c (__random): Likewise.
30194         * stdlib/setenv.c (clearenv): Likewise.
30195         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30196         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30197         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30198         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30199         (__get_nprocs): Likewise.
30200         (__get_phys_pages): Likewise.
30201         (__get_avphys_pages): Likewise.
30202         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30203         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30204         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30205         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30206         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30207         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30208         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30209         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30210         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30211         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30212         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30213         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30214         * sysdeps/posix/clock.c (clock): Likewise.
30215         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30216         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30217         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30218         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30219         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30220         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30221         (__get_nprocs_conf): Likewise.
30222         (__get_phys_pages): Likewise.
30223         (__get_avphys_pages): Likewise.
30224         * time/clock.c (clock): Likewise.
30225         * time/tzset.c (__tzname_max): Likewise.
30227 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30229         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30230         (__bswap_32): Do not use "register".
30231         * crypt/crypt.c (_ufc_doit_r): Likewise.
30232         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30233         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30234         * gmon/gmon.c (__monstartup): Likewise.
30235         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30236         * hurd/hurdmalloc.c (more_memory): Likewise.
30237         (malloc): Likewise.
30238         (free): Likewise.
30239         (realloc): Likewise.
30240         (malloc_fork_prepare): Likewise.
30241         (malloc_fork_parent): Likewise.
30242         (malloc_fork_child): Likewise.
30243         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30244         (_svcauth_des): Likewise.
30245         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30246         * inet/inet_net.c (inet_network): Likewise.
30247         * inet/inet_netof.c (inet_netof): Likewise.
30248         * inet/rcmd.c (__validuser2_sa): Likewise.
30249         * io/fts.c (fts_open): Likewise.
30250         (fts_load): Likewise.
30251         (fts_close): Likewise.
30252         (fts_read): Likewise.
30253         (fts_children): Likewise.
30254         (fts_build): Likewise.
30255         (fts_stat): Likewise.
30256         (fts_sort): Likewise.
30257         (fts_alloc): Likewise.
30258         (fts_lfree): Likewise.
30259         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30260         (_IO_file_xsgetn): Likewise.
30261         (_IO_file_xsgetn_mmap): Likewise.
30262         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30263         (_IO_cookie_write): Likewise.
30264         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30265         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30266         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30267         * malloc/obstack.c (_obstack_begin): Likewise.
30268         (_obstack_begin_1): Likewise.
30269         (_obstack_newchunk): Likewise.
30270         (_obstack_allocated_p): Likewise.
30271         (obstack_free): Likewise.
30272         (_obstack_memory_used): Likewise.
30273         * misc/getttyent.c (getttynam): Likewise.
30274         (getttyent): Likewise.
30275         (skip): Likewise.
30276         (value): Likewise.
30277         * misc/getusershell.c (initshells): Likewise.
30278         * misc/syslog.c (__vsyslog_chk): Likewise.
30279         * misc/ttyslot.c (ttyslot): Likewise.
30280         * nis/nis_hash.c (__nis_hash): Likewise.
30281         * posix/fnmatch_loop.c (FCT): Likewise.
30282         * posix/getconf.c (print_all): Likewise.
30283         (main): Likewise.
30284         * posix/getopt.c (exchange): Likewise.
30285         * posix/glob.c (globfree): Likewise.
30286         (prefix_array): Likewise.
30287         (__glob_pattern_type): Likewise.
30288         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30289         (NS_GET32): Likewise.
30290         (NS_PUT16): Likewise.
30291         (NS_PUT32): Likewise.
30292         * resolv/gethnamaddr.c (getanswer): Likewise.
30293         (gethostbyname2): Likewise.
30294         (gethostbyaddr): Likewise.
30295         (_gethtent): Likewise.
30296         (_gethtbyname2): Likewise.
30297         (_gethtbyaddr): Likewise.
30298         * resolv/ns_print.c (dst_s_get_int16): Likewise.
30299         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30300         * resolv/res_init.c (__res_vinit): Likewise.
30301         (net_mask): Likewise.
30302         * resolv/res_mkquery.c (outchar): Likewise.
30303         (PRINT): Likewise.
30304         * stdio-common/printf_fp.c (outchar): Likewise.
30305         (PRINT): Likewise.
30306         * stdio-common/printf_fphex.c (outchar): Likewise.
30307         (PRINT): Likewise.
30308         * stdio-common/printf_size.c (outchar): Likewise.
30309         (PRINT): Likewise.
30310         * stdio-common/test_rdwr.c (main): Likewise.
30311         * stdio-common/tfformat.c (matches): Likewise.
30312         * stdio-common/vfprintf.c (outchar): Likewise.
30313         (printf_unknown): Likewise.
30314         (buffered_vfprintf): Likewise.
30315         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30316         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30317         (ReadFile): Likewise.
30318         * stdlib/qsort.c (SWAP): Likewise.
30319         (_quicksort): Likewise.
30320         * stdlib/setenv.c (__add_to_environ): Likewise.
30321         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30322         * stdlib/strtol_l.c (__strtol_l): Likewise.
30323         * stdlib/tst-strtod.c (main): Likewise.
30324         * stdlib/tst-strtol.c (main): Likewise.
30325         * stdlib/tst-strtoll.c (main): Likewise.
30326         * string/bits/string2.h (__strcmp_cc): Likewise.
30327         (__strcmp_cg): Likewise.
30328         (__strcspn_c1): Likewise.
30329         (__strcspn_c2): Likewise.
30330         (__strcspn_c3): Likewise.
30331         (__strspn_c1): Likewise.
30332         (__strspn_c2): Likewise.
30333         (__strspn_c3): Likewise.
30334         (__strsep_1c): Likewise.
30335         (__strsep_2c): Likewise.
30336         (__strsep_3c): Likewise.
30337         * string/memccpy.c (__memccpy): Likewise.
30338         * string/stpcpy.c (__stpcpy): Likewise.
30339         * string/strcmp.c (strcmp): Likewise.
30340         * string/strrchr.c (strrchr): Likewise.
30341         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30342         Likewise.
30343         * sysdeps/mach/hurd/getcwd.c
30344         (_hurd_canonicalize_directory_name_internal): Likewise.
30345         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30346         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30347         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30348         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30349         Likewise, in both definitions.
30350         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30351         definitions.
30352         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30353         64] (__bswap_64): Likewise.
30354         * time/test_time.c (main): Likewise.
30355         * time/tzfile.c (__tzfile_read): Likewise.
30356         (__tzfile_compute): Likewise.
30357         * time/tzset.c (__tzset_parse_tz): Likewise.
30358         (tzset_internal): Likewise.
30359         (compute_change): Likewise.
30360         * wcsmbs/wcscat.c (__wcscat): Likewise.
30361         * wcsmbs/wcschr.c (wcschr): Likewise.
30362         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30363         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30364         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30365         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30366         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30367         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30368         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30370         * wcsmbs/wmemset.c (wmemset): Likewise.
30372 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30374         * scripts/config.guess: Update to version 2013-05-16.
30375         * scripts/config.sub: Update to version 2013-04-24.
30376         * scripts/install-sh: Update to version 2011-11-20.07.
30377         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30378         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30380 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30382         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30383         * elf/sln.c: Likewise.
30384         * hurd/hurd/ioctl.h: Likewise.
30385         * hurd/hurdmalloc.c: Likewise.
30386         * hurd/xattr.c: Likewise.
30387         * include/shlib-compat.h: Likewise.
30388         * inet/ruserpass.c: Likewise.
30389         * libio/iofgets_u.c: Likewise.
30390         * libio/iofgetws_u.c: Likewise.
30391         * locale/programs/ld-identification.c: Likewise.
30392         * locale/programs/ld-time.c: Likewise.
30393         * mach/msg-destroy.c: Likewise.
30394         * nss/nss_files/files-netgrp.c: Likewise.
30395         * resolv/res_data.c: Likewise.
30396         * soft-fp/op-1.h: Likewise.
30397         * soft-fp/op-2.h: Likewise.
30398         * soft-fp/op-4.h: Likewise.
30399         * soft-fp/op-common.h: Likewise.
30400         * stdio-common/printf_fphex.c: Likewise.
30401         * stdlib/strtod_l.c: Likewise.
30402         * sunrpc/rpc/clnt.h: Likewise.
30403         * sysdeps/generic/framestate.c: Likewise.
30404         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30405         * sysdeps/i386/bsd-setjmp.S: Likewise.
30406         * sysdeps/i386/__longjmp.S: Likewise.
30407         * sysdeps/i386/setjmp.S: Likewise.
30408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30409         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30411         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30413         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30414         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30415         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30417         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30418         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30419         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30420         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30421         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30422         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30424         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30425         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30426         * sysdeps/ieee754/support.c: Likewise.
30427         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30428         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30429         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30430         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30431         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30432         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30433         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30434         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30435         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30436         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30437         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30438         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30439         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30440         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30441         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30442         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30443         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30446 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30448         * posix/transbug.c: Remove executable mode.
30450 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30452         * crypt/speeds.c: Remove trailing whitespace.
30453         * dlfcn/default.c: Likewise.
30454         * elf/ifuncdep2.c: Likewise.
30455         * elf/ifuncmain1.c: Likewise.
30456         * elf/ifuncmain1vis.c: Likewise.
30457         * elf/testobj.h: Likewise.
30458         * elf/tst-stackguard1.c: Likewise.
30459         * gmon/sys/gmon.h: Likewise.
30460         * hurd/hurdmsg.c: Likewise.
30461         * hurd/new-fd.c: Likewise.
30462         * hurd/ports-get.c: Likewise.
30463         * iconvdata/ibm1008_420.c: Likewise.
30464         * inet/tst-getni1.c: Likewise.
30465         * inet/tst-getni2.c: Likewise.
30466         * libio/ioungetc.c: Likewise.
30467         * libio/wfiledoalloc.c: Likewise.
30468         * manual/libm-err-tab.pl: Likewise.
30469         * math/w_dremf.c: Likewise.
30470         * misc/ftruncate.c: Likewise.
30471         * posix/bug-glob2.c: Likewise.
30472         * posix/tst-pcre.c: Likewise.
30473         * posix/wait4.c: Likewise.
30474         * resolv/README: Likewise.
30475         * resolv/res_debug.h: Likewise.
30476         * resolv/tst-inet_ntop.c: Likewise.
30477         * setjmp/bug269-setjmp.c: Likewise.
30478         * soft-fp/extended.h: Likewise.
30479         * soft-fp/op-1.h: Likewise.
30480         * soft-fp/op-2.h: Likewise.
30481         * soft-fp/op-4.h: Likewise.
30482         * soft-fp/op-8.h: Likewise.
30483         * soft-fp/testit.c: Likewise.
30484         * stdio-common/bug16.c: Likewise.
30485         * stdlib/random.c: Likewise.
30486         * sunrpc/rpcsvc/rquota.x: Likewise.
30487         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30488         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30489         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30490         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30491         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30492         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30493         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30494         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30496         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30498         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30499         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30500         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30501         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30502         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30503         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30504         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30505         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30506         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30507         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30508         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30509         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30510         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30513         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30516         * sysdeps/ieee754/s_lib_version.c: Likewise.
30517         * sysdeps/mach/hurd/check_fds.c: Likewise.
30518         * sysdeps/mach/hurd/getsockname.c: Likewise.
30519         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30520         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30521         * sysdeps/powerpc/bits/link.h: Likewise.
30522         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30523         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30524         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30525         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30526         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30527         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30528         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30529         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30530         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30531         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30532         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30533         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30534         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30536         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30537         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30539         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30541         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30542         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30543         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30544         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30545         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30546         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30547         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30548         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30549         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30550         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30551         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30552         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30553         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30555         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30556         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30557         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30558         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30560         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30561         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30562         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30563         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30564         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30565         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30566         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30567         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30568         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30569         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30570         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30571         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30575         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30576         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30577         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30578         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30580         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30581         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30582         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30583         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30584         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30585         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30586         * sysdeps/powerpc/sysdep.h: Likewise.
30587         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30588         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30589         * sysdeps/sh/dl-trampoline.S: Likewise.
30590         * sysdeps/sh/memset.S: Likewise.
30591         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30592         * sysdeps/sh/strlen.S: Likewise.
30593         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30594         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30595         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30596         * sysdeps/sparc/sparc32/rem.S: Likewise.
30597         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30598         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30599         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30600         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30601         * sysdeps/sparc/sparc32/urem.S: Likewise.
30602         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30603         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30604         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30605         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30606         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30607         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30608         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30609         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30610         * sysdeps/unix/bsd/times.c: Likewise.
30611         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30612         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30616         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30617         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30618         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30619         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30621         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30622         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30623         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30624         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30625         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30626         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30627         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30628         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30629         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30630         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30631         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30632         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30633         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30634         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30635         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30636         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30637         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30638         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30639         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30640         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30641         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30642         * sysdeps/x86_64/strcspn.S: Likewise.
30644 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30646         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30647         generated file.  Regenerate properly from gen-translit.pl.
30648         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30649         locale/C-translit.h.
30651 2013-06-05  Andreas Schwab  <schwab@suse.de>
30653         [BZ #15100]
30654         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30655         week as 6 instead of -1.
30656         * time/tst-strptime.c (day_tests): Add test case.
30658 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660         * sysdeps/generic/math_private.h
30661         (libc_feholdexcept_setround_53bit): Replace with
30662         libc_feholdsetround_53bit.
30663         (libc_feupdateenv_53bit): Replace with
30664         libc_feresetround_53bit.
30665         (SET_RESTORE_ROUND_53BIT): Adjust.
30667 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30669         * string/test-strchrnul.c: Add copyright header.
30671         * posix/tst-getaddrinfo4.c: Increase test timeout.
30673 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30675         [BZ #15536]
30676         * math/libm-test.inc (MAX_EXP): Remove
30677         (MIN_EXP): Define.
30678         (ulp): Use MIN_EXP - MANT_DIG.
30679         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30681 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30683         * po/be.po: Revert last change.
30684         * po/zh_CN.po: Likewise.
30685         * po/header.pot: Likewise.
30687 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30689         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30690         link-libc-deps to empty as target-specific variable.
30691         * Makerules (link-libc-args): New variable.
30692         (libc-for-link): Likewise.
30693         (link-libc-deps): Likewise.
30694         (lib%.so): Depend on $(link-libc-deps).  Link with
30695         $(link-libc-args).
30696         (build-module): Link with $(link-libc-args).
30697         (build-module-asneeded): Likewise.
30698         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30699         list of objects.
30700         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30701         target-specific variable.
30702         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30703         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30704         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30705         libc.
30706         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30707         libc and ld.so.
30708         ($(objpfx)libpcprofile.so): Likewise.
30709         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30710         libc_nonshared.a.
30711         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30712         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30713         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30714         $(link-libc-deps).
30715         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30716         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30717         * login/Makefile ($(objpfx)libutil.so): Likewise.
30718         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30719         * math/Makefile ($(objpfx)libm.so): Likewise.
30720         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30721         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30722         variable instead of depending directly on libc.
30723         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30724         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30725         $(link-libc-deps).
30726         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30727         libc.
30728         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30729         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30730         ($(objpfx)libanl.so): Likewise.
30731         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30732         ld.so.
30733         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30734         $(link-libc-deps).
30735         * sysdeps/i386/fpu/Makefile: Remove file.
30736         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30737         ($(objpfx)libm.so): Remove dependency on ld.so.
30739 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30741         [BZ # 15553]
30742         * nis/yp_xdr.c (XDRMAXNAME): Define.
30743         (XDRMAXRECORD): Define.
30744         (xdr_domainname): Use XDRMAXNAME.
30745         (xdr_mapname): Likewise.
30746         (xdr_peername): Likewise.
30747         (xdr_keydat): Use XDRMAXRECORD.
30748         (xdr_valdat): Likewise.
30750 2013-05-30  Jeff Law  <law@redhat.com>
30752         [BZ #14256]
30753         * manual/errno.texi (ESTALE): Update to account for more than
30754         just NFS file systems.
30755         * sysdeps/gnu/errlist.c: Regenerated.
30757 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30759         [BZ #15465]
30760         * elf/Makefile (tests): Add tst-null-argv.
30761         (modules-names):  Add tst-null-argv-lib.
30762         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30763         (tst-null-argv-ENV): Set environment for tst-null-argv.
30764         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30765         (RTLD_PROGNAME): New macro.
30766         * elf/tst-null-argv.c: New test case.
30767         * elf/tst-null-argv-lib.c: Library for test case.
30768         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30769         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30770         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30771         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30772         * elf/dl-init.c (call_init): Likewise.
30773         (_dl_init): Likewise.
30774         * elf/dl-load.c (print_search_path): Likewise.
30775         (_dl_map_object): Likewise.
30776         * elf/dl-lookup.c (do_lookup_x): Likewise.
30777         (add_dependency): Likewise.
30778         (_dl_lookup_symbol_x): Likewise.
30779         (_dl_debug_bindings): Likewise.
30780         * elf/dl-open.c (_dl_show_scope): Likewise.
30781         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30782         * elf/dl-version.c (match_symbol): Likewise.
30783         (_dl_check_map_versions): Likewise.
30784         * elf/rtld.c (dl_main): Likewise.
30785         (print_unresolved): Use RTLD_PROGNAME.
30786         (print_missing_version): Likewise.
30787         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30788         (elf_machine_rela): Likewise.
30789         * sysdeps/powerpc/powerpc32/dl-machine.c
30790         (__process_machine_rela): Likewise.
30791         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30792         Likewise.
30793         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30794         Likewise.
30795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30796         Likewise.
30797         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30799         Likewise.
30800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30801         Likewise.
30802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30804 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30806         * po/be.po: Add descriptive title.
30807         * po/zh_CN.po: Likewise.
30808         * po/header.pot: Likewise.
30810 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30812         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30813         error message.
30814         (enlarge_archive): Likewise.
30816 2013-05-28  Ben North  <ben@redfrontdoor.org>
30818         * manual/arith.texi (frexp): It is the magnitude of the return
30819         value which lies in [0.5, 1), not the return value itself.
30821 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30825 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30827         * stdio-common/bug26.c (main): Correct fscanf template.
30829         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30830         declare _dl_skip_args.
30832         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30833         Don't declare.
30835         * manual/platform.texi: Add missing @end deftypefun.
30837 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30839         [BZ #15529]
30840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30841         bit of mantissa of 2^16382.
30842         * math/libm-test.inc (hypot_test_data): Add more tests.
30844         * math/libm-test.inc: Add drem and pow10 to list of tested
30845         functions.
30846         (pow10_test): New function.
30847         (drem_test): Likewise.
30848         (drem_test_tonearest): Likewise.
30849         (drem_test_towardzero): Likewise.
30850         (drem_test_downward): Likewise.
30851         (drem_test_upward): Likewise.
30852         (main): Call the new functions.
30854         * math/libm-test.inc (finite_test_data): Remove.
30855         (finite_test): Run tests from isfinite_test_data.
30856         (gamma_test_data): Remove.
30857         (gamma_test): Run tests from lgamma_test_data.
30858         * sysdeps/i386/fpu/libm-test-ulps: Update.
30859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30861 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30863         * manual/platform.texi: Add PowerPC PPR function set documentation.
30864         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30865         implementation.
30867 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30869         * math/libm-test.inc (MAX_EXP): Define.
30870         (ULPDIFF): Define.
30871         (ulp): New function.
30872         (check_float_internal): Use ULPDIFF.
30873         (cpow_test): Disable failing test.
30874         (check_ulp): Test ulp() implemetnation.
30875         (main): Call check_ulp before starting tests.
30877 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30879         * math/gen-libm-test.pl (generate_testfile): Do not handle
30880         START_DATA and END_DATA.
30881         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30882         END_DATA.
30883         (acos_tonearest_test_data): Likewise.
30884         (acos_towardzero_test_data): Likewise.
30885         (acos_downward_test_data): Likewise.
30886         (acos_upward_test_data): Likewise.
30887         (acosh_test_data): Likewise.
30888         (asin_test_data): Likewise.
30889         (asin_tonearest_test_data): Likewise.
30890         (asin_towardzero_test_data): Likewise.
30891         (asin_downward_test_data): Likewise.
30892         (asin_upward_test_data): Likewise.
30893         (asinh_test_data): Likewise.
30894         (atan_test_data): Likewise.
30895         (atanh_test_data): Likewise.
30896         (atan2_test_data): Likewise.
30897         (cabs_test_data): Likewise.
30898         (cacos_test_data): Likewise.
30899         (cacosh_test_data): Likewise.
30900         (carg_test_data): Likewise.
30901         (casin_test_data): Likewise.
30902         (casinh_test_data): Likewise.
30903         (catan_test_data): Likewise.
30904         (catanh_test_data): Likewise.
30905         (cbrt_test_data): Likewise.
30906         (ccos_test_data): Likewise.
30907         (ccosh_test_data): Likewise.
30908         (ceil_test_data): Likewise.
30909         (cexp_test_data): Likewise.
30910         (cimag_test_data): Likewise.
30911         (clog_test_data): Likewise.
30912         (clog10_test_data): Likewise.
30913         (conj_test_data): Likewise.
30914         (copysign_test_data): Likewise.
30915         (cos_test_data): Likewise.
30916         (cos_tonearest_test_data): Likewise.
30917         (cos_towardzero_test_data): Likewise.
30918         (cos_downward_test_data): Likewise.
30919         (cos_upward_test_data): Likewise.
30920         (cosh_test_data): Likewise.
30921         (cosh_tonearest_test_data): Likewise.
30922         (cosh_towardzero_test_data): Likewise.
30923         (cosh_downward_test_data): Likewise.
30924         (cosh_upward_test_data): Likewise.
30925         (cpow_test_data): Likewise.
30926         (cproj_test_data): Likewise.
30927         (creal_test_data): Likewise.
30928         (csin_test_data): Likewise.
30929         (csinh_test_data): Likewise.
30930         (csqrt_test_data): Likewise.
30931         (ctan_test_data): Likewise.
30932         (ctan_tonearest_test_data): Likewise.
30933         (ctan_towardzero_test_data): Likewise.
30934         (ctan_downward_test_data): Likewise.
30935         (ctan_upward_test_data): Likewise.
30936         (ctanh_test_data): Likewise.
30937         (ctanh_tonearest_test_data): Likewise.
30938         (ctanh_towardzero_test_data): Likewise.
30939         (ctanh_downward_test_data): Likewise.
30940         (ctanh_upward_test_data): Likewise.
30941         (erf_test_data): Likewise.
30942         (erfc_test_data): Likewise.
30943         (exp_test_data): Likewise.
30944         (exp_tonearest_test_data): Likewise.
30945         (exp_towardzero_test_data): Likewise.
30946         (exp_downward_test_data): Likewise.
30947         (exp_upward_test_data): Likewise.
30948         (exp10_test_data): Likewise.
30949         (exp2_test_data): Likewise.
30950         (expm1_test_data): Likewise.
30951         (fabs_test_data): Likewise.
30952         (fdim_test_data): Likewise.
30953         (finite_test_data): Likewise.
30954         (floor_test_data): Likewise.
30955         (fma_test_data): Likewise.
30956         (fma_towardzero_test_data): Likewise.
30957         (fma_downward_test_data): Likewise.
30958         (fma_upward_test_data): Likewise.
30959         (fmax_test_data): Likewise.
30960         (fmin_test_data): Likewise.
30961         (fmod_test_data): Likewise.
30962         (fpclassify_test_data): Likewise.
30963         (frexp_test_data): Likewise.
30964         (gamma_test_data): Likewise.
30965         (hypot_test_data): Likewise.
30966         (ilogb_test_data): Likewise.
30967         (isfinite_test_data): Likewise.
30968         (isgreater_test_data): Likewise.
30969         (isgreaterequal_test_data): Likewise.
30970         (isinf_test_data): Likewise.
30971         (isless_test_data): Likewise.
30972         (islessequal_test_data): Likewise.
30973         (islessgreater_test_data): Likewise.
30974         (isnan_test_data): Likewise.
30975         (isnormal_test_data): Likewise.
30976         (issignaling_test_data): Likewise.
30977         (isunordered_test_data): Likewise.
30978         (j0_test_data): Likewise.
30979         (j1_test_data): Likewise.
30980         (jn_test_data): Likewise.
30981         (ldexp_test_data): Likewise.
30982         (lgamma_test_data): Likewise.
30983         (lrint_test_data): Likewise.
30984         (lrint_tonearest_test_data): Likewise.
30985         (lrint_towardzero_test_data): Likewise.
30986         (lrint_downward_test_data): Likewise.
30987         (lrint_upward_test_data): Likewise.
30988         (llrint_test_data): Likewise.
30989         (llrint_tonearest_test_data): Likewise.
30990         (llrint_towardzero_test_data): Likewise.
30991         (llrint_downward_test_data): Likewise.
30992         (llrint_upward_test_data): Likewise.
30993         (log_test_data): Likewise.
30994         (log10_test_data): Likewise.
30995         (log1p_test_data): Likewise.
30996         (log2_test_data): Likewise.
30997         (logb_test_data): Likewise.
30998         (logb_downward_test_data): Likewise.
30999         (lround_test_data): Likewise.
31000         (llround_test_data): Likewise.
31001         (modf_test_data): Likewise.
31002         (nearbyint_test_data): Likewise.
31003         (nextafter_test_data): Likewise.
31004         (nexttoward_test_data): Likewise.
31005         (pow_test_data): Likewise.
31006         (pow_tonearest_test_data): Likewise.
31007         (pow_towardzero_test_data): Likewise.
31008         (pow_downward_test_data): Likewise.
31009         (pow_upward_test_data): Likewise.
31010         (remainder_test_data): Likewise.
31011         (remainder_tonearest_test_data): Likewise.
31012         (remainder_towardzero_test_data): Likewise.
31013         (remainder_downward_test_data): Likewise.
31014         (remainder_upward_test_data): Likewise.
31015         (remquo_test_data): Likewise.
31016         (rint_test_data): Likewise.
31017         (rint_tonearest_test_data): Likewise.
31018         (rint_towardzero_test_data): Likewise.
31019         (rint_downward_test_data): Likewise.
31020         (rint_upward_test_data): Likewise.
31021         (round_test_data): Likewise.
31022         (scalb_test_data): Likewise.
31023         (scalbn_test_data): Likewise.
31024         (scalbln_test_data): Likewise.
31025         (signbit_test_data): Likewise.
31026         (sin_test_data): Likewise.
31027         (sin_tonearest_test_data): Likewise.
31028         (sin_towardzero_test_data): Likewise.
31029         (sin_downward_test_data): Likewise.
31030         (sin_upward_test_data): Likewise.
31031         (sincos_test_data): Likewise.
31032         (sinh_test_data): Likewise.
31033         (sinh_tonearest_test_data): Likewise.
31034         (sinh_towardzero_test_data): Likewise.
31035         (sinh_downward_test_data): Likewise.
31036         (sinh_upward_test_data): Likewise.
31037         (sqrt_test_data): Likewise.
31038         (tan_test_data): Likewise.
31039         (tan_tonearest_test_data): Likewise.
31040         (tan_towardzero_test_data): Likewise.
31041         (tan_downward_test_data): Likewise.
31042         (tan_upward_test_data): Likewise.
31043         (tanh_test_data): Likewise.
31044         (tgamma_test_data): Likewise.
31045         (trunc_test_data): Likewise.
31046         (y0_test_data): Likewise.
31047         (y1_test_data): Likewise.
31048         (yn_test_data): Likewise.
31049         (significand_test_data): Likewise.
31051         * math/gen-libm-test.pl (@functions): Remove variable.
31052         (generate_testfile): Don't handle START and END lines.
31053         * math/libm-test.inc (START): New macro.
31054         (END): Likewise.
31055         (END_COMPLEX): Likewise.
31056         (acos_test): Use END macro without arguments.
31057         (acos_test_tonearest): Likewise.
31058         (acos_test_towardzero): Likewise.
31059         (acos_test_downward): Likewise.
31060         (acos_test_upward): Likewise.
31061         (acosh_test): Likewise.
31062         (asin_test): Likewise.
31063         (asin_test_tonearest): Likewise.
31064         (asin_test_towardzero): Likewise.
31065         (asin_test_downward): Likewise.
31066         (asin_test_upward): Likewise.
31067         (asinh_test): Likewise.
31068         (atan_test): Likewise.
31069         (atanh_test): Likewise.
31070         (atan2_test): Likewise.
31071         (cabs_test): Likewise.
31072         (cacos_test): Use END_COMPLEX macro without arguments.
31073         (cacosh_test): Likewise.
31074         (carg_test): Use END macro without arguments.
31075         (casin_test): Use END_COMPLEX macro without arguments.
31076         (casinh_test): Likewise.
31077         (catan_test): Likewise.
31078         (catanh_test): Likewise.
31079         (cbrt_test): Use END macro without arguments.
31080         (ccos_test): Use END_COMPLEX macro without arguments.
31081         (ccosh_test): Likewise.
31082         (ceil_test): Use END macro without arguments.
31083         (cexp_test): Use END_COMPLEX macro without arguments.
31084         (cimag_test): Use END macro without arguments.
31085         (clog_test): Use END_COMPLEX macro without arguments.
31086         (clog10_test): Likewise.
31087         (conj_test): Likewise.
31088         (copysign_test): Use END macro without arguments.
31089         (cos_test): Likewise.
31090         (cos_test_tonearest): Likewise.
31091         (cos_test_towardzero): Likewise.
31092         (cos_test_downward): Likewise.
31093         (cos_test_upward): Likewise.
31094         (cosh_test): Likewise.
31095         (cosh_test_tonearest): Likewise.
31096         (cosh_test_towardzero): Likewise.
31097         (cosh_test_downward): Likewise.
31098         (cosh_test_upward): Likewise.
31099         (cpow_test): Use END_COMPLEX macro without arguments.
31100         (cproj_test): Likewise.
31101         (creal_test): Use END macro without arguments.
31102         (csin_test): Use END_COMPLEX macro without arguments.
31103         (csinh_test): Likewise.
31104         (csqrt_test): Likewise.
31105         (ctan_test): Likewise.
31106         (ctan_test_tonearest): Likewise.
31107         (ctan_test_towardzero): Likewise.
31108         (ctan_test_downward): Likewise.
31109         (ctan_test_upward): Likewise.
31110         (ctanh_test): Likewise.
31111         (ctanh_test_tonearest): Likewise.
31112         (ctanh_test_towardzero): Likewise.
31113         (ctanh_test_downward): Likewise.
31114         (ctanh_test_upward): Likewise.
31115         (erf_test): Use END macro without arguments.
31116         (erfc_test): Likewise.
31117         (exp_test): Likewise.
31118         (exp_test_tonearest): Likewise.
31119         (exp_test_towardzero): Likewise.
31120         (exp_test_downward): Likewise.
31121         (exp_test_upward): Likewise.
31122         (exp10_test): Likewise.
31123         (exp2_test): Likewise.
31124         (expm1_test): Likewise.
31125         (fabs_test): Likewise.
31126         (fdim_test): Likewise.
31127         (finite_test): Likewise.
31128         (floor_test): Likewise.
31129         (fma_test): Likewise.
31130         (fma_test_towardzero): Likewise.
31131         (fma_test_downward): Likewise.
31132         (fma_test_upward): Likewise.
31133         (fmax_test): Likewise.
31134         (fmin_test): Likewise.
31135         (fmod_test): Likewise.
31136         (fpclassify_test): Likewise.
31137         (frexp_test): Likewise.
31138         (gamma_test): Likewise.
31139         (hypot_test): Likewise.
31140         (ilogb_test): Likewise.
31141         (isfinite_test): Likewise.
31142         (isgreater_test): Likewise.
31143         (isgreaterequal_test): Likewise.
31144         (isinf_test): Likewise.
31145         (isless_test): Likewise.
31146         (islessequal_test): Likewise.
31147         (islessgreater_test): Likewise.
31148         (isnan_test): Likewise.
31149         (isnormal_test): Likewise.
31150         (issignaling_test): Likewise.
31151         (isunordered_test): Likewise.
31152         (j0_test): Likewise.
31153         (j1_test): Likewise.
31154         (jn_test): Likewise.
31155         (ldexp_test): Likewise.
31156         (lgamma_test): Likewise.
31157         (lrint_test): Likewise.
31158         (lrint_test_tonearest): Likewise.
31159         (lrint_test_towardzero): Likewise.
31160         (lrint_test_downward): Likewise.
31161         (lrint_test_upward): Likewise.
31162         (llrint_test): Likewise.
31163         (llrint_test_tonearest): Likewise.
31164         (llrint_test_towardzero): Likewise.
31165         (llrint_test_downward): Likewise.
31166         (llrint_test_upward): Likewise.
31167         (log_test): Likewise.
31168         (log10_test): Likewise.
31169         (log1p_test): Likewise.
31170         (log2_test): Likewise.
31171         (logb_test): Likewise.
31172         (logb_test_downward): Likewise.
31173         (lround_test): Likewise.
31174         (llround_test): Likewise.
31175         (modf_test): Likewise.
31176         (nearbyint_test): Likewise.
31177         (nextafter_test): Likewise.
31178         (nexttoward_test): Likewise.
31179         (pow_test): Likewise.
31180         (pow_test_tonearest): Likewise.
31181         (pow_test_towardzero): Likewise.
31182         (pow_test_downward): Likewise.
31183         (pow_test_upward): Likewise.
31184         (remainder_test): Likewise.
31185         (remainder_test_tonearest): Likewise.
31186         (remainder_test_towardzero): Likewise.
31187         (remainder_test_downward): Likewise.
31188         (remainder_test_upward): Likewise.
31189         (remquo_test): Likewise.
31190         (rint_test): Likewise.
31191         (rint_test_tonearest): Likewise.
31192         (rint_test_towardzero): Likewise.
31193         (rint_test_downward): Likewise.
31194         (rint_test_upward): Likewise.
31195         (round_test): Likewise.
31196         (scalb_test): Likewise.
31197         (scalbn_test): Likewise.
31198         (scalbln_test): Likewise.
31199         (signbit_test): Likewise.
31200         (sin_test): Likewise.
31201         (sin_test_tonearest): Likewise.
31202         (sin_test_towardzero): Likewise.
31203         (sin_test_downward): Likewise.
31204         (sin_test_upward): Likewise.
31205         (sincos_test): Likewise.
31206         (sinh_test): Likewise.
31207         (sinh_test_tonearest): Likewise.
31208         (sinh_test_towardzero): Likewise.
31209         (sinh_test_downward): Likewise.
31210         (sinh_test_upward): Likewise.
31211         (sqrt_test): Likewise.
31212         (tan_test): Likewise.
31213         (tan_test_tonearest): Likewise.
31214         (tan_test_towardzero): Likewise.
31215         (tan_test_downward): Likewise.
31216         (tan_test_upward): Likewise.
31217         (tanh_test): Likewise.
31218         (tgamma_test): Likewise.
31219         (trunc_test): Likewise.
31220         (y0_test): Likewise.
31221         (y1_test): Likewise.
31222         (yn_test): Likewise.
31223         (significand_test): Likewise.
31225 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31227         [BZ #15381]
31228         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31230 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31232         [BZ #14894]
31233         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31234         __ppc_mdoio and __ppc_mdoom.
31235         * manual/platform.texi: Document new functions __ppc_yield,
31236         __ppc_mdoio and __ppc_mdoom.
31238 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31240         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31241         (main): Mention "tls" pseudo-hwcap is legacy.
31242         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31244 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31246         * math/gen-libm-test.pl (parse_args): Output only string of
31247         arguments as text for test name, not full call or descriptions of
31248         tests for extra outputs.
31249         (generate_testfile): Do not pass function name to parse_args.
31250         Generate this_func variable from START.
31251         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31252         field to arg_str.
31253         (struct test_ff_f_data): Likewise.
31254         (test_ff_f_data_nexttoward): Likewise.
31255         (struct test_fi_f_data): Likewise.
31256         (struct test_fl_f_data): Likewise.
31257         (struct test_if_f_data): Likewise.
31258         (struct test_fff_f_data): Likewise.
31259         (struct test_c_f_data): Likewise.
31260         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31261         (struct test_fF_f1_data): Likewise.
31262         (struct test_ffI_f1_data): Likewise.
31263         (struct test_c_c_data): Rename test_name field to arg_str.
31264         (struct test_cc_c_data): Likewise.
31265         (struct test_f_i_data): Likewise.
31266         (struct test_ff_i_data): Likewise.
31267         (struct test_f_l_data): Likewise.
31268         (struct test_f_L_data): Likewise.
31269         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31270         and extra2_name.
31271         (COMMON_TEST_SETUP): New macro.
31272         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31273         (COMMON_TEST_CLEANUP): Likewise.
31274         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31275         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31276         macros.
31277         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31278         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31279         macros.
31280         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31281         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31282         cleanup macros.
31283         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31284         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31285         macros.
31286         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31287         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31288         macros.
31289         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31290         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31291         cleanup macros.
31292         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31293         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31294         cleanup macros.
31295         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31296         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31297         cleanup macros.
31298         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31299         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
31300         macros.
31301         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31302         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
31303         macros.
31304         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31305         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31306         macros.
31307         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31308         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31309         cleanup macros.
31310         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31311         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31312         cleanup macros.
31313         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31314         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31315         macros.
31316         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31317         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31318         cleanup macros.
31319         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31320         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31321         macros.
31322         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31323         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31324         macros.
31325         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31326         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31327         cleanup macros.
31328         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31330 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31332         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31333         to _sifields.sigfault.
31334         (si_addr_lsb): Define new macro.
31335         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31339 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31341         [BZ #15441]
31342         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31343         returns -1.
31344         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31345         null return -1.
31346         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31347         loading the domain.
31349 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31351         * math/gen-libm-test.pl (parse_args): Do not include expected
31352         result in test name.
31353         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31355         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31356         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31360 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31362         * benchtests/Makefile: Sort function entries.
31364         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31365         tanh, asinh, acosh, atanh.
31366         * benchtests/acos-inputs: New file.
31367         * benchtests/acosh-inputs: New file.
31368         * benchtests/asin-inputs: New file.
31369         * benchtests/asinh-inputs: New file.
31370         * benchtests/atanh-inputs: New file.
31371         * benchtests/cosh-inputs: New file.
31372         * benchtests/log-inputs: New file.
31373         * benchtests/sinh-inputs: New file.
31374         * benchtests/tanh-inputs: New file.
31376 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31378         [BZ #15339]
31379         * posix/tst-getaddrinfo4.c: New test.
31380         * posix/Makefile (tests): Add it.
31382 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31384         [BZ #15339]
31385         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31386         when no services were used.
31387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31388         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31390 2013-05-21  Andreas Schwab  <schwab@suse.de>
31392         [BZ #15014]
31393         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31394         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31395         successful.
31396         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31397         redundant variable declarations and reallocation of buffer when
31398         parsing as IPv6 address.  Always set NSS status when called from
31399         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31400         buffer too small.  Correct computation of needed size.
31401         * nss/Makefile (tests): Add test-digits-dots.
31402         * nss/test-digits-dots.c: New test.
31404 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31406         * benchtests/Makefile: Remove instructions for adding
31407         benchmark tests.
31408         * benchtests/README: New file to explain how to execute and
31409         enhance the benchmark tests.
31411 2013-05-21  Andreas Schwab  <schwab@suse.de>
31413         [BZ #15493]
31414         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31415         * setjmp/tst-sigsetjmp.c: New test.
31417 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31419         * sysdeps/x86_64/memset.S (memset): New implementation.
31420         (__bzero): Likewise.
31421         (__memset_tail): New function.
31423 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31426         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31427         __memcpy_sse2_unaligned ifunc selection.
31428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31429         Add memcpy-sse2-unaligned.S.
31430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31431         Add: __memcpy_sse2_unaligned.
31433 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31435         [BZ #15490]
31436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31437         math_force_eval before restoring floating-point envrionment.
31438         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31440         Likewise.
31441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31442         <math_private.h>.
31443         (__nearbyintl): Use math_force_eval before restoring
31444         floating-point environment.
31445         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31447         * math/gen-libm-test.pl (special_functions): Remove.
31448         (parse_args): Don't handle TEST_extra.  Handle functions with no
31449         return value.
31450         * math/libm-test.inc (struct test_sincos_data): Replace with
31451         struct test_fFF_11_data.
31452         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31453         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31454         (sincos_test_data): Change element type to struct
31455         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31456         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31457         RUN_TEST_LOOP_sincos.
31458         * math/README.libm-test: Don't mention special handling of
31459         individual functions.
31460         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31461         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31462         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31463         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31464         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31467         * math/gen-libm-test.pl (get_variable): Remove function.
31468         (parse_args): Don't show pointer parameters to call in test
31469         names.  Use "extra output N" in test names for extra outputs
31470         rather than naming variables.
31472 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31474         [BZ #15488]
31475         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31476         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31477         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31478         double tests.
31479         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31480         disable.
31481         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31482         check_long_double.
31484         * math/gen-libm-test.pl (@tests): Remove variable.
31485         ($count): Likewise.
31486         (new_test): Remove function.
31487         (show_exceptions): New function.
31488         (special_functions): Use show_exceptions instead of new_test.
31489         (parse_args): Likewise.
31490         (generate_testfile): Pass only function name in generated call to
31491         print_max_error or print_complex_max_error.
31492         (get_ulps): Do not handle complex tests specially.
31493         (output_test): Rename to ...
31494         (get_all_ulps_for_test): ... this.  Return a string rather than
31495         printing to a file.  Require ulps to be present.
31496         (output_ulps): Generate arrays rather than #defines.
31497         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31498         (struct ulp_data): New type.
31499         (BUILD_COMPLEX_ULP): Remove macro.
31500         (compare_ulp_data): New function.
31501         (find_ulps): Likewise.
31502         (find_test_ulps): Likewise.
31503         (find_function_ulps): Likewise.
31504         (find_complex_function_ulps): Likewise.
31505         (print_max_error): Determine allowed ulps using
31506         find_function_ulps.
31507         (print_complex_max_error): Determine allowed ulps using
31508         find_complex_function_ulps.
31509         (check_float_internal): Determine max ulps using find_test_ulps.
31510         (check_float): Do not take max_ulp parameter.  Update call to
31511         check_float_internal.
31512         (check_complex): Likewise.
31513         (check_int): Do not take max_ulp parameter.
31514         (check_long): Likewise.
31515         (check_bool): Likewise.
31516         (check_longlong): Likewise.
31517         (struct test_f_f_data): Remove max_ulp field.
31518         (struct test_ff_f_data): Likewise.
31519         (struct test_ff_f_data_nexttoward): Likewise.
31520         (struct test_fi_f_data): Likewise.
31521         (struct test_fl_f_data): Likewise.
31522         (struct test_if_f_data): Likewise.
31523         (struct test_fff_f_data): Likewise.
31524         (struct test_c_f_data): Likewise.
31525         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31526         (struct test_fF_f1_data): Likewise.
31527         (struct test_ffI_f1_data): Likewise.
31528         (struct test_c_c_data): Remove max_ulp field.
31529         (struct test_cc_c_data): Likewise.
31530         (struct test_f_i_data): Likewise.
31531         (struct test_ff_i_data): Likewise.
31532         (struct test_f_l_data): Likewise.
31533         (struct test_f_L_data): Likewise.
31534         (struct test_sincos_data): Likewise.
31535         (RUN_TEST_f_f): Do not handle ulps.
31536         (RUN_TEST_LOOP_f_f): Likewise.
31537         (RUN_TEST_2_f): Likewise.
31538         (RUN_TEST_LOOP_2_f): Likewise.
31539         (RUN_TEST_fff_f): Likewise.
31540         (RUN_TEST_LOOP_fff_f): Likewise.
31541         (RUN_TEST_c_f): Likewise.
31542         (RUN_TEST_LOOP_c_f): Likewise.
31543         (RUN_TEST_f_f1): Likewise.
31544         (RUN_TEST_LOOP_f_f1): Likewise.
31545         (RUN_TEST_fF_f1): Likewise.
31546         (RUN_TEST_LOOP_fF_f1): Likewise.
31547         (RUN_TEST_fI_f1): Likewise.
31548         (RUN_TEST_LOOP_fI_f1): Likewise.
31549         (RUN_TEST_ffI_f1): Likewise.
31550         (RUN_TEST_LOOP_ffI_f1): Likewise.
31551         (RUN_TEST_c_c): Likewise.
31552         (RUN_TEST_LOOP_c_c): Likewise.
31553         (RUN_TEST_cc_c): Likewise.
31554         (RUN_TEST_LOOP_cc_c): Likewise.
31555         (RUN_TEST_f_i): Likewise.
31556         (RUN_TEST_LOOP_f_i): Likewise.
31557         (RUN_TEST_f_i_tg): Likewise.
31558         (RUN_TEST_LOOP_f_i_tg): Likewise.
31559         (RUN_TEST_ff_i_tg): Likewise.
31560         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31561         (RUN_TEST_f_b): Likewise.
31562         (RUN_TEST_LOOP_f_b): Likewise.
31563         (RUN_TEST_f_b_tg): Likewise.
31564         (RUN_TEST_LOOP_f_b_tg): Likewise.
31565         (RUN_TEST_f_l): Likewise.
31566         (RUN_TEST_LOOP_f_l): Likewise.
31567         (RUN_TEST_f_L): Likewise.
31568         (RUN_TEST_LOOP_f_L): Likewise.
31569         (RUN_TEST_sincos): Likewise.
31570         (RUN_TEST_LOOP_sincos): Likewise.
31572 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31574         [BZ #15480]
31575         [BZ #15485]
31576         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31577         main case of finite arguments, set rounding mode to FE_TONEAREST
31578         and discard exceptions.
31579         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31580         exceptions.
31581         (remainder_tonearest_test_data): New variable.
31582         (remainder_test_tonearest): New function.
31583         (remainder_towardzero_test_data): New variable.
31584         (remainder_test_towardzero): New function.
31585         (remainder_downward_test_data): New variable.
31586         (remainder_test_downward): New function.
31587         (remainder_upward_test_data): New variable.
31588         (remainder_test_upward): New function.
31589         (main): Call the new test functions.
31591         * math/libm-test.inc (struct test_f_f1_data): Remove field
31592         extra_init.
31593         (struct test_fF_f1_data): Likewise.
31594         (struct test_ffI_f1_data): Likewise.
31595         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31596         based on value of EXTRA_EXPECTED.
31597         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31598         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31599         EXTRA_VAR based on value of EXTRA_EXPECTED.
31600         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31601         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31602         EXTRA_VAR based on value of EXTRA_EXPECTED.
31603         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31604         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31605         EXTRA_VAR based on value of EXTRA_EXPECTED.
31606         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31607         * math/gen-libm-test.pl (parse_args): Don't output initializers
31608         for extra output values.
31610         * math/libm-test.inc (check_int): Expect result to be exactly
31611         equal to expected value and do not handle ulps.
31612         (check_long): Likewise.
31613         (check_longlong): Likewise.
31615         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31616         exceptions.
31617         (cimag_test_data): Likewise.
31618         (conj_test_data): Likewise.
31619         (copysign_test_data): Likewise.
31620         (cproj_test_data): Likewise.
31621         (creal_test_data): Likewise.
31622         (fabs_test_data): Likewise.
31623         (fdim_test_data): Likewise.
31624         (finite_test_data): Likewise.
31625         (floor_test_data): Likewise.
31626         (fmax_test_data): Likewise.
31627         (fmin_test_data): Likewise.
31628         (fmod_test_data): Likewise.
31629         (fpclassify_test_data): Likewise.
31630         (frexp_test_data): Likewise.
31631         (ilogb_test_data): Likewise.
31632         (isfinite_test_data): Likewise.
31633         (isgreater_test_data): Likewise.
31634         (isgreaterequal_test_data): Likewise.
31635         (isinf_test_data): Likewise.
31636         (isless_test_data): Likewise.
31637         (islessequal_test_data): Likewise.
31638         (islessgreater_test_data): Likewise.
31639         (isnan_test_data): Likewise.
31640         (isnormal_test_data): Likewise.
31641         (issignaling_test_data): Likewise.
31642         (isunordered_test_data): Likewise.
31643         (ldexp_test_data): Likewise.
31644         (lrint_test_data): Likewise.
31645         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31646         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31647         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31648         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31649         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31650         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31651         test input.
31652         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31653         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31654         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31655         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31656         that test input.
31657         (lrint_downward_test_data): Test for "inexact" exceptions.
31658         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31659         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31660         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31661         test input.
31662         (lrint_upward_test_data): Test for "inexact" exceptions.
31663         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31664         test input.
31665         (llrint_test_data): Test for "inexact" exceptions.
31666         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31667         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31668         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31669         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31670         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31671         (llrint_downward_test_data): Test for "inexact" exceptions.
31672         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31673         (llrint_upward_test_data): Test for "inexact" exceptions.
31674         (logb_test_data): Likewise.
31675         (logb_downward_test_data): Likewise.
31676         (nextafter_test_data): Likewise.
31677         (nexttoward_test_data): Likewise.
31678         (remainder_test_data): Likewise.
31679         (remquo_test_data): Likewise.
31680         (scalbn_test_data): Likewise.
31681         (scalbln_test_data): Likewise.
31682         (signbit_test_data): Likewise.
31683         (sqrt_test_data): Likewise.
31684         (significand_test_data): Likewise.
31686 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31688         [BZ #15424]
31689         * benchtests/bench-modf.c (struct args): Mark arg0 as
31690         volatile.
31691         * scripts/bench.pl: Mark members of struct args as volatile.
31693 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31695         [BZ # 15497]
31696         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31697         negative infinity on POWER6 or lower.
31698         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31700 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31702         [BZ #15442]
31703         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31704         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31705         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31706         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31707         (_FP_SETQNAN): New macro.
31708         (_FP_SETQNAN_SEMIRAW): Likewise.
31709         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31710         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31711         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31712         (FP_EXTEND): Use _FP_FRAC_SNANP.
31713         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31714         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31715         into account.
31716         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31717         New macro.
31718         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31719         Likewise.
31721 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31723         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31724         with DIVIDE_BY_ZERO_EXCEPTION.
31725         (gamma_test_data): Likewise.
31726         (lgamma_test_data): Likewise.
31727         (log_test_data): Likewise.
31728         (log10_test_data): Likewise.
31729         (log2_test_data): Likewise.
31730         (tgamma_test_data): Likewise.
31732         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31733         (acos_test_tonearest): Likewise.
31734         (acos_test_towardzero): Likewise.
31735         (acos_test_downward): Likewise.
31736         (acos_test_upward): Likewise.
31737         (acosh_test): Likewise.
31738         (asin_test): Likewise.
31739         (asin_test_tonearest): Likewise.
31740         (asin_test_towardzero): Likewise.
31741         (asin_test_downward): Likewise.
31742         (asin_test_upward): Likewise.
31743         (asinh_test): Likewise.
31744         (atan_test): Likewise.
31745         (atanh_test): Likewise.
31746         (atan2_test): Likewise.
31747         (cabs_test): Likewise.
31748         (cacos_test): Likewise.
31749         (cacosh_test): Likewise.
31750         (casin_test): Likewise.
31751         (casinh_test): Likewise.
31752         (catan_test): Likewise.
31753         (catanh_test): Likewise.
31754         (cbrt_test): Likewise.
31755         (ccos_test): Likewise.
31756         (ccosh_test): Likewise.
31757         (cexp_test): Likewise.
31758         (clog_test): Likewise.
31759         (clog10_test): Likewise.
31760         (cos_test): Likewise.
31761         (cos_test_tonearest): Likewise.
31762         (cos_test_towardzero): Likewise.
31763         (cos_test_downward): Likewise.
31764         (cos_test_upward): Likewise.
31765         (cosh_test): Likewise.
31766         (cosh_test_tonearest): Likewise.
31767         (cosh_test_towardzero): Likewise.
31768         (cosh_test_downward): Likewise.
31769         (cosh_test_upward): Likewise.
31770         (cpow_test): Likewise.
31771         (csin_test): Likewise.
31772         (csinh_test): Likewise.
31773         (csqrt_test): Likewise.
31774         (ctan_test): Likewise.
31775         (ctan_test_tonearest): Likewise.
31776         (ctan_test_towardzero): Likewise.
31777         (ctan_test_downward): Likewise.
31778         (ctan_test_upward): Likewise.
31779         (ctanh_test): Likewise.
31780         (ctanh_test_tonearest): Likewise.
31781         (ctanh_test_towardzero): Likewise.
31782         (ctanh_test_downward): Likewise.
31783         (ctanh_test_upward): Likewise.
31784         (erf_test): Likewise.
31785         (erfc_test): Likewise.
31786         (exp_test): Likewise.
31787         (exp_test_tonearest): Likewise.
31788         (exp_test_towardzero): Likewise.
31789         (exp_test_downward): Likewise.
31790         (exp_test_upward): Likewise.
31791         (exp10_test): Likewise.
31792         (exp2_test): Likewise.
31793         (expm1_test): Likewise.
31794         (fmod_test): Likewise.
31795         (gamma_test): Likewise.
31796         (hypot_test): Likewise.
31797         (j0_test): Likewise.
31798         (j1_test): Likewise.
31799         (jn_test): Likewise.
31800         (lgamma_test): Likewise.
31801         (log_test): Likewise.
31802         (log10_test): Likewise.
31803         (log1p_test): Likewise.
31804         (log2_test): Likewise.
31805         (logb_test_downward): Likewise.
31806         (pow_test): Likewise.
31807         (pow_test_tonearest): Likewise.
31808         (pow_test_towardzero): Likewise.
31809         (pow_test_downward): Likewise.
31810         (pow_test_upward): Likewise.
31811         (remainder_test): Likewise.
31812         (remquo_test): Likewise.
31813         (sin_test): Likewise.
31814         (sin_test_tonearest): Likewise.
31815         (sin_test_towardzero): Likewise.
31816         (sin_test_downward): Likewise.
31817         (sin_test_upward): Likewise.
31818         (sincos_test): Likewise.
31819         (sinh_test): Likewise.
31820         (sinh_test_tonearest): Likewise.
31821         (sinh_test_towardzero): Likewise.
31822         (sinh_test_downward): Likewise.
31823         (sinh_test_upward): Likewise.
31824         (sqrt_test): Likewise.
31825         (tan_test): Likewise.
31826         (tan_test_tonearest): Likewise.
31827         (tan_test_towardzero): Likewise.
31828         (tan_test_downward): Likewise.
31829         (tan_test_upward): Likewise.
31830         (tanh_test): Likewise.
31831         (tgamma_test): Likewise.
31832         (y0_test): Likewise.
31833         (y1_test): Likewise.
31834         (yn_test): Likewise.
31836         * math/gen-libm-test.pl (adjust_arg): Remove function.
31837         (special_function): Remove argument $in_func.  Only handle
31838         generating output for tables of tests, not inside functions.
31839         (parse_args): Likewise.
31840         (generate_testfile): Remove variable $in_func.  Update call to
31841         parse_args.
31842         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31843         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31844         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31845         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31846         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31847         (MAX_VALUE_INIT): Rename macro to max_value.
31848         (MIN_VALUE_INIT): Rename macro to min_value.
31849         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31850         (plus_zero): Remove variable.
31851         (minus_zero): Likewise.
31852         (plus_infty): Likewise.
31853         (minus_infty): Likewise.
31854         (qnan_value): Likewise.
31855         (max_value): Likewise.
31856         (min_value): Likewise.
31857         (min_subnorm_value): Likewise.
31859 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31861         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31862         uint64_t or uint32_t usage.
31863         * crypt/sha256-block.c: Likewise.
31864         * crypt/sha256-crypt.c: Likewise.
31865         * crypt/sha256.c: Likewise.
31866         * crypt/sha512-block.c: Likewise.
31867         * crypt/sha512-crypt.c: Likewise.
31868         * crypt/sha512.c: Likewise.
31869         * debug/backtrace-tst.c: Likewise.
31870         * debug/pcprofiledump.c: Likewise.
31871         * elf/cache.c: Likewise.
31872         * elf/dl-cache.c: Likewise.
31873         * elf/dl-misc.c: Likewise.
31874         * elf/dl-profile.c: Likewise.
31875         * elf/dl-support.c: Likewise.
31876         * elf/ldconfig.c: Likewise.
31877         * elf/sprof.c: Likewise.
31878         * iconv/dummy-repertoire.c: Likewise.
31879         * iconv/iconv_charmap.c: Likewise.
31880         * iconv/skeleton.c: Likewise.
31881         * iconvdata/8bit-generic.c: Likewise.
31882         * iconvdata/cp737.h: Likewise.
31883         * iconvdata/cp775.h: Likewise.
31884         * iconvdata/ibm1008.h: Likewise.
31885         * iconvdata/ibm1025.h: Likewise.
31886         * iconvdata/ibm1046.h: Likewise.
31887         * iconvdata/ibm1097.h: Likewise.
31888         * iconvdata/ibm1112.h: Likewise.
31889         * iconvdata/ibm1122.h: Likewise.
31890         * iconvdata/ibm1123.h: Likewise.
31891         * iconvdata/ibm1124.h: Likewise.
31892         * iconvdata/ibm1129.h: Likewise.
31893         * iconvdata/ibm1130.h: Likewise.
31894         * iconvdata/ibm1132.h: Likewise.
31895         * iconvdata/ibm1133.h: Likewise.
31896         * iconvdata/ibm1137.h: Likewise.
31897         * iconvdata/ibm1140.h: Likewise.
31898         * iconvdata/ibm1141.h: Likewise.
31899         * iconvdata/ibm1142.h: Likewise.
31900         * iconvdata/ibm1143.h: Likewise.
31901         * iconvdata/ibm1144.h: Likewise.
31902         * iconvdata/ibm1145.h: Likewise.
31903         * iconvdata/ibm1146.h: Likewise.
31904         * iconvdata/ibm1147.h: Likewise.
31905         * iconvdata/ibm1148.h: Likewise.
31906         * iconvdata/ibm1149.h: Likewise.
31907         * iconvdata/ibm1153.h: Likewise.
31908         * iconvdata/ibm1154.h: Likewise.
31909         * iconvdata/ibm1155.h: Likewise.
31910         * iconvdata/ibm1156.h: Likewise.
31911         * iconvdata/ibm1157.h: Likewise.
31912         * iconvdata/ibm1158.h: Likewise.
31913         * iconvdata/ibm1160.h: Likewise.
31914         * iconvdata/ibm1161.h: Likewise.
31915         * iconvdata/ibm1162.h: Likewise.
31916         * iconvdata/ibm1163.h: Likewise.
31917         * iconvdata/ibm1164.h: Likewise.
31918         * iconvdata/ibm1166.h: Likewise.
31919         * iconvdata/ibm1167.h: Likewise.
31920         * iconvdata/ibm12712.h: Likewise.
31921         * iconvdata/ibm1390.h: Likewise.
31922         * iconvdata/ibm1399.h: Likewise.
31923         * iconvdata/ibm16804.h: Likewise.
31924         * iconvdata/ibm4517.h: Likewise.
31925         * iconvdata/ibm4899.h: Likewise.
31926         * iconvdata/ibm4909.h: Likewise.
31927         * iconvdata/ibm4971.h: Likewise.
31928         * iconvdata/ibm5347.h: Likewise.
31929         * iconvdata/ibm803.h: Likewise.
31930         * iconvdata/ibm856.h: Likewise.
31931         * iconvdata/ibm901.h: Likewise.
31932         * iconvdata/ibm902.h: Likewise.
31933         * iconvdata/ibm9030.h: Likewise.
31934         * iconvdata/ibm9066.h: Likewise.
31935         * iconvdata/ibm921.h: Likewise.
31936         * iconvdata/ibm922.h: Likewise.
31937         * iconvdata/ibm9448.h: Likewise.
31938         * iconvdata/isiri-3342.h: Likewise.
31939         * iconvdata/jis0201.h: Likewise.
31940         * include/link.h: Likewise.
31941         * include/netdb.h: Likewise.
31942         * inet/check_native.c: Likewise.
31943         * inet/check_pf.c: Likewise.
31944         * inet/getipv4sourcefilter.c: Likewise.
31945         * inet/getnameinfo.c: Likewise.
31946         * inet/getsourcefilter.c: Likewise.
31947         * inet/htonl.c: Likewise.
31948         * inet/setipv4sourcefilter.c: Likewise.
31949         * inet/setsourcefilter.c: Likewise.
31950         * inet/test-inet6_opt.c: Likewise.
31951         * inet/tst-network.c: Likewise.
31952         * locale/C-collate.c: Likewise.
31953         * locale/C-ctype.c: Likewise.
31954         * locale/C-time.c: Likewise.
31955         * locale/C-translit.h: Likewise.
31956         * locale/loadarchive.c: Likewise.
31957         * locale/programs/3level.h: Likewise.
31958         * locale/programs/charmap.c: Likewise.
31959         * locale/programs/charmap.h: Likewise.
31960         * locale/programs/ld-address.c: Likewise.
31961         * locale/programs/ld-collate.c: Likewise.
31962         * locale/programs/ld-ctype.c: Likewise.
31963         * locale/programs/ld-identification.c: Likewise.
31964         * locale/programs/ld-measurement.c: Likewise.
31965         * locale/programs/ld-messages.c: Likewise.
31966         * locale/programs/ld-monetary.c: Likewise.
31967         * locale/programs/ld-name.c: Likewise.
31968         * locale/programs/ld-numeric.c: Likewise.
31969         * locale/programs/ld-paper.c: Likewise.
31970         * locale/programs/ld-telephone.c: Likewise.
31971         * locale/programs/ld-time.c: Likewise.
31972         * locale/programs/linereader.c: Likewise.
31973         * locale/programs/locale.c: Likewise.
31974         * locale/programs/locarchive.c: Likewise.
31975         * locale/programs/locfile.h: Likewise.
31976         * locale/programs/repertoire.c: Likewise.
31977         * locale/programs/simple-hash.c: Likewise.
31978         * locale/programs/simple-hash.h: Likewise.
31979         * malloc/memusage.c: Likewise.
31980         * malloc/memusagestat.c: Likewise.
31981         * nis/nis_defaults.c: Likewise.
31982         * nis/nis_hash.c: Likewise.
31983         * nis/nis_print.c: Likewise.
31984         * nis/nis_xdr.c: Likewise.
31985         * nscd/connections.c: Likewise.
31986         * nscd/hstcache.c: Likewise.
31987         * nscd/nscd_gethst_r.c: Likewise.
31988         * nscd/nscd_getserv_r.c: Likewise.
31989         * nscd/nscd_helper.c: Likewise.
31990         * nscd/servicescache.c: Likewise.
31991         * nss/makedb.c: Likewise.
31992         * nss/nss_db/db-XXX.c: Likewise.
31993         * nss/nss_db/db-initgroups.c: Likewise.
31994         * nss/nss_db/db-netgrp.c: Likewise.
31995         * nss/nss_files/files-network.c: Likewise.
31996         * nss/nss_files/files-parse.c: Likewise.
31997         * posix/bug-regex5.c: Likewise.
31998         * posix/fnmatch_loop.c: Likewise.
31999         * posix/regcomp.c: Likewise.
32000         * posix/regexec.c: Likewise.
32001         * posix/tst-rfc3484-2.c: Likewise.
32002         * posix/tst-rfc3484-3.c: Likewise.
32003         * posix/tst-rfc3484.c: Likewise.
32004         * resolv/nss_dns/dns-canon.c: Likewise.
32005         * resolv/nss_dns/dns-network.c: Likewise.
32006         * resolv/res_init.c: Likewise.
32007         * resolv/res_mkquery.c: Likewise.
32008         * resolv/tst-aton.c: Likewise.
32009         * stdlib/cxa_atexit.c: Likewise.
32010         * stdlib/cxa_finalize.c: Likewise.
32011         * stdlib/gen-fpioconst.c: Likewise.
32012         * stdlib/strtol_l.c: Likewise.
32013         * string/tst-endian.c: Likewise.
32014         * sunrpc/auth_des.c: Likewise.
32015         * sunrpc/clnt_udp.c: Likewise.
32016         * sunrpc/rtime.c: Likewise.
32017         * sunrpc/svcauth_des.c: Likewise.
32018         * sunrpc/xdr.c: Likewise.
32019         * sunrpc/xdr_intXX_t.c: Likewise.
32020         * sunrpc/xdr_rec.c: Likewise.
32021         * sysdeps/generic/ldconfig.h: Likewise.
32022         * sysdeps/generic/ldsodefs.h: Likewise.
32023         * sysdeps/generic/memusage.h: Likewise.
32024         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32025         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32026         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32029         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32030         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32031         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32034         * sysdeps/posix/getaddrinfo.c: Likewise.
32035         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32036         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32037         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32039         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32040         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32041         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32042         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32043         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32044         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32045         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32046         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32047         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32048         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32049         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32050         * sysdeps/x86_64/dl-tls.h: Likewise.
32051         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32052         * time/alt_digit.c: Likewise.
32053         * time/era.c: Likewise.
32054         * wcsmbs/tst-c16c32-1.c: Likewise.
32056 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32058         * math/libm-test.inc (struct test_sincos_data): New type.
32059         (RUN_TEST_LOOP_sincos): New macro.
32060         (sincos_test_data): New variable.
32061         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32063 2013-05-16  Richard Henderson  <rth@redhat.com>
32065         * math/atest-exp2.c (LIMB64): New macro.
32066         (CONSTSZ): New macro.
32067         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32068         (hexdig): Move ...
32069         (print_mpn_fp): ... to function scope.
32070         (read_mpn_hex): Remove.
32071         (get_log2): Remove.
32072         (exp2_mpn): Use mp_log2.
32073         (main): Use mp_exp1.
32075 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32077         * math/libm-test.inc: Remove comment about not testing "inexact"
32078         exceptions.
32079         (INEXACT_EXCEPTION): New macro.
32080         (NO_INEXACT_EXCEPTION): Likewise.
32081         (INVALID_EXCEPTION_OK): Update value.
32082         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32083         (OVERFLOW_EXCEPTION_OK): Likewise.
32084         (UNDERFLOW_EXCEPTION_OK): Likewise.
32085         (IGNORE_ZERO_INF_SIGN): Likewise.
32086         (ERRNO_UNCHANGED): Likewise.
32087         (ERRNO_EDOM): Likewise.
32088         (ERRNO_ERANGE): Likewise.
32089         (test_exceptions): Handle testing "inexact" exceptions.
32090         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32091         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32092         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32093         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32094         INEXACT_EXCEPTION.
32095         (rint_towardzero_test_data): Likewise.
32096         (rint_downward_test_data): Likewise.
32097         (rint_upward_test_data): Likewise.
32099         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32100         with OVERFLOW_EXCEPTION.
32101         (exp10_test_data): Likewise.
32102         (exp2_test_data): Likewise.
32103         (expm1_test_data): Likewise.
32104         (lgamma_test_data): Likewise.
32105         (pow_test_data): Likewise.
32106         (tgamma_test_data): Likewise.
32107         (yn_test_data): Remove duplicate test of overflow.
32109         * math/libm-test.inc (struct test_cc_c_data): New type.
32110         (RUN_TEST_LOOP_cc_c): New macro.
32111         (cpow_test_data): New variable.
32112         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32114         * math/libm-test.inc (struct test_f_L_data): New type.
32115         (RUN_TEST_LOOP_f_L): New macro.
32116         (llrint_test_data): New variable.
32117         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32118         (llrint_tonearest_test_data): New variable.
32119         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32120         (llrint_towardzero_test_data): New variable.
32121         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32122         (llrint_downward_test_data): New variable.
32123         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32124         (llrint_upward_test_data): New variable.
32125         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32126         (llround_test_data): New variable.
32127         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32129 2013-05-13  Peter Collingbourne  <pcc@google.com>
32131         * math/atest-exp2.c (get_log2): Remove const attribute.
32133 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32135         * math/libm-test.inc (struct test_f_l_data): New type.
32136         (RUN_TEST_LOOP_f_l): New macro.
32137         (lrint_test_data): New variable.
32138         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32139         (lrint_tonearest_test_data): New variable.
32140         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32141         (lrint_towardzero_test_data): New variable.
32142         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32143         (lrint_downward_test_data): New variable.
32144         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32145         (lrint_upward_test_data): New variable.
32146         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32147         (lround_test_data): New variable.
32148         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32150 2013-05-15  Peter Collingbourne  <pcc@google.com>
32152         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32153         (EXTRACT_WORDS64) Use where appropriate.
32154         (INSERT_WORDS64) Likewise.
32156         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32157         constraints with x constraints.
32158         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32160         * malloc/obstack.c (_obstack_compat): Add initializer.
32162 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32164         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32165         si_trapno and add si_addr_lsb to _sifields.sigfault.
32166         (si_trapno): Remove macro.
32167         (si_addr_lsb): Define new macro.
32168         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32170 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32172         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32173         instead of TEST_f_l.
32174         (llrint_test_tonearest): Likewise.
32175         (llrint_test_towardzero): Likewise.
32176         (llrint_test_downward): Likewise.
32177         (llrint_test_upward): Likewise.
32178         (llround_test): Likewise.
32180         * math/libm-test.inc (struct test_f_i_data): Add comment.
32181         (RUN_TEST_LOOP_f_b): New macro.
32182         (RUN_TEST_LOOP_f_b_tg): Likewise.
32183         (finite_test_data): New variable.
32184         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32185         (isfinite_test_data): New variable.
32186         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32187         (isinf_test_data): New variable.
32188         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32189         (isnan_test_data): New variable.
32190         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32191         (isnormal_test_data): New variable.
32192         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32193         (issignaling_test_data): New variable.
32194         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32195         (signbit_test_data): New variable.
32196         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32198         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32199         with INVALID_EXCEPTION.
32200         (acosh_test_data): Likewise.
32201         (asin_test_data): Likewise.
32202         (atanh_test_data): Likewise.
32203         (fmod_test_data): Likewise.
32204         (log_test_data): Likewise.
32205         (log10_test_data): Likewise.
32206         (log2_test_data): Likewise.
32207         (pow_test_data): Likewise.
32208         (sqrt_test_data): Likewise.
32209         (y0_test_data): Likewise.
32210         (y1_test_data): Likewise.
32211         (yn_test_data): Likewise.
32213         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32214         function contents.
32216         * math/libm-test.inc (struct test_ff_i_data): New type.
32217         (RUN_TEST_LOOP_ff_i_tg): New macro.
32218         (isgreater_test_data): New variable.
32219         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32220         (isgreaterequal_test_data): New variable.
32221         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32222         (isless_test_data): New variable.
32223         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32224         (islessequal_test_data): New variable.
32225         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32226         (islessgreater_test_data): New variable.
32227         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32228         (isunordered_test_data): New variable.
32229         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32231 2013-05-14  David S. Miller  <davem@davemloft.net>
32233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32235 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32237         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32239         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32240         extra_test to int.
32241         (struct test_f_i_data): Change type of max_ulp to int.
32243         * math/libm-test.inc (test_ffI_f1_data): New type.
32244         (RUN_TEST_LOOP_ffI_f1): New macro.
32245         (remquo_test_data): New variable.
32246         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32248         * setjmp/tst-setjmp-fp.c: New file.
32249         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32250         (link-libm): New variable.
32251         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32253         * math/libm-test.inc (struct test_f_i_data): New type.
32254         (RUN_TEST_LOOP_f_i): New macro.
32255         (RUN_TEST_LOOP_f_i_tg): Likewise.
32256         (fpclassify_test_data): New variable.
32257         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32258         (ilogb_test_data): New variable.
32259         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32261         * math/libm-test.inc (scalbln_test): Correct function name in END
32262         call.
32264         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32265         (RUN_TEST_LOOP_fI_f1): New macro.
32266         (frexp_test_data): New variable.
32267         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32269         * math/libm-test.inc (struct test_fF_f1_data): New type.
32270         (RUN_TEST_LOOP_fF_f1): New macro.
32271         (modf_test_data): New variable.
32272         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32274         * math/libm-test.inc (struct test_f_f1_data): New type.
32275         (RUN_TEST_LOOP_f_f1): New macro.
32276         (gamma_test_data): New variable.
32277         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32278         (lgamma_test_data): New variable.
32279         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32281 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32283         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32284         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32285         (main): Comment "tls" pseudo-hwcap.
32287 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32289         * math/libm-test.inc (struct test_fl_f_data): New type.
32290         (RUN_TEST_LOOP_fl_f): New variable.
32291         (scalbln_test_data): New variable.
32292         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32294         * math/libm-test.inc (struct test_fi_f_data): New type.
32295         (RUN_TEST_LOOP_fi_f): New macro.
32296         (ldexp_test_data): New variable.
32297         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32298         (scalbn_test_data): New variable.
32299         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32301         * math/libm-test.inc (struct test_c_f_data): New type.
32302         (RUN_TEST_LOOP_c_f): New macro.
32303         (cabs_test_data): New variable.
32304         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32305         (carg_test_data): New variable.
32306         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32307         (cimag_test_data): New variable.
32308         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32309         (creal_test_data): New variable.
32310         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32312         * math/libm-test.inc (struct test_if_f_data): New type.
32313         (RUN_TEST_LOOP_if_f): New macro.
32314         (jn_test_data): New variable.
32315         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32316         (yn_test_data): New variable.
32317         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32319         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32321 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32323         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32324         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32326 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32328         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32329         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32330         (bench-deps): Add bench-timing.h.
32331         * benchtests-bench-skeleton.c: Include bench-timing.h.
32332         (main): Use TIMING_* macros instead of clock_gettime.
32333         * benchtests/bench-timing.h: New file.
32335         [BZ #14582]
32336         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32337         Renamed from _LIB_VERSION.
32338         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32340 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32342         * math/libm-test.inc (struct test_fff_f_data): New type.
32343         (RUN_TEST_LOOP_fff_f): New macro.
32344         (fma_test_data): New variable.
32345         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32346         (fma_towardzero_test_data): New variable.
32347         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32348         (fma_downward_test_data): New variable.
32349         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32350         (fma_upward_test_data): New variable.
32351         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32353         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32354         (struct test_c_c_data): New type.
32355         (RUN_TEST_LOOP_c_c): New macro.
32356         (cacos_test_data): New variable.
32357         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32358         (cacosh_test_data): New variable.
32359         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32360         (casin_test_data): New variable.
32361         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32362         (casinh_test_data): New variable.
32363         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32364         (catan_test_data): New variable.
32365         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32366         (catanh_test_data): New variable.
32367         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32368         (ccos_test_data): New variable.
32369         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32370         (ccosh_test_data): New variable.
32371         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32372         (cexp_test_data): New variable.
32373         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32374         (clog_test_data): New variable.
32375         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32376         (clog10_test_data): New variable.
32377         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32378         (conj_test_data): New variable.
32379         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32380         (cproj_test_data): New variable.
32381         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32382         (csin_test_data): New variable.
32383         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32384         (csinh_test_data): New variable.
32385         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32386         (csqrt_test_data): New variable.
32387         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32388         (ctan_test_data): New variable.
32389         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32390         (ctan_tonearest_test_data): New variable.
32391         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32392         (ctan_towardzero_test_data): New variable.
32393         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32394         (ctan_downward_test_data): New variable.
32395         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32396         (ctan_upward_test_data): New variable.
32397         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32398         (ctanh_test_data): New variable.
32399         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32400         (ctanh_tonearest_test_data): New variable.
32401         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32402         (ctanh_towardzero_test_data): New variable.
32403         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32404         (ctanh_downward_test_data): New variable.
32405         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32406         (ctanh_upward_test_data): New variable.
32407         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32408         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32409         of BUILD_COMPLEX.
32411         * math/libm-test.inc (struct test_ff_f_data): New type.
32412         (struct test_ff_f_data_nexttoward): Likewise.
32413         (RUN_TEST_LOOP_2_f): New macro.
32414         (RUN_TEST_LOOP_ff_f): Likewise.
32415         (atan2_test_data): New variable.
32416         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32417         (copysign_test_data): New variable.
32418         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32419         (fdim_test_data): New variable.
32420         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32421         (fmax_test_data): New variable.
32422         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32423         (fmin_test_data): New variable.
32424         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32425         (fmod_test_data): New variable.
32426         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32427         (hypot_test_data): New variable.
32428         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32429         (nextafter_test_data): New variable.
32430         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32431         (nexttoward_test_data): New variable.
32432         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32433         (pow_test_data): New variable.
32434         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32435         (pow_tonearest_test_data): New variable.
32436         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32437         (pow_towardzero_test_data): New variable.
32438         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32439         (pow_downward_test_data): New variable.
32440         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32441         (pow_upward_test_data): New variable.
32442         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32443         (remainder_test_data): New variable.
32444         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32445         (scalb_test_data): New variable.
32446         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32447         * sysdeps/i386/fpu/libm-test-ulps: Update.
32449 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32451         * math/libm-test.inc (fma_test): Use max_value instead of local
32452         variable fltmax.
32453         (nextafter_test): Likewise.
32455         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32456         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32457         (acos_downward_test_data): New variable.
32458         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32459         (acos_upward_test_data): New variable.
32460         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32461         (acosh_test_data): New variable.
32462         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32463         (asin_test_data): New variable.
32464         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32465         (asin_tonearest_test_data): New variable.
32466         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32467         (asin_towardzero_test_data): New variable.
32468         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32469         (asin_downward_test_data): New variable.
32470         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32471         (asin_upward_test_data): New variable.
32472         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32473         (asinh_test_data): New variable.
32474         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32475         (atan_test_data): New variable.
32476         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32477         (atanh_test_data): New variable.
32478         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32479         (cbrt_test_data): New variable.
32480         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32481         (ceil_test_data): New variable.
32482         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32483         (cos_test_data): New variable.
32484         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32485         (cos_tonearest_test_data): New variable.
32486         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32487         (cos_towardzero_test_data): New variable.
32488         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32489         (cos_downward_test_data): New variable.
32490         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32491         (cos_upward_test_data): New variable.
32492         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32493         (cosh_test_data): New variable.
32494         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32495         (cosh_tonearest_test_data): New variable.
32496         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32497         (cosh_towardzero_test_data): New variable.
32498         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32499         (cosh_downward_test_data): New variable.
32500         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32501         (cosh_upward_test_data): New variable.
32502         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32503         (erf_test_data): New variable.
32504         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32505         (erfc_test_data): New variable.
32506         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32507         (exp_test_data): New variable.
32508         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32509         (exp_tonearest_test_data): New variable.
32510         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32511         (exp_towardzero_test_data): New variable.
32512         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32513         (exp_downward_test_data): New variable.
32514         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32515         (exp_upward_test_data): New variable.
32516         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32517         (exp10_test_data): New variable.
32518         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32519         (exp2_test_data): New variable.
32520         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32521         (expm1_test_data): New variable.
32522         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32523         (fabs_test_data): New variable.
32524         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32525         (floor_test_data): New variable.
32526         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32527         (j0_test_data): New variable.
32528         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32529         (j1_test_data): New variable.
32530         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32531         (log_test_data): New variable.
32532         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32533         (log10_test_data): New variable.
32534         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32535         (log1p_test_data): New variable.
32536         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32537         (log2_test_data): New variable.
32538         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32539         (logb_test_data): New variable.
32540         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32541         (logb_downward_test_data): New variable.
32542         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32543         (nearbyint_test_data): New variable.
32544         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32545         (rint_test_data): New variable.
32546         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32547         (rint_tonearest_test_data): New variable.
32548         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32549         (rint_towardzero_test_data): New variable.
32550         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32551         (rint_downward_test_data): New variable.
32552         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32553         (rint_upward_test_data): New variable.
32554         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32555         (round_test_data): New variable.
32556         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32557         (sin_test_data): New variable.
32558         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32559         (sin_tonearest_test_data): New variable.
32560         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32561         (sin_towardzero_test_data): New variable.
32562         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32563         (sin_downward_test_data): New variable.
32564         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32565         (sin_upward_test_data): New variable.
32566         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32567         (sinh_test_data): New variable.
32568         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32569         (sinh_tonearest_test_data): New variable.
32570         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32571         (sinh_towardzero_test_data): New variable.
32572         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32573         (sinh_downward_test_data): New variable.
32574         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32575         (sinh_upward_test_data): New variable.
32576         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32577         (sqrt_test_data): New variable.
32578         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32579         (tan_test_data): New variable.
32580         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32581         (tan_tonearest_test_data): New variable.
32582         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32583         (tan_towardzero_test_data): New variable.
32584         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32585         (tan_downward_test_data): New variable.
32586         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32587         (tan_upward_test_data): New variable.
32588         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32589         (tanh_test_data): New variable.
32590         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32591         (tgamma_test_data): New variable.
32592         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32593         (trunc_test_data): New variable.
32594         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32595         (y0_test_data): New variable.
32596         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32597         (y1_test_data): New variable.
32598         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32599         (significand_test_data): New variable.
32600         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32602 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32604         [BZ #12387]
32605         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32607 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32609         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32611 2013-05-10  Andreas Jaeger  <aj@suse.de>
32613         [BZ #15448]
32614         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32615         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32617 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32619         * math/gen-libm-test.pl (adjust_arg): New function.
32620         (special_functions): Handle generating output in both functions
32621         and arrays.
32622         (parse_args): Likewise.
32623         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32624         $in_func argument to parse_args.
32625         * math/libm-test.inc (struct test_f_f_data): New type.
32626         (IF_ROUND_INIT_): New macro.
32627         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32628         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32629         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32630         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32631         (ROUND_RESTORE_): Likewise.
32632         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32633         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32634         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32635         (ROUND_RESTORE_FE_UPWARD): Likewise.
32636         (RUN_TEST_LOOP_f_f): New macro.
32637         (acos_test_data): New variable.
32638         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32639         (acos_tonearest_test_data): New variable.
32640         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32642 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32644         * benchtests/bench-skeleton.c (startup): Fix coding style.
32646 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #6809]
32649         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32650         negative infinity argument.
32651         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32652         negative infinity argument.
32653         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32654         negative infinity argument.
32655         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32656         domain errors.
32658 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32660         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32661         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32662         * iconv/iconv_prog.c (main): Likewise.
32663         * locale/programs/charmap-dir.c (charmap_readdir)
32664         (fopen_uncompressed): Likewise.
32665         * locale/programs/locfile.c (siblings_uncached)
32666         (write_locale_data): Use lstat64 instead of lstat.
32667         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32668         stat.
32670 2013-05-10  Andreas Jaeger  <aj@suse.de>
32672         [BZ #15395]
32673         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32674         localization.
32675         Include <locale.h>.
32677 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32679         * elf/dl-close.c (_dl_close_worker): Add comments.
32681 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32683         [BZ #15359]
32684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32685         high part of pi/2.
32686         (__ieee754_rem_pio2l): Update comments.
32688         [BZ #15429]
32689         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32690         high part of pi/2.
32691         (__ieee754_rem_pio2l): Update comments.
32693         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32694         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32696         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32697         M_PI_4l.
32699         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32700         (M_PI_34_LOG10El): Likewise.
32701         (M_PI2_LOG10El): Likewise.
32702         (M_PI4_LOG10El): Likewise.
32703         (M_PI_LOG10El): Likewise.
32705 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32709 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32711         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32712         (MINUS_ZERO_INIT): Likewise.
32713         (PLUS_INFTY_INIT): Likewise.
32714         (MINUS_INFTY_INIT): Likewise.
32715         (QNAN_VALUE_INIT): Likewise.
32716         (MAX_VALUE_INIT): Likewise.
32717         (MIN_VALUE_INIT): Likewise.
32718         (MIN_SUBNORM_VALUE_INIT): Likewise.
32719         (plus_zero): Initialize with PLUS_ZERO_INIT.
32720         (minus_zero): Initialize with MINUS_ZERO_INIT.
32721         (plus_infty): Initialize with PLUS_INFTY_INIT.
32722         (minus_infty): Initialize with MINUS_INFTY_INIT.
32723         (qnan_value): Initialize with QNAN_VALUE_INIT.
32724         (max_value): Initialize with MAX_VALUE_INIT.
32725         (min_value): Initialize with MIN_VALUE_INIT.
32726         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32728         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32729         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32730         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32731         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32733         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32734         (RUN_TEST_2_f): Likewise.
32735         (RUN_TEST_ff_f): Likewise.
32736         (RUN_TEST_fi_f): Likewise.
32737         (RUN_TEST_fl_f): Likewise.
32738         (RUN_TEST_fff_f): Likewise.
32739         (RUN_TEST_c_f): Likewise.
32740         (RUN_TEST_f_f1): Likewise.
32741         (RUN_TEST_fF_f1): Likewise.
32742         (RUN_TEST_fI_f1): Likewise.
32743         (RUN_TEST_ffI_f1): Likewise.
32744         (RUN_TEST_c_c): Likewise.
32745         (RUN_TEST_cc_c): Likewise.
32746         (RUN_TEST_f_i): Likewise.
32747         (RUN_TEST_f_i_tg): Likewise.
32748         (RUN_TEST_ff_i_tg): Likewise.
32749         (RUN_TEST_f_b): Likewise.
32750         (RUN_TEST_f_b_tg): Likewise.
32751         (RUN_TEST_f_l): Likewise.
32752         (RUN_TEST_f_L): Likewise.
32753         (RUN_TEST_sincos): Likewise.
32754         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32755         whether to show exceptions.  Do not include ");\n" in return
32756         value.
32757         (special_functions): Output call to RUN_TEST_sincos instead of
32758         check_float calls.  Update calls to new_test.
32759         (parse_args): Output call to single RUN_TEST_* macro instead of
32760         check_* calls and other assignments.  Update calls to new_test.
32762         [BZ #2546]
32763         [BZ #2560]
32764         [BZ #5159]
32765         [BZ #15426]
32766         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32767         input to result for tgamma overflow.
32768         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32769         (gamma_coeff): New variable.
32770         (NCOEFF): New macro.
32771         (gamma_positive): New function.
32772         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32773         underflow here.  Use gamma_positive instead of exp (lgamma) for
32774         other arguments.
32775         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32776         (gamma_coeff): New variable.
32777         (NCOEFF): New macro.
32778         (gammaf_positive): New function.
32779         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32780         underflow here.  Use gamma_positive instead of exp (lgamma) for
32781         other arguments.
32782         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32783         (gamma_coeff): New variable.
32784         (NCOEFF): New macro.
32785         (gammal_positive): New function.
32786         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32787         underflow here.  Use gamma_positive instead of exp (lgamma) for
32788         other arguments.
32789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32790         (gamma_coeff): New variable.
32791         (NCOEFF): New macro.
32792         (gammal_positive): New function.
32793         (__ieee754_gammal_r): Handle positive infinity, overflow and
32794         underflow here.  Handle NaN the same as positive infinity.  Remove
32795         check x < 0xffffffff for negative integers.  Use gamma_positive
32796         instead of exp (lgamma) for other arguments.
32797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32798         (gamma_coeff): New variable.
32799         (NCOEFF): New macro.
32800         (gammal_positive): New function.
32801         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32802         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32803         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32804         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32805         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32806         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32807         * sysdeps/generic/math_private.h (__gamma_productf): New
32808         prototype.
32809         (__gamma_product): Likewise.
32810         (__gamma_productl): Likewise.
32811         * math/Makefile (libm-calls): Add gamma_product.
32812         * math/libm-test.inc (tgamma_test): Add more tests.
32813         * sysdeps/i386/fpu/libm-test-ulps: Update.
32814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32816 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32818         * benchtests/bench-skeleton.c (main): Preheat CPU.
32820 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32822         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32824 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32826         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32827         and _dl_skip_args_internal.
32829 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32831         * manual/message.texi (Message Translation): Talk about users.
32832         Message to key mapping impacts design.
32834 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32836         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32838         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32840         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32841         * sysdeps/wordsize-64/glob64.c: ... here.
32843         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32844         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32845         New macros.
32847         * debug/getlogin_r_chk.c: Moved to ...
32848         * login/getlogin_r_chk.c: ... here.
32849         * debug/Makefile (routines): Move getlogin_r_chk to ...
32850         * login/Makefile (routines): ... here.
32851         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32852         * login/Versions (libc: GLIBC_2.4): ... here.
32854         * io/poll.c (__poll): Renamed from poll.
32855         Add libc_hidden_def.
32856         (poll): Define as weak alias.
32858         * debug/ptsname_r_chk.c: Moved to ...
32859         * login/ptsname_r_chk.c: ... here.
32860         * debug/Makefile (routines): Move ptsname_r_chk to ...
32861         * login/Makefile (routines): ... here.
32862         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32863         * login/Versions (libc: GLIBC_2.4): ... here.
32865         * posix/getlogin.c: Moved to ...
32866         * login/getlogin.c: ... here.
32867         * posix/getlogin_r.c: Moved to ...
32868         * login/getlogin_r.c: ... here.
32869         * posix/getlogin_r.c: Moved to ...
32870         * login/getlogin_r.c: ... here.
32871         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32872         * login/Makefile (routines): ... here.
32873         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32874         * login/Versions (libc: GLIBC_2.0): ... here.
32876         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32877         (setrlimit): Define as weak alias.
32879         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32880         Call __ names for open, ftruncate, and close.
32881         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32882         (truncate): Define as weak alias.
32884 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32886         * math/gen-libm-test.pl (parse_args): Initialize x before each
32887         test of frexp, modf and remquo.
32889         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32890         test signgam value.
32892 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32894         [BZ #15418]
32895         [BZ #15419]
32896         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32897         internal tests.
32898         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32900 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32902         * elf/dl-writev.h: New file.
32903         * elf/dl-misc.c: Include it.
32904         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32905         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32907 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32909         * math/libm-test.inc (noXFails): Remove variable.
32910         (noXPasses): Likewise.
32911         (BUILD_COMPLEX_INT): Remove macro.
32912         (print_screen): Remove xfail argument.
32913         (print_screen_max_error): Likewise.
32914         (update_stats): Likewise.
32915         (print_max_error): Likewise.  Update calls to other affected
32916         functions.
32917         (print_complex_max_error): Likewise.
32918         (test_single_exception): Update calls to print_screen.
32919         (test_single_errno): Likewise.
32920         (check_float_internal): Remove xfail argument.  Update calls to
32921         other affected functions.
32922         (check_float): Likewise.
32923         (check_complex): Likewise.
32924         (check_int): Likewise.
32925         (check_long): Likewise.
32926         (check_bool): Likewise.
32927         (check_longlong): Likewise.
32928         (main): Don't print noXFails and noXPasses.
32929         * math/gen-libm-test.pl (top level): Don't mention expected
32930         failure handling in comment.
32931         (new_test): Don't handle expected failures.
32932         (parse_args): Don't mention expected failure handling in comment.
32933         (generate_testfile): Don't handle expected failures.
32934         (parse_ulps): Likewise.
32935         (print_ulps_file): Likewise.
32936         (get_failure): Remove function.
32937         (output_test): Don't handle expected failures.
32938         * make/README.libm-test: Don't mention expected failure handling.
32940         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32941         (minus_zero): Likewise.
32942         (plus_infty): Likewise.
32943         (minus_infty): Likewise.
32944         (qnan_value): Likewise.
32945         (max_value): Likewise.
32946         (min_value): Likewise.
32947         (min_subnorm_value): Likewise.
32948         (initialize): Do not initialize those variables dynamically.
32950 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32952         * io/open.c (__open_2): Moved to ...
32953         * io/open_2.c: ... this new file.
32954         * io/open64.c (__open64_2): Moved to ...
32955         * io/open64_2.c: ... this new file.
32956         * io/openat.c (__openat_2): Moved to ...
32957         * io/openat_2.c: ... this new file.
32958         * io/openat64.c (__openat64_2): Moved to ...
32959         * io/openat64_2.c: ... this new file.
32960         * io/Makefile (routines): Add them.
32961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32962         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32963         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32964         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32965         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32967         (__openat64): Add hidden_ver.
32968         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32969         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32971         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32972         Separately conditionalize setting of GLRO(dl_sysinfo) so
32973         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32974         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32976 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32978         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32979         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32980         definition.
32981         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32982         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32983         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32984         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32985         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32987 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32989         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32990         test signgam value.
32992         * math/libm-test.inc (hypot_test): Do not use
32993         IGNORE_ZERO_INF_SIGN.
32995 2013-05-03  Andreas Jaeger  <aj@suse.de>
32997         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32998         Linux 3.9.
32999         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33000         (PF_MAX): Adjust for VSOCK change.
33002 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33006 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33008         [BZ #15264]
33009         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33010         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33011         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33013 2013-05-02  David S. Miller  <davem@davemloft.net>
33015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33017 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33019         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33021 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33023         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33025 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33027         [BZ #14952]
33028         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33029         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33030         Use __attribute__ ((__gnu_inline__)).
33031         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33032         Don't use __attribute__ ((__gnu_inline__)).
33034 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33036         [BZ #15423]
33037         * math/s_catan.c (__catan): Handle small real or imaginary part of
33038         input specially to avoid spurious underflow.
33039         * math/s_catanf.c (__catanf): Likewise.
33040         * math/s_catanh.c (__catanh): Likewise.
33041         * math/s_catanhf.c (__catanhf): Likewise.
33042         * math/s_catanhl.c (__catanhl): Likewise.
33043         * math/s_catanl.c (__catanl): Likewise.
33044         * math/libm-test.inc (catan_test): Add more tests.
33045         (catanh_test): Likewise.
33046         * sysdeps/i386/fpu/libm-test-ulps: Update.
33047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33049 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33053 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33055         [BZ #15416]
33056         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33057         accurately for denominator in atan2.
33058         * math/s_catanf.c (__catanf): Likewise.
33059         * math/s_catanh.c (__catanh): Likewise.
33060         * math/s_catanhf.c (__catanhf): Likewise.
33061         * math/s_catanhl.c (__catanhl): Likewise.
33062         * math/s_catanl.c (__catanl): Likewise.
33063         * math/libm-test.inc (catan_test): Add more tests.
33064         (catanh_test): Likewise.
33065         * sysdeps/i386/fpu/libm-test-ulps: Update.
33066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33068 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33070         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33072         * benchtests/Makefile (bench): Remove slow benchmarks.
33073         * benchtests/atan-inputs: Add slow benchmark inputs.
33074         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33075         (BENCH_FUNC): Accept variant offset.
33076         (VARIANT): Define.
33077         * benchtests/bench-skeleton.c (main): Run benchmark for each
33078         variant.
33079         * benchtests/cos-inputs: Add slow benchmark inputs.
33080         * benchtests/exp-inputs: Likewise.
33081         * benchtests/pow-inputs: Likewise.
33082         * benchtests/sin-inputs: Likewise.
33083         * benchtests/slowatan-inputs: Remove.
33084         * benchtests/slowatan.c: Remove.
33085         * benchtests/slowcos-inputs: Remove.
33086         * benchtests/slowcos.c: Remove.
33087         * benchtests/slowexp-inputs: Remove.
33088         * benchtests/slowexp.c: Remove.
33089         * benchtests/slowpow-inputs: Remove.
33090         * benchtests/slowpow.c: Remove.
33091         * benchtests/slowsin-inputs: Remove.
33092         * benchtests/slowsin.c: Remove.
33093         * benchtests/slowtan-inputs: Remove.
33094         * benchtests/slowtan.c: Remove.
33095         * benchtests/tan-inputs: Add slow benchmark inputs.
33096         * scripts/bench.pl: Parse comments and directives.
33098         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33099         in CPPFLAGS.
33100         ($(objpfx)bench-%.c): Remove *-ITER.
33101         * benchtests/bench-modf.c: Remove definition of ITER.
33102         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33103         (main): Loop for DURATION seconds instead of fixed number of
33104         iterations.
33105         * scripts/bench.pl: Don't expect iterations in parameters.
33107 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33109         * io/fchdir.c (__fchdir): Renamed from fchdir.
33110         (fchdir): Define as weak alias.
33112 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33114         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33115         (ERRNO_EDOM): Likewise.
33116         (ERRNO_ERANGE): Likewise.
33117         (noErrnoTests): New variable.
33118         (init_max_error): Set errno to 0.
33119         (test_single_errno): New function.
33120         (test_errno): Likewise.
33121         (check_float_internal): Call test_errno.  Set errno to 0.
33122         (check_complex): Refer to errno tests in comment.
33123         (check_int): Call test_errno.  Set errno to 0.
33124         (check_long): Likewise.
33125         (check_bool): Likewise.
33126         (check_longlong): Likewise.
33127         (cos_test): Use ERRNO_* flags for errno tests instead of
33128         check_int.
33129         (expm1_test): Likewise.
33130         (fmod_test): Likewise.
33131         (ilogb_test): Likewise.
33132         (lgamma_test): Likewise.
33133         (pow_test): Likewise.
33134         (remainder_test): Likewise.
33135         (sin_test): Likewise.
33136         (tan_test): Likewise.
33137         (yn_test): Likewise.
33138         (initialize): Set errno to 0.
33139         (main): Print number of errno tests.
33140         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33142 2013-04-29  Andreas Jaeger  <aj@suse.de>
33144         [BZ #15084]
33145         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33146         and RES_USEVC.
33148         [BZ #15085]
33149         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33150         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33151         unimplemented.
33153         [BZ #15380]
33154         * stdlib/random.c (__initstate): Return NULL if
33155         __initstate fails.
33157         [BZ #15086]
33158         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33159         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33160         RES_SNGLKUPREOP.
33162 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33166 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33168         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33169         of individual tests.
33170         (casin_test): Likewise.
33171         (casinh_test): Likewise.
33173 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33175         [BZ #15409]
33176         * math/s_catan.c (__catan): Handle arguments with large real or
33177         imaginary part separately without squaring.
33178         * math/s_catanf.c (__catanf): Likewise.
33179         * math/s_catanh.c (__catanh): Likewise.
33180         * math/s_catanhf.c (__catanhf): Likewise.
33181         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33182         and redefine.
33183         (__catanhl): Handle arguments with large real or imaginary part
33184         separately without squaring.
33185         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33186         and redefine.
33187         (__catanl): Handle arguments with large real or imaginary part
33188         separately without squaring.
33189         * math/libm-test.inc (catan_test): Add more tests.
33190         (catanh_test): Likewise.
33191         * sysdeps/i386/fpu/libm-test-ulps: Update.
33192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33194 2013-04-27  Andreas Jaeger  <aj@suse.de>
33196         [BZ #15007]
33197         * stdlib/stdlib.h: Update guards for qecvt.
33198         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33199         <stdlib.h>.
33201 2013-04-27  Allan McRae  <allan@archlinux.org>
33203         * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33207         [BZ #15406]
33208         * math/s_catan.c: Include <float.h>.
33209         (__catan): Ensure underflow exception occurs for underflowed
33210         result.
33211         * math/s_catanf.c: Include <float.h>.
33212         (__catanf): Ensure underflow exception occurs for underflowed
33213         result.
33214         * math/s_catanh.c: Include <float.h>.
33215         (__catanh): Ensure underflow exception occurs for underflowed
33216         result.
33217         * math/s_catanhf.c: Include <float.h>.
33218         (__catanhf): Ensure underflow exception occurs for underflowed
33219         result.
33220         * math/s_catanhl.c: Include <float.h>.
33221         (__catanhl): Ensure underflow exception occurs for underflowed
33222         result.
33223         * math/s_catanl.c: Include <float.h>.
33224         (__catanl): Ensure underflow exception occurs for underflowed
33225         result.
33226         * math/libm-test.inc (catan_test): Add more tests.
33227         (catanh_test): Likewise.
33229         [BZ #15405]
33230         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33231         underflowed result.
33232         * math/s_ccoshf.c (__ccoshf): Likewise.
33233         * math/s_ccoshl.c (__ccoshl): Likewise.
33234         * math/s_csin.c (__csin): Likewise.
33235         * math/s_csinf.c (__csinf): Likewise.
33236         * math/s_csinh.c (__csinh): Likewise.
33237         * math/s_csinhf.c (__csinhf): Likewise.
33238         * math/s_csinhl.c (__csinhl): Likewise.
33239         * math/s_csinl.c (__csinl): Likewise.
33240         * math/libm-test.inc (ccos_test): Add more tests.
33241         (ccosh_test): Likewise.
33242         (csin_test): Likewise.
33243         (csinh_test): Likewise.
33245 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33247         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33248         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33249         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33250         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33251         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33252         powerpc/power5+/fpu folders.
33253         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33256 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33260 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33262         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33263         additions to variable.
33264         [$(config-machine) = x86_64] (modules-names): Likewise.
33265         ($(objpfx)tst-audit3): Remove dependency.
33266         ($(objpfx)tst-audit3.out): Likewise.
33267         ($(objpfx)tst-audit4): Likewise.
33268         ($(objpfx)tst-audit4.out): Likewise.
33269         ($(objpfx)tst-audit5): Likewise.
33270         ($(objpfx)tst-audit5.out): Likewise.
33271         ($(objpfx)tst-audit6): Likewise.
33272         ($(objpfx)tst-audit6.out): Likewise.
33273         ($(objpfx)tst-audit7): Likewise.
33274         ($(objpfx)tst-audit7.out): Likewise.
33275         (tst-audit3-ENV): Remove variable.
33276         (tst-audit4-ENV): Likewise.
33277         (tst-audit5-ENV): Likewise.
33278         (tst-audit6-ENV): Likewise.
33279         (tst-audit7-ENV): Likewise.
33280         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33281         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33282         addition to variable.
33283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33284         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33285         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33287         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33288         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33289         tst-audit3, tst-audit4 and tst-audit5.
33290         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33291         tst-audit6 and tst-audit7.
33292         [$(subdir) = elf] (modules-names): Add audit modules for those
33293         tests.
33294         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33295         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33296         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33297         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33298         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33299         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33300         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33301         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33302         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33303         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33304         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33305         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33306         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33307         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33308         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33309         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33310         Likewise.
33311         [$(subdir) = elf && $(config-cflags-avx) = yes]
33312         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33313         [$(subdir) = elf && $(config-cflags-avx) = yes]
33314         (CFLAGS-tst-auditmod4a.c): Likewise.
33315         [$(subdir) = elf && $(config-cflags-avx) = yes]
33316         (CFLAGS-tst-auditmod4b.c): Likewise.
33317         [$(subdir) = elf && $(config-cflags-avx) = yes]
33318         (CFLAGS-tst-auditmod6b.c): Likewise.
33319         [$(subdir) = elf && $(config-cflags-avx) = yes]
33320         (CFLAGS-tst-auditmod6c.c): Likewise.
33321         [$(subdir) = elf && $(config-cflags-avx) = yes]
33322         (CFLAGS-tst-auditmod7b.c): Likewise.
33323         * elf/tst-audit3.c: Move to ...
33324         * sysdeps/x86_64/tst-audit3.c: ... here.
33325         * elf/tst-audit4.c: Move to ...
33326         * sysdeps/x86_64/tst-audit4.c: ... here.
33327         * elf/tst-audit5.c: Move to ...
33328         * sysdeps/x86_64/tst-audit5.c: ... here.
33329         * elf/tst-audit6.c: Move to ...
33330         * sysdeps/x86_64/tst-audit6.c: ... here.
33331         * elf/tst-audit7.c: Move to ...
33332         * sysdeps/x86_64/tst-audit7.c: ... here.
33333         * elf/tst-auditmod3a.c: Move to ...
33334         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33335         * elf/tst-auditmod3b.c: Move to ...
33336         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33337         * elf/tst-auditmod4a.c: Move to ...
33338         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33339         * elf/tst-auditmod4b.c: Move to ...
33340         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33341         * elf/tst-auditmod5a.c: Move to ...
33342         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33343         * elf/tst-auditmod5b.c: Move to ...
33344         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33345         * elf/tst-auditmod6a.c: Move to ...
33346         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33347         * elf/tst-auditmod6b.c: Move to ...
33348         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33349         * elf/tst-auditmod6c.c: Move to ...
33350         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33351         * elf/tst-auditmod7a.c: Move to ...
33352         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33353         * elf/tst-auditmod7b.c: Move to ...
33354         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33356 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33358         [BZ #15366]
33359         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33360         define unconditionally.
33361         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33362         define unconditionally.
33363         (INT8_C, INT16_C, etc.): Likewise.
33365 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33367         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33368         __ehdr_start with hidden visibility.
33370         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33372 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33374         * math/libm-test.inc (cos_test): Use accurate hex constants.
33375         (sincost_test): Likewise.
33377 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33379         * math/libm-test.inc (catan_test): Add more tests.
33380         (catanh_test): Likewise.
33382         * math/s_catanf.c (__catanf): Use suffixed floating-point
33383         constants.
33384         * math/s_catanhf.c (__catanhf): Likewise.
33385         * math/s_catanhl.c (__catanhl): Likewise.
33386         * math/s_catanl.c (__catanl): Likewise.
33388         [BZ #15394]
33389         * math/s_catan.c (__catan): Calculate imaginary part of result
33390         with log1p not log unless computing log of number close to 0.
33391         * math/s_catanf.c (__catanf): Likewise.
33392         * math/s_catanl.c (__catanl): Likewise.
33393         * math/s_catanh.c (__catanh): Calculate real part of result with
33394         log1p not log unless computing log of number close to 0.
33395         * math/s_catanhf.c (__catanhf): Likewise.
33396         * math/s_catanhl.c (__catanhl): Likewise.
33397         * math/libm-test.inc (catan_test): Add more tests.
33398         (catanh_test): Likewise.
33399         * sysdeps/i386/fpu/libm-test-ulps: Update.
33400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33402 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33404         * benchtests/Makefile: Mention files in which fast and slow
33405         paths of math functions are implemented.
33407 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33409         * sysdeps/posix/timespec_get.c: New file.
33411 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33413         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33414         POWER.
33415         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33416         for POWER.
33417         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33418         powerpc/power5/fpu folders.
33419         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33420         * benchtests/Makefile: Add modf testcase.
33421         * benchtests/bench-modf.c: New file: Benchmark test for mo
33423 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33425         [BZ #14888]
33426         * time/Makefile (tests): Add tst-strptime-whitespace.
33427         * time/strptime_l.c (get_number): Use ISSPACE.
33428         (__strptime_internal): Likewise.
33429         * time/tst-strptime-whitespace.c: New test case.
33431 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33433         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33434         member.
33435         (_nss_files_init): Set it here.
33437 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33439         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33440         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33441         unsigned.
33443 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33445         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33447 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33450         size just once.
33452 2013-04-21  David S. Miller  <davem@davemloft.net>
33454         * po/ru.po: Update Russion translation from translation project.
33456 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33458         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33459         and setfsgid.
33461 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33463         * configure.in: Remove i386 configure warning. Remove i386 case.
33464         * configure: Regenerate.
33465         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33466         Add example to error message.
33467         * sysdeps/i386/configure: Regenerate.
33469 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33471         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33472         slowtan.
33473         * benchtests/cos-inputs: New file.
33474         * benchtests/slowcos-inputs: New file.
33475         * benchtests/slowcos.c: New file.
33476         * benchtests/slowtan-inputs: New file.
33477         * benchtests/slowtan.c: New file.
33478         * benchtests/tan-inputs: New file.
33480 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33482         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33483         considered kosher.
33485 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33487         * benchtests/Makefile: Include cppflags-iterator.mk to add
33488         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33490         * Makefile.in (bench-clean): New target.
33491         * benchtests/Makefile (bench-clean): Likewise.
33493 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33495         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33497 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33499         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33501 2013-04-15  Andreas Schwab  <schwab@suse.de>
33503         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33505         * nscd/pwdcache.c (cache_addpw): Likewise.
33506         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33507         more than recsize.
33509 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33511         * benchtests/Makefile (bench): Write all output to
33512         bench-out.tmp together.
33514 2013-04-15  Andreas Schwab  <schwab@suse.de>
33516         * nscd/nscd.c (main): Don't fork again after closing files.
33518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33522         * benchtests/Rules (bench-deps): Collect dependencies into a
33523         single variable.  Add Makefile to dependencies.
33524         ($(objpfx)bench-%.c): Depend on bench-deps.
33526 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33527             Xavier Roche  <roche+kml2@exalead.com>
33529         [BZ #15361]
33530         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33531         just that it's a file descriptor.
33532         * manual/llio.texi (Synchronizing AIO Operations): Update description
33533         for EBADF error from aio_fsync.
33535 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33537         * Rules (bench): Move target definition...
33538         * benchtests/Makefile: ... here.
33540 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33542         * math/libm-test.inc (cos_test): Fix PI/2 test.
33543         (sincos_test): Likewise.
33544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33545         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33547 2013-04-11  Andreas Schwab  <schwab@suse.de>
33549         [BZ #13988]
33550         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33551         accept exponent character only when digits were seen.
33552         * stdio-common/Makefile (tests): Add bug26.
33553         * stdio-common/bug26.c: New file.
33555         [BZ #14293]
33556         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33557         non-freeable.
33559 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33561         * Makeconfig (rtld-prefix): Define built linker prefix.
33562         * Rules (run-bench): Use it.
33563         * math/Makefile (run-regen-ulps): Likewise.
33565         * Rules (bench): Remove eval.
33567 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33568             Roland McGrath  <roland@hack.frob.com>
33569             Ondrej Bilka  <neleai@seznam.cz>
33571         [BZ #15346]
33572         * time/getdate.c: Include ctype.h and alloca.h.
33573         (__getdate_r): Trim leading and trailing spaces of input.
33574         * time/tst-getdate.c (tests): Add tests with leading and
33575         trailing spaces.
33577 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33579         [BZ #14280]
33580         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33581         when computing value.
33583 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33585         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33586         Use testrun.sh to run libm tests.
33588         [BZ #15309]
33589         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33591 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33593         [BZ #15264]
33594         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33596 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33598         * Makefile.in (regen-ulps): New target.
33599         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33600         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33601         [ifneq (no,$(PERL)] (regen-ulps): New target.
33602         [ifeq (no,$(PERL)] (regen-ulps): New target.
33603         * math/libm-test.inc (ulps_file_name): Define.
33604         (output_dir): New variable.
33605         (options): Add "output-dir" option.
33606         (parse_opt): Handle 'o' case.
33607         (main): If output_dir is non-NULL use it as a prefix
33608         otherwise use "".
33609         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33611 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33613         [BZ #10060, #10062]
33614         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33615         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33616         fail configure if __sync_val_compare_and_swap is not inlined.
33617         * sysdeps/i386/configure: Regenerate.
33618         * configure.in: Build for i686 when configured for i386.
33619         * configure: Regenerate.
33620         * README: Remove i386 reference.
33622 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33624         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33625         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33627 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33629         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33630         (lmsnanval): New variables.
33631         (F): Add conversion tests.
33632         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33633         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33635         * stdio-common/tstdiomisc.c (F): Properly collect individual
33636         tests' results.
33638         [BZ #14686, #15336]
33639         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33641         Instead, use input NaN values or generate a qNaN by arithmetic
33642         operation.  Also fix bugs to comply with the standard.
33643         * math/libm-test.inc (remainder_test): Add more tests.
33645         [BZ #15335, #15342]
33646         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33648         input NaN values or generate a qNaN by arithmetic operation.
33650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33651         unreachable code.
33653         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33654         definitions.
33656 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33658         [BZ #14478]
33659         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33660         underflowed result.
33661         * math/s_cexpf.c (__cexpf): Likewise.
33662         * math/s_cexpl.c (__cexpl): Likewise.
33663         * math/libm-test.inc (cexp_test): Add more tests.
33665 2013-04-03  Andreas Schwab  <schwab@suse.de>
33667         [BZ #15330]
33668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33669         order arrays from heap if bigger than alloca cutoff.
33671 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33673         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33674         (SNAN_TESTS_double): Refer to GCC PR56831.
33675         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33676         GCC PR56828.
33678 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33680         * Rules (bench): Move bench.out after the run is complete.
33682         * Rules (bench): Echo currently running benchmark.
33684         * benchtests/Makefile (bench): Add atan and slowatan.
33685         * benchtests/atan-inputs: New file.
33686         * benchtests/slowatan-inputs: New file.
33687         * benchtests/slowatan.c: New file.
33689         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33691         its value.
33693         [BZ #15305]
33694         * sysdeps/unix/sysv/linux/kernel-features.h
33695         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33696         __ASSUME_XFS_RESTRICTED_CHOWN.
33697         * sysdeps/unix/sysv/linux/pathconf.c
33698         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33699         Save and restore errno.
33701 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33703         [BZ #15327]
33704         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33705         arguments using __kernel_casinh.
33706         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33707         arguments using __kernel_casinhf.
33708         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33709         arguments using __kernel_casinhl.
33710         * math/libm-test.inc (cacosh_test): Add more tests.
33711         * sysdeps/i386/fpu/libm-test-ulps: Update.
33712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33714 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33716         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33719         * bench/Makefile (bench): Add sin and slowsin.
33720         * benchtests/sin-inputs: New file.
33721         * benchtests/slowsin-inputs: New file.
33722         * benchtests/slowsin.c: New file.
33724         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33725         (bench): Add slowexp and slowpow.
33726         (exp-ITER): Increase iterations.
33727         (pow-ITER): Likewise.
33728         * benchtests/exp-inputs: Change input.
33729         * benchtests/pow-inputs: Likewise.
33730         * benchtests/slowexp-inputs: New file.
33731         * benchtests/slowexp.c: New file.
33732         * benchtests/slowpow-inputs: New file.
33733         * benchtests/slowpow.c: New file.
33735 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33738         instructions.
33739         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33740         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33742         * benchtests/Makefile: Add rint benchtest.
33743         * benchtests/rint-inputs: Input for rint benchtest.
33745 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33747         * Versions.def (libm): Add GLIBC_2.18.
33748         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33749         hidden libm prototypes.
33750         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33751         * math/Makefile (libm-calls): Add s_issignaling.
33752         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33753         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33754         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33755         declaration.
33756         * math/math.h [__USE_GNU] (issignaling): New macro.
33757         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33758         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33759         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33760         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33761         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33762         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33763         * manual/arith.texi (issignaling): New section.
33764         * manual/libm-err-tab.pl (@all_functions): Update comment.
33765         * math/gen-libm-test.pl (parse_args): Apply special handling for
33766         issignaling.
33767         * math/libm-test.inc (print_float, issignaling_test): New
33768         functions.
33769         (check_float_internal): Add issignaling checks.
33770         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33771         default definition.
33772         * sysdeps/powerpc/math-tests.h: New file.
33773         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33774         tests.
33775         * math/test-snan.c (TEST_FUNC): Likewise.
33777 2013-03-30  David S. Miller  <davem@davemloft.net>
33779         * po/de.po: Update from translation team.
33781 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33783         [BZ #10357]
33784         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33785         imaginary part less than 1.0 and real part less than 0.5
33786         specially.
33787         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33788         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33789         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33790         (cacos_test): Add more tests.
33791         (casin_test): Likewise.
33792         (casinh_test): Likewise.
33793         * sysdeps/i386/fpu/libm-test-ulps: Update.
33794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33796 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33798         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33799         ONE with its value.
33801         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33802         (__pow_mp): Replace ONE and MONE with their values.
33803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33805         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33806         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33807         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33808         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33810         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33812         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33813         (__pow_mp): Replace ZERO and MZERO with their values.
33814         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33816         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33818         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33819         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33820         (__sqr): Likewise.
33822         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33824         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33826 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33828         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33829         Declare with __attribute__ ((weak)).
33830         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33831         Call __call_tls_dtors only if it's not NULL.
33833 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33835         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33836         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33837         magic __ehdr_start linker symbol if it's defined.
33838         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33839         them up here if it was already done.
33841         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33842         (_dl_aux_init): Use const in cast when setting it.
33843         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33844         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33845         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33847         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33848         Declare them here.
33849         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33850         * csu/libc-tls.c: Nor here.
33851         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33853         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33854         (__libc_message): Never call vsyslog.
33856 2013-03-28  Alan Modra  <amodra@gmail.com>
33858         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33859         Define as empty.
33860         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33861         Likewise.
33863 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33865         [BZ #15214]
33866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33867         underflow.
33868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33870 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33872         [BZ #15304]
33873         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33874         Don't add gid passed as argument.
33876         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33878 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33880         [BZ #15307]
33881         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33882         imaginary part between 1.0 and 1.5 and real part less than 0.5
33883         specially.
33884         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33885         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33886         * math/libm-test.inc (cacos_test): Add more tests.
33887         (casin_test): Likewise.
33888         (casinh_test): Likewise.
33889         * sysdeps/i386/fpu/libm-test-ulps: Update.
33890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33892 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33895         constants.
33896         (norm): Likewise.
33897         (denorm): Likewise.
33898         (__dbl_mp): Likewise.
33899         (add_magnitudes): Likewise.
33900         (sub_magnitudes): Likewise.
33901         (__add): Likewise.
33902         (__sub): Likewise.
33903         (__mul): Likewise.
33904         (__sqr): Likewise.
33905         (__inv): Likewise.
33906         (__dvd): Likewise.
33908         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33909         commented code.
33910         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33911         (__dubcos): Likewise.
33912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33913         (__ieee754_acos): Likewise.
33914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33915         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33916         (__exp1): Likewise.
33917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33919         (log1): Likewise.
33920         (my_log2): Likewise.
33921         (checkint): Likewise.
33922         * sysdeps/ieee754/dbl-64/e_remainder.c
33923         (__ieee754_remainder): Likewise.
33924         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33926         (bsloww): Likewise.
33927         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33929         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33930         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33931         MANTISSA_STORE_T to store computations on mantissa.  Use
33932         macros for rounding and division.
33933         (denorm): Likewise.
33934         (__dbl_mp): Likewise.
33935         (add_magnitudes): Likewise.
33936         (sub_magnitudes): Likewise.
33937         (__mul): Likewise.
33938         (__sqr): Likewise.
33939         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33940         powers of two in terms of TWOPOW macro.
33941         (mp_no): Make type of mantissa as MANTISSA_T.
33942         [!RADIXI]: Define RADIXI.
33943         [!TWO52]: Define TWO52.
33944         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33946 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33948         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33949         llroundl symbol when building for PPC32.
33951 2013-03-24  Mark H Weaver  <mhw@netris.org>
33953         * manual/arith.texi (Normalization Functions): Fix prototypes for
33954         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33956 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33958         [BZ #13889]
33959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33960         high value to check if expl overflow.
33961         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33962         to check for underflow and overflow.
33963         * math/libm-test.inc: Add exp test.
33965 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33967         [BZ #11120]
33968         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33969         with NOT_IN_libc.
33971 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33973         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33974         symbol.
33976 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33978         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33979         wrap blocks consisting of several statements.
33981         * sysdeps/generic/math-tests.h: New file.
33982         * sysdeps/i386/fpu/math-tests.h: Likewise.
33983         * math/test-snan.c: Include it.
33984         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33986 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33988         [BZ #15285]
33989         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33990         (__ieee754_j0l): Do not improve calculations using cos of twice
33991         input for inputs above LDBL_MAX / 2.0L.
33992         (__ieee754_y0l): Likewise.
33993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33994         (__ieee754_j1l): Do not improve calculations using cos of twice
33995         input for inputs above LDBL_MAX / 2.0L.
33996         (__ieee754_y1l): Likewise.
33997         * math/libm-test.inc (j0_test): Add another test.
33998         (j1_test): Likewise.
33999         (y0_test): Likewise.
34000         (y1_test): Likewise.
34001         * sysdeps/i386/fpu/libm-test-ulps: Update.
34003 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34005         * Rules ($(objpfx)bench-%.c): Include code from a C source
34006         file.
34008 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34010         [BZ #15287]
34011         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34012         imaginary part 1.0 and real part less than 0.5 specially.
34013         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34014         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34015         * math/libm-test.inc (cacos_test): Add more tests.
34016         (casin_test): Likewise.
34017         (casinh_test): Likewise.
34018         * sysdeps/i386/fpu/libm-test-ulps: Update.
34019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34021 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34023         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34024         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34026 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34028         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34029         * config.make.in (config-cflags-sse4): Remove variable.
34030         (config-cflags-avx): Likewise.
34031         (config-cflags-sse2avx): Likewise.
34032         (config-cflags-novzeroupper): Likewise.
34033         (config-asflags-i686): Likewise.
34034         (have-mfma4): Likewise.
34035         (have-as-vis3): Likewise.
34036         (MIG): Likewise.
34037         * configure.in (MIG): Do not AC_SUBST.
34038         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34039         (libc_cv_cc_sse4): Do not AC_SUBST.
34040         (libc_cv_cc_avx): Likewise.
34041         (libc_cv_cc_sse2avx): Likewise.
34042         (libc_cv_cc_novzeroupper): Likewise.
34043         (libc_cv_cc_fma4): Likewise.
34044         (libc_cv_as_i686): Likewise.
34045         (libc_cv_sparc_as_vis3): Likewise.
34046         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34047         LIBC_CONFIG_VAR.
34048         (config-asflags-i686): Likewise.
34049         (config-cflags-avx): Likewise.
34050         (config-cflags-sse2avx): Likewise.
34051         (have-mfma4): Likewise.
34052         (config-cflags-novzeroupper): Likewise.
34053         * sysdeps/mach/configure.in (MIG): Likewise.
34054         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34055         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34056         LIBC_CONFIG_VAR.
34057         (config-cflags-avx): Likewise.
34058         (config-cflags-sse2avx): Likewise.
34059         (have-mfma4): Likewise.
34060         (config-cflags-novzeroupper): Likewise.
34061         * configure: Regenerated.
34062         * sysdeps/i386/configure: Likewise.
34063         * sysdeps/mach/configure: Likewise.
34064         * sysdeps/sparc/configure: Likewise.
34065         * sysdeps/x86_64/configure: Likewise.
34067 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34069         [BZ #14812]
34070         * locale/programs/localedef.c (options): Put N_ translation marker
34071         on argument names, not just descriptions.
34073 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34075         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34077 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34079         [BZ #14176]
34080         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34082 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34084         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34085         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34086         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34087         [!BEFORE_ABORT] (before_abort): New function.
34088         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34089         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34090         (writev_for_fatal): New function.
34091         (WRITEV_FOR_FATAL): New macro; call that.
34092         (backtrace_and_maps): New function.
34093         (BEFORE_ABORT): New macro; call that.
34094         (struct str_list): Type removed.
34095         (__libc_message, __libc_fatal): Functions removed.
34096         Include <sysdeps/posix/libc_fatal.c> instead.
34098 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34100         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34101         constants.
34102         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34103         double constants.
34105 2013-03-19  Andreas Schwab  <schwab@suse.de>
34107         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34108         * sysdeps/gnu/configure: Regenerate.
34110         * configure.in: Substitute libc_cv_rtlddir.
34111         * configure: Regenerate.
34112         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34113         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34114         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34115         * elf/Makefile (install-others, CFLAGS-interp.c)
34116         (ldso_install, common-ldd-rewrite): Likewise.
34117         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34118         $(inst_slibdir)/$(rtld-installed-name).
34119         * scripts/rellns-sh: Add -p option.
34120         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34121         for source.
34123 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34125         * manual/nptl.texi: Renamed to ...
34126         * manual/threads.texi: ... this.
34127         * manual/Makefile (chapters): Update.
34129 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34131         [BZ #14812]
34132         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34133         on argument names, not just descriptions.
34134         * malloc/memusagestat.c (options): Likewise.
34135         * nss/getent.c (options): Likewise.
34137 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34139         [BZ #14812]
34140         * iconv/iconv_prog.c (options): Put N_ translation marker
34141         on argument names, not just descriptions.
34142         * iconv/iconvconfig.c (options): Likewise.
34144 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34146         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34147         implementation which is faster on all x86_64 architectures.
34148         Tested on AMD, Intel Nehalem, SNB, IVB.
34149         * sysdeps/x86_64/strnlen.S: Likewise.
34151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34152         Remove all multiarch strlen and strnlen versions.
34153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34154         Remove strlen and strnlen related parts.
34156         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34157         Inline strlen part.
34158         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34160         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34161         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34162         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34163         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34164         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34165         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34167 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34169         * manual/memory.texi (Malloc Tunable Parameters):
34170         Sort parameters alphabetically. Add comments for missing entries.
34172 2013-03-17  David S. Miller  <davem@davemloft.net>
34174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34176 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34178         [BZ #15283]
34179         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34180         for arguments at most half maximum finite value.
34181         * math/libm-test.inc (j0_test): Add more tests.
34182         (j1_test): Likewise.
34183         (y0_test): Likewise.
34184         (y1_test): Likewise.
34185         * sysdeps/i386/fpu/libm-test-ulps: Update.
34186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34188         [BZ #14155]
34189         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34190         1 / x and functions P and Q for arguments above 0x1p256L.
34191         (__ieee754_y0l): Likewise.
34192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34193         (__ieee754_y1l): Likewise.
34194         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34195         (j1_test): Likewise.
34196         (y0_test): Likewise.
34197         (y1_test): Likewise.
34199 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34201         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34202         variable.
34204 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34206         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34207         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34208         zero since it's initialized to EXEC_PAGESIZE.
34210         * sysdeps/unix/sysv/linux/ldsodefs.h
34211         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34212         * sysdeps/generic/ldsodefs.h: ... here.
34214 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34216         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34218         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34219         math/test-snan.c.
34220         * math/test-snan.c: Renamed from
34221         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34222         * math/Makefile (tests): Add test-snan.
34223         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34224         test-powerpc-snan.
34226         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34227         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34228         functions.
34229         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34230         __builtin_nan family of functions.
34231         * math/libm-test.inc (initialize): Initialize qnan_value with
34232         __builtin_nan family of functions.
34233         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34234         Remove variables.
34235         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34236         Remove functions.
34237         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34238         storage class.  Initialize qNaN_var and sNaN_var with
34239         __builtin_nan and __builtin_nans families of functions,
34240         respectively.
34242         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34243         (sqrt_test): Remove duplicate test with qNaN input.
34244         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34245         (round_test, signbit_test, significand_test): Note missing +/-Inf
34246         as well as qNaN tests.
34248         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34249         qNaN_var.  Fix a few strings, too.
34250         * math/libm-test.inc (nan_value): Rename to qnan_value.
34251         * math/gen-libm-test.pl (%beautify): Adjust to that.
34252         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34253         * math/test-misc.c (main): Likewise.
34254         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34255         to __qnan_bytes, and __qnan_union, respectively.
34256         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34257         Likewise.
34258         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34259         and lqnanval, respectively.
34260         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34261         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34262         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34263         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34265         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34266         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34267         doubles.
34269         * math/test-misc.c (main): Fix copy'n'pastos.
34270         * misc/tst-efgcvt.c (special): Likewise.
34272         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34273         Remove declarations.
34275 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34277         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34278         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34279         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34282 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34284         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34285         macro to return vdso values correctly in IFUNC implementations.
34286         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34287         Optimization by using IFUNC.
34289 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34290             Richard Henderson  <rth@redhat.com>
34291             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34293         * Makefile.in (bench): New target.
34294         * NEWS: Mention the benchmark framework.
34295         * Rules (bench): Likewise.
34296         (binaries-bench): Generate binaries for functions to
34297         benchmark.
34298         * benchtests/Makefile: New makefile for benchmark tests.
34299         * benchtests/bench-skeleton.c: New skeleton file for benchmark
34300         programs.
34301         * benchtests/exp-inputs: New input file for EXP function.
34302         * benchtests/pow-inputs: New input file for POW function.
34303         * scripts/bench.pl: New script to generate source files for
34304         benchmark programs.
34306 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34308         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34309         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34310         computations on mantissa.  Use macros for rounding and
34311         division.
34312         (denorm): Likewise.
34313         (__dbl_mp): Likewise.
34314         (add_magnitudes): Likewise.
34315         (sub_magnitudes): Likewise.
34316         (__mul): Likewise.
34317         (__sqr): Likewise.
34318         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34319         powers of two in terms of TWOPOW macro.
34320         (mp_no): Make type of mantissa as MANTISSA_T.
34321         [!RADIXI]: Define RADIXI.
34322         [!TWO52]: Define TWO52.
34323         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34325         * manual/nptl.texi (cindex): Modify threads to pthreads.
34327 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34329         * sysdeps/x86_64/preconfigure: Regenerated.
34331 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34333         [BZ #14155]
34334         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34335         0x1p28 and above.
34336         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34337         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34338         0x1p28 and above.
34339         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34340         * math/libm-test.inc (j0_test): Do not allow one spurious
34341         underflow exception.
34342         (y1_test): Likewise.
34344 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         * manual/Makefile (chapters): Add nptl.
34347         * manual/debug.texi (Debugging Support): Add link to Threads
34348         chapter.
34349         * manual/nptl.texi: New file.
34351         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34353 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34355         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34356         for non-NULL pointer before the memory validity test. Pointed
34357         out by Holger Brunck <holger.brunck@keymile.com>.
34359 2013-03-13  Andreas Schwab  <schwab@suse.de>
34361         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34362         instead of .os.
34364 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34366         * timezone/zic.c: Update from tzcode 2013b.
34368 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34370         * manual/install.texi (Configuring and compiling):
34371         Mention i686 and i586.
34372         * INSTALL: Regenerate.
34374 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34376         * sysdeps/init_array/elf-init.c: New file.
34377         * csu/elf-init.c
34378         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34379         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34381         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34382         __gmon_start__ as global, but as static with a .preinit_array pointer.
34383         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34384         * sysdeps/init_array/crti.S: New file, empty except for comments.
34385         * sysdeps/init_array/crtn.S: Likewise.
34387 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34389         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34390         definining bcopy.
34391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34392         Remove Prefer_SSE_for_memop.
34393         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34394         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34395         HAS_PREFER_SSE_FOR_MEMOP.
34396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34397         memset-x86-64.
34398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34399         Remove bzero, memset ifunc support.
34400         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34401         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34402         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34403         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34405 2013-03-11  Andreas Schwab  <schwab@suse.de>
34407         [BZ #15234]
34408         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34409         by SHLIB_COMPAT.
34410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34411         (GLIBC_2.16): Remove pthread_atfork.
34413 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34415         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34416         (ptestcases.h): Likewise.
34418 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34420         * Makeconfig ($(common-objpfx)config.status): Depend on
34421         sysdeps/*/preconfigure{,.in} too.
34423 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34425         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34426         (__free_hook): Use void * instead of __malloc_ptr_t.
34427         (__malloc_hook): Likewise.
34428         (__realloc_hook): Likewise.
34429         (__memalign_hook): Likewise.
34430         (__after_morecore_hook): Likewise.
34431         * malloc/arena.c (save_malloc_hook): Likewise.
34432         (save_free_hook): Likewise.
34433         * malloc/hooks.c (malloc_hook_ini): Likewise.
34434         (realloc_hook_ini): Likewise.
34435         (memalign_hook_ini): Likewise.
34436         * malloc/malloc.c (malloc_hook_ini): Likewise.
34437         (realloc_hook_ini): Likewise.
34438         (memalign_hook_ini): Likewise.
34439         (__free_hook): Likewise.
34440         (__malloc_hook): Likewise.
34441         (__realloc_hook): Likewise.
34442         (__memalign_hook): Likewise.
34443         (__libc_malloc): Likewise.
34444         (__libc_free): Likewise.
34445         (__libc_realloc): Likewise.
34446         (__libc_memalign): Likewise.
34447         (__libc_valloc): Likewise.
34448         (__libc_pvalloc): Likewise.
34449         (__libc_calloc): Likewise.
34450         (__posix_memalign): Likewise.
34451         * malloc/morecore.c (__sbrk): Likewise.
34452         (__default_morecore): Likewise.
34454         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34456         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34457         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34458         __malloc_ptrdiff_t.
34460         * malloc/malloc.h (__malloc_size_t): Remove macro.
34461         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34462         __malloc_size_t.
34463         (old_memalign_hook): Likewise.
34464         (old_realloc_hook): Likewise.
34465         (struct hdr): Likewise.
34466         (flood): Likewise.
34467         (mallochook): Likewise.
34468         (memalignhook): Likewise.
34469         (reallochook): Likewise.
34470         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34471         (tr_old_realloc_hook): Likewise.
34472         (tr_old_memalign_hook): Likewise.
34473         (tr_mallochook): Likewise.
34474         (tr_reallochook): Likewise.
34475         (tr_memalignhook): Likewise.
34477 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34480         default_ldbl_pack and using as default implementation.
34481         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34482         implementation.
34483         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34484         redundant definition.
34485         (ldbl_insert_mantissa): Likewise.
34486         (ldbl_canonicalize): Likewise.
34487         (ldbl_nearbyint): Likewise.
34488         (ldbl_pack): Rename to ldbl_pack_ppc.
34489         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34490         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34491         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34493 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34496         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34498         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34501         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34502         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34504 2013-03-07  Andreas Jaeger  <aj@suse.de>
34506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34507         bits/mman-linux.h.
34509 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34511         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34512         Include mpa.h and declare __MPEXP.
34513         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34514         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34515         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34516         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34518         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34519         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34521         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34522         (__slowpow): Use long double EXPL and LOGL functions to
34523         compute POW.
34524         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34525         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34526         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34527         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34528         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34529         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34532         intermediate variable to calculate exponent.
34533         (__sqr): Likewise.
34534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34535         Likewise.
34536         (__sqr): Likewise.
34538         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34539         [!NO__SQR]: Define __sqr.
34540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34541         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34542         sysdeps/ieee754/dbl-64/mpa.c.
34543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34545         [BZ #12723]
34546         * posix/Makefile (tests): Add tst-pathconf.
34547         * posix/tst-pathconf.c: New test case.
34548         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34549         _PC_PIPE_BUF.
34550         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34552 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34554         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34556 2013-03-06  Andreas Jaeger  <aj@suse.de>
34558         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34559         definition via __MAP_ANONYMOUS.
34561         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34562         it's not part of Linux headers.
34564         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34565         (MAP_HUGE_MASK): Define.
34567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34568         Define.
34569         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34571         Define.
34572         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34573         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34574         Define.
34575         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34577         Define.
34578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34580         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34581         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34582         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34583         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34584         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34585         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34587         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34588         Handle f2fs.
34590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34591         Handle f2fs and efivarfs.
34593         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34594         f2fs.
34596         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34597         (EFIVARFS_MAGIC): Add.
34598         (F2FS_LINK_MAX): Add.
34600 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34602         * stdio-common/vfprintf.c: Replace __builtin_expect with
34603         __glibc_unlikely.
34605 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34607         [BZ #13550]
34608         * sysdeps/generic/bp-sym.h: Remove file.
34609         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34610         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34611         <bp-sym.h> and <bp-asm.h>.
34612         (__longjmp): Don't use BP_SYM.
34613         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34614         and <bp-asm.h>.
34615         (memcpy): Don't use BP_SYM.
34616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34617         <bp-sym.h> and <bp-asm.h>.
34618         (memcpy): Don't use BP_SYM.
34619         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34620         <bp-asm.h>.
34621         (memcpy): Don't use BP_SYM.
34622         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34623         <bp-asm.h>.
34624         (memset): Don't use BP_SYM.
34625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34627         (__bzero): Don't use BP_SYM.
34628         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34629         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34630         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34631         <bp-sym.h> and <bp-asm.h>.
34632         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34633         pointers.
34634         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34635         <bp-sym.h> and <bp-asm.h>.
34636         (memcpy): Don't use BP_SYM.
34637         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34638         <bp-sym.h> and <bp-asm.h>.
34639         (memset): Don't use BP_SYM.
34640         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34641         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34642         (__bzero): Don't use BP_SYM.
34643         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34644         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34646         <bp-sym.h> and <bp-asm.h>.
34647         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34648         pointers.
34649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34650         <bp-sym.h> and <bp-asm.h>.
34651         (memcpy): Don't use BP_SYM.
34652         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34653         <bp-sym.h> and <bp-asm.h>.
34654         (memset): Don't use BP_SYM.
34655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34657         (__bzero): Don't use BP_SYM.
34658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34661         <bp-sym.h> and <bp-asm.h>.
34662         (__memchr): Don't use BP_SYM.
34663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34664         <bp-sym.h> and <bp-asm.h>.
34665         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34666         pointers.
34667         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34668         <bp-sym.h> and <bp-asm.h>.
34669         (memcpy): Don't use BP_SYM.
34670         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34671         <bp-sym.h> and <bp-asm.h>.
34672         (__mempcpy): Don't use BP_SYM.
34673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34674         <bp-sym.h> and <bp-asm.h>.
34675         (__memrchr): Don't use BP_SYM.
34676         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34677         <bp-sym.h> and <bp-asm.h>.
34678         (memset): Don't use BP_SYM.
34679         (__bzero): Likewise.
34680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34681         <bp-sym.h> and <bp-asm.h>.
34682         (__rawmemchr): Don't use BP_SYM.
34683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34684         <bp-sym.h> and <bp-asm.h>.
34685         (__STRCMP): Don't use BP_SYM.
34686         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34687         <bp-sym.h> and <bp-asm.h>.
34688         (strchr): Don't use BP_SYM.
34689         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34690         <bp-sym.h> and <bp-asm.h>.
34691         (__strchrnul): Don't use BP_SYM.
34692         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34693         <bp-sym.h> and <bp-asm.h>.
34694         (strlen): Don't use BP_SYM.
34695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34696         <bp-sym.h> and <bp-asm.h>.
34697         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34698         pointers.
34699         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34700         <bp-sym.h> and <bp-asm.h>.
34701         (__strnlen): Don't use BP_SYM.
34702         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34703         <bp-sym.h> and <bp-asm.h>.
34704         (__GI__setjmp): Don't use BP_SYM.
34705         (_setjmp): Likewise.
34706         (__sigsetjmp): Likewise.
34707         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34708         (L(start_addresses)): Don't use BP_SYM.
34709         (_start): Likewise.
34710         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34711         <bp-asm.h>.
34712         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34713         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34714         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34715         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34716         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34717         <bp-asm.h>.
34718         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34719         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34720         about bounded pointers.
34721         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34722         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34723         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34724         <bp-asm.h>.
34725         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34726         about bounded pointers.  Remove GKM FIXME comments.
34727         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34728         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34729         <bp-asm.h>.
34730         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34731         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34732         Remove GKM FIXME comments.
34733         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34734         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34735         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34736         <bp-asm.h>.
34737         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34738         about bounded pointers.  Remove GKM FIXME comment.
34739         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34740         and <bp-asm.h>.
34741         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34742         pointers.
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34744         <bp-sym.h> and <bp-asm.h>.
34745         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34747         <bp-sym.h> and <bp-asm.h>.
34748         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34749         comment.
34751 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34753         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34754         call free(NULL).
34756 2013-03-05  David S. Miller  <davem@davemloft.net>
34758         * po/es.po: Update from translation team.
34760 2013-03-05  Andreas Jaeger  <aj@suse.de>
34762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34763         <bits/mman-linux.h>.
34764         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34765         is fine.
34766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34767         <bits/mman-linux.h> to end of file.
34768         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34769         is fine.
34770         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34771         <bits/mman-linux.h> to end of file.
34772         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34773         is fine.
34774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34775         <bits/mman-linux.h> to end of file.
34777         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34778         (MCL_CURRENT, MCL_FUTURE): Define here.
34780 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34782         [BZ #15232]
34783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34784         attribute_hidden.
34785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34787 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34790         fourth parameter needed for rt_sigprocmask syscall.
34791         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34792         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34794         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34795         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34796         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34798 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34800         [BZ #13550]
34801         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34802         comment about bounded pointers.
34803         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34804         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34806 2013-03-04  Andreas Jaeger  <aj@suse.de>
34808         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34809         common definitions.
34811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34812         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34813         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34814         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34816         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34818 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34820         [BZ #15055]
34821         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34822         __ieee754_sqrl instead of __sqrl.
34824 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34826         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34827         * sysdeps/powerpc/fpu_control.h: ... here.
34828         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34829         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34830         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34831         * sysdeps/powerpc/bits/mathinline.h: ... here.
34833 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34835         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34836         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34837         to just [NEED_DL_SYSINFO_DSO].
34838         * elf/dl-support.c: Likewise.
34839         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34840         * elf/rtld.c (dl_main): Likewise.
34841         * elf/setup-vdso.h (setup_vdso): Likewise.
34842         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34843         * sysdeps/unix/sysv/linux/dl-sysdep.c
34844         (_dl_discover_osversion): Likewise.
34846 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34848         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34849         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34851 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34853         * NEWS: Mention libm performance improvements and non-x86 PI
34854         futex support.
34856         * csu/libc-start.c (__pthread_initialize_minimal): Change
34857         function arguments.
34858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34860 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34862         [BZ #13550]
34863         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34864         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34865         <bp-sym.h> and <bp-asm.h>.
34866         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34867         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34868         and <bp-asm.h>.
34869         (memcpy): Don't use BP_SYM.
34870         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34871         <bp-asm.h>.
34872         (__mpn_add_n): Don't use BP_SYM.
34873         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34874         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34875         and <bp-asm.h>.
34876         (__mpn_addmul_1): Don't use BP_SYM.
34877         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34878         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34879         <bp-sym.h>.
34880         (_setjmp): Don't use BP_SYM.
34881         (__novmx_setjmp): Likewise.
34882         (__GI__setjmp): Likewise.
34883         (__vmx_setjmp): Likewise.
34884         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34885         <bp-sym.h>.
34886         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34887         (__bzero): Don't use BP_SYM.
34888         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34889         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34890         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34891         <bp-sym.h> and <bp-asm.h>.
34892         (memcpy): Don't use BP_SYM.
34893         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34894         <bp-sym.h> and <bp-asm.h>.
34895         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34897         <bp-sym.h> and <bp-asm.h>.
34898         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34899         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34900         <bp-asm.h>.
34901         (__mpn_lshift): Don't use BP_SYM.
34902         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34903         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34904         <bp-asm.h>.
34905         (memset): Don't use BP_SYM.
34906         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34907         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34908         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34909         <bp-asm.h>.
34910         (__mpn_mul_1): Don't use BP_SYM.
34911         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34913         <bp-sym.h> and <bp-asm.h>.
34914         (memcmp): Don't use BP_SYM.
34915         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34916         <bp-sym.h> and <bp-asm.h>.
34917         (memcpy): Don't use BP_SYM.
34918         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34919         <bp-sym.h> and <bp-asm.h>.
34920         (memset): Don't use BP_SYM.
34921         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34922         <bp-sym.h> and <bp-asm.h>.
34923         (strncmp): Don't use BP_SYM.
34924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34925         <bp-sym.h> and <bp-asm.h>.
34926         (memcpy): Don't use BP_SYM.
34927         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34928         <bp-sym.h> and <bp-asm.h>.
34929         (memset): Don't use BP_SYM.
34930         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34931         <bp-sym.h> and <bp-asm.h>.
34932         (__memchr): Don't use BP_SYM.
34933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34934         <bp-sym.h> and <bp-asm.h>.
34935         (memcmp): Don't use BP_SYM.
34936         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34937         <bp-sym.h> and <bp-asm.h>.
34938         (memcpy): Don't use BP_SYM.
34939         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34940         <bp-sym.h> and <bp-asm.h>.
34941         (__mempcpy): Don't use BP_SYM.
34942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34943         <bp-sym.h> and <bp-asm.h>.
34944         (__memrchr): Don't use BP_SYM.
34945         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34946         <bp-sym.h> and <bp-asm.h>.
34947         (memset): Don't use BP_SYM.
34948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34949         <bp-sym.h> and <bp-asm.h>.
34950         (__rawmemchr): Don't use BP_SYM.
34951         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34952         <bp-sym.h> and <bp-asm.h>.
34953         (__STRCMP): Don't use BP_SYM.
34954         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34955         <bp-sym.h> and <bp-asm.h>.
34956         (strchr): Don't use BP_SYM.
34957         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34958         <bp-sym.h> and <bp-asm.h>.
34959         (__strchrnul): Don't use BP_SYM.
34960         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34961         <bp-sym.h> and <bp-asm.h>.
34962         (strlen): Don't use BP_SYM.
34963         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34964         <bp-sym.h> and <bp-asm.h>.
34965         (strncmp): Don't use BP_SYM.
34966         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34967         <bp-sym.h> and <bp-asm.h>.
34968         (__strnlen): Don't use BP_SYM.
34969         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34970         <bp-asm.h>.
34971         (__mpn_rshift): Don't use BP_SYM.
34972         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34973         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34974         <bp-sym.h> and <bp-asm.h>.
34975         (__sigsetjmp): Don't use BP_SYM.
34976         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34977         (L(start_addresses)): Don't use BP_SYM.
34978         (_start): Likewise.
34979         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34980         <bp-asm.h>.
34981         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34982         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34983         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34984         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34985         <bp-asm.h>.
34986         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34987         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34988         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34989         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34990         <bp-asm.h>.
34991         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34992         comments.
34993         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34994         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34995         <bp-asm.h>.
34996         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34997         FIXME comments.
34998         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34999         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35000         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35001         <bp-asm.h>.
35002         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35003         comment.
35004         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35005         and <bp-asm.h>.
35006         (strncmp): Don't use BP_SYM,
35007         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35008         <bp-asm.h>.
35009         (__mpn_sub_n): Don't use BP_SYM.
35010         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35011         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35012         and <bp-asm.h>.
35013         (__mpn_submul_1): Don't use BP_SYM.
35014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35016         <bp-sym.h> and <bp-asm.h>.
35017         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35019         <bp-sym.h> and <bp-asm.h>.
35020         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35021         comment.
35023 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35026         Use ZK to minimize writes to Z.
35027         (sub_magnitudes): Simplify code a bit.
35028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35029         Use ZK to minimize writes to Z.
35030         (sub_magnitudes): Simplify code a bit.
35032 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35034         * csu/gmon-start.c: Add special exception to license text.
35036 2013-02-27  Richard Henderson  <rth@redhat.com>
35038         * scripts/config.guess: Update from config.git.
35039         * scripts/config.sub: Likewise.
35041 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35045         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35047         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35049         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35051         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35053 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35055         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35056         [$(build-shared = yes].
35058 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35060         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35061         (__mul): Reduce iterations for calculating mantissa.
35063         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35064         MPTWO.
35065         (__mpranred): Likewise.
35067         [BZ #15160]
35068         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35069         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35071 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35073         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35074         Define __attribute__.
35076 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35078         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35079         unused.
35080         * posix/regex_internal.h (__attribute): Remove.
35081         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35082         (re_string_context_at): Likewise.
35083         (bitset_not): Use __attribute__ and mark function as possibly
35084         unused.
35085         (bitset_merge): Likewise.
35086         (bitset_mask): Likewise.
35087         (re_string_char_size_at): Likewise.
35088         (re_string_wchar_at): Likewise.
35089         (re_string_elem_size_at): Likewise.
35091 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35093         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35094         code.
35095         (cc32): Likewise.
35097         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35098         (__acr): Likewise.
35099         (__cpy): Likewise.
35100         (norm): Likewise.
35101         (denorm): Likewise.
35102         (__dbl_mp): Likewise.
35103         (add_magnitudes): Likewise.
35104         (sub_magnitudes): Likewise.
35105         (__mul): Likewise.
35106         (__inv): Likewise.
35108         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35109         style.
35111         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35112         style.
35114         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35115         code.
35117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35118         up changes with default code.
35119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35120         Likewise.
35122 2013-02-24  Allan McRae  <allan@archlinux.org>
35124         * manual/socket.texi (The Internet Namespace): Order menu items
35125         to match that in the file.
35127         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35128         node listing of the info page menu.
35130 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35132         [BZ #13550]
35133         * sysdeps/i386/bp-asm.h: Remove file.
35134         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35135         (PARMS): Do not use macros from bp-asm.h.
35136         (S1): Likewise.
35137         (S2): Likewise.
35138         (SIZE): Likewise.
35139         (__mpn_add_n): Do not use BP_SYM
35140         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35141         "bp-asm.h".
35142         (PARMS): Do not use macros from bp-asm.h.
35143         (S1): Likewise.
35144         (SIZE): Likewise.
35145         (__mpn_addmul_1): Do not use BP_SYM
35146         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35147         "bp-asm.h".
35148         (PARMS): Do not use macros from bp-asm.h.
35149         (SIGMSK): Likewise.
35150         (_setjmp): Likewise.  Do not use BP_SYM.
35151         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35152         "bp-asm.h".
35153         (PARMS): Do not use macros from bp-asm.h.
35154         (SIGMSK): Likewise.
35155         (setjmp): Likewise.  Do not use BP_SYM.
35156         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35157         "bp-asm.h".
35158         (PARMS): Do not use macros from bp-asm.h.
35159         (__frexp): Do not use BP_SYM.
35160         (frexp): Likewise.
35161         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35162         "bp-asm.h".
35163         (PARMS): Do not use macros from bp-asm.h.
35164         (__frexpf): Do not use BP_SYM.
35165         (frexpf): Likewise.
35166         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35167         "bp-asm.h".
35168         (PARMS): Do not use macros from bp-asm.h.
35169         (__frexpl): Do not use BP_SYM.
35170         (frexpl): Likewise.
35171         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35172         "bp-asm.h".
35173         (PARMS): Do not use macros from bp-asm.h.
35174         (__remquo): Do not use BP_SYM.
35175         (remquo): Likewise.
35176         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35177         "bp-asm.h".
35178         (PARMS): Do not use macros from bp-asm.h.
35179         (__remquof): Do not use BP_SYM.
35180         (remquof): Likewise.
35181         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35182         "bp-asm.h".
35183         (PARMS): Do not use macros from bp-asm.h.
35184         (__remquol): Do not use BP_SYM.
35185         (remquol): Likewise.
35186         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35187         "bp-asm.h".
35188         (PARMS): Do not use macros from bp-asm.h.
35189         (DEST): Likewise.
35190         (SRC): Likewise.
35191         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35192         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35193         "bp-asm.h".
35194         (PARMS): Do not use macros from bp-asm.h.
35195         (strlen): Do not use BP_SYM.
35196         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35197         "bp-asm.h".
35198         (PARMS): Do not use macros from bp-asm.h.
35199         (S1): Likewise.
35200         (S2): Likewise.
35201         (SIZE): Likewise.
35202         (__mpn_add_n): Do not use BP_SYM.
35203         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35204         "bp-asm.h".
35205         (PARMS): Do not use macros from bp-asm.h.
35206         (S1): Likewise.
35207         (SIZE): Likewise.
35208         (__mpn_addmul_1): Do not use BP_SYM.
35209         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35210         weak_alias.
35211         (bzero): Likewise.
35212         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35213         "bp-asm.h".
35214         (PARMS): Do not use macros from bp-asm.h.
35215         (S): Likewise.
35216         (SIZE): Likewise.
35217         (__mpn_lshift): Do not use BP_SYM.
35218         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35219         "bp-asm.h".
35220         (PARMS): Do not use macros from bp-asm.h.
35221         (DEST): Likewise.
35222         (SRC): Likewise.
35223         (LEN): Likewise.
35224         (memcpy): Likewise.  Do not use BP_SYM.
35225         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35226         libc_hidden_def and weak_alias.
35227         (mempcpy): Do not use BP_SYM in weak_alias.
35228         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35229         "bp-asm.h".
35230         (PARMS): Do not use macros from bp-asm.h.
35231         (DEST): Likewise.
35232         (LEN): Likewise.
35233         [!BZERO_P] (CHR): Likewise.
35234         (memset): Likewise.  Do not use BP_SYM.
35235         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35236         "bp-asm.h".
35237         (PARMS): Do not use macros from bp-asm.h.
35238         (S1): Likewise.
35239         (SIZE): Likewise.
35240         (__mpn_mul_1): Do not use BP_SYM.
35241         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35242         "bp-asm.h".
35243         (PARMS): Do not use macros from bp-asm.h.
35244         (S): Likewise.
35245         (SIZE): Likewise.
35246         (__mpn_rshift): Do not use BP_SYM.
35247         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35248         "bp-asm.h".
35249         (PARMS): Do not use macros from bp-asm.h.
35250         (STR): Likewise.
35251         (CHR): Likewise.
35252         (strchr): Likewise.  Do not use BP_SYM.
35253         (index): Do not use BP_SYM in weak_alias.
35254         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35255         "bp-asm.h".
35256         (PARMS): Do not use macros from bp-asm.h.
35257         (DEST): Likewise.
35258         (SRC): Likewise.
35259         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35260         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35261         "bp-asm.h".
35262         (PARMS): Do not use macros from bp-asm.h.
35263         (strlen): Do not use BP_SYM.
35264         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35265         "bp-asm.h".
35266         (PARMS): Do not use macros from bp-asm.h.
35267         (S1): Likewise.
35268         (S2): Likewise.
35269         (SIZE): Likewise.
35270         (__mpn_sub_n): Do not use BP_SYM.
35271         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35272         "bp-asm.h".
35273         (PARMS): Do not use macros from bp-asm.h.
35274         (S1): Likewise.
35275         (SIZE): Likewise.
35276         (__mpn_submul_1): Do not use BP_SYM.
35277         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35278         "bp-asm.h".
35279         (PARMS): Do not use macros from bp-asm.h.
35280         (S1): Likewise.
35281         (S2): Likewise.
35282         (SIZE): Likewise.
35283         (__mpn_add_n): Do not use BP_SYM.
35284         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35285         weak_alias.
35286         (bzero): Likewise.
35287         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35288         "bp-asm.h".
35289         (PARMS): Do not use macros from bp-asm.h.
35290         (BLK2): Likewise.
35291         (LEN): Likewise.
35292         (memcmp): Do not use BP_SYM.
35293         (bcmp): Do not use BP_SYM in weak_alias.
35294         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35295         "bp-asm.h".
35296         (PARMS): Do not use macros from bp-asm.h.
35297         (DEST): Likewise.
35298         (SRC): Likewise.
35299         (LEN): Likewise.
35300         (memcpy): Likewise.  Do not use BP_SYM.
35301         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35302         "bp-asm.h".
35303         (PARMS): Do not use macros from bp-asm.h.
35304         (DEST): Likewise.
35305         (SRC): Likewise.
35306         (LEN): Likewise.
35307         (memmove): Likewise.  Do not use BP_SYM.
35308         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35309         "bp-asm.h".
35310         (PARMS): Do not use macros from bp-asm.h.
35311         (DEST): Likewise.
35312         (SRC): Likewise.
35313         (LEN): Likewise.
35314         (__mempcpy): Likewise.  Do not use BP_SYM.
35315         (mempcpy): Do not use BP_SYM in weak_alias.
35316         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35317         "bp-asm.h".
35318         (PARMS): Do not use macros from bp-asm.h.
35319         (DEST): Likewise.
35320         (LEN): Likewise.
35321         [!BZERO_P] (CHR): Likewise.
35322         (memset): Likewise.  Do not use BP_SYM.
35323         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35324         "bp-asm.h".
35325         (PARMS): Do not use macros from bp-asm.h.
35326         (STR2): Likewise.
35327         (strcmp): Do not use BP_SYM.
35328         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35329         "bp-asm.h".
35330         (PARMS): Do not use macros from bp-asm.h.
35331         (STR): Likewise.
35332         (DELIM): Likewise.
35333         [USE_AS_STRTOK_R] (SAVE): Likewise.
35334         (FUNCTION): Likewise.  Do not use BP_SYM.
35335         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35336         aliases.
35337         (strtok_r): Likewise.
35338         (__GI___strtok_r): Likewise.
35339         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35340         (PARMS): Do not use macros from bp-asm.h.
35341         (S): Likewise.
35342         (SIZE): Likewise.
35343         (__mpn_lshift): Do not use BP_SYM.
35344         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35345         (PARMS): Do not use macros from bp-asm.h.
35346         (STR): Likewise.
35347         (CHR): Likewise.
35348         (__memchr): Do not use BP_SYM.
35349         (memchr): Do not use BP_SYM in weak_alias.
35350         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35351         (PARMS): Do not use macros from bp-asm.h.
35352         (BLK2): Likewise.
35353         (LEN): Likewise.
35354         (memcmp): Do not use BP_SYM.
35355         (bcmp): Do not use BP_SYM in weak_alias.
35356         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35357         (PARMS): Do not use macros from bp-asm.h.
35358         (S1): Likewise.
35359         (SIZE): Likewise.
35360         (__mpn_mul_1): Do not use BP_SYM.
35361         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35362         "bp-asm.h".
35363         (PARMS): Do not use macros from bp-asm.h.
35364         (STR): Likewise.
35365         (CHR): Likewise.
35366         (__rawmemchr): Do not use BP_SYM.
35367         (rawmemchr): Do not use BP_SYM in weak_alias.
35368         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35369         (PARMS): Do not use macros from bp-asm.h.
35370         (S): Likewise.
35371         (SIZE): Likewise.
35372         (__mpn_rshift): Do not use BP_SYM.
35373         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35374         (PARMS): Do not use macros from bp-asm.h.
35375         (SIGMSK): Likewise.
35376         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35377         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35378         (_start): Do not use BP_SYM.
35379         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35380         (PARMS): Do not use macros from bp-asm.h.
35381         (DEST): Likewise.
35382         (SRC): Likewise.
35383         (__stpcpy): Likewise.  Do not use BP_SYM.
35384         (stpcpy): Do not use BP_SYM in weak_alias.
35385         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35386         "bp-asm.h".
35387         (PARMS): Do not use macros from bp-asm.h.
35388         (DEST): Likewise.
35389         (SRC): Likewise.
35390         (LEN): Likewise.
35391         (__stpncpy): Likewise.  Do not use BP_SYM.
35392         (stpncpy): Do not use BP_SYM in weak_alias.
35393         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35394         (PARMS): Do not use macros from bp-asm.h.
35395         (STR): Likewise.
35396         (CHR): Likewise.
35397         (strchr): Likewise.  Do not use BP_SYM.
35398         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35399         "bp-asm.h".
35400         (PARMS): Do not use macros from bp-asm.h.
35401         (STR): Likewise.
35402         (CHR): Likewise.
35403         (__strchrnul): Likewise.  Do not use BP_SYM.
35404         (strchrnul): Do not use BP_SYM in weak_alias.
35405         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35406         "bp-asm.h".
35407         (PARMS): Do not use macros from bp-asm.h.
35408         (STOP): Likewise.
35409         (strcspn): Do not use BP_SYM.
35410         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35411         "bp-asm.h".
35412         (PARMS): Do not use macros from bp-asm.h.
35413         (STR): Likewise.
35414         (STOP): Likewise.
35415         (strpbrk): Likewise.  Do not use BP_SYM.
35416         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35417         "bp-asm.h".
35418         (PARMS): Do not use macros from bp-asm.h.
35419         (STR): Likewise.
35420         (CHR): Likewise.
35421         (strrchr): Likewise.  Do not use BP_SYM.
35422         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35423         (PARMS): Do not use macros from bp-asm.h.
35424         (SKIP): Likewise.
35425         (strspn): Do not use BP_SYM.
35426         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35427         (PARMS): Do not use macros from bp-asm.h.
35428         (STR): Likewise.
35429         (DELIM): Likewise.
35430         (SAVE): Likewise.
35431         (FUNCTION): Likewise.  Do not use BP_SYM.
35432         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35433         aliases.
35434         (strtok_r): Likewise.
35435         (__GI___strtok_r): Likewise.
35436         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35437         (PARMS): Do not use macros from bp-asm.h.
35438         (S1): Likewise.
35439         (S2): Likewise.
35440         (SIZE): Likewise.
35441         (__mpn_sub_n): Do not use BP_SYM.
35442         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35443         "bp-asm.h".
35444         (PARMS): Do not use macros from bp-asm.h.
35445         (S1): Likewise.
35446         (SIZE): Likewise.
35447         (__mpn_submul_1): Do not use BP_SYM.
35448         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35449         <bp-sym.h>.
35450         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35451         and <bp-asm.h>.
35452         (PARMS): Do not use macros from bp-asm.h.
35453         (FLAGS): Likewise.
35454         (PTID): Likewise.
35455         (TLS): Likewise.
35456         (CTID): Likewise.
35457         (__clone): Do not use BP_SYM.
35458         (clone): Do not use BP_SYM in weak_alias.
35459         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35460         and <bp-asm.h>.
35461         (PARMS): Do not use macros from bp-asm.h.
35462         (LEN): Likewise.
35463         (__mmap64): Do not use BP_SYM.
35464         (mmap64): Do not use BP_SYM in weak_alias.
35465         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35466         <bp-sym.h> and <bp-asm.h>.
35467         (PARMS): Do not use macros from bp-asm.h.
35468         (__posix_fadvise64_l64): Do not use BP_SYM.
35469         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35470         (PARMS): Do not use macros from bp-asm.h.
35471         (NSOPS): Likewise.
35472         (semtimedop): Do not use BP_SYM.
35473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35474         and <bp-asm.h>.
35476 2013-02-21  Allan McRae  <allan@archlinux.org>
35478         * manual/message.texi (Charset conversion in gettext):
35479         Move @end statement to beginning of line.
35481 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35484         static.
35485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35486         Likewise.
35488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35489         (denorm): Likewise.
35490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35493 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35495         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35496         tail-call to the resolved function if pltexit isn't needed.
35498 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35501         or Y being zero as being unlikely.
35502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35503         Likewise.
35505 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35507         * manual/nss.texi (System Databases and Name Service Switch):
35508         Remove frobnicate @pxref.
35510 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35512         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35513         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35515 2013-02-20  Petr Machata  <pmachata@redhat.com>
35517         * elf/elf.h (R_ARM_TARGET1): New macro.
35518         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35519         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35520         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35521         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35522         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35523         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35524         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35525         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35526         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35527         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35528         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35529         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35530         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35531         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35532         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35533         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35534         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35535         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35536         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35537         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35538         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35539         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35540         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35541         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35542         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35543         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35544         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35545         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35546         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35547         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35548         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35549         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35550         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35551         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35552         (R_ARM_THM_GOT_BREL12): Likewise.
35553         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35554         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35555         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35556         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35557         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35558         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35559         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35560         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35561         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35563 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35565         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35566         __attribute_used__ to __attribute__ ((unused)).
35568 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35570         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35571         powerpc mpa.c.
35572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35573         comment formatting.
35574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35576 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35578         [BZ #13550]
35579         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35580         Remove macro.
35581         (ENTER): Remove both macro definitions.
35582         (LEAVE): Likewise.
35583         (CHECK_BOUNDS_LOW): Likewise.
35584         (CHECK_BOUNDS_HIGH): Likewise.
35585         (CHECK_BOUNDS_BOTH): Likewise.
35586         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35587         (RETURN_BOUNDED_POINTER): Likewise.
35588         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35589         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35590         (POP_ERRNO_LOCATION_RETURN): Likewise.
35591         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35592         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35593         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35594         macros.
35595         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35596         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35597         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35598         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35599         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35600         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35601         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35602         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35603         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35604         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35605         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35606         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35607         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35608         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35609         removed macros.
35610         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35611         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35612         macros.
35613         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35614         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35615         * sysdeps/i386/i586/memset.S (memset): Likewise.
35616         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35617         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35618         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35619         macros.
35620         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35621         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35622         Change uses of L(2) to L(out).
35623         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35624         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35625         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35626         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35627         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35628         removed macros.
35629         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35630         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35631         macros.
35632         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35633         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35634         (RETURN): Do not use macro LEAVE.
35635         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35636         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35637         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35638         * sysdeps/i386/i686/memset.S (memset): Likewise.
35639         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35640         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35641         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35642         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35643         Likewise.
35644         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35645         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35646         L(1_2) and L(1_3) into L(1).
35647         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35648         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35650         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35651         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35652         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35653         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35654         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35655         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35656         macros.
35657         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35659         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35660         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35661         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35662         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35663         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35664         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35665         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35666         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35667         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35668         * sysdeps/i386/strspn.S (strspn): Likewise.
35669         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35670         conditional code.
35671         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35672         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35673         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35674         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35675         L(1_3) into L(1_1).
35676         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35677         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35678         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35679         macros.
35680         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35682 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35684         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35685         macro.
35687 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35689         * math/atest-exp.c (exp_mpn): Remove ROUND.
35690         * math/atest-exp2.c (exp_mpn): Likewise.
35691         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35693         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35694         * stdlib/tst-tls-atexit-lib.c: Likewise.
35695         * stdlib/tst-tls-atexit.c: Likewise.
35697 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35699         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35700         and __attribute_alloc_size__.
35702 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35704         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35705         __attribute_alloc_size__.
35706         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35707         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35709 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35711         * include/programs/xmalloc.h: New file.
35712         * catgets/gencat.c: Include it.
35713         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35714         * elf/pldd.c: Likewise.
35715         * iconv/iconv_charmap.c: Likewise.
35716         * iconv/iconvconfig.c: Likewise.
35717         * iconv/strtab.c: Likewise.
35718         * locale/programs/locale.c: Likewise.
35719         * locale/programs/localedef.h: Likewise.
35720         * locale/programs/simple-hash.c: Likewise.
35721         * nscd/nscd.h: Likewise.
35722         * nss/makedb.c: Likewise.
35723         * sysdeps/generic/ldconfig.h: Likewise.
35725 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35727         * Versions.def: Add GLIBC_2.18.
35728         * include/link.h (struct link_map): New member l_tls_dtor_count.
35729         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35730         (__call_tls_dtors): Likewise.
35731         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35732         __cxa_thread_atexit_impl.
35733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35734         Likewise.
35735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35736         Likewise.
35737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35738         Likewise.
35739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35740         Likewise.
35741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35743         Likewise.
35744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35745         Likewise.
35746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35748         Likewise.
35749         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35750         (tests): Add test case tst-tls-atexit.
35751         (modules-names): Add shared library for tst-tls-atexit.
35752         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35753         (GLIBC_PRIVATE): Add __call_tls_dtors.
35754         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35755         for libstdc++.
35756         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35757         * stdlib/tst-tls-atexit.c: New test case.
35758         * stdlib/tst-tls-atexit-lib.c: New test case.
35760         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35762         * elf/Versions (ld): Add _dl_find_dso_for_object.
35763         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35764         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35765         (dl_open_worker): Use _dl_find_dso_for_object.
35766         * elf/dl-sym.c (do_sym): Likewise.
35767         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35769 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35771         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35772         Syntactic changes only.
35773         (_dl_runtime_profile): Do a tail-call to the resolved function.
35775 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35777         [BZ #13550]
35778         * sysdeps/x86_64/bp-asm.h: Remove file.
35779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35780         <bp-sym.h> and <bp-asm.h>.
35781         (__clone): Do not use BP_SYM.
35782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35783         <bp-sym.h> and <bp-asm.h>.
35784         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35785         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35786         "bp-asm.h".
35787         (_setjmp): Do not use BP_SYM.
35788         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35789         "bp-asm.h".
35790         (setjmp): Do not use BP_SYM.
35791         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35792         libc_hidden_def.
35793         (mempcpy): Do not use BP_SYM in weak_alias.
35794         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35795         "bp-asm.h".
35796         (strchr): Do not use BP_SYM.
35797         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35798         "bp-asm.h".
35799         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35800         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35801         (_start): Do not use BP_SYM.
35802         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35803         "bp-asm.h".
35804         (strcat): Do not use BP_SYM.
35805         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35806         "bp-asm.h".
35807         (STRCMP): Do not use BP_SYM.
35808         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35809         "bp-asm.h".
35810         (STRCPY): Do not use BP_SYM.
35811         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35812         "bp-asm.h".
35813         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35814         "bp-asm.h".
35815         (FUNCTION): Do not use BP_SYM.
35816         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35817         weak_alias.
35818         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35820 2013-02-17  Andreas Jaeger  <aj@suse.de>
35822         * time/Versions: Sort entries.
35823         * string/Versions: Likewise.
35824         * resolv/Versions: Likewise.
35825         * posix/Versions: Likewise.
35826         * iconv/Versions: Likewise.
35827         * elf/Versions: Likewise.
35828         * wcsmbs/Versions: Likewise.
35830 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35833         loop termination condition.
35835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35836         variable to calculate EZ.
35837         (__sqr): Likewise.
35839         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35840         the lower precision input.
35842 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35844         [BZ #13550]
35845         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35846         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35847         (run-via-rtld-prefix): Do not handle %-bp tests.
35848         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35849         (all-object-suffixes): Remove .ob.
35850         (bppfx): Remove variable.
35851         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35852         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35853         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35854         [$(build-bounded) = yes] (libtype.ob): Likewise.
35855         * Makerules (elide-routines.ob): Remove variable.
35856         (do-tests-clean): Do not handle *-bp.out.
35857         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35858         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35859         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35860         (tests): Do not include $(tests-bp.out).
35861         (xtests): Do not include $(xtests-bp.out).
35862         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35863         [$(build-bounded) = yes] ($(addprefix
35864         $(objpfx),$(binaries-bounded))): Remove rule.
35865         ($(objpfx)%-bp.out): Remove rule.
35866         * config.make.in (build-bounded): Remove variable.
35867         * crypt/Makefile [$(build-bounded) = yes]
35868         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35869         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35870         append to variable.
35871         [$(build-bounded) = yes] (install-lib): Likewise.
35872         [$(build-bounded) = yes] (generated): Likewise.
35873         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35874         Remove rule.
35875         * intl/Makefile [$(build-bounded) = yes]
35876         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35877         * math/Makefile [$(build-bounded) = yes]
35878         ($(tests:%=$(objpfx)%-bp): Likewise.
35879         * misc/Makefile [$(build-bounded) = yes]
35880         ($(objpfx)tst-tsearch-bp): Likewise.
35881         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35882         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35883         Remove dependency.
35884         * string/Makefile (o-objects.ob): Remove variable.
35885         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35886         (CFLAGS-.ob): Remove variable.
35887         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35888         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35889         both definitions of variable.
35890         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35891         (ASFLAGS-.ob): Remove variable.
35893 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35895         [BZ #13550]
35896         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35897         Remove __BOUNDED_POINTERS__ from condition.
35898         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35899         * string/bits/string2.h [!__NO_STRING_INLINES &&
35900         !__BOUNDED_POINTERS__]: Likewise.
35901         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35902         Likewise.
35903         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35904         Remove conditional code.
35905         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35906         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35907         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35908         condition.
35910         [BZ #13550]
35911         * csu/libc-start.c: Do not include <bp-sym.h>.
35912         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35913         * elf/dl-open.c: Do not include <bp-sym.h>.
35914         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35915         * math/fegetenv.c: Do not include <bp-sym.h>.
35916         (fegetenv): Do not use BP_SYM in versioned symbols.
35917         * nptl/sysdeps/pthread/bits/libc-lockP.h
35918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35919         <bp-sym.h>.
35920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35921         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35923         (__pthread_mutex_destroy): Likewise.
35924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35925         (__pthread_mutex_lock): Likewise.
35926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35927         (__pthread_mutex_trylock): Likewise.
35928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35929         (__pthread_mutex_unlock): Likewise.
35930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35931         (__pthread_mutexattr_init): Likewise.
35932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35933         (__pthread_mutexattr_destroy): Likewise.
35934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35935         (__pthread_mutexattr_settype): Likewise.
35936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35937         (__pthread_rwlock_init): Likewise.
35938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35939         (__pthread_rwlock_destroy): Likewise.
35940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35941         (__pthread_rwlock_rdlock): Likewise.
35942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35943         (__pthread_rwlock_tryrdlock): Likewise.
35944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35945         (__pthread_rwlock_wrlock): Likewise.
35946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35947         (__pthread_rwlock_trywrlock): Likewise.
35948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35949         (__pthread_rwlock_unlock): Likewise.
35950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35951         (__pthread_key_create): Likewise.
35952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35953         (__pthread_setspecific): Likewise.
35954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35955         (__pthread_getspecific): Likewise.
35956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35957         Likewise.
35958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35959         (_pthread_cleanup_push_defer): Likewise.
35960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35961         (_pthread_cleanup_pop_restore): Likewise.
35962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35963         (pthread_setcancelstate): Likewise.
35964         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35965         <bp-sym.h>.
35966         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35967         (memchr): Do not use BP_SYM in weak_alias.
35968         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35969         (fegetenv): Do not use BP_SYM in versioned symbols.
35970         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35971         (fesetenv): Do not use BP_SYM in versioned symbols.
35972         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35973         (feupdateenv): Do not use BP_SYM in versioned symbols.
35974         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35975         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35976         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35977         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35978         (open64): Do not use BP_SYM in weak_alias.
35979         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35980         (fegetenv): Do not use BP_SYM in versioned symbols.
35981         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35982         (fesetenv): Do not use BP_SYM in versioned symbols.
35983         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35984         (feupdateenv): Do not use BP_SYM in versioned symbols.
35985         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35986         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35987         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35988         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35989         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35990         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35991         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35992         <bp-sym.h>.
35993         (__libc_start_main): Do not use BP_SYM.
35995 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35998         redundant return line.
35999         (norm): Likewise.
36000         (denorm): Likewise.
36001         (dbl_mp): Likewise.
36002         (sub_magnitudes): Likewise.
36003         (__add): Likewise.
36004         (__sub): Likewise.
36005         (__mul): Likewise.
36006         (__inv): Likewise.
36007         (__dvd): Likewise.
36008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36009         (norm): Likewise.
36010         (denorm): Likewise.
36011         (dbl_mp): Likewise.
36012         (sub_magnitudes): Likewise.
36013         (__add): Likewise.
36014         (__sub): Likewise.
36015         (__mul): Likewise.
36016         (__inv): Likewise.
36017         (__dvd): Likewise.
36019         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36020         instead of __mul.
36021         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36022         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36023         (cc32): Likewise.
36025         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36026         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36028         of __mul for squares.
36029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36030         function
36031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36032         Likewise.
36033         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36034         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36036 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36038         [BZ #13550]
36039         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36040         code.
36041         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36042         prototype or function definition.  Rename ubp_* variables and
36043         parameters.  Remove argv definitions conditional on
36044         [__BOUNDED_POINTERS__].
36045         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36046         * elf/dl-runtime.c (_dl_fixup): Likewise.
36047         * include/set-hooks.h (RUN_HOOK): Likewise.
36048         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36049         definition.
36050         * string/strcpy.c (strcpy): Do not use __unbounded.
36051         * sysdeps/generic/frame.h (struct layout): Likewise.
36052         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36053         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36054         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36055         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36056         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36057         (__backtrace): Likewise.
36058         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36059         use __ptrvalue.
36060         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36061         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36062         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36063         Likewise.
36064         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36065         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36066         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36067         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36068         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36069         Do not use __unbounded.
36070         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36071         Rename __unboundedrlimits parameter to rlimits in prototype.
36072         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36073         Do not use __unbounded.
36074         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36075         not use __ptrvalue.
36076         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36077         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36078         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36079         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36080         __ptrvalue or __unbounded.
36081         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36082         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36083         use __unbounded.
36084         (__new_msgctl): Do not use __ptrvalue.
36085         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36086         __unbounded.
36087         (__libc_msgrcv): Do not use __ptrvalue.
36088         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36089         startup_info): Do not use __unbounded.
36090         (__libc_start_main): Likewise.  Rename ubp_* variables and
36091         parameters.  Remove argv definitions conditional on
36092         [__BOUNDED_POINTERS__].
36093         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36094         __ptrvalue.
36095         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36096         use __unbounded.
36097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36098         or __ptrvalue.
36099         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36100         use __unbounded.
36101         (__new_shmctl): Do not use __ptrvalue.
36102         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36103         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36104         Likewise.
36105         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36106         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36107         (__libc_sigaction): Likewise.
36108         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36109         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36110         Likewise.
36111         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36113 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36115         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36117         * string/mempcpy.c: Implement by calling memcpy.
36119 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36124         evaluation.
36126         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36127         values in the mantissa.
36129         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36130         minimize writes to Z.
36131         (sub_magnitudes): Simplify code a bit.
36133 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36135         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36136         from the message.  The linker prefixes all warnings with that already.
36138 2013-02-12  Andreas Schwab  <schwab@suse.de>
36140         [BZ #15078]
36141         * posix/regexec.c (extend_buffers): Add parameter min_len.
36142         (check_matching): Pass minimum needed length.
36143         (clean_state_log_if_needed): Likewise.
36144         (get_subexp): Likewise.
36145         * posix/Makefile (tests): Add bug-regex34.
36146         (bug-regex34-ENV): Define.
36147         * posix/bug-regex34.c: New file.
36149         [BZ #11561]
36150         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36151         elements compare against the byte sequence of it, not its name.
36152         * posix/Makefile (tests): Add bug-regex35.
36153         (bug-regex35-ENV): Define.
36154         * posix/bug-regex35.c: New file.
36156 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36158         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36159         comment.
36160         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36161         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36162         (CHECK_EOL): Add undef.
36164 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36166         * bits/stdlib-bsearch.h: New file.
36167         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36168         * stdlib/stdlib.h: Likewise.
36170 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36172         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36173         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36174         declaration.
36175         * manual/search.texi (Array Search Function): Add missing const in
36176         lfind prototype.
36177         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36178         declaration to use rlim_t.
36179         (Basic Scheduling Functions): Remove erroneous const from
36180         sched_getparam prototype.  Remove erroneous * from
36181         sched_get_priority_max and sched_get_priority_min prototypes.
36182         (Resource Usage): Fix summary @comment on vtimes to refer to
36183         sys/vtimes.h rather than vtimes.h.
36184         Add missing *s in vtimes prototype.
36185         (Limits on Resources): Fix ulimit prototype to return long int.
36186         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36187         prototypes to use long int rather than double.
36188         (BSD Random): Fix initstate and setstate to use char *, not void *.
36189         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36190         prototype to make second argument 'struct aiocb64 *const[]'.
36191         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36192         (Status of AIO Operations): Remove erroneous const in aio_return and
36193         aio_return64 prototypes.
36194         (Synchronizing I/O): Fix sync prototype to return void.
36195         * manual/startup.texi (Suboptions): Remove an erroneous const in
36196         getsubopt prototype.
36197         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36198         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36199         use size_t rather than int.
36200         (Scanning All Users): Likewise for getpwent_r.
36201         (Setting Groups): Add missing const to setgroups prototype.
36202         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36203         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36204         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36205         'const void *' rather than 'const char *'.
36206         (Host Address Functions): Likewise for inet_ntop.
36207         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36208         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36209         ssize_t for return value.
36210         (Sending Data): Likewise for send, sendto, sendmsg.
36211         (Socket Option Functions): Add a missing const in setsockopt prototype.
36212         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36213         use wchar_t for the argument.
36214         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36215         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36216         take no arguments.
36217         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36218         double/float/long double for second argument.
36219         Fix return types of significand, significandf, significandl.
36220         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36221         argument in fchmod prototype.
36222         (File Owner): Use uid_t and gid_t in fchown prototype.
36223         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36224         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36225         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36226         use 'const struct dirent **' as argument types to CMP function pointer
36227         argument.
36228         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36229         (File Times): Fix summary magic @comment for struct utimbuf and utime
36230         to refer to utime.h, not time.h.
36231         * manual/string.texi (Argz Functions): Add missing const in
36232         argz_extract and argz_next prototypes.
36233         (Finding Tokens in a String): Likewise for basename.
36234         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36235         (Copying and Concatenation): Fix typo in wmemmove prototype.
36236         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36237         (Signal Stack): Remove erroneous const in sigstack prototype.
36238         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36239         prototype.
36240         (Simple Calendar Time): Likewise for stime.
36241         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36242         prototype.
36243         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36244         say sys/sysctl.h instead.
36245         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36246         and vsyslog prototypes.
36248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36250         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36251         Remove.
36253 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36255         * misc/sys/mman.h: Fix typo in mremap comment.
36257 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36259         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36260         the '\0' terminator.
36262 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36264         [BZ #13550]
36265         * debug/segfault.c: Don't include <bp-checks.h>.
36266         * sysdeps/generic/bp-checks.h: Remove file.
36267         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36268         (__GETDENTS): Don't use CHECK_N.
36269         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36270         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36271         (__getgroups): Don't use CHECK_N.
36272         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36273         (setgroups): Don't use CHECK_N.
36274         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36275         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36276         (__libc_msgrcv): Don't use CHECK_N.
36277         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36278         (__libc_msgsnd): Don't use CHECK_N.
36279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36280         <bp-checks.h>.
36281         (__libc_pread): Don't use CHECK_N.
36282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36283         include <bp-checks.h>.
36284         (__libc_pread64): Don't use CHECK_N.
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36286         include <bp-checks.h>.
36287         (__libc_pwrite): Don't use CHECK_N.
36288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36289         include <bp-checks.h>.
36290         (__libc_pwrite64): Don't use CHECK_N.
36291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36292         <bp-checks.h>.
36293         (__libc_pread): Don't use CHECK_N.
36294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36295         include <bp-checks.h>.
36296         (__libc_pread64): Don't use CHECK_N.
36297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36298         include <bp-checks.h>.
36299         (__libc_pwrite): Don't use CHECK_N.
36300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36301         include <bp-checks.h>.
36302         (__libc_pwrite64): Don't use CHECK_N.
36303         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36304         (do_pread): Don't use CHECK_N.
36305         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36306         (do_pread64): Don't use CHECK_N.
36307         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36308         (do_pwrite): Don't use CHECK_N.
36309         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36310         (do_pwrite64): Don't use CHECK_N.
36311         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36312         (__libc_readv): Don't use CHECK_N.
36313         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36314         (semop): Don't use CHECK_N.
36315         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36316         <bp-checks.h>.
36317         (semtimedop): Don't use CHECK_N.
36318         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36319         (__libc_pread): Don't use CHECK_N.
36320         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36321         <bp-checks.h>.
36322         (__libc_pread64): Don't use CHECK_N.
36323         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36324         <bp-checks.h>.
36325         (__libc_pwrite): Don't use CHECK_N.
36326         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36327         <bp-checks.h>.
36328         (__libc_pwrite64): Don't use CHECK_N.
36329         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36330         <bp-checks.h>.
36331         (__libc_msgrcv): Don't use CHECK_N.
36332         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36333         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36334         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36335         (__libc_writev): Don't use CHECK_N.
36337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36339         * string/strcpy.c: Removed unused variable.
36341         * Makeconfig (+sysdep-includes): Define with := rather than =.
36342         Use an existing include/ subdir of each sysdeps dir before it.
36344 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36346         * nscd/connection.c (register_traced_file): Comment function.
36347         [HAVE_INOTIFY] (union __inev): Define.
36348         [HAVE_INOTIFY] (inotify_check_files): New function.
36349         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36350         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36351         clear_db_cache.
36352         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36354 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36356         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36357         loaded if not already and that a failure is permanent.
36359 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36361         [BZ #15006]
36362         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36363         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36365 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36367         [BZ #13550]
36368         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36369         (CHECK_1_NULL_OK): Likewise.
36370         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36371         (__fxstat): Do not use CHECK_1.
36372         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36373         <bp-checks.h>.
36374         (___fxstat64): Do not use CHECK_1.
36375         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36376         <bp-checks.h>.
36377         (__fxstatat): Do not use CHECK_1.
36378         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36379         <bp-checks.h>.
36380         (__fxstatat64): Do not use CHECK_1.
36381         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36382         <bp-checks.h>.
36383         (__fxstat): Do not use CHECK_1.
36384         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36385         <bp-checks.h>.
36386         (__fxstatat): Do not use CHECK_1.
36387         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36388         <bp-checks.h>.
36389         (__getresgid): Do not use CHECK_1.
36390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36391         <bp-checks.h>.
36392         (__getresuid): Do not use CHECK_1.
36393         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36394         <bp-checks.h>.
36395         (__lxstat): Do not use CHECK_1.
36396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36397         <bp-checks.h>.
36398         (__old_msgctl): Do not use CHECK_1.
36399         (__new_msgctl): Likewise.
36400         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36401         <bp-checks.h>.
36402         (__new_setrlimit): Do not use CHECK_1.
36403         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36404         <bp-checks.h>.
36405         (__old_shmctl): Do not use CHECK_1.
36406         (__new_shmctl): Likewise.
36407         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36408         <bp-checks.h>.
36409         (__xstat): Do not use CHECK_1.
36410         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36411         (__lxstat): Do not use CHECK_1.
36412         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36413         <bp-checks.h>.
36414         (___lxstat64): Do not use CHECK_1.
36415         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36416         (__old_msgctl): Do not use CHECK_1.
36417         (__new_msgctl): Likewise.
36418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36419         <bp-checks.h>.
36420         (__gettimeofday): Do not use CHECK_1.
36421         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36422         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36423         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36424         <bp-checks.h>.
36425         (__gettimeofday): Do not use CHECK_1.
36426         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36427         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36428         (__new_shmctl): Do not use CHECK_1.
36429         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36430         <bp-checks.h>.
36431         (do_sigtimedwait): Do not use CHECK_1.
36432         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36433         <bp-checks.h>.
36434         (do_sigwaitinfo): Do not use CHECK_1.
36435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36436         <bp-checks.h>.
36437         (msgctl): Do not use CHECK_1.
36438         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36439         <bp-checks.h>.
36440         (shmctl): Do not use CHECK_1.
36441         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36442         (ustat): Do not use CHECK_1.
36443         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36444         <bp-checks.h>.
36445         (__fxstat): Do not use CHECK_1.
36446         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36447         <bp-checks.h>.
36448         (__fxstatat): Do not use CHECK_1.
36449         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36450         <bp-checks.h>.
36451         (__lxstat): Do not use CHECK_1.
36452         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36453         <bp-checks.h>.
36454         (__xstat): Do not use CHECK_1.
36455         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36456         (__xstat): Do not use CHECK_1.
36457         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36458         (___xstat64): Do not use CHECK_1.
36460         [BZ #13550]
36461         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36462         definitions.
36463         (CHECK_BOUNDS_HIGH): Likewise.
36464         * string/strcpy.c: Do not include <bp-checks.h>.
36465         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36467 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36469         * nscd/nscd-client.h (__nscd_drop_map_ref):
36470         Add __attribute__ ((unused)).
36471         * nis/nss-nisplus.h (niserr2nss): Likewise.
36473         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36474         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36476         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36477         Remove inline keyword.
36478         * include/rounding-mode.h (round_away): Likewise.
36479         * libio/wfileops.c (adjust_wide_data): Likewise.
36480         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36481         (__m128i_strloadu_tolower): Likewise.
36482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36483         (__m128i_strloadu_tolower): Likewise.
36484         * time/mktime.c (ydhms_diff): Likewise.
36485         * locale/elem-hash.h (elem_hash): Likewise.
36486         * locale/setlocale.c (setdata): Likewise.
36487         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36488         (re_string_wchar_at): Likewise.
36489         (bitset_not, bitset_merge, bitset_mask): Likewise.
36490         [!(__GNUC__ > 3)] (inline): Remove macro.
36491         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36492         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36493         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36494         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36495         * string/memcmp.c (memcmp_bytes): Likewise.
36496         * locale/programs/locarchive.c (compute_hashval): Likewise.
36497         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36498         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36499         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36500         * nss/getent.c (print_rpc, print_protocols): Likewise.
36501         (print_passwd, print_group, print_aliases): Likewise.
36502         * nis/nss-nisplus.h (niserr2nss): Likewise.
36503         * nscd/connections.c (restart_p): Likewise.
36504         Change return type to bool.
36506 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36508         * Makeconfig (all-Depend-files): Add existing
36509         $(sorted-subdirs:=/Depend) files.
36510         (all-subdirs): Remove nss.
36511         * sysdeps/unix/inet/Subdirs: Add it here instead.
36512         * hesiod/Depend: New file.
36514         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36515         instead of calling alloca.
36517         * io/lseek.c (__lseek): Rename to __libc_lseek.
36518         Define __lseek as an alias.
36520         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36522 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36524         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36525         else clause and remove check for non-standard endianness.
36527 2013-02-04  David S. Miller  <davem@davemloft.net>
36529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36531 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36533         [BZ #13550]
36534         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36535         (__ubp_memchr): Remove prototype.
36536         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36537         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36538         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36539         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36540         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36541         Remove alias.
36542         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36543         (__ubp_memchr): Likewise.
36544         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36545         (__ubp_memchr): Likewise.
36546         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36547         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36548         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36550         CHECK_STRING.
36551         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36552         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36553         (__getcwd): Do not use CHECK_STRING.
36554         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36555         <bp-checks.h>.
36556         (__real_chown): Do not use CHECK_STRING.
36557         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36558         <bp-checks.h>.
36559         (fchownat): Do not use CHECK_STRING.
36560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36561         CHECK_STRING.
36562         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36563         <bp-checks.h>.
36564         (__lchown): Do not use CHECK_STRING.
36565         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36566         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36567         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36568         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36570         include <bp-checks.h>.
36571         (truncate64): Do not use CHECK_STRING.
36572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36573         <bp-checks.h>.
36574         (__real_chown): Do not use CHECK_STRING.
36575         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36576         <bp-checks.h>.
36577         (__lchown): Do not use CHECK_STRING.
36578         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36579         <bp-checks.h>.
36580         (__chown): Do not use CHECK_STRING.
36581         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36582         <bp-checks.h>.
36583         (truncate64): Do not use CHECK_STRING.
36584         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36585         Likewise.
36586         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36587         (__xmknod): Do not use CHECK_STRING.
36588         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36589         <bp-checks.h>.
36590         (__xmknodat): Do not use CHECK_STRING.
36591         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36592         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36594 2013-02-04  Andreas Schwab  <schwab@suse.de>
36596         [BZ #14142]
36597         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36598         * include/netdb.h: Likewise for h_errno.
36599         * elf/tst-stackguard1.c: Include <tls.h>.
36601 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36603         * elf/link.h (struct link_map): Extend the l_addr comment.
36604         * include/link.h (struct link_map): Likewise.
36606 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36608         [BZ #13550]
36609         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36610         (BOUNDED_1): Remove macro.
36611         * debug/backtrace.c: Don't include <bp-checks.h>.
36612         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36613         (__backtrace): Likewise.
36614         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36615         <bp-checks.h>.
36616         (__backtrace): Don't use BOUNDED_1.
36617         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36618         <bp-checks.h>.
36619         (__backtrace): Don't use BOUNDED_1.
36620         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36621         (__backtrace): Don't use BOUNDED_1.
36622         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36623         (shmat): Don't use BOUNDED_N.
36625 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36627         [BZ #13550]
36628         * sysdeps/generic/bp-start.h: Remove file.
36629         * csu/libc-start.c: Don't include <bp-start.h>.
36630         (LIBC_START_MAIN): Set up __environ directly instead of using
36631         INIT_ARGV_and_ENVIRON.
36632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36633         <bp-start.h>.
36635         [BZ #13550]
36636         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36637         definitions.
36638         (CHECK_FCNTL): Likewise.
36639         (CHECK_N_PAGES): Likewise.
36641         [BZ #13550]
36642         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36643         definitions.
36644         (CHECK_SIGSET_NULL_OK): Likewise.
36645         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36646         <bp-checks.h>.
36647         (sigpending): Don't use CHECK_SIGSET.
36648         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36649         <bp-checks.h>.
36650         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36651         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36652         <bp-checks.h>.
36653         (do_sigsuspend): Don't use CHECK_SIGSET.
36654         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36655         use CHECK_SIGSET.
36656         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36657         (do_sigwait): Don't use CHECK_SIGSET.
36658         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36659         use CHECK_SIGSET.
36660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36661         include <bp-checks.h>.
36662         (sigpending): Don't use CHECK_SIGSET.
36663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36664         include <bp-checks.h>.
36665         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36666         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36667         <bp-checks.h>.
36668         (sigpending): Don't use CHECK_SIGSET.
36669         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36670         <bp-checks.h>.
36671         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36673         [BZ #13550]
36674         * sysdeps/generic/bp-semctl.h: Remove file.
36675         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36676         <bp-checks.h> and <bp-semctl.h>.
36677         (__old_semctl): Don't use CHECK_SEMCTL.
36678         (__new_semctl): Likewise.
36679         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36680         and <bp-semctl.h>.
36681         (__old_semctl): Don't use CHECK_SEMCTL.
36682         (__new_semctl): Likewise.
36683         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36684         <bp-checks.h> and <bp-semctl.h>.
36685         (__old_semctl): Don't use CHECK_SEMCTL.
36686         (__new_semctl): Likewise.
36687         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36688         <bp-checks.h> and <bp-semctl.h>.
36689         (semctl): Don't use CHECK_SEMCTL.
36691         [BZ #13550]
36692         * Makerules (elide-bp-thunks): Remove variable.
36693         (elide-routines.oS): Don't use $(elide-bp-thunks).
36694         (elide-routines.os): Likewise.
36695         (elide-routines.o): Likewise.
36696         (elide-routines.op): Likewise.
36697         (elide-routines.og): Likewise.
36698         (objects): Don't use $(bp-thunks).
36699         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36700         include.
36701         (common-generated): Do not add s-proto-bp.d.
36702         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36703         (int): Likewise.
36704         (typ): Likewise.
36705         Do not generate makefile rules for bounded-pointer thunks.
36706         * sysdeps/generic/bp-thunks.h: Remove file.
36707         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36708         * sysdeps/unix/s-proto-bp.S: Likewise.
36710         [BZ #15062]
36711         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36712         parts of result separately when argument is not close to line from
36713         -i to i and one part of argument is small.
36714         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36715         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36716         * math/libm-test.inc (cacos_test): Add more tests.
36717         (casin_test): Likewise.
36718         (casinh_test): Likewise.
36719         * sysdeps/i386/fpu/libm-test-ulps: Update.
36720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36722 2013-01-31  David S. Miller  <davem@davemloft.net>
36724         * po/de.po: Update from translation team.
36726 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36728         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36730 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36732         * configure.in (_AC_PROG_CC_C89): New definition.
36733         * configure: Regenerate.
36735         * configure.in (AC_PROG_CPP): New definition.
36736         * configure: Regenerate.
36738 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36740         * debug/tst-backtrace.h: New file.
36741         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36742         (ret): Remove variable.
36743         (x): Likewise.
36744         (FAIL): Remove macro.
36745         (NO_INLINE): Likewise.
36746         (fn1): Use match function instead of strstr.
36747         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36748         (ret): Remove variable.
36749         (x): Likewise.
36750         (FAIL): Remove macro.
36751         (NO_INLINE): Likewise.
36752         (fn): Use match function instead of strstr.
36753         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36754         (ret): Remove variable.
36755         (x): Likewise.
36756         (FAIL): Remove macro.
36757         (NO_INLINE): Likewise.
36758         (handle_signal): Use match function instead of strstr.
36759         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36760         (ret): Remove variable.
36761         (x): Likewise.
36762         (FAIL): Remove macro.
36763         (NO_INLINE): Likewise.
36764         (handle_signal): Use match function instead of strstr.
36766 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36768         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36770 2013-01-23  David S. Miller  <davem@davemloft.net>
36772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36773         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36774         argument of CAS if possible.
36775         * sysdeps/sparc/sparc64/bits/atomic.h
36776         (__arch_compare_and_exchange_val_32_acq): Likewise.
36777         (__arch_compare_and_exchange_val_64_acq): Likewise.
36779 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36781         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36782         * sysdeps/posix/ulimit.c: ... this.
36783         Include <limits.h>.
36784         * sysdeps/unix/bsd/ulimit.c: Remove file.
36786 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36788         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36789         (LDFLAGS-tst-array5): Likewise.
36791 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36793         [BZ #15036]
36794         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36795         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36796         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36797         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36799 2013-01-21  David S. Miller  <davem@davemloft.net>
36801         * sysdeps/sparc/backtrace.c: New file.
36802         * sysdeps/sparc/sparc32/backtrace.h: New file.
36803         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36804         * sysdeps/sparc/sparc64/backtrace.h: New file.
36805         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36806         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36807         -funwind-tables.
36809 2013-01-21  Andreas Schwab  <schwab@suse.de>
36811         [BZ #15020]
36812         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36813         closed its stdout.
36815 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36818         "mpa2.h".
36819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36821 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36822             Mark Mitchell  <mark@codesourcery.com>
36823             Tom de Vries  <tom@codesourcery.com>
36824             Paul Pluzhnikov  <ppluzhnikov@google.com>
36826         * debug/tst-backtrace2.c: New file.
36827         * debug/tst-backtrace3.c: Likewise.
36828         * debug/tst-backtrace4.c: Likewise.
36829         * debug/tst-backtrace5.c: Likewise.
36830         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36831         (CFLAGS-tst-backtrace3.c): Likewise.
36832         (CFLAGS-tst-backtrace4.c): Likewise.
36833         (CFLAGS-tst-backtrace5.c): Likewise.
36834         (LDFLAGS-tst-backtrace2): Likewise.
36835         (LDFLAGS-tst-backtrace3): Likewise.
36836         (LDFLAGS-tst-backtrace4): Likewise.
36837         (LDFLAGS-tst-backtrace5): Likewise.
36838         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36839         tst-backtrace4 and tst-backtrace5.
36841 2013-01-18  Anton Blanchard  <anton@samba.org>
36842             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36844         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36845         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36847         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36849         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36850         "+r" and remove output regs list as redundant.  Add explicit inline
36851         asm to specify register of return val to work around compiler codegen
36852         bug.  Remove (int) cast on return value.  Add return type parameter to
36853         use in macro so that this macro does not truncate return value for
36854         64-bit values.
36855         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36856         pass to INTERNAL_VSYSCALL_NCS.
36857         (INLINE_VSYSCALL): Add 'long int' as return type to
36858         INTERNAL_VSYSCALL_NCS macro invocation.
36859         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36860         INTERNAL_VSYSCALL_NCS macro invocation.
36861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36863 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36865         [BZ #14496]
36866         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36867         Fix application of SIMD FP exception mask.
36869         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36870         mp_no from a power of two.
36871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36872         __mpexp_twomm1.  Use __pow_mp.
36874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36875         multiplication.
36877 2013-01-17  David S. Miller  <davem@davemloft.net>
36879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36881 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36883         [BZ #15023]
36884         * include/complex.h: Condition contents on [!_COMPLEX_H].
36885         (__kernel_casinhf): New prototype.
36886         (__kernel_casinh): Likewise.
36887         (__kernel_casinhl): Likewise.
36888         * math/Makefile (libm_calls): Add k_casinh.
36889         * math/k_casinh.c: New file.
36890         * math/k_casinhf.c: Likewise.
36891         * math/k_casinhl.c: Likewise.
36892         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36893         finite nonzero arguments.
36894         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36895         finite nonzero arguments.
36896         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36897         finite nonzero arguments.
36898         * math/s_casinh.c: Do not include <float.h>.
36899         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36900         * math/s_casinhf.c: Do not include <float.h>.
36901         (__casinhf): Move code for finite nonzero arguments to
36902         k_casinhf.c.
36903         * math/s_casinhl.c: Do not include <float.h>.
36904         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36905         redefine.
36906         (__casinhl): Move code for finite nonzero arguments to
36907         k_casinhl.c.
36908         * math/libm-test.inc (cacos_test): Add more tests.
36909         * sysdeps/i386/fpu/libm-test-ulps: Update.
36910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36912 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36914         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36915         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36916         [!HAVE_MREMAP]: Remove [defined linux] case.
36917         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36919 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36921         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36923 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36925         * elf/elf.h (R_386_SIZE32): New relocation.
36926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36927         R_386_SIZE32.
36928         (elf_machine_rela): Likewise.
36929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36930         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36932 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36934         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36935         (FP_FAST_FMA): Do not define.
36936         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36937         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36938         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36939         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36940         !_SOFT_FLOAT]: Likewise.
36941         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36942         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36943         value.
36944         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36945         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36946         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36947         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36948         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36949         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36950         file.
36952 2013-01-16  Andreas Schwab  <schwab@suse.de>
36954         [BZ #14327]
36955         * include/stdlib.h (__mktemp): Add declaration.
36956         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36957         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36959 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36961         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36962         definitions.
36963         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36964         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36965         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36966         definitions here.
36967         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36968         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36969         definitions.
36970         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36971         and ONE.
36972         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36973         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36974         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36975         definitions.
36976         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36977         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36978         definitions.
36979         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36981         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36983 2013-01-15  David S. Miller  <davem@davemloft.net>
36985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36986         trunc{,f} to libm-sysdep_routes.
36987         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36989         file.
36990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36992         file.
36993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36994         file.
36995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36997         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36998         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36999         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37000         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37001         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37002         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37005         nearbyint{,f} to libm-sysdep_routes.
37006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37008         New file.
37009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37010         file.
37011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37012         New file.
37013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37014         file.
37015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37017         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37018         file.
37019         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37020         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37021         file.
37022         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37023         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37024         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37026         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37027         libc_feholdexcept and libc_fesetenv.
37029 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37031         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37033 2013-01-14  David S. Miller  <davem@davemloft.net>
37035         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37036         (SPARC_ASM_VIS2_IFUNC): Likewise.
37037         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37039         use of 'siam' instruction.
37040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37041         Likewise.
37042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37043         Likewise.
37044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37045         Likewise.
37046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37051         file.
37052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37053         file.
37054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37055         file.
37056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37057         file.
37058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37063         new VIS2 routines.
37064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37067         Likewise.
37068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37073         routines to libm-sysdep_routines.
37074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37077         fdim/fdimf to libm-sysdep_routines.
37078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37079         file.
37080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37082         file.
37083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37086         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37087         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37088         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37089         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37091 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37094         to optimize copies.
37096         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37101         local variable MPTWO.
37102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37103         Likewise.
37105 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37107         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37108         GLOB_NOESCAPE.
37110 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37112         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37116         * manual/pattern.texi (glob_t): Document gl_flags.
37117         (glob64_t): Likewise.
37119 2013-01-11  David S. Miller  <davem@davemloft.net>
37121         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37122         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37123         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37124         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37125         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37126         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37127         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37128         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37129         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37130         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37131         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37132         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37135         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37136         sparc V9 rather than using V8 code.
37137         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37138         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37140         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37141         Move to...
37142         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37143         Here.
37145 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37147         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37148         not in the main loop.
37149         * configure: Regenerated.
37151 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37153         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37154         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37155         to just #else.
37156         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37157         [!__GLIBC_HAVE_LONG_LONG] case.
37158         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37159         condition to just #else.
37160         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37161         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37162         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37163         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37164         unconditional.
37165         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37166         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37167         #elif condition to just #else.
37168         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37169         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37170         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37171         #elif condition to just #else.
37173 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37175         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37176         (EF_MIPS_ARCH_64): Fix value.
37177         (EF_MIPS_ARCH_32R2): New.
37178         (EF_MIPS_ARCH_64R2): New.
37180 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37182         * Makeconfig (+link-pie-before-libc): New.
37183         (+link-pie-after-libc): Likewise.
37184         (+link-pie-tests): Likewise.
37185         (+link-pie): Rewritten.
37186         (link-before-libc): Remove $(config-LDFLAGS).
37187         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37188         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37189         (config-LDFLAGS): Renamed to ...
37190         (rtld-LDFLAGS): This.
37191         (rtld-tests-LDFLAGS): New macro.
37192         (link-libc-rpath-link): Likewise.
37193         (link-libc-tests-rpath-link): Likewise.
37194         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37195         (link-libc): Prepand $(link-libc-rpath-link).
37196         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37197         (test-program-prefix): New macro.
37198         (test-via-rtld-prefix): Likewise.
37199         (test-program-cmd): Likewise.
37200         (host-test-program-cmd): Likewise.
37201         * Makefile ($(common-objpfx)testrun.sh): Replace
37202         $(run-program-prefix) with $(test-program-prefix).
37203         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37204         $(rtld-LDFLAGS).
37205         ($(common-objpfx)shlib.lds): Likewise.
37206         (build-module-helper): Likewise.
37207         ($(common-objpfx)format.lds): Likewise.
37208         * Rules (binaries-pie-tests): New.
37209         (binaries-pie-notests): Likewise.
37210         (binaries-pie): Rewritten.
37211         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37212         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37213         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37214         (make-test-out): Replace $(host-built-program-cmd) with
37215         $(host-test-program-cmd).
37216         * config.make.in (build-hardcoded-path-in-tests): New variable.
37217         * configure.in (--enable-hardcoded-path-in-tests): New configure
37218         option.
37219         (hardcoded_path_in_tests): New AC_SUBST.
37220         * configure: Regenerated.
37221         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37222         $(built-program-cmd) with $(test-program-cmd).
37223         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37224         (test_program_cmd): This.
37225         * elf/Makefile ($(objpfx)order.out): Run test with
37226         $(test-program-prefix).
37227         ($(objpfx)order2.out): Likewise.
37228         ($(objpfx)tst-initorder.out): Likewise.
37229         ($(objpfx)tst-initorder2.out): Likewise.
37230         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37231         $(test-program-cmd).
37232         ($(objpfx)tst-array1-static.out): Likewise.
37233         ($(objpfx)tst-array2.out): Likewise.
37234         ($(objpfx)tst-array3.out): Likewise.
37235         ($(objpfx)tst-array4.out): Likewise.
37236         ($(objpfx)tst-array5.out): Likewise.
37237         ($(objpfx)tst-array5-static.out): Likewise.
37238         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37239         $(test-program-cmd).
37240         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37241         $(run-program-prefix) with $(test-program-prefix).
37242         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37243         (test_program_prefix): This.
37244         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37245         $(run-program-prefix) with $(test-program-prefix).
37246         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37247         (test_program_prefix): This.
37248         * iconvdata/tst-tables.sh: Likewise.
37249         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37250         $(run-program-prefix) with $(test-program-prefix).
37251         ($(objpfx)tst-translit.out): Likewise.
37252         ($(objpfx)tst-gettext2.out): Likewise.
37253         ($(objpfx)tst-gettext4.out): Likewise.
37254         ($(objpfx)tst-gettext6.out): Likewise.
37255         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37256         (test_program_prefix): This.
37257         * intl/tst-gettext2.sh: Likewise.
37258         * intl/tst-gettext4.sh  Likewise.
37259         * intl/tst-gettext6.sh: Likewise.
37260         * intl/tst-translit.sh: Likewise.
37261         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37262         with $(test-program-cmd).
37263         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37264         $(run-program-prefix) with $(test-program-prefix).
37265         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37266         (test_program_prefix): This.
37267         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37268         $(run-program-prefix) with $(test-program-prefix).
37269         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37270         (test_program_prefix): This.
37271         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37272         * posix/Makefile ($(objpfx)globtest.out): Replace
37273         $(run-via-rtld-prefix) and $(test-wrapper) with
37274         $(test-program-prefix) and $(test-via-rtld-prefix).
37275         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37276         $(test-program-prefix).
37277         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37278         $(host-test-program-cmd).
37279         (tst-spawn-ARGS): Likewise.
37280         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37281         $(test-program-prefix).
37282         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37283         (test_via_rtld_prefix): This.
37284         (test_wrapper): Renamed to ...
37285         (test_program_prefix): This.
37286         (run_program_prefix): Replaced by test_program_prefix.
37287         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37288         (test_program_prefix): This.
37289         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37290         with $(host-test-program-cmd).
37291         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37292         $(run-program-prefix) with $(test-program-prefix).
37293         ($(objpfx)tst-printf.out): Likewise.
37294         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37295         $(test-program-cmd).
37296         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37297         (test_program_prefix): This.
37298         * stdio-common/tst-unbputc.sh: Likewise.
37299         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37300         $(run-program-prefix) with $(test-program-prefix).
37301         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37302         (test_program_prefix): This.
37303         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37304         $(built-program-cmd) with $(test-program-cmd).
37306 2013-01-11  Andreas Jaeger  <aj@suse.de>
37308         [BZ #15003]
37309         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37310         value. Sync with Linux 3.7.
37312 2013-01-10  David S. Miller  <davem@davemloft.net>
37314         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37315         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37316         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37318 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37320         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37321         never set.
37322         * configure: Regenerated.
37324 2013-01-10  David S. Miller  <davem@davemloft.net>
37326         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37327         sparc V9 rather than using V8 code.
37328         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37329         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37331 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37333         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37334         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37335         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37336         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37337         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37338         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37339         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37340         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37341         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37342         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37343         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37344         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37345         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37346         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37347         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37348         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37349         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37350         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37351         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37352         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37353         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37354         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37355         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37356         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37357         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37358         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37359         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37361 2013-01-10  David S. Miller  <davem@davemloft.net>
37363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37365 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37367         * posix/Makefile (tests-static): New variable.
37368         (tests): Add $(tests-static).
37369         (tst-exec-static-ARGS): New variable.
37370         (tst-spawn-static-ARGS): Likewise.
37371         * posix/tst-exec-static.c: New file.
37372         * posix/tst-spawn-static.c: Likewise.
37373         * posix/tst-exec.c: Support run directly.
37374         * posix/tst-spawn.c: Likewise.
37376 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37378         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37379         long.
37380         * math/bits/mathcalls.h (llrint): Likewise.
37381         (llround): Likewise.
37382         * stdlib/stdlib.h (struct drand48_data): Likewise.
37383         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37384         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37385         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37386         Likewise.
37387         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37388         Likewise.
37389         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37390         (elf_greg_t): Likewise.
37391         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37392         (__jmp_buf): Likewise.
37393         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37394         definitions.
37395         (llrint): Likewise, for all definitions.
37396         (llrintl): Likewise.
37398         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37399         Remove [__GNUC__] condition.
37400         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37401         condition to just [__USE_ISOC99].
37402         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37404 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37406         [BZ #14200]
37407         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37408         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37409         defined.
37410         (_POSIX_V6_ILP32_OFF32): Likewise.
37411         (_XBS5_ILP32_OFF32): Likewise.
37412         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37413         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37415 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37417         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37420         doubles __mpexp_twomm1.  Adjust usage.
37421         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37422         Remove.
37424 2013-01-10  Andreas Schwab  <schwab@suse.de>
37426         [BZ #14964]
37427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37428         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37430 2013-01-09  David S. Miller  <davem@davemloft.net>
37432         [BZ #15003]
37433         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37434         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37435         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37436         (TCP_FASTOPEN): Define.
37437         (tcp_repair_opt): New structure.
37438         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37439         enum values.
37440         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37441         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37442         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37443         (tcp_cookie_transactions): New structure.
37445 2013-01-09  Anton Blanchard  <anton@samba.org>
37447         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37448         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37449         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37450         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37452 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37454         * include/features.h (__USE_ANSI): Remove.
37456 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37458         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37460         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37462 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37464         * sysdeps/s390/fpu/libm-test-ulps: Update.
37466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37469         (__acr): Likewise.
37470         (__cpy): Likewise.
37471         (norm): Likewise.
37472         (denorm): Likewise.
37473         (__mp_dbl): Likewise.
37474         (__dbl_mp): Likewise.
37475         (add_magnitudes): Likewise.
37476         (sub_magnitudes): Likewise.
37477         (__add): Likewise.
37478         (__sub): Likewise.
37479         (__mul): Likewise.
37480         (__inv): Likewise.
37481         (__dvd): Likewise.
37482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37483         (__acr): Likewise.
37484         (__cpy): Likewise.
37485         (norm): Likewise.
37486         (denorm): Likewise.
37487         (__mp_dbl): Likewise.
37488         (__dbl_mp): Likewise.
37489         (add_magnitudes): Likewise.
37490         (sub_magnitudes): Likewise.
37491         (__add): Likewise.
37492         (__sub): Likewise.
37493         (__mul): Likewise.
37494         (__inv): Likewise.
37495         (__dvd): Likewise.
37496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37497         (__acr): Likewise.
37498         (__cpy): Likewise.
37499         (norm): Likewise.
37500         (denorm): Likewise.
37501         (__mp_dbl): Likewise.
37502         (__dbl_mp): Likewise.
37503         (add_magnitudes): Likewise.
37504         (sub_magnitudes): Likewise.
37505         (__add): Likewise.
37506         (__sub): Likewise.
37507         (__mul): Likewise.
37508         (__inv): Likewise.
37509         (__dvd): Likewise.
37511 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37513         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37514         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37515         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37516         2 && __USE_EXTERN_INLINES]: Likewise.
37518 2013-01-08  Andreas Jaeger  <aj@suse.de>
37520         [BZ# 14985]
37521         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37522         Remove.
37523         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37524         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37526 2013-01-07  Anton Blanchard  <anton@samba.org>
37528         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37529         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37530         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37531         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37532         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37533         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37534         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37535         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37537         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37538         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37541         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37542         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37543         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37544         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37546         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37547         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37548         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37549         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37550         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37551         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37552         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37553         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37554         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37555         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37557         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37558         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37560         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37561         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37562         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37563         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37564         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37565         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37566         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37567         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37568         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37570         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37572 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37574         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37575         (__MALLOC_PMT): Likewise.
37576         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37577         [__GNUC__], only on [_LIBC].
37578         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37579         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37580         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37581         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37582         forward declaration.
37583         (realloc_hook_ini): Likewise.
37584         (memalign_hook_ini): Likewise.
37585         (__libc_memalign): Do not use __MALLOC_PMT in variable
37586         declaration.
37587         (__libc_valloc): Likewise.
37588         (__libc_pvalloc): Likewise.
37589         (__libc_calloc): Likewise.
37590         (__posix_memalign): Likewise.
37592         [BZ #14996]
37593         * math/s_casinh.c: Include <float.h>.
37594         (__casinh): Do not do computation with squaring and square root
37595         for large arguments.
37596         * math/s_casinhf.c: Include <float.h>.
37597         (__casinhf): Do not do computation with squaring and square root
37598         for large arguments.
37599         * math/s_casinhl.c: Include <float.h>.
37600         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37601         (__casinhl): Do not do computation with squaring and square root
37602         for large arguments.
37603         * math/libm-test.inc (casin_test): Add more tests.
37604         (casinh_test): Likewise.
37605         * sysdeps/i386/fpu/libm-test-ulps: Update.
37606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37608 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37610         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37611         (__x86_64_raw_data_cache_size): Likewise.
37612         (__x86_64_data_cache_size_half): Likewise.
37613         (__x86_64_raw_data_cache_size_half): Likewise.
37614         (__x86_64_shared_cache_size): Likewise.
37615         (__x86_64_raw_shared_cache_size): Likewise.
37616         (__x86_64_shared_cache_size_half): Likewise.
37617         (__x86_64_raw_shared_cache_size_half): Likewise.
37618         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37619         to ...
37620         (__x86_data_cache_size): This.
37621         (__x86_64_raw_data_cache_size): Renamed to ...
37622         (__x86_raw_data_cache_size): This.
37623         (__x86_64_data_cache_size_half): Renamed to ...
37624         (__x86_data_cache_size_half): This.
37625         (__x86_64_raw_data_cache_size_half): Renamed to ...
37626         (__x86_raw_data_cache_size_half): This.
37627         (__x86_64_shared_cache_size): Renamed to ...
37628         (__x86_shared_cache_size): This.
37629         (__x86_64_raw_shared_cache_size): Renamed to ...
37630         (__x86_raw_shared_cache_size): This.
37631         (__x86_64_shared_cache_size_half): Renamed to ...
37632         (__x86_shared_cache_size_half): This.
37633         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37634         (__x86_raw_shared_cache_size_half): This.
37635         * sysdeps/x86_64/memcpy.S: Updated.
37636         * sysdeps/x86_64/memset.S: Likewise.
37637         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37638         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37641 2013-01-04  David S. Miller  <davem@davemloft.net>
37643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37645 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37647         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37648         1 to avoid redefinition warning.
37649         (__USE_GNU): Don't define.
37650         (init_signaling_nan): Protoize.
37652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37654 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37656         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37658         (__cpymn): Likewise.
37659         (norm): Remove commented code.
37660         (denorm): Likewise.
37661         (__mp_dbl): Likewise.
37662         (__inv): Likewise.
37663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37664         (__cpymn): Likewise.
37665         (norm): Remove commented code.
37666         (denorm): Likewise.
37667         (__mp_dbl): Likewise.
37668         (__inv): Likewise.
37670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37671         mp_no value for 1.0 and 2.0.
37672         (norm): Use RADIXI instead of radixi.d.
37673         (denorm): Likewise.
37674         (__mul): Use 0.0 instead of zero.d.
37675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37676         mp_no value for 1.0 and 2.0.
37677         (norm): Use RADIXI instead of radixi.d.
37678         (denorm): Likewise.
37679         (__mul): Use 0.0 instead of zero.d.
37681 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37683         [BZ #14994]
37684         * math/s_casinh.c (__casinh): Reduce finite argument to first
37685         quadrant then set signs of results at the end.
37686         * math/s_casinhf.c (__casinhf): Likewise.
37687         * math/s_casinhl.c (__casinhl): Likewise.
37688         * math/libm-test.inc (casin_test): Add more tests.
37689         (casinh_test): Likewise.
37690         * sysdeps/i386/fpu/libm-test-ulps: Update.
37691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37693 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37695         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37697         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37699         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37700         declarations.
37701         (denorm): Likewise.
37702         (__mp_dbl): Likewise.
37703         (__inv): Likewise.
37705         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37706         and adjust the header comment.
37708         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37709         variable name from declaration.
37711 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37714         Initialize COMMON_CPUID_INDEX_7 element.
37715         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37716         (CPUID_RTM): Likewise.
37717         (HAS_RTM): Likewise.
37718         (COMMON_CPUID_INDEX_7): New enum.
37720 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37722         [BZ #14981]
37723         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37724         size is zero, record memory as freed.
37726 2013-01-03  Andreas Jaeger  <aj@suse.de>
37728         * po/ia.po: Add new Interlingua translation.
37730 2012-01-03  Allan McRae  <allan@archlinux.org>
37732         * locale/programs/localedef.c: Fix description of '--posix' flag.
37734 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37736         * NEWS: Update dates in second copyright notice.
37737         * README: Update copyright dates in example.
37738         * manual/libc.texinfo: Update copyright dates.
37739         * scripts/test-installation.pl: Update copyright date in --version
37740         output.
37742         * hurd/ctty-input.c: Fix copyright notice formatting.
37743         * hurd/ctty-output.c: Likewise.
37744         * hurd/dtable.c: Likewise.
37745         * hurd/hurd-raise.c: Likewise.
37746         * hurd/hurdprio.c: Likewise.
37747         * hurd/msgportdemux.c: Likewise.
37748         * misc/sys/file.h: Likewise.
37749         * misc/sys/ioctl.h: Likewise.
37750         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37751         * sysdeps/mach/hurd/chdir.c: Likewise.
37752         * sysdeps/mach/hurd/fchdir.c: Likewise.
37753         * sysdeps/mach/hurd/rename.c: Likewise.
37754         * sysdeps/mach/hurd/rmdir.c: Likewise.
37755         * sysdeps/mach/hurd/seekdir.c: Likewise.
37756         * sysdeps/mach/hurd/setsid.c: Likewise.
37757         * sysdeps/posix/wait3.c: Likewise.
37759         * All files with FSF copyright notices: Update copyright dates
37760         using scripts/update-copyrights.
37761         * intl/plural.c: Regenerated.
37762         * locale/programs/charmap-kw.h: Likewise.
37763         * locale/programs/locfile-kw.h: Likewise.
37765 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37767         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37768         four values.
37770         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37771         calculation loop and add branch prediction.
37773         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37774         check access beyond bounds of m1np.
37776         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37777         MPTWO.
37778         (__inv): Remove local variable MPTWO to use the global
37779         constant.
37780         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37782         variable MPTWO.
37783         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37784         MP3HALFS static const.
37786 2013-01-01  David S. Miller  <davem@davemloft.net>
37788         * po/ca.po: Update from translation team.
37790 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37792         * scripts/update-copyrights: New file.
37793         * Makeconfig: Reformat copyright notice.
37794         * ctype/ctype.h: Likewise.
37795         * debug/swprintf_chk.c: Likewise.
37796         * elf/dl-cache.c: Likewise.
37797         * elf/dl-debug.c: Likewise.
37798         * elf/dl-object.c: Likewise.
37799         * grp/initgroups.c: Likewise.
37800         * hurd/Makefile: Likewise.
37801         * hurd/hurd/signal.h: Likewise.
37802         * hurd/hurdfault.c: Likewise.
37803         * hurd/hurdioctl.c: Likewise.
37804         * hurd/hurdlookup.c: Likewise.
37805         * hurd/intr-msg.c: Likewise.
37806         * iconv/gconv_open.c: Likewise.
37807         * libio/swprintf.c: Likewise.
37808         * locale/lc-ctype.c: Likewise.
37809         * locale/nl_langinfo.c: Likewise.
37810         * mach/Machrules: Likewise.
37811         * mach/Makefile: Likewise.
37812         * malloc/obstack.h: Likewise.
37813         * manual/Makefile: Likewise.
37814         * manual/tsort.awk: Likewise.
37815         * misc/bits/stab.def: Likewise.
37816         * nis/nis_print_group_entry.c: Likewise.
37817         * nis/nis_table.c: Likewise.
37818         * nis/nss_compat/compat-pwd.c: Likewise.
37819         * nis/nss_compat/compat-spwd.c: Likewise.
37820         * po/Makefile: Likewise.
37821         * posix/fnmatch.c: Likewise.
37822         * posix/regex.h: Likewise.
37823         * resolv/Makefile: Likewise.
37824         * resolv/nss_dns/dns-network.c: Likewise.
37825         * resolv/res_hconf.c: Likewise.
37826         * scripts/gen-sorted.awk: Likewise.
37827         * soft-fp/soft-fp.h: Likewise.
37828         * stdio-common/printf.h: Likewise.
37829         * stdlib/monetary.h: Likewise.
37830         * stdlib/random.c: Likewise.
37831         * stdlib/random_r.c: Likewise.
37832         * sysdeps/generic/Makefile: Likewise.
37833         * sysdeps/gnu/Makefile: Likewise.
37834         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37836         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37837         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37838         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37842         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37844         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37845         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37846         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37847         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37848         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37849         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37850         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37851         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37852         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37853         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37854         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37855         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37856         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37857         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37858         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37859         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37861         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37862         * sysdeps/mach/hurd/errnos.awk: Likewise.
37863         * sysdeps/mach/hurd/fork.c: Likewise.
37864         * sysdeps/mach/hurd/getcwd.c: Likewise.
37865         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37866         * sysdeps/mach/hurd/mmap.c: Likewise.
37867         * sysdeps/mach/hurd/utimes.c: Likewise.
37868         * sysdeps/mach/hurd/xmknod.c: Likewise.
37869         * sysdeps/posix/profil.c: Likewise.
37870         * sysdeps/posix/readdir_r.c: Likewise.
37871         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37872         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37873         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37874         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37876         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37877         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37878         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37880         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37881         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37882         * sysdeps/pthread/lio_listio.c: Likewise.
37883         * sysdeps/sparc/dl-procinfo.h: Likewise.
37884         * sysdeps/unix/i386/sysdep.S: Likewise.
37885         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37886         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37887         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37888         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37890         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37891         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37892         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37893         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37894         * sysdeps/wordsize-32/divdi3.c: Likewise.
37895         * time/sys/time.h: Likewise.
37896         * wcsmbs/Makefile: Likewise.
37898 2013-01-01  David S. Miller  <davem@davemloft.net>
37900         * po/fr.po: Update from translation team.
37902         * catgets/gencat.c: Update copyright year.
37903         * csu/version.c: Likewise.
37904         * debug/catchsegv.sh: Likewise.
37905         * debug/pcprofiledump.c: Likewise.
37906         * debug/xtrace.sh: Likewise.
37907         * elf/ldconfig.c: Likewise.
37908         * elf/ldd.bash.in: Likewise.
37909         * elf/pldd.c: Likewise.
37910         * elf/sotruss.ksh: Likewise.
37911         * elf/sprof.c: Likewise.
37912         * iconv/iconv_prog.c: Likewise.
37913         * iconv/iconvconfig.c: Likewise.
37914         * locale/programs/locale.c: Likewise.
37915         * locale/programs/localedef.c: Likewise.
37916         * login/programs/pt_chown.c: Likewise.
37917         * malloc/memusage.sh: Likewise.
37918         * malloc/memusagestat.c: Likewise.
37919         * malloc/mtrace.pl: Likewise.
37920         * nscd/nscd.c: Likewise.
37921         * nss/getent.c: Likewise.
37922         * nss/makedb.c: Likewise.
37923         * posix/getconf.c: Likewise.
37925 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37927         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37928         numbers.
37930 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37932         * math/bits/mathcalls.h (modf): Use __nonnull.
37934 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37936         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37937         (split): Use macro CN instead of the bare value.
37938         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37939         could be used.
37940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37941         instead of the bare value.
37942         (power1): Likewise.
37944 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37946         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37947         __ATAN_TWOM.
37948         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37950         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37951         their values.
37952         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37953         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37954         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37955         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37957 2012-12-28  Andreas Jaeger  <aj@suse.de>
37959         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37960         values are from Linux 3.7.
37962         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37963         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37965 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37967         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37968         TRUE case.
37970         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37971         (norm): Likewise.
37972         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37973         variables with preprocessor constants.
37974         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37975         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37976         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37978 2012-12-27  Bruno Haible  <bruno@clisp.org>
37980         [BZ #14317]
37981         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37982         only if needed.
37984 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37987         and use variable directly.
37988         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37990         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37991         MPONE.
37992         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37994         variable MPONE.
37995         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37997         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37998         include directive.  Remove local variable MPONE.
37999         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38000         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38003 2012-12-25  David S. Miller  <davem@davemloft.net>
38005         * version.h (RELEASE): Set to "development".
38006         (VERSION): Set to "2.17.90".
38007         * NEWS: Add 2.18 section.
38009 2012-12-21  David S. Miller  <davem@davemloft.net>
38011         * po/hr.po: Update from translation team.
38013 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38015         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38017 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38019         * NEWS:  Mention new memcpy for MIPS.
38021 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38023         * manual/contrib.texi (Contributors): Spelling correction.
38025 2012-12-15  David S. Miller  <davem@davemloft.net>
38027         * po/ru.po: Update from translation team.
38029 2012-12-13  David S. Miller  <davem@davemloft.net>
38031         * NEWS: Mention IFUNC testsuite enhancements.
38033         * po/pl.po: Update from translation team.
38034         * po/bg.po: Likewise.
38036         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38037         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38039 2012-12-11  David S. Miller  <davem@davemloft.net>
38041         * po/sv.po: Update from translation team.
38043         * po/vi.po: Update from translation team.
38045         * po/cs.po: Update from translation team.
38047         * po/de.po: Update from translation team.
38048         * po/eo.po: Likewise.
38049         * po/nl.po: Likewise.
38051 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38053         [BZ #14246]
38054         * manual/argp.texi (Argp Helper Functions): Move node to follow
38055         Argp Parsing State.
38057         [BZ #14872]
38058         * manual/conf.texi (Limits on File System Capacity): Mention if
38059         terminating null is included in the max size.
38061 2012-12-10  Andreas Jaeger  <aj@suse.de>
38063         * po/cs.po: Update from translation team.
38065 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38067         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38068         void pointer and cast to uintptr_t.
38069         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38070         path.
38071         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38072         * sysdeps/s390/s390-64/memset.S: Likewise.
38074 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38076         [BZ #14833]
38077         * menual/message.texi (Message Translation): Fix typos.
38078         (Helper programs for gettext): Likewise.
38080 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38082         [BZ #14898]
38083         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38084         Change to -1.
38086 2012-12-07  David S. Miller  <davem@davemloft.net>
38088         * po/libc.pot: Update.
38090 2012-12-07  Richard Henderson  <rth@redhat.com>
38092         [BZ #10114]
38093         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38094         normal/normal case to before the switch.
38095         (_FP_DIV): Likewise.
38097 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38098             Mike Frysinger  <vapier@gentoo.org>
38100         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38101         check for __NR_fadvise64_64.
38103 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38105         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38106         0, not just to plain "0" as a statement.
38107         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38108         with cw.
38110 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38112         * NEWS: Use sourceware.org in Bugzilla URL.
38114 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38117         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38119         * stdio-common/tst-put-error.c (do_test): Add newline to the
38120         padded test to ensure flush.
38122 2012-12-05  Jeff Law  <law@redhat.com>
38124         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38126 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38128         * README: Don't refer to ports add-on as distributed separately.
38129         Mention AArch64 in list of systems supported in the ports add-on.
38131         * LICENSES: Add more non-FSF copyright and license notices.
38133         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38134         ((unused)).
38136         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38138         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38139         10000 as width of padded output.
38141 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38143         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38145         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38146         variable LX with __attribute__ ((unused)).
38147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38148         Likewise.
38149         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38150         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38152         with __attribute__ ((unused)).
38154 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38156         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38158 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38160         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38161         (CFLAGS-nldbl-acos.c): New variable.
38162         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38163         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38164         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38165         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38166         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38167         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38168         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38169         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38170         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38171         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38172         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38173         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38174         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38175         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38176         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38177         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38178         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38179         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38180         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38181         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38182         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38183         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38184         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38185         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38186         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38187         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38188         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38189         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38190         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38191         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38192         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38193         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38194         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38195         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38196         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38197         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38198         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38199         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38200         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38201         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38202         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38203         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38204         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38205         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38206         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38207         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38208         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38209         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38210         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38211         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38212         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38213         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38214         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38215         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38216         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38217         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38218         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38219         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38220         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38221         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38222         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38223         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38224         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38225         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38226         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38227         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38228         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38229         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38230         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38231         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38232         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38233         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38234         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38235         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38236         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38237         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38238         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38239         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38240         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38241         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38242         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38243         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38244         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38245         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38246         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38247         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38248         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38249         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38250         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38251         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38252         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38253         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38254         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38255         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38256         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38257         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38258         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38261         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38263         [BZ #14914]
38264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38265         whole low double instead of just low 47 bits when splitting values
38266         into two parts.
38268 2012-12-03  Allan McRae  <allan@archlinux.org>
38270         * manual/stdio.texi (Predefined Printf Handlers): Remove
38271         @hsep and @vsep usage.
38273 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38275         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38276         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38278 2012-12-03  Jeff Law  <law@redhat.com>
38280         * time/sys/time.h (settimeofday): Do not mark TV argument
38281         as __nonnull.
38283 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38285         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38286         when currently writing and seek to current position when not.
38287         * libio/Makefile (tests): Remove bug-fclose1.
38288         * libio/bug-fclose1.c: Delete.
38290 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38292         * manual/arith.texi (feenableexcept): Fix typo.
38293         (fedisableexcept): Likewise.
38295 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38297         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38298         second, differently-typed declaration, rather than a cast.
38300 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38302         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38303         * include/rpc/svc.h: ... here.
38305 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38307         [BZ #13013]
38308         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38309         depending n and resplen2 to catch cases where answer
38310         equals answerp2.
38312 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38314         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38315         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38317 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38319         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38321 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38323         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38325 2012-11-28  Jeff Law  <law@redhat.com>
38327         [BZ #13761]
38328         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38329         dataset_temporary.  Track alloca usage into alloca_used.
38330         If dataset is large allocate and release it via malloc/free.
38332 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38334         [BZ #14197]
38335         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38337 2012-11-28  David S. Miller  <davem@davemloft.net>
38339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38341 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38343         [BZ #14803]
38344         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38345         of pi/2 rounded to nearest to 64 bits.
38346         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38347         nearest to 64 bits.
38348         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38349         bits.
38351 2012-11-28  Jeff Law <law@redhat.com>
38352             Martin Osvald <mosvald@redhat.com>
38354         [BZ #14889]
38355         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38356         * sunrpc/svc.c: Include time.h.
38357         (__svc_accept_failed): New function.
38358         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38359         any reason other than EINTR, call __svc_accept_failed.
38360         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38361         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38363 2012-11-28  Andreas Schwab  <schwab@suse.de>
38365         * scripts/abilist.awk: Also handle indirect functions in .opd
38366         section.
38368 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38370         [BZ #13881]
38371         * sysdeps/x86/fpu/powl_helper.c: New file.
38372         * sysdeps/x86/fpu/Makefile: Likewise.
38373         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38374         (p3): New object.
38375         (__ieee754_powl): Use __powl_helper for finite arguments except
38376         integer exponents below 8.
38377         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38378         (p3): New object.
38379         (__ieee754_powl): Use __powl_helper for finite arguments except
38380         integer exponents below 8.
38381         * math/libm-test.inc (pow_test): Add more tests and enable some
38382         previously disabled tests.
38383         * sysdeps/i386/fpu/libm-test-ulps: Update.
38384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38386 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38387             Carlos O'Donell  <carlos_odonell@mentor.com>
38389         * nss/makedb.c (is_prime): Assert that input is odd and greater
38390         than 4.  Note that fact in a comment too.
38391         (next_prime): Add 4 to input.
38393 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38395         [BZ #11741]
38396         * libio/Makefile (tests): Add test case tst-fwrite-error.
38397         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38398         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38399         * libio/tst-fwrite-error.c: New test case.
38401 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38403         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38404         before casting to void *.
38405         * include/libc-internal.h (__pointer_type): New macro.
38406         (__integer_if_pointer_type_sub): Likewise.
38407         (__integer_if_pointer_type): Likewise.
38408         (cast_to_integer): Likewise.
38409         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38410         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38411         before casting to atomic64_t.
38412         (atomic_exchange_acq): Likewise.
38413         (__arch_exchange_and_add_body): Likewise.
38414         (__arch_add_body): Likewise.
38415         (atomic_add_negative): Likewise.
38416         (atomic_add_zero): Likewise.
38418 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38420         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38421         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38422         (add_fdes): Likewise.
38423         (linear_search_fdes): Likewise.
38424         (binary_search_unencoded_fdes): Likewise.
38426 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38428         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38430 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38432         * configure.in: Autodetect C++ header directories.
38433         * configure: Regenerated.
38435 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38437         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38439 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38443 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38445         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38446         LDBL_MANT_DIG == 106]: Disable some tests.
38447         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38448         Likewise.
38449         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38450         Likewise.
38452         [BZ #14871]
38453         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38454         input for small inputs.  Return +/- pi/2 for large inputs.
38455         * math/libm-test.inc (atan_test): Add more tests.
38457         * sysdeps/generic/unwind-dw2-fde-glibc.c
38458         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38459         __attribute__ ((unused)).
38461         [BZ #14645]
38462         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38463         x * y if x and y are nonzero and z is zero.
38465         [BZ #14811]
38466         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38467         nonzero exponents with absolute value below 0x1p-117 to +/-
38468         0x1p-117.
38470         [BZ #14869]
38471         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38472         up arguments below 2**-450, not just those below 2**-500.
38473         * math/libm-test.inc (hypot_test): Add another test.
38475         [BZ #14868]
38476         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38477         Return a+b for ratio over 2**120, not 2**60.
38478         * math/libm-test.inc (hypot_test): Add another test.
38480         * math/libm-test.inc (clog_test): Use
38481         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38482         (clog10_test): Likewise.
38484         [BZ #6778]
38485         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38487 2012-11-22  Andreas Schwab  <schwab@suse.de>
38489         * sysdeps/i386/fpu/libm-test-ulps: Update.
38491 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38493         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38494         printf output with newline.
38496 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38498         [BZ #14865]
38499         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38500         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38501         -z nodlopen, -z initfirst and -z execstack support.
38502         * configure: Regenerated.
38504         * elf/elf.h (DF_1_NODIRECT): New macro.
38505         (DF_1_IGNMULDEF): Likewise.
38506         (DF_1_NOKSYMS): Likewise.
38507         (DF_1_NOHDR): Likewise.
38508         (DF_1_EDITED): Likewise.
38509         (DF_1_NORELOC): Likewise.
38510         (DF_1_SYMINTPOSE): Likewise.
38511         (DF_1_GLOBAUDIT): Likewise.
38512         (DF_1_SINGLETON): Likewise.
38513         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38514         DT_1_SUPPORTED_MASK bits.
38515         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38517 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38519         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38521 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38523         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38524         macro.
38526         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38527         (sendmmsg): Move declarations...
38528         * socket/sys/socket.h: ... here.
38529         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38530         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38531         include it from...
38532         * socket/recvmmsg.c: ... this new file.
38533         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38534         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38535         definition of __sendmmsg hidden.
38536         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38537         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38538         Move ENOSYS stub into and include it from...
38539         * socket/sendmmsg.c: ... this new file.
38540         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38541         (sysdep_routines): Move recvmmsg and sendmmsg...
38542         * socket/Makefile (routines): ... here.
38543         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38544         (GLIBC_PRIVATE): Add __sendmmsg.
38545         * include/sys/socket.h (__sendmmsg): Add declarations.
38546         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38547         sendmmsg.
38549 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38552         variable I1 with __attribute__ ((unused)).
38553         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38555 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38557         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38558         DUMMY variables with __attribute__ ((unused)).
38560         * bits/byteswap.h: Include <bits/types.h>.
38561         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38563 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38565         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38566         string_t.  Do not manually set errno.
38567         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38568         length with __strnlen.  Make sure to both set errno and return it on
38569         failure.
38571 2012-11-19  David S. Miller  <davem@davemloft.net>
38573         With help from Joseph Myers.
38574         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38575         very large arguments properly.
38576         * math/libm-test.inc (atan_test): New tests.
38577         (atan2_test): New tests.
38578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38581 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38583         [BZ #14856]
38584         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38585         Define to 3.
38587         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38588         [POSIX] (EADDRNOTAVAIL): Likewise.
38589         [POSIX] (EAFNOSUPPORT): Likewise.
38590         [POSIX] (EALREADY): Likewise.
38591         [POSIX] (ECONNABORTED): Likewise.
38592         [POSIX] (ECONNREFUSED): Likewise.
38593         [POSIX] (ECONNRESET): Likewise.
38594         [POSIX] (EDESTADDRREQ): Likewise.
38595         [POSIX] (EDQUOT): Likewise.
38596         [POSIX] (EHOSTUNREACH): Likewise.
38597         [POSIX] (EIDRM): Likewise.
38598         [POSIX] (EISCONN): Likewise.
38599         [POSIX] (ELOOP): Likewise.
38600         [POSIX] (EMULTIHOP): Likewise.
38601         [POSIX] (ENETDOWN): Likewise.
38602         [POSIX] (ENETUNREACH): Likewise.
38603         [POSIX] (ENOBUFS): Likewise.
38604         [POSIX] (ENODATA): Likewise.
38605         [POSIX] (ENOLINK): Likewise.
38606         [POSIX] (ENOMSG): Likewise.
38607         [POSIX] (ENOPROTOOPT): Likewise.
38608         [POSIX] (ENOSR): Likewise.
38609         [POSIX] (ENOSTR): Likewise.
38610         [POSIX] (ENOTCONN): Likewise.
38611         [POSIX] (ENOTSOCK): Likewise.
38612         [POSIX] (EOPNOTSUPP): Likewise.
38613         [POSIX] (EOVERFLOW): Likewise.
38614         [POSIX] (EPROTO): Likewise.
38615         [POSIX] (EPROTONOSUPPORT): Likewise.
38616         [POSIX] (EPROTOTYPE): Likewise.
38617         [POSIX] (ESTALE): Likewise.
38618         [POSIX] (ETIME): Likewise.
38619         [POSIX] (ETXTBSY): Likewise.
38620         [POSIX] (EWOULDBLOCK): Likewise.
38621         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38622         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38623         [POSIX] (SEEK_CUR): Likewise.
38624         [POSIX] (SEEK_END): Likewise.
38625         [POSIX || UNIX98] (mode_t): Do not require.
38626         [POSIX] (off_t): Likewise.
38627         [POSIX] (pid_t): Likewise.
38628         [POSIX] (sys/stat.h): Do not allow header.
38629         [POSIX] (unistd.h): Likewise.
38630         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38631         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38632         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38633         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38634         require.
38635         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38636         sigevent): Specify elements.
38637         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38638         entry.
38639         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38640         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38642         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38643         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38644         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38645         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38646         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38647         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38648         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38650         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38651         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38652         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38653         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38654         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38655         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38656         Likewise.
38657         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38658         Likewise.
38659         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38660         Likewise.
38661         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38662         Likewise.
38663         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38664         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38665         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38666         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38667         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38668         Specify lower bound on value.
38669         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38670         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38671         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38672         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38673         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38674         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38675         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38676         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38677         value.
38678         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38679         as optional.
38680         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38681         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38682         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38683         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38684         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38685         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38686         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38687         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38688         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38689         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38690         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38691         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38692         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38693         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38694         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38695         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38696         entry.
38697         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38698         optional.
38699         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38700         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38701         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38702         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38703         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38704         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38705         Likewise.
38706         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38707         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38708         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38709         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38710         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38711         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38712         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38713         as optional.
38714         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38715         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38716         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38717         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38718         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38719         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38720         specify as optional.
38721         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38722         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38723         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38724         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38725         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38726         [XPG3] (NL_LANGMAX): Likewise.
38727         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38728         [POSIX || XPG3] (NL_NMAX): Likewise.
38729         [POSIX || XPG3] (NL_SETMAX): Likewise.
38730         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38731         [XPG3] (NZERO): Likewise.
38732         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38733         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38734         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38735         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38736         (REG_ERANGE): Expect.
38737         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38738         optional-constant.
38739         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38740         Use (void) in prototype.
38741         [POSIX] (*_t): Allow.
38742         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38743         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38744         (WRDE_BADVAL): Expect.
38746         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38747         expect.
38748         [XPG3 || XPG4] (O_RSYNC): Likewise.
38749         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38750         Likewise.
38751         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38752         [XPG3 || XPG4] (sigqueue): Likewise.
38753         [XPG3 || XPG4] (sigtimedwait): Likewise.
38754         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38755         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38756         [XPG3 || XPG4] (vsnprintf): Likewise.
38757         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38758         Likewise.
38759         [XPG3 || XPG4] (blksize_t): Likewise.
38760         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38761         Likewise.
38762         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38763         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38764         [XPG3 || XPG4] (struct itimerspec): Likewise.
38765         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38766         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38767         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38768         [XPG3 || XPG4] (clockid_t): Likewise.
38769         [XPG3 || XPG4] (timer_t): Likewise.
38770         [XPG3 || XPG4] (clock_getres): Likewise.
38771         [XPG3 || XPG4] (clock_gettime): Likewise.
38772         [XPG3 || XPG4] (clock_settime): Likewise.
38773         [XPG3 || XPG4] (nanosleep): Likewise.
38774         [XPG3 || XPG4] (timer_create): Likewise.
38775         [XPG3 || XPG4] (timer_delete): Likewise.
38776         [XPG3 || XPG4] (timer_gettime): Likewise.
38777         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38778         [XPG3 || XPG4] (timer_settime): Likewise.
38779         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38780         [XPG3 || XPG4] (getlogin_r): Likewise.
38781         [XPG3 || XPG4] (pread): Likewise.
38782         [XPG3 || XPG4] (pthread_atfork): Likewise.
38783         [XPG3 || XPG4] (pwrite): Likewise.
38785         [BZ #14835]
38786         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38787         <bits/siginfo.h>.
38789 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38791         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38792         finalizing MALLSTREAM.
38794         * sysdeps/mach/hurd/syncfs.c: New file.
38796 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38798         [BZ #14719]
38799         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38800         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38802         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38803         (_nss_dns_gethostbyname4_r): Likewise.
38804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38805         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38807 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38809         [BZ #13763]
38810         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38812 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38814         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38815         * elf/cache.c (print_entry): Print ",AArch64" for
38816         FLAG_AARCH64_LIB64
38818         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38819         * elf/cache.c (print_entry): Print ",hard-float" for
38820         FLAG_ARM_LIBHF.
38822 2012-11-18  David S. Miller  <davem@davemloft.net>
38824         With help from Joseph Myers.
38825         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38826         cutoff to 2**-13.
38827         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38828         cutoff to 2**-25.
38829         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38830         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38831         small.
38832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38833         * math/libm-test.inc (y0_test): New tests.
38834         (y1_test): New tests.
38835         * sysdeps/i386/fpu/libm-test-ulps: Update.
38836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38839 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38841         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38842         64-bit targets.
38843         * configure: Regenerated.
38845 2012-11-17  David S. Miller  <davem@davemloft.net>
38847         [BZ #14811]
38848         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38849         nonzero exponents with absolute value below 0x1p-128 to +/-
38850         0x1p-128.
38852 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38854         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38856         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38858         * posix/getconf-speclist.c: New file.
38859         * posix/posix-envs.def: Likewise.
38860         * posix/confstr.c (START_ENV_GROUP): New macro.
38861         (END_ENV_GROUP): Likewise.
38862         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38863         (KNOWN_PRESENT_ENV_STRING): Likewise.
38864         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38865         (UNKNOWN_ENVIRONMENT): Likewise.
38866         (confstr): Include posix-envs.def instead of handling
38867         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38868         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38869         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38870         (END_ENV_GROUP): Likewise.
38871         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38872         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38873         (UNKNOWN_ENVIRONMENT): Likewise.
38874         (__sysconf): Include posix-envs.def instead of handling associated
38875         cases directly here.
38876         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38877         preprocessing getconf-speclist.c rather than running getconf or
38878         generating empty file.
38880 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38882         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38884 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38886         [BZ #14672]
38887         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38889 2012-11-16  David S. Miller  <davem@davemloft.net>
38891         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38892         smaller than LDBL_EPSILON/2.0L, just return xm1.
38894 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38896         * elf/tst-array1.c (init): Set constructor priority to 1000.
38897         (fini): Set destructor priority to 1000.
38898         * elf/tst-array2dep.c: Likewise.
38900 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38902         [BZ #11741]
38903         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38904         (_IO_new_file_xsputn): Also return EOF if none of the input
38905         data was written when overflow failed.
38906         * libio/iopadn.c (_IO_padn): Likewise.
38907         * libio/iowpadn.c (_IO_wpadn): Likewise.
38908         * stdio-common/tst-put-error.c: Add copyright notice.
38909         (do_test): Add case for printing padded string.
38910         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38911         _IO_padn returned error.
38912         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38913         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38914         return EOF.
38916 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38918         * libio/libioP.h: Add comment note that the references to C++
38919         bits are now obsolete.
38921 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38923         * math/libm-test.inc (check_complex): Use asprintf.
38925 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38927         * debug/pcprofiledump.c (print_version): Update copyright year.
38928         * malloc/memusagestat.c (print_version): Likewise.
38930 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38932         [BZ #14831]
38933         * elf/Makefile (tests): Add tst-audit8.
38934         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38935         ($(objpfx)tst-audit8.out): New target.
38936         (tst-audit8-ENV): New variable.
38937         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38938         audit if l_reloc_result is NULL.
38939         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38940         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38941         * elf/tst-audit8.c: New file.
38943 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38945         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38946         * misc/Makefile (CFLAGS-select.c): Define.
38947         * posix/Makefile (CFLAGS-pause.c): Define.
38949 2012-11-13  David S. Miller  <davem@davemloft.net>
38951         * crypt/Makefile: Move test targets after toplevel Rules
38952         inclusion.  Grab any necessary sysdep routines when linking.
38953         * crypt/md5.c (md5_process_block): Remove define, we will always
38954         name it __md5_process_block.
38955         (md5_finish_ctx): Update md5_process_block call.
38956         (md5_stream): Likewise.
38957         (md5_process_bytes): Likewise.
38958         (md5_process_block): Rename to __md5_process_block and move to ...
38959         * crypt/md5-block.c: ... here.
38960         * crypt/sha256.c (sha256_process_block): Move to ...
38961         * crypt/sha256-block.c: ... here.
38962         * crypt/sha512.c (sha512_process_block): Move to ...
38963         * crypt/sha512-block.c: ... here.
38964         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38965         path.
38966         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38967         * sysdeps/sparc/sparc64/multiarch/Makefile
38968         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38969         crypt subdir.
38970         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38971         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38972         multiarch changes.
38973         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38974         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38975         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38976         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38977         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38978         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38979         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38980         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38981         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38982         file.
38983         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38984         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38985         file.
38986         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38988 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38990         * timezone/tzselect.ksh: Update from tzcode git revision
38991         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38992         * timezone/zdump.c: Likewise.
38993         * timezone/zic.c: Likewise.
38994         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38995         in TZVERSION setting, not $(PKGVERSION).
38996         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38997         REPORT_BUGS_TO settings.
38999         [BZ #14838]
39000         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39001         macro.
39003 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39005         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39006         detection to immediately after _FP_ROUND().
39007         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39008         bits are 0.
39010 2012-11-11  David S. Miller  <davem@davemloft.net>
39012         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39013         inttypes.h
39014         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39015         __close rather than their public counterparts.
39017 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39019         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39020         file.
39021         [UNIX98] (sem_timedwait): Do not expect.
39022         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39023         [XPG4 || UNIX98] (sockatmark): Do not expect.
39024         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39025         (clock_getcpuclockid): Do not expect.
39026         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39027         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39028         Do not expect.
39029         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39030         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39031         [UNIX98] (vwscanf): Likewise.
39032         [UNIX98] (vswscanf): Likewise.
39034 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39036         * timezone/version.h: Remove file.
39037         * timezone/README: Do not refer to version.h.
39038         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39039         $(objpfx)version.h.
39040         ($(objpfx)zdump.o): Likewise.
39041         ($(objpfx)version.h): New target.
39043         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39044         2012i.
39045         * timezone/README: Don't mention modification to tzselect.ksh.
39046         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39047         work on unmodified tzselect.ksh.  Substitute version numbers in
39048         tzselect.ksh.
39050         * Makefile (format-me): Remove.
39051         (INSTALL): Adjust indentation.  Use commands directly instead of
39052         using $(format-me).
39054         * aclocal.m4 (ACX_PKGVERSION): New macro.
39055         (ACX_BUGURL): Likewise.
39056         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39057         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39058         (REPORT_BUGS_TO): Likewise.
39059         * configure: Regenerated.
39060         * config.h.in (PKGVERSION): New macro.
39061         (REPORT_BUGS_TO): Likewise.
39062         * config.make.in (PKGVERSION): New variable.
39063         (PKGVERSION_TEXI): Likewise.
39064         (REPORT_BUGS_TO): Likewise.
39065         (REPORT_BUGS_TEXI): Likewise.
39066         * Makefile (format-me): Use -I$(common-objpfx)manual.
39067         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39068         ($(common-objpfx)manual/%): New target.
39069         (manual/%): Remove target.
39070         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39071         (print_version): Use PKGVERSION.
39072         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39073         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39074         and REPORT_BUGS_TO.
39075         ($(objpfx)xtrace): Likewise.
39076         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39077         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39078         (print_version): Use PKGVERSION.
39079         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39080         (do_version): Use PKGVERSION.
39081         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39082         REPORT_BUGS_TO.
39083         (common-ldd-rewrite): Likewise.
39084         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39085         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39086         (print_version): Use PKGVERSION.
39087         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39088         * elf/pldd.c (argp_program_bug_address): Remove variable.
39089         (more_help): New function.
39090         (argp): Use more_help.
39091         (print_version): Use PKGVERSION.
39092         * elf/sln.c (main): Use PKGVERSION.
39093         (usage): Use REPORT_BUGS_TO.
39094         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39095         (top level): Use PKGVERSION.
39096         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39097         (print_version): Use PKGVERSION.
39098         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39099         (print_version): Use PKGVERSION.
39100         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39101         (print_version): Use PKGVERSION.
39102         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39103         (print_version): Use PKGVERSION.
39104         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39105         (print_version): Use PKGVERSION.
39106         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39107         (print_version): Use PKGVERSION.
39108         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39109         and BUGURL.
39110         ($(objpfx)memusage): Likewise.
39111         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39112         (do_version): Use PKGVERSION.
39113         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39114         (print_version): Use PKGVERSION.
39115         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39116         ($PKGVERSION): New variable.
39117         ($REPORT_BUGS_TO): Likewise.
39118         (usage): Use $REPORT_BUGS_TO.
39119         (top level): Use $PKGVERSION.
39120         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39121         ($(objpfx)pkgvers.texi): New rule.
39122         ($(objpfx)stamp-pkgvers): Likewise.
39123         * manual/install.texi: Include pkgvers.texi.
39124         (--with-pkgversion): Document new configure option.
39125         (--with-bugurl): Likewise.
39126         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39127         than necessarily for this particular distribution.  Use
39128         REPORT_BUGS_TO for where to report bugs.
39129         * INSTALL: Regenerated.
39130         * manual/libc.texinfo: Include pkgvers.texi.
39131         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39132         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39133         (print_version): Use PKGVERSION.
39134         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39135         (print_version): Use PKGVERSION.
39136         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39137         (print_version): Use PKGVERSION.
39138         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39139         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39140         macro.
39141         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39142         (print_version): Use PKGVERSION.
39143         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39144         (print_version): Use PKGVERSION.
39145         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39146         and PKGVERSION.
39148         * timezone/checktab.awk: Update from tzcode 2012i.
39149         * timezone/ialloc.c: Likewise.
39150         * timezone/private.h: Likewise.
39151         * timezone/scheck.c: Likewise.
39152         * timezone/tzfile.h: Likewise.
39153         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39154         (TZVERSION): Hardcode tzcode version number.
39155         * timezone/zdump.c: Update from tzcode 2012i.
39156         * timezone/zic.c: Likewise.
39157         * timezone/version.h: New file.
39158         * timezone/README: Describe version.h.  Update upstream location.
39160         [BZ #14824]
39161         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39162         (mktemp): Enable declaration.
39163         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39167         Likewise.
39168         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39169         Likewise.
39170         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39171         Likewise.
39172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39173         Likewise.
39174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39175         Likewise.
39176         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39177         Likewise.
39179         [BZ #14821]
39180         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39181         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39182         for copies of such integer values.
39183         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39184         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39186 2012-11-09  Andreas Jaeger  <aj@suse.de>
39188         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39189         definitions and declarations that are provided by
39190         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39192 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39194         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39195         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39196         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39197         definition.
39199 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39201         * elf/elf.h: Update comment before AArch64 relocations.
39203 2012-11-07  David S. Miller  <davem@davemloft.net>
39205         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39206         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39207         (__start_context): Declare.
39208         (__makecontext_ret): Delete.
39209         (__makecontext): Hook up __start_context instead of
39210         __makecontext_ret.
39211         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39212         (sysdep_routines): Add __start_context when in stdlib.
39214 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39216         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39217         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39218         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39219         hardcoded "nm".
39220         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39221         (READELF): New variable.  Use it instead of hardcoded "readelf".
39223 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39225         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39226         * sysdeps/x86/Makefile: Here.
39227         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39228         * sysdeps/x86/tst-xmmymm.sh: This.
39230 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39232         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39233         expectations.
39234         [UNIX98] (pthread_barrier_t): Do not expect.
39235         [UNIX98] (pthread_barrierattr_t): Likewise.
39236         [UNIX98] (pthread_spinlock_t): Likewise.
39237         [UNIX98] (pthread_barrier_destroy): Likewise.
39238         [UNIX98] (pthread_barrier_init): Likewise.
39239         [UNIX98] (pthread_barrier_wait): Likewise.
39240         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39241         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39242         [UNIX98] (pthread_barrierattr_init): Likewise.
39243         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39244         [UNIX98] (pthread_getcpuclockid): Likewise.
39245         [UNIX98] (pthread_mutex_timedlock): Likewise.
39246         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39247         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39248         [UNIX98] (pthread_sigmask): Likewise.
39249         [UNIX98] (pthread_spin_destroy): Likewise.
39250         [UNIX98] (pthread_spin_init): Likewise.
39251         [UNIX98] (pthread_spin_lock): Likewise.
39252         [UNIX98] (pthread_spin_trylock): Likewise.
39253         [UNIX98] (pthread_spin_unlock): Likewise.
39254         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39255         Do not expect.
39256         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39257         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39258         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39259         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39260         [XPG3 || XPG4] (pthread_key_t): Likewise.
39261         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39262         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39263         [XPG3 || XPG4] (pthread_once_t): Likewise.
39264         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39265         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39266         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39267         [XPG3 || XPG4] (pthread_t): Likewise.
39269         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39270         not expect.
39271         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39273         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39274         Change function return type to int.
39276         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39277         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39278         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39279         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39280         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39281         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39282         [!POSIX] (posix_madvise): Likewise.
39283         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39284         && !UNIX98].
39285         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39286         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39287         (mode_t): Likewise.
39288         (posix_mem_offset): Likewise.
39289         (posix_typed_mem_get_info): Likewise.
39290         (posix_typed_mem_open): Likewise.
39292         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39293         Change condition to [XOPEN2K8].
39295         * conform/conformtest.pl: Preprocess allow-header data with -x c
39296         instead of from stdin.
39297         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39298         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39299         [C99-based standards] (cerfc): Likewise.
39300         [C99-based standards] (cexp2): Likewise.
39301         [C99-based standards] (cexpm1): Likewise.
39302         [C99-based standards] (clog10): Likewise.
39303         [C99-based standards] (clog1p): Likewise.
39304         [C99-based standards] (clog2): Likewise.
39305         [C99-based standards] (clgamma): Likewise.
39306         [C99-based standards] (ctgamma): Likewise.
39307         [C99-based standards] (cerff): Likewise.
39308         [C99-based standards] (cerfcf): Likewise.
39309         [C99-based standards] (cexp2f): Likewise.
39310         [C99-based standards] (cexpm1f): Likewise.
39311         [C99-based standards] (clog10f): Likewise.
39312         [C99-based standards] (clog1pf): Likewise.
39313         [C99-based standards] (clog2f): Likewise.
39314         [C99-based standards] (clgammaf): Likewise.
39315         [C99-based standards] (ctgammaf): Likewise.
39316         [C99-based standards] (cerfl): Likewise.
39317         [C99-based standards] (cerfcl): Likewise.
39318         [C99-based standards] (cexp2l): Likewise.
39319         [C99-based standards] (cexpm1l): Likewise.
39320         [C99-based standards] (clog10l): Likewise.
39321         [C99-based standards] (clog1pl): Likewise.
39322         [C99-based standards] (clog2l): Likewise.
39323         [C99-based standards] (clgammal): Likewise.
39324         [C99-based standards] (ctgammal): Likewise.
39325         * conform/data/inttypes.h-data [C99-based standards]: Include
39326         stdint.h-data.  Remove all expectations for stdint.h contents.
39327         [C99-based standards] (PRI*): Do not allow.
39328         [C99-based standards] (SCN*): Likewise.
39329         [C99-based standards] (*_t): Likewise.
39330         [C99-based-standards] (PRId8): Expect macro.
39331         [C99-based-standards] (PRIi8): Likewise.
39332         [C99-based-standards] (PRIo8): Likewise.
39333         [C99-based-standards] (PRIu8): Likewise.
39334         [C99-based-standards] (PRIx8): Likewise.
39335         [C99-based-standards] (PRIX8): Likewise.
39336         [C99-based-standards] (SCNd8): Likewise.
39337         [C99-based-standards] (SCNi8): Likewise.
39338         [C99-based-standards] (SCNo8): Likewise.
39339         [C99-based-standards] (SCNu8): Likewise.
39340         [C99-based-standards] (SCNx8): Likewise.
39341         [C99-based-standards] (PRIdLEAST8): Likewise.
39342         [C99-based-standards] (PRIiLEAST8): Likewise.
39343         [C99-based-standards] (PRIoLEAST8): Likewise.
39344         [C99-based-standards] (PRIuLEAST8): Likewise.
39345         [C99-based-standards] (PRIxLEAST8): Likewise.
39346         [C99-based-standards] (PRIXLEAST8): Likewise.
39347         [C99-based-standards] (SCNdLEAST8): Likewise.
39348         [C99-based-standards] (SCNiLEAST8): Likewise.
39349         [C99-based-standards] (SCNoLEAST8): Likewise.
39350         [C99-based-standards] (SCNuLEAST8): Likewise.
39351         [C99-based-standards] (SCNxLEAST8): Likewise.
39352         [C99-based-standards] (PRIdFAST8): Likewise.
39353         [C99-based-standards] (PRIiFAST8): Likewise.
39354         [C99-based-standards] (PRIoFAST8): Likewise.
39355         [C99-based-standards] (PRIuFAST8): Likewise.
39356         [C99-based-standards] (PRIxFAST8): Likewise.
39357         [C99-based-standards] (PRIXFAST8): Likewise.
39358         [C99-based-standards] (SCNdFAST8): Likewise.
39359         [C99-based-standards] (SCNiFAST8): Likewise.
39360         [C99-based-standards] (SCNoFAST8): Likewise.
39361         [C99-based-standards] (SCNuFAST8): Likewise.
39362         [C99-based-standards] (SCNxFAST8): Likewise.
39363         [C99-based-standards] (PRId16): Likewise.
39364         [C99-based-standards] (PRIi16): Likewise.
39365         [C99-based-standards] (PRIo16): Likewise.
39366         [C99-based-standards] (PRIu16): Likewise.
39367         [C99-based-standards] (PRIx16): Likewise.
39368         [C99-based-standards] (PRIX16): Likewise.
39369         [C99-based-standards] (SCNd16): Likewise.
39370         [C99-based-standards] (SCNi16): Likewise.
39371         [C99-based-standards] (SCNo16): Likewise.
39372         [C99-based-standards] (SCNu16): Likewise.
39373         [C99-based-standards] (SCNx16): Likewise.
39374         [C99-based-standards] (PRIdLEAST16): Likewise.
39375         [C99-based-standards] (PRIiLEAST16): Likewise.
39376         [C99-based-standards] (PRIoLEAST16): Likewise.
39377         [C99-based-standards] (PRIuLEAST16): Likewise.
39378         [C99-based-standards] (PRIxLEAST16): Likewise.
39379         [C99-based-standards] (PRIXLEAST16): Likewise.
39380         [C99-based-standards] (SCNdLEAST16): Likewise.
39381         [C99-based-standards] (SCNiLEAST16): Likewise.
39382         [C99-based-standards] (SCNoLEAST16): Likewise.
39383         [C99-based-standards] (SCNuLEAST16): Likewise.
39384         [C99-based-standards] (SCNxLEAST16): Likewise.
39385         [C99-based-standards] (PRIdFAST16): Likewise.
39386         [C99-based-standards] (PRIiFAST16): Likewise.
39387         [C99-based-standards] (PRIoFAST16): Likewise.
39388         [C99-based-standards] (PRIuFAST16): Likewise.
39389         [C99-based-standards] (PRIxFAST16): Likewise.
39390         [C99-based-standards] (PRIXFAST16): Likewise.
39391         [C99-based-standards] (SCNdFAST16): Likewise.
39392         [C99-based-standards] (SCNiFAST16): Likewise.
39393         [C99-based-standards] (SCNoFAST16): Likewise.
39394         [C99-based-standards] (SCNuFAST16): Likewise.
39395         [C99-based-standards] (SCNxFAST16): Likewise.
39396         [C99-based-standards] (PRId32): Likewise.
39397         [C99-based-standards] (PRIi32): Likewise.
39398         [C99-based-standards] (PRIo32): Likewise.
39399         [C99-based-standards] (PRIu32): Likewise.
39400         [C99-based-standards] (PRIx32): Likewise.
39401         [C99-based-standards] (PRIX32): Likewise.
39402         [C99-based-standards] (SCNd32): Likewise.
39403         [C99-based-standards] (SCNi32): Likewise.
39404         [C99-based-standards] (SCNo32): Likewise.
39405         [C99-based-standards] (SCNu32): Likewise.
39406         [C99-based-standards] (SCNx32): Likewise.
39407         [C99-based-standards] (PRIdLEAST32): Likewise.
39408         [C99-based-standards] (PRIiLEAST32): Likewise.
39409         [C99-based-standards] (PRIoLEAST32): Likewise.
39410         [C99-based-standards] (PRIuLEAST32): Likewise.
39411         [C99-based-standards] (PRIxLEAST32): Likewise.
39412         [C99-based-standards] (PRIXLEAST32): Likewise.
39413         [C99-based-standards] (SCNdLEAST32): Likewise.
39414         [C99-based-standards] (SCNiLEAST32): Likewise.
39415         [C99-based-standards] (SCNoLEAST32): Likewise.
39416         [C99-based-standards] (SCNuLEAST32): Likewise.
39417         [C99-based-standards] (SCNxLEAST32): Likewise.
39418         [C99-based-standards] (PRIdFAST32): Likewise.
39419         [C99-based-standards] (PRIiFAST32): Likewise.
39420         [C99-based-standards] (PRIoFAST32): Likewise.
39421         [C99-based-standards] (PRIuFAST32): Likewise.
39422         [C99-based-standards] (PRIxFAST32): Likewise.
39423         [C99-based-standards] (PRIXFAST32): Likewise.
39424         [C99-based-standards] (SCNdFAST32): Likewise.
39425         [C99-based-standards] (SCNiFAST32): Likewise.
39426         [C99-based-standards] (SCNoFAST32): Likewise.
39427         [C99-based-standards] (SCNuFAST32): Likewise.
39428         [C99-based-standards] (SCNxFAST32): Likewise.
39429         [C99-based-standards] (PRId64): Likewise.
39430         [C99-based-standards] (PRIi64): Likewise.
39431         [C99-based-standards] (PRIo64): Likewise.
39432         [C99-based-standards] (PRIu64): Likewise.
39433         [C99-based-standards] (PRIx64): Likewise.
39434         [C99-based-standards] (PRIX64): Likewise.
39435         [C99-based-standards] (SCNd64): Likewise.
39436         [C99-based-standards] (SCNi64): Likewise.
39437         [C99-based-standards] (SCNo64): Likewise.
39438         [C99-based-standards] (SCNu64): Likewise.
39439         [C99-based-standards] (SCNx64): Likewise.
39440         [C99-based-standards] (PRIdLEAST64): Likewise.
39441         [C99-based-standards] (PRIiLEAST64): Likewise.
39442         [C99-based-standards] (PRIoLEAST64): Likewise.
39443         [C99-based-standards] (PRIuLEAST64): Likewise.
39444         [C99-based-standards] (PRIxLEAST64): Likewise.
39445         [C99-based-standards] (PRIXLEAST64): Likewise.
39446         [C99-based-standards] (SCNdLEAST64): Likewise.
39447         [C99-based-standards] (SCNiLEAST64): Likewise.
39448         [C99-based-standards] (SCNoLEAST64): Likewise.
39449         [C99-based-standards] (SCNuLEAST64): Likewise.
39450         [C99-based-standards] (SCNxLEAST64): Likewise.
39451         [C99-based-standards] (PRIdFAST64): Likewise.
39452         [C99-based-standards] (PRIiFAST64): Likewise.
39453         [C99-based-standards] (PRIoFAST64): Likewise.
39454         [C99-based-standards] (PRIuFAST64): Likewise.
39455         [C99-based-standards] (PRIxFAST64): Likewise.
39456         [C99-based-standards] (PRIXFAST64): Likewise.
39457         [C99-based-standards] (SCNdFAST64): Likewise.
39458         [C99-based-standards] (SCNiFAST64): Likewise.
39459         [C99-based-standards] (SCNoFAST64): Likewise.
39460         [C99-based-standards] (SCNuFAST64): Likewise.
39461         [C99-based-standards] (SCNxFAST64): Likewise.
39462         [C99-based-standards] (PRIdMAX): Likewise.
39463         [C99-based-standards] (PRIiMAX): Likewise.
39464         [C99-based-standards] (PRIoMAX): Likewise.
39465         [C99-based-standards] (PRIuMAX): Likewise.
39466         [C99-based-standards] (PRIxMAX): Likewise.
39467         [C99-based-standards] (PRIXMAX): Likewise.
39468         [C99-based-standards] (SCNdMAX): Likewise.
39469         [C99-based-standards] (SCNiMAX): Likewise.
39470         [C99-based-standards] (SCNoMAX): Likewise.
39471         [C99-based-standards] (SCNuMAX): Likewise.
39472         [C99-based-standards] (SCNxMAX): Likewise.
39473         [C99-based-standards] (PRIdPTR): Likewise.
39474         [C99-based-standards] (PRIiPTR): Likewise.
39475         [C99-based-standards] (PRIoPTR): Likewise.
39476         [C99-based-standards] (PRIuPTR): Likewise.
39477         [C99-based-standards] (PRIxPTR): Likewise.
39478         [C99-based-standards] (PRIXPTR): Likewise.
39479         [C99-based-standards] (SCNdPTR): Likewise.
39480         [C99-based-standards] (SCNiPTR): Likewise.
39481         [C99-based-standards] (SCNoPTR): Likewise.
39482         [C99-based-standards] (SCNuPTR): Likewise.
39483         [C99-based-standards] (SCNxPTR): Likewise.
39484         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39485         allow.
39486         * conform/data/stdint.h-data: Update comments to clarify
39487         requirements.
39488         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39489         type.
39490         [C99-based standards] (INT8_MAX): Likewise.
39491         [C99-based standards] (INT16_MIN): Likewise.
39492         [C99-based standards] (INT16_MAX): Likewise.
39493         [C99-based standards] (INT32_MIN): Likewise.
39494         [C99-based standards] (INT32_MAX): Likewise.
39495         [C99-based standards] (INT64_MIN): Likewise.
39496         [C99-based standards] (INT64_MAX): Likewise.
39497         [C99-based standards] (UINT8_MAX): Likewise.
39498         [C99-based standards] (UINT16_MAX): Likewise.
39499         [C99-based standards] (UINT32_MAX): Likewise.
39500         [C99-based standards] (UINT64_MAX): Likewise.
39501         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39502         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39503         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39504         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39505         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39506         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39507         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39508         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39509         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39510         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39511         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39512         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39513         [C99-based standards] (INT_FAST8_MIN): Likewise.
39514         [C99-based standards] (INT_FAST8_MAX): Likewise.
39515         [C99-based standards] (INT_FAST16_MIN): Likewise.
39516         [C99-based standards] (INT_FAST16_MAX): Likewise.
39517         [C99-based standards] (INT_FAST32_MIN): Likewise.
39518         [C99-based standards] (INT_FAST32_MAX): Likewise.
39519         [C99-based standards] (INT_FAST64_MIN): Likewise.
39520         [C99-based standards] (INT_FAST64_MAX): Likewise.
39521         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39522         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39523         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39524         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39525         [C99-based standards] (INTPTR_MIN): Likewise.
39526         [C99-based standards] (INTPTR_MAX): Likewise.
39527         [C99-based standards] (UINTPTR_MAX): Likewise.
39528         [C99-based standards] (INTMAX_MIN): Likewise.
39529         [C99-based standards] (INTMAX_MAX): Likewise.
39530         [C99-based standards] (UINTMAX_MAX): Likewise.
39531         [C99-based standards] (PTRDIFF_MIN): Likewise.
39532         [C99-based standards] (PTRDIFF_MAX): Likewise.
39533         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39534         [C99-based standards] (SIZE_MAX): Likewise.
39535         [C99-based standards] (WCHAR_MAX): Likewise.
39536         [C99-based standards] (WINT_MAX): Likewise.
39537         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39538         constraint on value.
39539         [C99-based standards] (WCHAR_MIN): Likewise.
39540         [C99-based standards] (WINT_MIN): Likewise.
39541         [C99-based standards] (*_t): Allow.
39542         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39543         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39544         Include math.h-data and complex.h-data.  Remove all expectations
39545         of math.h and complex.h contents.
39546         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39547         at end of line.
39548         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39549         (struct tm): Expect tag.
39550         [C99-based-standards] (wcstof): Expect function.
39551         [C99-based-standards] (wcstold): Likewise.
39552         [C99-based-standards] (wcstoll): Likewise.
39553         [C99-based-standards] (wcstoull): Likewise.
39554         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39555         macro-int-constant.  Specify type.
39556         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39557         constraint on value.
39558         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39559         Specify type.
39560         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39561         Specify value.
39562         [ISO C standards]: Do not allow headers.
39563         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39564         wcs[abcdefghijklmnopqrstuvwxyz]*.
39565         [ISO C standards] (*_t): Do not allow.
39566         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39567         Expect function.
39568         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39569         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39570         Specify type.
39571         [ISO C standards]: Do not allow headers.
39572         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39573         is[abcdefghijklmnopqrstuvwxyz]*.
39574         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39575         to[abcdefghijklmnopqrstuvwxyz]*.
39576         [ISO C standards] (*_t): Do not allow.
39577         * conform/data/stdalign.h-data: New file.
39578         * conform/data/stdbool.h-data: Likewise.
39579         * conform/data/stdnoreturn.h-data: Likewise.
39581 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39583         [BZ #14815]
39584         * manual/filesys.texi (Directory Entries): Typo fix.
39585         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39587 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39589         * elf/elf.h (EM_AARCH64): New macro.
39590         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39591         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39592         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39593         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39594         (R_AARCH64_TLSDESC): Likewise.
39595         (NT_ARM_TLS): Likewise.
39596         (NT_ARM_HW_BREAK): Likewise.
39597         (NT_ARM_HW_WATCH): Likewise.
39599 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39601         [BZ #14811]
39602         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39603         (__ieee754_powl): Saturate nonzero exponents with absolute value
39604         below 0x1p-79 to +/- 0x1p-79.
39605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39606         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39607         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39608         nonzero exponents with absolute value below 0x1p-32 to +/-
39609         0x1p-32.
39610         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39611         (__ieee754_powl): Saturate nonzero exponents with absolute value
39612         below 0x1p-79 to +/- 0x1p-79.
39613         * math/libm-test.inc (pow_test): Add more tests.
39615 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39618         _dl_s390_cap_flags with kernel. Increase string length.
39619         (_dl_s390_platforms): Add z196 and zEC12.
39621 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39623         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39624         Change XOPEN21K to XOPEN2K.
39626 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39628         * string/memmove.c: Use memcpy when possible.
39630 2012-11-06  Andreas Jaeger  <aj@suse.de>
39632         * po/eo.po: Update from translation team.
39634 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39636         [BZ #14793]
39637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39638         exponent and small x and y exponents, scale x or y up.  Increase
39639         by 2 the exponent used in scaling up.
39640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39642         * math/libm-test.inc (fma_test): Add more tests.
39643         (fma_test_towardzero): Likewise.
39644         (fma_test_downward): Likewise.
39645         (fma_test_upward): Likewise.
39647 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39649         [BZ #14805]
39650         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39651         fenv_t *.
39653         [BZ #14801]
39654         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39655         namespace for names of struct fields.
39656         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39657         fenv_t fields.
39658         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39659         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39661 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39663         [BZ #3665]
39664         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39666 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39668         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39669         PTR_DEMANGLE.
39671         [BZ #5246]
39672         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39673         PTR_DEMANGLE.
39675 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39677         [BZ #14797]
39678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39679         definitely overflow as x * y not x * y + z.
39680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39682         * math/libm-test.inc (fma_test): Add more tests.
39683         (fma_test_towardzero): Likewise.
39684         (fma_test_downward): Likewise.
39685         (fma_test_upward): Likewise.
39687 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39689         [BZ #157]
39691         * include/stub-tag.h: Remove file.
39692         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39693         '#include' of it.
39694         * manual/maint.texi (Porting): Don't reference it.
39695         * Makerules ($(objpfx)stubs): Likewise.
39696         * dirent/closedir.c: Don't include <stub-tag.h>.
39697         * dirent/dirfd.c: Likewise.
39698         * dirent/fdopendir.c: Likewise.
39699         * dirent/getdents.c: Likewise.
39700         * dirent/getdents64.c: Likewise.
39701         * dirent/opendir.c: Likewise.
39702         * dirent/readdir.c: Likewise.
39703         * dirent/readdir64.c: Likewise.
39704         * dirent/readdir64_r.c: Likewise.
39705         * dirent/readdir_r.c: Likewise.
39706         * dirent/rewinddir.c: Likewise.
39707         * dirent/seekdir.c: Likewise.
39708         * dirent/telldir.c: Likewise.
39709         * gmon/profil.c: Likewise.
39710         * grp/setgroups.c: Likewise.
39711         * inet/if_index.c: Likewise.
39712         * io/access.c: Likewise.
39713         * io/chdir.c: Likewise.
39714         * io/chmod.c: Likewise.
39715         * io/chown.c: Likewise.
39716         * io/close.c: Likewise.
39717         * io/dup.c: Likewise.
39718         * io/dup2.c: Likewise.
39719         * io/dup3.c: Likewise.
39720         * io/euidaccess.c: Likewise.
39721         * io/faccessat.c: Likewise.
39722         * io/fchdir.c: Likewise.
39723         * io/fchmod.c: Likewise.
39724         * io/fchmodat.c: Likewise.
39725         * io/fchown.c: Likewise.
39726         * io/fchownat.c: Likewise.
39727         * io/fcntl.c: Likewise.
39728         * io/flock.c: Likewise.
39729         * io/fstatfs.c: Likewise.
39730         * io/fstatfs64.c: Likewise.
39731         * io/fstatvfs.c: Likewise.
39732         * io/fstatvfs64.c: Likewise.
39733         * io/futimens.c: Likewise.
39734         * io/fxstat.c: Likewise.
39735         * io/fxstat64.c: Likewise.
39736         * io/fxstatat.c: Likewise.
39737         * io/fxstatat64.c: Likewise.
39738         * io/getcwd.c: Likewise.
39739         * io/isatty.c: Likewise.
39740         * io/lchmod.c: Likewise.
39741         * io/lchown.c: Likewise.
39742         * io/link.c: Likewise.
39743         * io/linkat.c: Likewise.
39744         * io/lseek.c: Likewise.
39745         * io/lseek64.c: Likewise.
39746         * io/lxstat64.c: Likewise.
39747         * io/mkdir.c: Likewise.
39748         * io/mkdirat.c: Likewise.
39749         * io/mkfifo.c: Likewise.
39750         * io/mkfifoat.c: Likewise.
39751         * io/open.c: Likewise.
39752         * io/open64.c: Likewise.
39753         * io/openat.c: Likewise.
39754         * io/openat64.c: Likewise.
39755         * io/pipe.c: Likewise.
39756         * io/pipe2.c: Likewise.
39757         * io/poll.c: Likewise.
39758         * io/posix_fadvise.c: Likewise.
39759         * io/posix_fadvise64.c: Likewise.
39760         * io/posix_fallocate.c: Likewise.
39761         * io/posix_fallocate64.c: Likewise.
39762         * io/read.c: Likewise.
39763         * io/readlink.c: Likewise.
39764         * io/readlinkat.c: Likewise.
39765         * io/rmdir.c: Likewise.
39766         * io/sendfile.c: Likewise.
39767         * io/sendfile64.c: Likewise.
39768         * io/statfs.c: Likewise.
39769         * io/statfs64.c: Likewise.
39770         * io/statvfs.c: Likewise.
39771         * io/statvfs64.c: Likewise.
39772         * io/symlink.c: Likewise.
39773         * io/symlinkat.c: Likewise.
39774         * io/ttyname.c: Likewise.
39775         * io/ttyname_r.c: Likewise.
39776         * io/umask.c: Likewise.
39777         * io/unlink.c: Likewise.
39778         * io/unlinkat.c: Likewise.
39779         * io/utime.c: Likewise.
39780         * io/utimensat.c: Likewise.
39781         * io/write.c: Likewise.
39782         * io/xmknod.c: Likewise.
39783         * io/xmknodat.c: Likewise.
39784         * io/xstat.c: Likewise.
39785         * io/xstat64.c: Likewise.
39786         * login/getpt.c: Likewise.
39787         * login/grantpt.c: Likewise.
39788         * login/unlockpt.c: Likewise.
39789         * math/e_acoshl.c: Likewise.
39790         * math/e_acosl.c: Likewise.
39791         * math/e_asinl.c: Likewise.
39792         * math/e_atan2l.c: Likewise.
39793         * math/e_atanhl.c: Likewise.
39794         * math/e_coshl.c: Likewise.
39795         * math/e_expl.c: Likewise.
39796         * math/e_fmodl.c: Likewise.
39797         * math/e_gammal_r.c: Likewise.
39798         * math/e_hypotl.c: Likewise.
39799         * math/e_j0l.c: Likewise.
39800         * math/e_j1l.c: Likewise.
39801         * math/e_jnl.c: Likewise.
39802         * math/e_lgammal_r.c: Likewise.
39803         * math/e_log10l.c: Likewise.
39804         * math/e_log2l.c: Likewise.
39805         * math/e_logl.c: Likewise.
39806         * math/e_powl.c: Likewise.
39807         * math/e_rem_pio2l.c: Likewise.
39808         * math/e_sinhl.c: Likewise.
39809         * math/e_sqrtl.c: Likewise.
39810         * math/fclrexcpt.c: Likewise.
39811         * math/fedisblxcpt.c: Likewise.
39812         * math/feenablxcpt.c: Likewise.
39813         * math/fegetenv.c: Likewise.
39814         * math/fegetexcept.c: Likewise.
39815         * math/fegetround.c: Likewise.
39816         * math/feholdexcpt.c: Likewise.
39817         * math/fesetenv.c: Likewise.
39818         * math/fesetround.c: Likewise.
39819         * math/feupdateenv.c: Likewise.
39820         * math/fgetexcptflg.c: Likewise.
39821         * math/fraiseexcpt.c: Likewise.
39822         * math/fsetexcptflg.c: Likewise.
39823         * math/ftestexcept.c: Likewise.
39824         * math/k_cosl.c: Likewise.
39825         * math/k_rem_pio2l.c: Likewise.
39826         * math/k_sinl.c: Likewise.
39827         * math/k_tanl.c: Likewise.
39828         * math/s_asinhl.c: Likewise.
39829         * math/s_atanl.c: Likewise.
39830         * math/s_cbrtl.c: Likewise.
39831         * math/s_erfl.c: Likewise.
39832         * math/s_expm1l.c: Likewise.
39833         * math/s_log1pl.c: Likewise.
39834         * math/s_tanhl.c: Likewise.
39835         * misc/acct.c: Likewise.
39836         * misc/brk.c: Likewise.
39837         * misc/chflags.c: Likewise.
39838         * misc/chroot.c: Likewise.
39839         * misc/fchflags.c: Likewise.
39840         * misc/fgetxattr.c: Likewise.
39841         * misc/flistxattr.c: Likewise.
39842         * misc/fremovexattr.c: Likewise.
39843         * misc/fsetxattr.c: Likewise.
39844         * misc/fsync.c: Likewise.
39845         * misc/ftruncate.c: Likewise.
39846         * misc/futimes.c: Likewise.
39847         * misc/futimesat.c: Likewise.
39848         * misc/getdomain.c: Likewise.
39849         * misc/getdtsz.c: Likewise.
39850         * misc/gethostid.c: Likewise.
39851         * misc/gethostname.c: Likewise.
39852         * misc/getloadavg.c: Likewise.
39853         * misc/getpagesize.c: Likewise.
39854         * misc/getsysstats.c: Likewise.
39855         * misc/getxattr.c: Likewise.
39856         * misc/gtty.c: Likewise.
39857         * misc/ioctl.c: Likewise.
39858         * misc/lgetxattr.c: Likewise.
39859         * misc/listxattr.c: Likewise.
39860         * misc/llistxattr.c: Likewise.
39861         * misc/lremovexattr.c: Likewise.
39862         * misc/lsetxattr.c: Likewise.
39863         * misc/lutimes.c: Likewise.
39864         * misc/madvise.c: Likewise.
39865         * misc/mincore.c: Likewise.
39866         * misc/mlock.c: Likewise.
39867         * misc/mlockall.c: Likewise.
39868         * misc/mmap.c: Likewise.
39869         * misc/mprotect.c: Likewise.
39870         * misc/msync.c: Likewise.
39871         * misc/munlock.c: Likewise.
39872         * misc/munlockall.c: Likewise.
39873         * misc/munmap.c: Likewise.
39874         * misc/preadv.c: Likewise.
39875         * misc/preadv64.c: Likewise.
39876         * misc/ptrace.c: Likewise.
39877         * misc/pwritev.c: Likewise.
39878         * misc/pwritev64.c: Likewise.
39879         * misc/readv.c: Likewise.
39880         * misc/reboot.c: Likewise.
39881         * misc/remap_file_pages.c: Likewise.
39882         * misc/removexattr.c: Likewise.
39883         * misc/revoke.c: Likewise.
39884         * misc/select.c: Likewise.
39885         * misc/setdomain.c: Likewise.
39886         * misc/setegid.c: Likewise.
39887         * misc/seteuid.c: Likewise.
39888         * misc/sethostid.c: Likewise.
39889         * misc/sethostname.c: Likewise.
39890         * misc/setregid.c: Likewise.
39891         * misc/setreuid.c: Likewise.
39892         * misc/setxattr.c: Likewise.
39893         * misc/sstk.c: Likewise.
39894         * misc/stty.c: Likewise.
39895         * misc/swapoff.c: Likewise.
39896         * misc/swapon.c: Likewise.
39897         * misc/sync.c: Likewise.
39898         * misc/syncfs.c: Likewise.
39899         * misc/syscall.c: Likewise.
39900         * misc/truncate.c: Likewise.
39901         * misc/ualarm.c: Likewise.
39902         * misc/usleep.c: Likewise.
39903         * misc/ustat.c: Likewise.
39904         * misc/utimes.c: Likewise.
39905         * misc/vhangup.c: Likewise.
39906         * misc/writev.c: Likewise.
39907         * posix/_exit.c: Likewise.
39908         * posix/alarm.c: Likewise.
39909         * posix/execve.c: Likewise.
39910         * posix/fexecve.c: Likewise.
39911         * posix/fork.c: Likewise.
39912         * posix/fpathconf.c: Likewise.
39913         * posix/getaddrinfo.c: Likewise.
39914         * posix/getegid.c: Likewise.
39915         * posix/geteuid.c: Likewise.
39916         * posix/getgid.c: Likewise.
39917         * posix/getgroups.c: Likewise.
39918         * posix/getlogin.c: Likewise.
39919         * posix/getlogin_r.c: Likewise.
39920         * posix/getpgid.c: Likewise.
39921         * posix/getpid.c: Likewise.
39922         * posix/getppid.c: Likewise.
39923         * posix/getresgid.c: Likewise.
39924         * posix/getresuid.c: Likewise.
39925         * posix/getsid.c: Likewise.
39926         * posix/getuid.c: Likewise.
39927         * posix/glob64.c: Likewise.
39928         * posix/nanosleep.c: Likewise.
39929         * posix/pathconf.c: Likewise.
39930         * posix/pause.c: Likewise.
39931         * posix/posix_madvise.c: Likewise.
39932         * posix/pread.c: Likewise.
39933         * posix/pread64.c: Likewise.
39934         * posix/pwrite.c: Likewise.
39935         * posix/pwrite64.c: Likewise.
39936         * posix/sched_getaffinity.c: Likewise.
39937         * posix/sched_getp.c: Likewise.
39938         * posix/sched_gets.c: Likewise.
39939         * posix/sched_primax.c: Likewise.
39940         * posix/sched_primin.c: Likewise.
39941         * posix/sched_rr_gi.c: Likewise.
39942         * posix/sched_setaffinity.c: Likewise.
39943         * posix/sched_setp.c: Likewise.
39944         * posix/sched_sets.c: Likewise.
39945         * posix/sched_yield.c: Likewise.
39946         * posix/setgid.c: Likewise.
39947         * posix/setlogin.c: Likewise.
39948         * posix/setpgid.c: Likewise.
39949         * posix/setresgid.c: Likewise.
39950         * posix/setresuid.c: Likewise.
39951         * posix/setsid.c: Likewise.
39952         * posix/setuid.c: Likewise.
39953         * posix/sleep.c: Likewise.
39954         * posix/spawni.c: Likewise.
39955         * posix/sysconf.c: Likewise.
39956         * posix/times.c: Likewise.
39957         * posix/wait.c: Likewise.
39958         * posix/wait3.c: Likewise.
39959         * posix/wait4.c: Likewise.
39960         * posix/waitpid.c: Likewise.
39961         * resolv/gai_sigqueue.c: Likewise.
39962         * resource/getpriority.c: Likewise.
39963         * resource/getrlimit.c: Likewise.
39964         * resource/getrusage.c: Likewise.
39965         * resource/nice.c: Likewise.
39966         * resource/setpriority.c: Likewise.
39967         * resource/setrlimit.c: Likewise.
39968         * resource/ulimit.c: Likewise.
39969         * rt/aio_cancel.c: Likewise.
39970         * rt/aio_fsync.c: Likewise.
39971         * rt/aio_read.c: Likewise.
39972         * rt/aio_sigqueue.c: Likewise.
39973         * rt/aio_suspend.c: Likewise.
39974         * rt/aio_write.c: Likewise.
39975         * rt/clock_getres.c: Likewise.
39976         * rt/clock_gettime.c: Likewise.
39977         * rt/clock_nanosleep.c: Likewise.
39978         * rt/clock_settime.c: Likewise.
39979         * rt/lio_listio.c: Likewise.
39980         * rt/mq_close.c: Likewise.
39981         * rt/mq_getattr.c: Likewise.
39982         * rt/mq_notify.c: Likewise.
39983         * rt/mq_open.c: Likewise.
39984         * rt/mq_receive.c: Likewise.
39985         * rt/mq_send.c: Likewise.
39986         * rt/mq_setattr.c: Likewise.
39987         * rt/mq_timedreceive.c: Likewise.
39988         * rt/mq_timedsend.c: Likewise.
39989         * rt/mq_unlink.c: Likewise.
39990         * rt/shm_open.c: Likewise.
39991         * rt/shm_unlink.c: Likewise.
39992         * rt/timer_create.c: Likewise.
39993         * rt/timer_delete.c: Likewise.
39994         * rt/timer_getoverr.c: Likewise.
39995         * rt/timer_gettime.c: Likewise.
39996         * rt/timer_settime.c: Likewise.
39997         * setjmp/__longjmp.c: Likewise.
39998         * setjmp/setjmp.c: Likewise.
39999         * signal/kill.c: Likewise.
40000         * signal/killpg.c: Likewise.
40001         * signal/raise.c: Likewise.
40002         * signal/sigaction.c: Likewise.
40003         * signal/sigaltstack.c: Likewise.
40004         * signal/sigblock.c: Likewise.
40005         * signal/sigignore.c: Likewise.
40006         * signal/sigintr.c: Likewise.
40007         * signal/signal.c: Likewise.
40008         * signal/sigpause.c: Likewise.
40009         * signal/sigpending.c: Likewise.
40010         * signal/sigqueue.c: Likewise.
40011         * signal/sigreturn.c: Likewise.
40012         * signal/sigset.c: Likewise.
40013         * signal/sigsetmask.c: Likewise.
40014         * signal/sigstack.c: Likewise.
40015         * signal/sigsuspend.c: Likewise.
40016         * signal/sigtimedwait.c: Likewise.
40017         * signal/sigvec.c: Likewise.
40018         * signal/sigwait.c: Likewise.
40019         * signal/sigwaitinfo.c: Likewise.
40020         * signal/sysv_signal.c: Likewise.
40021         * socket/accept.c: Likewise.
40022         * socket/accept4.c: Likewise.
40023         * socket/bind.c: Likewise.
40024         * socket/connect.c: Likewise.
40025         * socket/getpeername.c: Likewise.
40026         * socket/getsockname.c: Likewise.
40027         * socket/getsockopt.c: Likewise.
40028         * socket/isfdtype.c: Likewise.
40029         * socket/listen.c: Likewise.
40030         * socket/recv.c: Likewise.
40031         * socket/recvfrom.c: Likewise.
40032         * socket/recvmsg.c: Likewise.
40033         * socket/send.c: Likewise.
40034         * socket/sendmsg.c: Likewise.
40035         * socket/sendto.c: Likewise.
40036         * socket/setsockopt.c: Likewise.
40037         * socket/shutdown.c: Likewise.
40038         * socket/sockatmark.c: Likewise.
40039         * socket/socket.c: Likewise.
40040         * socket/socketpair.c: Likewise.
40041         * stdio-common/ctermid.c: Likewise.
40042         * stdio-common/cuserid.c: Likewise.
40043         * stdio-common/remove.c: Likewise.
40044         * stdio-common/rename.c: Likewise.
40045         * stdio-common/renameat.c: Likewise.
40046         * stdio-common/tempname.c: Likewise.
40047         * stdlib/getcontext.c: Likewise.
40048         * stdlib/makecontext.c: Likewise.
40049         * stdlib/setcontext.c: Likewise.
40050         * stdlib/swapcontext.c: Likewise.
40051         * stdlib/system.c: Likewise.
40052         * streams/fattach.c: Likewise.
40053         * streams/fdetach.c: Likewise.
40054         * streams/getmsg.c: Likewise.
40055         * streams/getpmsg.c: Likewise.
40056         * streams/putmsg.c: Likewise.
40057         * streams/putpmsg.c: Likewise.
40058         * sysdeps/unix/bsd/getpt.c: Likewise.
40059         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40060         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40061         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40063         Likewise.
40064         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40065         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40066         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40067         * sysvipc/msgctl.c: Likewise.
40068         * sysvipc/msgget.c: Likewise.
40069         * sysvipc/msgrcv.c: Likewise.
40070         * sysvipc/msgsnd.c: Likewise.
40071         * sysvipc/semctl.c: Likewise.
40072         * sysvipc/semget.c: Likewise.
40073         * sysvipc/semop.c: Likewise.
40074         * sysvipc/semtimedop.c: Likewise.
40075         * sysvipc/shmat.c: Likewise.
40076         * sysvipc/shmctl.c: Likewise.
40077         * sysvipc/shmdt.c: Likewise.
40078         * sysvipc/shmget.c: Likewise.
40079         * termios/tcdrain.c: Likewise.
40080         * termios/tcflow.c: Likewise.
40081         * termios/tcflush.c: Likewise.
40082         * termios/tcgetattr.c: Likewise.
40083         * termios/tcgetpgrp.c: Likewise.
40084         * termios/tcsendbrk.c: Likewise.
40085         * termios/tcsetattr.c: Likewise.
40086         * termios/tcsetpgrp.c: Likewise.
40087         * time/adjtime.c: Likewise.
40088         * time/clock.c: Likewise.
40089         * time/getitimer.c: Likewise.
40090         * time/gettimeofday.c: Likewise.
40091         * time/setitimer.c: Likewise.
40092         * time/settimeofday.c: Likewise.
40093         * time/stime.c: Likewise.
40094         * time/time.c: Likewise.
40096 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40098         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40099         /usr/old/bin.
40101         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40102         instead of spaces.
40103         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40105 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40107         [BZ #14796]
40108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40109         FE_TONEAREST before applying Dekker multiplication and Knuth
40110         addition.  Clear inexact exceptions and check for exact zero
40111         results afterwards.
40112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40113         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40114         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40115         * math/libm-test.inc (fma_test): Add more tests.
40116         (fma_test_towardzero): Likewise.
40117         (fma_test_downward): Likewise.
40118         (fma_test_upward): Likewise.
40119         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40120         function.
40121         (libc_fesetround): New macro.
40122         (libc_fesetroundf): Likewise.
40123         (libc_fesetroundl): Likewise.
40124         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40125         function.
40126         (libc_fesetround_387): Likewise.
40127         (libc_fesetroundf): New macro.
40128         (libc_fesetround): Likewise.
40129         (libc_fesetroundl): Likewise.
40130         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40131         function.
40132         (libc_fesetroundf): New macro.
40133         (libc_fesetround): Likewise.
40134         (libc_fesetroundl): Likewise.
40135         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40136         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40137         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40138         libm_hidden_ver.
40139         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40140         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40141         libm_hidden_def.
40142         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40143         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40144         libm_hidden_ver.
40145         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40146         libm_hidden_def.
40148         [BZ #3439]
40149         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40150         integer constant usable in #if and use that to give value to enum
40151         constant.
40152         (FE_DIVBYZERO): Likewise.
40153         (FE_UNDERFLOW): Likewise.
40154         (FE_OVERFLOW): Likewise.
40155         (FE_INVALID): Likewise.
40156         (FE_INVALID_SNAN): Likewise.
40157         (FE_INVALID_ISI): Likewise.
40158         (FE_INVALID_IDI): Likewise.
40159         (FE_INVALID_ZDZ): Likewise.
40160         (FE_INVALID_IMZ): Likewise.
40161         (FE_INVALID_COMPARE): Likewise.
40162         (FE_INVALID_SOFTWARE): Likewise.
40163         (FE_INVALID_SQRT): Likewise.
40164         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40165         (FE_TONEAREST): Likewise.
40166         (FE_TOWARDZERO): Likewise.
40167         (FE_UPWARD): Likewise.
40168         (FE_DOWNWARD): Likewise.
40169         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40170         (FE_DIVBYZERO): Likewise.
40171         (FE_OVERFLOW): Likewise.
40172         (FE_UNDERFLOW): Likewise.
40173         (FE_INEXACT): Likewise.
40174         (FE_TONEAREST): Likewise.
40175         (FE_DOWNWARD): Likewise.
40176         (FE_UPWARD): Likewise.
40177         (FE_TOWARDZERO): Likewise.
40178         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40179         (FE_UNDERFLOW): Likewise.
40180         (FE_OVERFLOW): Likewise.
40181         (FE_DIVBYZERO): Likewise.
40182         (FE_INVALID): Likewise.
40183         (FE_TONEAREST): Likewise.
40184         (FE_TOWARDZERO): Likewise.
40185         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40186         (FE_OVERFLOW): Likewise.
40187         (FE_UNDERFLOW): Likewise.
40188         (FE_DIVBYZERO): Likewise.
40189         (FE_INEXACT): Likewise.
40190         (FE_TONEAREST): Likewise.
40191         (FE_TOWARDZERO): Likewise.
40192         (FE_UPWARD): Likewise.
40193         (FE_DOWNWARD): Likewise.
40194         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40195         (FE_DIVBYZERO): Likewise.
40196         (FE_OVERFLOW): Likewise.
40197         (FE_UNDERFLOW): Likewise.
40198         (FE_INEXACT): Likewise.
40199         (FE_TONEAREST): Likewise.
40200         (FE_DOWNWARD): Likewise.
40201         (FE_UPWARD): Likewise.
40202         (FE_TOWARDZERO): Likewise.
40204 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40206         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40208 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40210         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40211         commands.  Quote $PWD.
40212         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40213         -x" by "export".
40214         (remove_newlines): Remove.
40216 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40218         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40219         * stdlib/stdlib.h (atof): Moved to ...
40220         * include/bits/stdlib-float.h: Here.  New file.
40221         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40222         * stdlib/bits/stdlib-float.h: New file.
40223         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40224         -mno-sse -mno-mmx.
40225         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40226         <xmmintrin.h>.
40228 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40230         * conform/conformtest.pl (@headers): Add fenv.h.
40231         * conform/data/fenv.h-data: New file.
40232         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40233         include of <math/fenv.h>.
40235         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40236         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40237         && !UNIX98].  Enables tests for XOPEN2K8.
40238         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40239         POSIX2008]: Likewise.
40241         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40242         (struct rusage): Do not expect type or its members.
40244         [BZ #3439]
40245         * math/math.h (FP_NAN): Define macro to integer constant usable in
40246         #if and use that to give value to enum constant.
40247         (FP_INFINITE): Likewise.
40248         (FP_ZERO): Likewise.
40249         (FP_SUBNORMAL): Likewise.
40250         (FP_NORMAL): Likewise.
40252 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40254         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40255         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40256         arguments.
40258 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40260         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40261         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40262         autoconf-time if not.
40263         * configure.in: Remove AC_PREREQ.
40265 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40267         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40268         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40269         of the internal implementation.
40271 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40273         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40274         except include of <misc/sys/syslog.h>.
40276 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40279         function returns with a NULL context exit with zero.
40281 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40283         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40285 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40287         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40288         (run_program_cmd): This.
40289         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40290         (tst_langinfo): New variable.  Use it.
40292 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40294         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40295         floating point opcodes.
40297 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40299         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40300         variable.
40302         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40304         * sysdeps/mach/hurd/powerpc: Remove directory.
40305         * sysdeps/mach/powerpc: Likewise.
40307 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40309         * scripts/check-local-headers.sh: Ignore c++ headers.
40311 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40313         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40314         __libc_cleanup_region_start argument.
40316 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40318         [BZ #14784]
40319         [BZ #14785]
40320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40321         x * y using scaling, not as x * y + z.
40322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40324         * math/libm-test.inc (fma_test): Add more tests.
40325         (fma_test_towardzero): Likewise.
40326         (fma_test_downward): Likewise.
40327         (fma_test_upward): Likewise.
40329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40331         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40333 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40335         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40336         New variable.
40338 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40340         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40342 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40345         Fix sort order.
40346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40347         Likewise.
40349 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40352         Fix the order of the list for glibc 2.17.
40353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40354         Likewise.
40356 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40360 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40362         [BZ #14610]
40363         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40364         for low part of x being zero before using __atanl (y).
40365         * math/libm-test.inc (atan2_test): Add another test.
40367         * manual/install.texi (Configuring and compiling): Document
40368         general use of test-wrapper and test-wrapper-env.
40369         * INSTALL: Regenerated.
40371         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40372         (__fma): Do not extract and scale down low bits on after-rounding
40373         systems when result rounded to normal precision would have normal
40374         exponent.
40375         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40376         (__fmal): Do not extract and scale down low bits on after-rounding
40377         systems when result rounded to normal precision would have normal
40378         exponent.
40379         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40380         (__fmal): Do not extract and scale down low bits on after-rounding
40381         systems when result rounded to normal precision would have normal
40382         exponent.
40383         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40384         macro.
40385         (fma_test): Add more tests.
40386         (fma_test_towardzero): Likewise.
40387         (fma_test_downward): Likewise.
40388         (fma_test_upward): Likewise.
40390 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40392         * sysdeps/i386/tininess.h: Renamed to ...
40393         * sysdeps/x86/tininess.h: This.
40394         * sysdeps/x86_64/tininess.h: Removed.
40396 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40398         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40399         input.  Use $(build-program-cmd).
40400         ($(objpfx)tst-array1-static.out): Likewise.
40401         ($(objpfx)tst-array2.out): Likewise.
40402         ($(objpfx)tst-array3.out): Likewise.
40403         ($(objpfx)tst-array4.out): Likewise.
40404         ($(objpfx)tst-array5.out): Likewise.
40405         ($(objpfx)tst-array5-static.out): Likewise.
40407 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40409         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40410         if defined.
40412         * nss/nsswitch.h (nss_interface_function): Provide new
40413         macro for use with NSS functions.
40414         * grp/initgroups.c: Use new macro.
40415         * nss/getXXbyYY.c: Likewise.
40416         * nss/getXXbyYY_r.c: Likewise.
40417         * nss/getXXent.c: Likewise.
40418         * nss/getXXent_r.c: Likewise.
40419         * sysdeps/posix/getaddrinfo.c: Likewise.
40421 2012-10-30  Andreas Jaeger  <aj@suse.de>
40423         * po/ru.po: Update Russion translation from translation project.
40425 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40427         [BZ #14152]
40428         [BZ #14783]
40429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40430         result and shift together with sticky bit instead of replicating
40431         round-to-nearest rounding.
40432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40433         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40434         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40435         missing underflow exceptions.
40436         (fma_test_towardzero): Add more tests.
40437         (fma_test_downward): Likewise.
40438         (fma_test_upward): Likewise.
40440         [BZ #14047]
40441         * sysdeps/generic/tininess.h: New file.
40442         * sysdeps/i386/tininess.h: Likewise.
40443         * sysdeps/sh/tininess.h: Likewise.
40444         * sysdeps/x86_64/tininess.h: Likewise.
40445         * stdlib/tst-strtod-underflow.c: Likewise.
40446         * stdlib/tst-tininess.c: Likewise.
40447         * stdlib/strtod_l.c: Include <tininess.h>.
40448         (round_and_return): Do not set errno for exact underflow cases.
40449         Force an underflow exception when setting errno for underflow.
40450         Determine underflow based on rounding to normal precision if
40451         TININESS_AFTER_ROUNDING.
40452         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40453         ERANGE for exact underflow cases.
40454         * stdlib/Makefile (tests): Add tst-tininess and
40455         tst-strtod-underflow.
40456         ($(objpfx)tst-tininess): Use $(link-libm).
40457         ($(objpfx)tst-strtod-underflow): Likewise.
40459 2012-10-30  Andreas Jaeger  <aj@suse.de>
40461         [BZ#14767]
40462         * elf/Makefile (tests): Remove conditional for have-initfini-array
40463         since this is now always required and the variable does not exist
40464         anymore.
40465         (tests-static): Likewise.
40466         (modules-names): Likewise.
40468         * po/eo.po: Add Esperanto translation from translation project.
40470         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40471         merged with constructor/destructor.
40472         (init_array): Likewise.
40473         * elf/tst-array2dep.c (fini_array): Likewise.
40474         (init_array): Likewise.
40476 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40478         * manual/message.texi: Delete @cartouche tags.
40480 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40482         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40483         EOPNOTSUPP.
40484         * sysdeps/mach/hurd/fsync.c: Likewise.
40486         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40487         [_POSIX_REALTIME_SIGNALS]: Change condition to
40488         [_POSIX_REALTIME_SIGNALS > 0].
40490 2012-10-27  Andreas Jaeger  <aj@suse.de>
40492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40493         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40495         [__WORDSIZE != 64]: Likewise.
40497 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40499         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40500         *  iconvdata/tst-tables.sh: Likewise.
40502 2012-10-25  David S. Miller  <davem@davemloft.net>
40504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40505         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40506         of strtoull.
40508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40509         ifunc-impl-list.c
40510         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40511         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40512         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40513         file.
40515 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40517         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40518         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40519         __getdirentries.
40521 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40522             Jim Blandy  <jimb@codesourcery.com>
40524         * scripts/cross-test-ssh.sh: New file.
40525         * manual/install.texi (Configuring and compiling): Document use of
40526         cross-test-ssh.sh.
40527         * INSTALL: Regenerated.
40529 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40531         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40532         EOPNOTSUPP.
40534 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40536         * Makeconfig (run-program-prefix): Fix comment.
40538 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40539             Jim Blandy  <jimb@codesourcery.com>
40541         * Makeconfig (test-wrapper): New variable,
40542         (test-wrapper-env): Likewise.
40543         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40544         (run-built-tests): Define to yes.
40545         (run-program-prefix): Use $(test-wrapper).
40546         (built-program-cmd): Likewise.
40547         * Rules (make-test-out): Use $(test-wrapper-env) and
40548         $(host-built-program-cmd).
40549         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40550         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40551         tst-pathopt.sh.
40552         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40553         $(test-wrapper-env) to tst-rtld-load-self.sh.
40554         ($(objpfx)order2.out): Use $(test-wrapper).
40555         ($(objpfx)tst-initorder.out): Likewise.
40556         ($(objpfx)tst-initorder2.out): Likewise.
40557         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40558         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40559         (test_wrapper_env): New variable.  Use it to run ld.so.
40560         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40561         Use it to run ld.so.
40562         (test_wrapper_env): Likewise.
40563         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40564         $(test-wrapper) to run-iconv-test.sh.
40565         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40566         (ICONV): Use $test_wrapper.
40567         * posix/Makefile ($(objpfx)globtest.out): Pass
40568         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40569         globtest.sh, not $(run-program-prefix).
40570         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40571         (test_wrapper): Likewise.
40572         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40573         set together with run_via_rtld_prefix.
40574         (run_program_prefix): Define in terms of test_wrapper and
40575         run_via_rtld_prefix.
40577 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40579         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40580         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40581         Targets removed.
40583         [BZ #14743]
40584         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40585         Declare __clock_getres, __clock_gettime, __clock_settime,
40586         __clock_nanosleep, and __clock_getcpuclockid.
40587         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40588         Remove librt_hidden_def (clock_gettime).
40589         * sysdeps/unix/clock_gettime.c: Likewise.
40590         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40591         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40592         * rt/clock_getres.c: Define __clock_getres as an alias.
40593         * sysdeps/posix/clock_getres.c: Likewise.
40594         * rt/clock_settime.c: Define __clock_settime as an alias.
40595         * sysdeps/unix/clock_settime.c: Likewise.
40596         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40597         * sysdeps/unix/clock_nanosleep.c: Likewise.
40598         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40599         * rt/clock-compat.c: New file.
40600         * rt/Makefile (librt-routines): Add clock-compat and move
40601         $(clock-routines) to ...
40602         (routines): ... here, new variable.
40603         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40604         Don't add get_clockfreq here.
40605         * rt/Versions (libc: GLIBC_2.17): New version set.
40606         Add clock_* symbols here.
40607         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40608         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40609         (GLIBC_2.17): Add clock_* symbols.
40610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40612         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40614         Likewise.
40615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40616         Likewise.
40617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40621         * NEWS: Mention the move.
40623         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40624         Use __open, __read, __close rather than their public counterparts.
40625         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40626         (__get_clockfreq_via_cpuinfo): Likewise.
40627         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40628         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40630         * config.h.in (HAVE_IFUNC): New #undef.
40631         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40632         was successful.
40633         * configure: Regenerated.
40635 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40637         * configure.in: Move READELF check to start of file.
40638         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40639         libc_cv_asm_gnu_indirect_function in the process.
40640         * configure: Regenerated.
40642 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40644         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40645         send the output to /dev/null.
40646         (libc_cv_cc_with_libunwind): Likewise.
40647         (libc_cv_as_noexecstack): Likewise.
40648         * configure: Regenerate.
40650 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40652         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40654         * posix/globtest.sh (TMPDIR): Do not set.
40655         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40656         (testout): Likewise.
40658 2012-10-24  Andreas Jaeger  <aj@suse.de>
40660         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40661         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40662         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40663         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40664         posix_fadvise64, posix_fallocate64.
40666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40667         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40668         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40669         Likewise.
40670         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40671         Likewise.
40672         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40675         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40676         <bits/fcntl-linux.h>.
40677         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40680         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40681         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40682         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40683         [__WORDSIZE != 64]: Likewise.
40685 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40687         * Makeconfig (run-built-tests): New variable.
40688         * Rules [$(cross-compiling) = yes]: Change condition to
40689         [$(run-built-tests) = no].
40690         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40691         to [$(run-built-tests) = yes].
40692         * elf/Makefile [$(cross-compiling) = no]: Likewise
40693         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40694         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40695         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40696         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40697         * io/Makefile [$(cross-compiling) = no]: Likewise.
40698         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40699         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40700         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40701         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40702         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40703         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40704         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40705         * string/Makefile [$(cross-compiling) = no]: Likewise.
40707         * posix/Makefile ($(objpfx)globtest.out): Pass
40708         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40709         $(rtld-installed-name).
40710         * posix/globtest.sh (elf_objpfx): Remove variable.
40711         (rtld_installed_name): Likewise.
40712         (library_path): Likewise.
40713         (run_program_prefix): New variable.  Use for running globtest
40714         binary.
40716 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40717             Joseph Myers  <joseph@codesourcery.com>
40719         * Makeconfig (host-built-program-cmd): New variable.
40720         * elf/Makefile (tst-stackguard1-ARGS): Use
40721         $(host-built-program-cmd).
40722         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40723         (tst-spawn-ARGS): Likewise.
40724         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40726 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40727             Jim Blandy  <jimb@codesourcery.com>
40729         * Makeconfig (run-via-rtld-prefix): New variable.
40730         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40731         (built-program-cmd): Likewise.
40733 2012-10-22  Andreas Jaeger  <aj@suse.de>
40735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40736         __O_RSYNC if it exists, otherwise to O_SYNC.
40738 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40739             Joseph Myers  <joseph@codesourcery.com>
40741         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40742         /dev/null.
40743         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40744         from /dev/null
40745         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40746         /dev/null.
40748 2012-10-22  Andreas Jaeger  <aj@suse.de>
40750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40751         Define always.
40752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40755         bits/fcntl-linux.h.
40757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40758         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40761         to __O_LARGEFILE.
40762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40763         to __O_LARGEFILE.
40765 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40766             Joseph Myers  <joseph@codesourcery.com>
40768         * config.make.in (NM): New variable.
40770 2012-10-21  Andreas Jaeger  <aj@suse.de>
40772         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40773         definitions and declarations that are provided by
40774         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40776 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40778         [BZ #14683]
40779         * elf/Makefile (tests-static): Add tst-leaks1-static.
40780         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40781         ($(objpfx)tst-leaks1-static): New rule.
40782         ($(objpfx)tst-leaks1-static-mem): Likewise.
40783         (tst-leaks1-static-ENV): New macro.
40784         * elf/dl-open.c (dl_open_worker): Check the main application
40785         only if SHARED is defined.
40786         * elf/tst-leaks1-static.c: New file.
40788 2012-10-20  Andreas Jaeger  <aj@suse.de>
40790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40791         generic values for Linux.
40792         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40793         and declarations that are provided by <bits/fcntl-linux.h> and
40794         include <bits/fcntl-linux.h>.
40795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40796         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40798 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40800         * io/fcntl.h: Move include of <bits/types.h> to the top and
40801         include it unconditionally.
40803 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40805         * wcsmbs/Makefile (tests-ifunc): New variable.
40806         (tests): Add $(tests-ifunc).
40807         * wcsmbs/test-wcschr-ifunc.c: New file.
40808         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40809         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40810         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40811         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40812         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40814         * string/Makefile (tests-ifunc): New variable.
40815         (tests): Add $(tests-ifunc).
40816         * string/test-memccpy.c (TEST_NAME): New macro.
40817         * string/test-memchr.c (TEST_NAME): Likewise.
40818         * string/test-memcmp.c (TEST_NAME): Likewise.
40819         * string/test-memcpy.c (TEST_NAME): Likewise.
40820         * string/test-memmem.c (TEST_NAME): Likewise.
40821         * string/test-memmove.c (TEST_NAME): Likewise.
40822         * string/test-memset.c (TEST_NAME): Likewise.
40823         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40824         * string/test-stpcpy.c (TEST_NAME): Likewise.
40825         * string/test-stpncpy.c (TEST_NAME): Likewise.
40826         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40827         * string/test-strcasestr.c (TEST_NAME): Likewise.
40828         * string/test-strcat.c (TEST_NAME): Likewise.
40829         * string/test-strchr.c (TEST_NAME): Likewise.
40830         * string/test-strcmp.c(TEST_NAME): Likewise.
40831         * string/test-strcpy.c (TEST_NAME): Likewise.
40832         * string/test-strcspn.c (TEST_NAME): Likewise.
40833         * string/test-strlen.c (TEST_NAME): Likewise.
40834         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40835         * string/test-strncmp.c (TEST_NAME): Likewise.
40836         * string/test-strncpy.c (TEST_NAME): Likewise.
40837         * string/test-strnlen.c (TEST_NAME): Likewise.
40838         * string/test-strpbrk.c (TEST_NAME): Likewise.
40839         * string/test-strrchr.c (TEST_NAME): Likewise.
40840         * string/test-strspn.c (TEST_NAME): Likewise.
40841         * string/test-strstr.c (TEST_NAME): Likewise.
40842         * string/test-bcopy-ifunc.c: New file.
40843         * string/test-bzero-ifunc.c: Likewise.
40844         * string/test-memccpy-ifunc.c: Likewise.
40845         * string/test-memchr-ifunc.c: Likewise.
40846         * string/test-memcmp-ifunc.c: Likewise.
40847         * string/test-memcpy-ifunc.c: Likewise.
40848         * string/test-memmem-ifunc.c: Likewise.
40849         * string/test-memmove-ifunc.c: Likewise.
40850         * string/test-mempcpy-ifunc.c: Likewise.
40851         * string/test-memset-ifunc.c: Likewise.
40852         * string/test-rawmemchr-ifunc.c: Likewise.
40853         * string/test-stpcpy-ifunc.c: Likewise.
40854         * string/test-stpncpy-ifunc.c: Likewise.
40855         * string/test-strcasecmp-ifunc.c: Likewise.
40856         * string/test-strcasestr-ifunc.c: Likewise.
40857         * string/test-strcat-ifunc.c: Likewise.
40858         * string/test-strchr-ifunc.c: Likewise.
40859         * string/test-strchrnul-ifunc.c: Likewise.
40860         * string/test-strcmp-ifunc.c: Likewise.
40861         * string/test-strcpy-ifunc.c: Likewise.
40862         * string/test-strcspn-ifunc.c: Likewise.
40863         * string/test-strlen-ifunc.c: Likewise.
40864         * string/test-strncasecmp-ifunc.c: Likewise.
40865         * string/test-strncat-ifunc.c: Likewise.
40866         * string/test-strncmp-ifunc.c: Likewise.
40867         * string/test-strncpy-ifunc.c: Likewise.
40868         * string/test-strnlen-ifunc.c: Likewise.
40869         * string/test-strpbrk-ifunc.c: Likewise.
40870         * string/test-strrchr-ifunc.c: Likewise.
40871         * string/test-strspn-ifunc.c: Likewise.
40872         * string/test-strstr-ifunc.c: Likewise.
40874         * debug/Makefile (tests-ifunc): New variable.
40875         (tests): Add $(tests-ifunc).
40876         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40877         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40878         * debug/test-stpcpy_chk-ifunc.c: New file.
40879         * debug/test-strcpy_chk-ifunc.c: Likewise.
40881 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40883         [BZ #13601]
40884         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40885         header is not read in.
40887 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40889         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40890         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40891         directly.  Pass built executable to script as
40892         $(built-program-cmd).
40893         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40894         $testprogram without using LD_LIBRARY_PATH and $ldso.
40896         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40897         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40898         $(rtld-installed-name).
40899         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40900         (rtld_installed_name): Likewise.
40901         (library_path): Likewise.
40902         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40903         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40904         $(run-program-prefix) to tst-tables.sh.
40905         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40906         it to run tst-table-from and tst-table-to.
40907         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40908         Pass it to tst-table.sh.
40909         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40910         $(run-program-prefix) to tst-gettext.sh.
40911         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40912         tst-translit.sh.
40913         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40914         tst-gettext2.sh.
40915         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40916         to run tst-gettext.
40917         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40918         to run tst-gettext2.
40919         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40920         to run tst-translit.
40921         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40922         $(run-program-prefix) to tst-mtrace.sh.
40923         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40924         to run tst-mtrace.
40925         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40926         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40927         $(rtld-installed-name).
40928         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40929         (rtld_installed_name): Likewise.
40930         (run_program_prefix): New variable.  Use it to run wordexp-test.
40932         * Makeconfig (ARCH): Remove all definitions.
40933         (machine): Likewise.
40934         [ARCH]: Remove conditional code.
40935         [!objdir]: Give error.
40936         [!objdir] (objpfx): Remove.
40937         [!objdir] (common-objpfx): Likewise.
40938         [!objdir] (common-objdir): Likewise.
40939         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40940         AC_CONFIG_FILES call.
40941         * configure: Regenerated.
40943         [BZ #13888]
40944         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40945         or TMPDIR.
40946         (testout): Likewise.
40948         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40949         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40950         $(rtld-installed-name).
40951         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40952         (rtld_installed_name): Likwise.
40953         (runit): Remove function.
40954         (run_getconf): New variable,  Use it for running getconf binary.
40956 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40958         [BZ #14716]
40959         * string/test-memmem.c (check_result): New function.
40960         (do_one_test): Use it.
40961         (check1): New function.
40962         (test_main): Use it.
40964 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40966         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40968 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40970         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40971         (_G_LSEEK64): Likewise.
40972         (_G_MMAP64): Likewise.
40973         (_G_FSTAT64): Likewise.
40974         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40975         (_G_LSEEK64): Likewise.
40976         (_G_MMAP64): Likewise.
40977         (_G_FSTAT64): Likewise.
40978         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40979         unconditional.  Call __mmap64 directly.
40980         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40981         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40982         __lseek64 directly.
40983         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40984         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40985         __mmap64 directly.
40986         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40987         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40988         __lseek64 directly.
40989         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40990         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40991         __lseek64 directly.
40992         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40993         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40994         __lseek64 directly.
40995         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40996         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40997         __fxstat64 directly.
40998         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40999         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41000         unconditional.
41001         (freopen64) [!_G_OPEN64]: Remove conditional code.
41002         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41003         unconditional.
41004         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41005         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41006         unconditional.
41007         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41008         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41009         unconditional.
41010         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41011         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41012         unconditional.
41013         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41014         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41015         unconditional.
41016         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41017         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41018         unconditional.
41019         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41020         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41021         unconditional.
41022         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41024 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         [BZ #12140]
41027         * manual/memory.texi (Malloc Tunable Parameters): Add note
41028         about free list pointers overwriting some perturb bytes.
41029         Wording suggested by Roland McGrath.
41031 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41033         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41034         (lgamma_test): Likewise.
41035         (tgamma_test): Likewise.
41037 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41039         [BZ #14700]
41040         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41041         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41043 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41045         * NEWS: Mention BZ #14716.
41046         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41047         when removing AVAILABLE1_USES_J macro.
41049 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41051         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41052         (__bswap_64): __uint64_t for unsigned 64-bit int.
41054 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41056         * include/string.h (memmem): Declare libc hidden alias.
41057         * string/memmem.c (memmem): Define libc hidden alias.
41058         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41059         __read, __close instead of open, read, close.
41061 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41064         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41065         global and hidden.
41066         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41067         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41068         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41069         Likewise.
41070         (__rawmemchr_sse2): Likewise.
41071         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41072         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41073         (__strchr_sse2): Likewise.
41074         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41075         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41076         (__strcasecmp_sse2): Likewise.
41077         (__strncasecmp_sse2): Likewise.
41078         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41079         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41080         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41081         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41082         (__strrchr_sse2): Likewise.
41083         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41084         ifunc-impl-list.c.
41085         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41086         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41087         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41088         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41089         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41090         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41091         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41092         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41093         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41094         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41095         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41096         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41097         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41099         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41100         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41103         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41104         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41105         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41106         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41107         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41108         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41109         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41110         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41111         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41112         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41113         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41114         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41116         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41117         global and hidden.
41118         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41119         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41120         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41121         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41122         Likewise.
41123         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41124         Likewise.
41125         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41126         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41127         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41128         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41129         ifunc-impl-list.c.
41130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41132         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41139         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41143         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41144         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41146         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41147         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41148         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41149         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41150         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41151         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41152         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41153         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41154         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41155         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41156         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41157         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41158         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41159         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41160         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41163         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41164         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41165         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41166         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41167         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41168         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41169         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41170         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41172         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41173         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41174         * include/ifunc-impl-list.h: New file.
41175         * misc/ifunc-impl-list.c: Likewise.
41176         * misc/Makefile (routines): Add ifunc-impl-list.
41177         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41178         * string/test-string.h: Include <ifunc-impl-list.h>.
41179         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41180         TEST_NAME]: New variables.
41181         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41182         are defined.
41183         (test_init): Call __libc_ifunc_impl_list to initialize
41184         func_list if TEST_IFUNC and TEST_NAME are defined.
41186         * string/Makefile (strop-tests): Add bcopy and bzero.
41187         * string/test-bcopy.c: New file.
41188         * string/test-bzero.c: Likewise.
41189         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41190         defined.
41191         * string/test-memset.c: Support bzero test if TEST_BZERO is
41192         defined.
41193         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41194         __libc_memmove.
41195         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41196         __libc_memset.
41197         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41198         of memset.
41200 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41202         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41203         * configure: Regenerated.
41205         * Makeconfig (+link-static-before-libc): Don't include
41206         $(link-static-libc).
41208         * libio/libio.h (_IO_pos_t): Remove.
41210 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41212         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41213         McGrath.
41215 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41217         * crypt/crypt-entry.c: Include fips-private.h.
41218         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41219         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41220         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41221         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41223 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41225         * crypt/crypt-private.h: Include stdbool.h.
41226         (_ufc_setup_salt_r): Return bool.
41227         * crypt/crypt-entry.c: Include errno.h.
41228         (__crypt_r): Return NULL with EINVAL for bad salt.
41229         * crypt/crypt_util.c (bad_for_salt): New.
41230         (_ufc_setup_salt_r): Check that salt is long enough and within
41231         the specified alphabet.
41232         * crypt/badsalttest.c: New file.
41233         * crypt/Makefile (tests): Add it.
41234         ($(objpfx)badsalttest): New.
41236 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41238         * NEWS: Add entry for BZ #14602.
41240 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41242         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41243         type-generic.
41244         * math/libm-test.inc: Update comment listing what functions and
41245         macros are tested.
41246         (isgreater_test): New function.
41247         (isgreaterequal_test): Likewise.
41248         (isless_test): Likewise.
41249         (islessequal_test): Likewise.
41250         (islessgreater_test): Likewise.
41251         (isunordered_test): Likewise.
41252         (main): Call the new functions.
41254 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41256         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41257         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41258         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41259         * sysdeps/i386/configure: Regenerated.
41260         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41261         * sysdeps/mach/configure: Regenerated.
41262         * sysdeps/mach/hurd/configure: Regenerated.
41263         * sysdeps/powerpc/configure: Regenerated.
41264         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41265         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41266         * sysdeps/s390/s390-32/configure: Regenerated.
41267         * sysdeps/s390/s390-64/configure: Regenerated.
41268         * sysdeps/sh/configure: Regenerated.
41269         * sysdeps/sparc/configure: Regenerated.
41270         * sysdeps/unix/sysv/linux/configure: Regenerated.
41271         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41272         * sysdeps/x86_64/configure: Regenerated.
41274         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41275         defined.  Don't check if MAP is NULL.
41277 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41279         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41280         (_G_stat64): Likewise.
41281         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41282         (_G_stat64): Likewise.
41283         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41284         instead of struct _G_stat64.
41285         * libio/fileops.c (mmap_remap_check): Likewise.
41286         (decide_maybe_mmap): Likewise.
41287         (_IO_new_file_seekoff): Likewise.
41288         (_IO_file_stat): Likewise.
41289         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41290         _G_off64_t.
41291         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41292         instead of struct _G_stat64.
41293         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41295 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41297         [BZ #14602]
41298         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41299         Replace with ...
41300         (CHECK_EOL): New macro.
41301         (two_way_short_needle): Check beginning of haystack for EOL.  Use
41302         CHECK_EOL.
41303         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41304         Replace with CHECK_EOL.
41305         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41306         Replace with CHECK_EOL.
41308 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41310         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41311         type-generic.
41312         * math/libm-test.inc: Update comment listing what functions and
41313         macros are tested.
41314         (finite_test): New function.
41315         (isinf_test): Likewise.
41316         (isnan_test): Likewise.
41317         (fpclassify_test): Test subnormal input.
41318         (isfinite_test): Likewise.
41319         (isnormal_test): Likewise.
41320         (main): Call the new functions.
41322 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41324         [BZ #14660]
41325         * Makerules (%.dynsym): Force C locale when running
41326         $(OBJDUMP) --dynamic-syms.
41328 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41330         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41331         <stdint.h>.
41333 2012-10-06  David S. Miller  <davem@davemloft.net>
41335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41336         upper 32-bits of the length value in %o2 since we use branch-on-register
41337         tests which consider the entire 64-bit register.
41339 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41341         * string/test-strstr.c (check2): Add a test for page boundary.
41343 2012-10-05  David S. Miller  <davem@davemloft.net>
41345         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41346         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41347         file.
41348         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41349         sysdep_routines.
41350         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41351         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41352         and bzero when HWCAP_SPARC_CRYPTO is present.
41354 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41356         [BZ #14602]
41357         * string/test-strstr.c (check2): New function.
41358         (test_main): Call check2.
41360         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41361         and bug-strchr1.
41362         * string/bug-strcasestr1.c (do_test): Moved to ...
41363         * string/test-strcasestr.c (check1): Here.  New function.
41364         (do_one_test): Break out result checking code into ...
41365         (check_result): This.  New function.
41366         (do_one_test): Call check_result.
41367         (test_main): Call check1.
41368         * string/bug-strchr1.c (do_test): Moved to ...
41369         * string/test-strchr.c (check1): Here.  New function.
41370         (do_one_test): Break out result checking code into ...
41371         (check_result): This.  New function.
41372         (do_one_test): Call check_result.
41373         (test_main): Call check1.
41374         * string/bug-strstr1.c (main): Moved to ...
41375         * string/test-strstr.c (check1): Here.  New function.
41376         (do_one_test): Break out result checking code into ...
41377         (check_result): This.  New function.
41378         (do_one_test): Call check_result.
41379         (test_main): Call check1.
41380         * string/bug-strcasestr1.c: Removed.
41381         * string/bug-strchr1.c: Likewise.
41382         * string/bug-strstr1.c: Likewise.
41384         * elf/Makefile (dl-routines): Add hwcaps.
41385         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41386         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41387         (_dl_important_hwcaps): Moved to ...
41388         * elf/dl-hwcaps.c: Here.  New file.
41389         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41391         [BZ #14557]
41392         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41393         if IS_IN_rtld isn't defined.
41395         * elf/dl-support.c (_dl_sysinfo_map): New.
41396         Include "get-dynamic-info.h" and "setup-vdso.h".
41397         (_dl_non_dynamic_init): Call setup_vdso.
41398         * elf/dynamic-link.h: Don't include <assert.h>.
41399         (elf_get_dynamic_info): Moved to ...
41400         * elf/get-dynamic-info.h: Here.  New file.
41401         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41402         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41403         * elf/setup-vdso.h: Here.  New file.
41404         * elf/rtld.c: Include "setup-vdso.h".
41405         (dl_main): Call setup_vdso.
41407 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41409         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41410         creal in comment listing functions tested.  List finite, isinf,
41411         isnan, isless, islessequal, isgreater, isgreaterequal,
41412         islessgreater, isunordered, lgamma_r and pow10 as functions and
41413         macros not tested.  Mention which functions not tested are aliases
41414         for other functions.  Fix typo.  Note that signs of NaNs are not
41415         tested.
41417         * scripts/config.guess: Update from config.git.
41418         * scripts/config.sub: Likewise.
41420 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41422         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41423         * misc/madvise.c (madvise): Renamed to __madvise.
41424         Make madvise a weak alias.
41425         * include/sys/mman.h: Declare __madvise.
41426         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41427         * sysdeps/unix/syscalls.list
41428         (madvise): Make __madvise the strong name, and madvise a weak alias.
41429         * sysdeps/unix/sysv/linux/syscalls.list
41430         (madvise, mmap): Remove redundant entries.
41431         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41432         * malloc/malloc.c (mtrim): Likewise.
41433         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41435 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41437         * sysdeps/mach/hurd/dl-cache.c: File removed.
41438         * config.h.in (USE_LDCONFIG): New #undef.
41439         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41440         * configure: Regenerated.
41441         * elf/Makefile (dl-routines): Add dl-cache only under
41442         [$(use-ldconfig) = yes].
41443         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41444         cache on [USE_LDCONFIG].
41445         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41446         [USE_LDCONFIG].
41447         * elf/rtld.c (dl_main): Likewise.
41449 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41451         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41452         _SC_LEVEL4_CACHE_LINESIZE.
41454 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41456         * sysdeps/unix/bsd/confstr.h: File removed.
41458 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41460         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41461         sys/sdt-config.h.
41463 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41465         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41466         Make 'mapoff' field ElfW(Off) rather than off_t.
41468 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41470         * nscd/Makefile: Remove nscd-cflags and all its users.
41471         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41472         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41474         [BZ #10631]
41475         * malloc.c (malloc_printerr): Clarify error message.
41477 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41479         [BZ #14648]
41480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41481         Set bit_FMA_Usable if FMA is supported.
41482         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41483         macro.
41484         (bit_FMA4_Usable): Updated.
41485         (index_FMA_Usable): New macro.
41486         (CPUID_FMA): Likewise
41487         (HAS_FMA): Defined with bit_FMA_Usable.
41489 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41491         * bits/types.h (__swblk_t): Type removed.
41492         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41493         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41495         (__SWBLK_T_TYPE): Likewise.
41496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41497         (__SWBLK_T_TYPE): Likewise.
41498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41499         (__SWBLK_T_TYPE): Likewise.
41500         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41501         (__SWBLK_T_TYPE): Likewise.
41503 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41504             Honza Horak <hhorak@redhat.com>
41506         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41507         (xdr_mapname): Use YPMAXMAP as maxsize.
41508         (xdr_peername): Use YPMAXPEER as maxsize.
41509         (xdr_keydat): Use YPAXRECORD as maxsize.
41510         (xdr_valdat): Use YPMAXRECORD as maxsize.
41512 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41514         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41516         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41517         * csu/init-first.c: ... here.
41518         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41519         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41520         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41521         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41522         * sysdeps/i386/init-first.c: File removed.
41523         * sysdeps/sh/init-first.c: File removed.
41525 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41527         [BZ #14645]
41528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41529         if x * y might underflow to zero and z is zero.
41530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41532         * math/libm-test.inc (min_subnorm_value): New variable.
41533         (fma_test): Add more tests.
41534         (fma_test_towardzero): Likewise.
41535         (fma_test_downward): Likewise
41536         (fma_test_upward): Likewise.
41537         (initialize): Set min_subnorm_value.
41539 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41541         [BZ #14638]
41542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41543         0 + 0.
41544         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41545         mode for addition resulting in exact zero.
41546         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41548         exact 0 + 0.
41549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41551         * math/libm-test.inc (fma_test): Add more tests.
41552         (fma_test_towardzero): New function.
41553         (fma_test_downward): Likewise.
41554         (fma_test_upward): Likewise.
41555         (main): Call the new functions.
41557 2012-09-28  David S. Miller  <davem@davemloft.net>
41559         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41561 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41563         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41564         instead of SIGALRM.
41566         * sysdeps/gnu/_G_config.h: Moved to ...
41567         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41568         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41569         * sysdeps/generic/_G_config.h: ... here.
41571         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41573         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41575         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41576         Conditionalize target on [libnss_test1.so-version].
41578         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41580         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41581         (elfobjdir): Move out of conditionals.
41583         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41584         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41585         (__nss_lookup_function): Conditionalize label remove_from_tree on
41586         [!DO_STATIC_NSS || SHARED], matching its only use.
41588 2012-09-28  David S. Miller  <davem@davemloft.net>
41590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41591         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41592         file.
41593         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41594         sysdep_routines.
41595         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41597         when HWCAP_SPARC_CRYPTO is present.
41599 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41601         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41603 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41605         [BZ #6530]
41606         * stdio-common/vfprintf.c (process_string_arg): Revert
41607         2000-07-22 change.
41609 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41611         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41612         for testcase.
41613         * stdio-common/tst-sprintf.c: Include <locale.h>
41614         (main): Test sprintf's handling of incomplete multibyte
41615         characters.
41617 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41619         * elf/dl-runtime.c (VERSYMIDX): Removed.
41620         * elf/dl-version.c (VERSYMIDX): Likewise.
41621         * elf/do-rel.h (VERSYMIDX): Likewise.
41622         (VALIDX): Likewise.
41623         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41624         * elf/rtld.c (VALIDX): Likewise.
41625         (ADDRIDX): Likewise.
41626         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41627         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41628         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41629         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41630         (VALIDX): Likewise.
41631         (ADDRIDX): Likewise.
41633 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41635         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41637 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41639         [BZ #11438]
41640         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41641         to global scope.
41642         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41643         addresses are in the same scope as 192.0.2/24.
41644         * posix/gai.conf: Document new scope table defaults.
41646 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41648         [BZ #5298]
41649         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41650         for ftell.  Compute offsets from write pointers instead.
41651         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41653 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41655         [BZ #14543]
41656         * libio/Makefile (tests): New test case tst-fseek.
41657         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41658         combination works in wide mode.
41659         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41660         state when the external buffer state changes.
41662 2012-09-27  David S. Miller  <davem@davemloft.net>
41664         [BZ #14376]
41665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41666         pass reloc->r_addend in as the 'high' argument to
41667         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41671 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41673         * rt/tst-aio2.c: Include <pthread.h>.
41674         * rt/tst-aio3.c: Likewise.
41676 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41678         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41680 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41682         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41683         contents on [SHARED].
41685 2012-09-26  Marek Polacek  <polacek@redhat.com>
41687         [BZ #14530]
41688         [BZ #13741]
41689         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41690         for C++ and GCC <4.3 as well as for non GCC compilers.
41692 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41696 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41698         * Makefile.in (all, install): Declare with .PHONY.
41699         Reported by Michael Hope <michael.hope@linaro.org>.
41701 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41703         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41704         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41705         system header.
41706         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41707         Likewise.
41708         (sydep_routines): Add the new and the internal functions.
41709         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41710         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41712         (GLIBC_2.17): Add the new function.
41713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41714         (GLIBC_2.17): Likewise.
41715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41716         (GLIBC_2.17): Likewise.
41717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41718         (GLIBC_2.17): Likewise.
41719         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41721 2012-09-25  Alan Modra  <amodra@gmail.com>
41723         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41724         Add release barrier before setting once_control to say
41725         initialisation is done.  Add hints on lwarx.  Use macro in
41726         place of isync.
41727         (clear_once_control): Add release barrier.
41729 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41731         [BZ #13629]
41732         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41733         specially.
41734         * math/s_clog10.c (__clog10): Likewise.
41735         * math/s_clog10f.c (__clog10f): Likewise.
41736         * math/s_clog10l.c (__clog10l): Likewise.
41737         * math/s_clogf.c (__clogf): Likewise.
41738         * math/s_clogl.c (__clogl): Likewise.
41739         * math/Makefile (libm-calls): Add x2y2m1.
41740         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41741         (__x2y2m1): Likewise.
41742         (__x2y2m1l): Likewise.
41743         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41744         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41745         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41746         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41747         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41748         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41749         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41750         * sysdeps/i386/fpu/libm-test-ulps: Update.
41751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41753         [BZ #14621]
41754         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41755         int as type of variable DEPTH.
41756         (glob): Use size_t instead of int as type of variables NEWCOUNT
41757         and OLD_PATHC.
41759 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41761         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41762         Add s_sincosf-sse2.
41763         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41764         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41765         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41766         macros for using routine as __sincosf_ia32.
41767         Use macro for function declaration and weak_alias.
41768         * sysdeps/i386/fpu/libm-test-ulps: Update.
41770         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41773         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41774         subnormal argument.
41775         * math/s_cexpf.c (__cexpf): Likewise.
41776         * math/s_csinf.c (__csinf): Likewise.
41777         * math/s_csinhf.c (__csinhf): Likewise.
41778         * math/s_ctanf.c (__ctanf): Likewise.
41779         * math/s_ctanhf.c (__ctanhf): Likewise.
41780         * math/s_ccosh.c (__ccoshf): Likewise.
41781         * math/s_cexp.c (__cexpl): Likewise.
41782         * math/s_csin.c (__csin): Likewise.
41783         * math/s_csinh.c (__csinh): Likewise.
41784         * math/s_ctan.c (__ctan): Likewise.
41785         * math/s_ctanh.c (ctanh): Likewise.
41786         * math/s_ccoshl.c (__ccoshl): Likewise.
41787         * math/s_cexpl.c (__cexpl): Likewise.
41788         * math/s_csinl.c (__csinl): Likewise.
41789         * math/s_csinhl.c (__csinhl): Likewise.
41790         * math/s_ctanl.c (__ctanl): Likewise.
41791         * math/s_ctanhl.c (__ctanhl): Likewise.
41793 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41795         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41796         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41797         (_IO_off_t): Define to __off_t, not _G_off_t.
41798         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41799         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41800         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41801         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41802         type of __dummy and __dummy2 fields.
41803         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41804         (_G_ssize_t): Likewise.
41805         (_G_off_t): Likewise.
41806         (_G_pid_t): Likewise.
41807         (_G_uid_t): Likewise.
41808         (_G_wchar_t): Likewise.
41809         (_G_wint_t): Likewise.
41810         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41811         (_G_ssize_t): Likewise.
41812         (_G_off_t): Likewise.
41813         (_G_pid_t): Likewise.
41814         (_G_uid_t): Likewise.
41815         (_G_wchar_t): Likewise.
41816         (_G_wint_t): Likewise.
41817         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41818         (_G_ssize_t): Likewise.
41819         (_G_off_t): Likewise.
41820         (_G_pid_t): Likewise.
41821         (_G_uid_t): Likewise.
41822         (_G_wchar_t): Likewise.
41823         (_G_wint_t): Likewise.
41825 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41827         * malloc/arena.c: Include malloc-sysdep.h.
41828         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41829         is sufficient to shrink the heap or an unmap is needed.
41830         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41831         new function check_may_shrink_heap.
41832         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41833         new function check_may_shrink_heap.
41835 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41837         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41838         comments.
41840 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41842         * catgets/test-gencat.sh: Add "set -e".
41843         * elf/tst-pathopt.sh: Likewise.
41844         * grp/tst_fgetgrent.sh: Likewise.
41845         * iconvdata/run-iconv-test.sh: Likewise.
41846         * intl/tst-gettext.sh: Likewise.
41847         * intl/tst-gettext2.sh: Likewise.
41848         * intl/tst-gettext4.sh: Likewise.
41849         * intl/tst-gettext6.sh: Likewise.
41850         * intl/tst-translit.sh: Likewise.
41851         * io/ftwtest-sh: Likewise.
41852         * libio/test-freopen.sh: Likewise.
41853         * malloc/tst-mtrace.sh: Likewise.
41854         * posix/globtest.sh: Likewise.
41855         * posix/tst-getconf.sh: Likewise.
41856         * posix/wordexp-tst.sh: Likewise.
41857         * stdio-common/tst-printf.sh: Likewise.
41858         * stdio-common/tst-unbputc.sh: Likewise.
41859         * stdlib/tst-fmtmsg.sh: Likewise.
41860         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41861         * catgets/Makefile: Do not specify -e option when running
41862         testsuite shell scripts.
41863         * elf/Makefile: Likewise.
41864         * grp/Makefile: Likewise.
41865         * iconvdata/Makefile: Likewise.
41866         * intl/Makefile: Likewise.
41867         * io/Makefile: Likewise.
41868         * libio/Makefile: Likewise.
41869         * malloc/Makefile: Likewise.
41870         * posix/Makefile: Likewise.
41871         * stdio-common/Makefile: Likewise.
41872         * stdlib/Makefile: Likewise.
41873         * sysdeps/x86_64/Makefile: Likewise.
41875         * io/ftwtest-sh: Add copyright header.
41876         * posix/globtest.sh: Likewise.
41877         * posix/tst-getconf.sh: Likewise.
41878         * posix/wordexp-tst.sh: Likewise.
41879         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41881 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41883         [BZ #13679]
41884         * Makeconfig (+link): Defined as $(+link-static) if
41885         $(build-shared) isn't yes.
41886         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41887         isn't yes.
41888         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41890         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41892         [BZ #14562]
41893         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41894         new chunk size with MALLOC_ALIGN_MASK.
41896 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41898         [BZ #5044]
41899         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41900         <rounding-mode.h>.
41901         (__printf_fphex): Determine rounding using get_rounding_mode and
41902         round_away.
41903         * stdio-common/tst-printf-round.c (struct hex_test): New
41904         structure.
41905         (hex_tests): New variable.
41906         (test_hex_in_one_mode): New function.
41907         (do_test): Also run tests for hex float output.
41909 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41911         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41912         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41913         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41914         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41915         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41916         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41917         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41920 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41922         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41923         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41924         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41925         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41927 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41929         [BZ #14579]
41930         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41931         mode only.
41932         * elf/tst-rtld-load-self.sh: New test.
41933         * elf/Makefile: Run it.
41935 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41937         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41938         (tst-writev-ENV): Remove.
41939         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41941 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41943         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41945 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41947         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41948         unconditional.
41949         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41950         Likewise.
41951         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41952         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41953         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41954         Likewise.
41956 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41958         [BZ #14587]
41959         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41960         * config.make.in (have-cpp-asm-debuginfo): Removed.
41961         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41962         * configure: Regenerated.
41964 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41966         [BZ #5044]
41967         * stdio-common/printf_fp.c: Include <stdbool.h> and
41968         <rounding-mode.h>.
41969         (___printf_fp): Determine rounding using get_rounding_mode and
41970         round_away.
41971         * stdio-common/tst-printf-round.c: New file.
41972         * stdio-common/Makefile (tests): Add tst-printf-round.
41973         (link-libm): New variable.
41974         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41976 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41978         [BZ #14576]
41979         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41980         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41981         Likewise.
41982         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41983         Likewise.
41985 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41987         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41988         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41989         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41990         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41992 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41994         [BZ #14518]
41995         * include/rounding-mode.h: New file.
41996         * sysdeps/generic/get-rounding-mode.h: Likewise.
41997         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41998         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41999         (MAX_VALUE): New macro.
42000         (MIN_VALUE): Likewise.
42001         (overflow_value): New function.
42002         (underflow_value): Likewise.
42003         (round_and_return): Use overflow_value and underflow_value to
42004         determine return values in overflow and underflow cases.  Use
42005         round_away to determine rounding depending on rounding mode.
42006         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42007         determine return values in overflow and underflow cases.
42008         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42009         (struct test_results): New structure.
42010         (struct test): Use struct test_results to store expected results
42011         for all rounding modes.
42012         (TEST): Include expected results for all rounding modes.
42013         (test_in_one_mode): New function.
42014         (do_test): Use test_in_one_mode to compute and check results.
42015         Check results for all rounding modes.
42016         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42017         $(link-libm).
42019 2012-12-09  Allan McRae  <allan@archlinux.org>
42021         * sysdeps/i386/fpu/libm-test-ulps: Update
42023 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42025         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42026         (_G_int32_t): Likewise.
42027         (_G_uint16_t): Likewise.
42028         (_G_uint32_t): Likewise.
42029         (_G_HAVE_BOOL): Likewise.
42030         (_G_HAVE_ATEXIT): Likewise.
42031         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42032         (_G_HAVE_IO_FILE_OPEN): Likewise.
42033         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42034         (_G_int32_t): Likewise.
42035         (_G_uint16_t): Likewise.
42036         (_G_uint32_t): Likewise.
42037         (_G_HAVE_BOOL): Likewise.
42038         (_G_HAVE_ATEXIT): Likewise.
42039         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42040         (_G_HAVE_IO_FILE_OPEN): Likewise.
42041         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42042         (_G_int32_t): Likewise.
42043         (_G_uint16_t): Likewise.
42044         (_G_uint32_t): Likewise.
42045         (_G_HAVE_BOOL): Likewise.
42046         (_G_HAVE_ATEXIT): Likewise.
42047         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42048         (_G_HAVE_IO_FILE_OPEN): Likewise.
42050 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42052         * csu/libc-tls.c: Update copyright years.
42054 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42056         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42057         [!_G_USING_THUNKS]: Remove conditional code.
42058         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42059         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42061         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42062         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42063         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42064         (_G_VTABLE_LABEL_PREFIX): Likewise.
42065         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42066         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42067         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42068         (_G_VTABLE_LABEL_PREFIX): Likewise.
42069         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42070         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42071         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42072         (_G_VTABLE_LABEL_PREFIX): Likewise.
42073         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42075 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42077         * libio/Makefile: Include ../Makeconfig before tests.
42078         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42079         only if $(build-shared) is yes.
42081         * iconv/gconv_db.c: Update copyright years.
42083 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42085         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42086         unwind info if defined PIC. Fix special cases description.
42087         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42089         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42090         DP_HI_MASK entry.
42091         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42093 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42095         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42097         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42098         is NULL.
42100         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42101         (LDLIBS-tst-chk4): This.
42102         (LDFLAGS-tst-chk5): Renamed to ...
42103         (LDLIBS-tst-chk5): This.
42104         (LDFLAGS-tst-chk6): Renamed to ...
42105         (LDLIBS-tst-chk6): This.
42106         (LDFLAGS-tst-lfschk4): Renamed to ...
42107         (LDLIBS-tst-lfschk4): This.
42108         (LDFLAGS-tst-lfschk5): Renamed to ...
42109         (LDLIBS-tst-lfschk5): This.
42110         (LDFLAGS-tst-lfschk6): Renamed to ...
42111         (LDLIBS-tst-lfschk6): This.
42113         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42114         on $(common-objpfx)soversions.mk.
42116 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42118         [BZ #10014]
42119         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42120         example host name.
42122 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42124         * malloc/arena.c (arena_get_retry): New function that gets
42125         another arena for the caller to try its request on.
42126         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42127         current arena cannot fulfill the request.
42128         (__libc_memalign): Likewise.
42129         (__libc_memalign): Likewise.
42130         (__libc_pvalloc): Likewise.
42131         (__libc_calloc): Likewise.
42133 2012-09-05  John Tobey  <john.tobey@gmail.com>
42135         [BZ #13542]
42136         * manual/arith.texi (Operations on Complex): Fix description
42137         of carg branch cut.
42139 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42141         [BZ #10014]
42142         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42143         host name.
42145         [BZ #10038]
42146         * manual/memory.texi (Memory): Make order of menu items match
42147         order of sections.
42149 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42151         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42152         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42153         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42155 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42157         * csu/libc-tls.c (static_dtv): Renamed to ...
42158         (_dl_static_dtv): This.  Make it global.
42159         (_dl_initial_dtv): Removed.
42160         (__libc_setup_tls): Updated.
42161         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42162         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42163         DL_INITIAL_DTV.
42165 2012-09-06  Petr Machata  <pmachata@redhat.com>
42167         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42168         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42169         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42170         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42172 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42174         [BZ #14545]
42175         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42176         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42177         freeing dtv[-1].
42179 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42181         [BZ #14544]
42182         * Makeconfig (link-static-before-libc): Replace $(+prector)
42183         with $(+prectorT).
42184         (link-static-after-libc): Replace $(+postctor) with
42185         $(+postctorT).
42186         (link-bounded): Replace $(+prector)/$(+postctor) with
42187         $(+prectorT)/$(+postctorT).
42188         (+prectorT): New macro.
42189         (+postctorT): Likewise.
42191 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42193         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42194         (round_str): Handle values above the maximum for IBM long double
42195         as inexact.
42196         * stdlib/tst-strtod-round.c (tests): Regenerated.
42198 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42200         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42201         assembler flag.
42202         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42203         zarch_nohighgprs around the zarch optimized routines.
42204         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42205         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42207         for zarch.
42209 2012-09-05  David S. Miller  <davem@davemloft.net>
42211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42213         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42214         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42215         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42216         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42217         entries.
42219 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42221         * malloc/arena.c: Fold copyright years.
42222         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42224 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42226         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42230         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42232 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42234         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42235         change internal state upon failure.
42237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42239         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42240         * malloc/memusage.c (mmap): Likewise.
42241         (mmap64, mremap): Likewise.  Adjust name in comment.
42243 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42245         * libio/fileops.c: Fix typos in comments.
42246         * libio/oldfileops.c: Likewise.
42247         * libio/wfileops.c: Likewise.
42249 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42251         [BZ #1349]
42252         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42253         (tst-malloc-usable-ENV): Set environment for test case.
42254         * malloc/hooks.c (malloc_check_get_size): New function to get
42255         requested size.
42256         * malloc/malloc.c (musable): Use malloc_check_get_size.
42257         * malloc/tst-malloc-usable.c: New test case.
42259 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42261         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42263 2012-09-05  Allan McRae  <allan@archlinux.org>
42265         [BZ #13966]
42266         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42267         determine header location.
42268         * configure: Regenerated.
42270 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42272         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42273         float format.
42274         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42275         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42276         format.
42277         (test): Regenerate.
42279 2012-09-04  David S. Miller  <davem@davemloft.net>
42281         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42282         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42283         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42285 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42287         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42288         failures.
42290         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42292 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42294         [BZ #9914]
42295         * libio/iogetdelim.c: Include <limits.h>.
42296         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42297         + len + 1 would overflow.
42299 2012-09-03  Andreas Jaeger  <aj@suse.de>
42301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42302         * sysdeps/i386/fpu/libm-test-ulps: Update.
42304 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42306         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42307         Add s_sinf-sse2, s_conf-sse2.
42309         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42310         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42311         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42312         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42314         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42315         for using routine as __sinf_ia32.
42316         Use macro for function declaration and weak_alias.
42317         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42318         for using routine as __cosf_ia32.
42319         Use macro for function declaration and weak_alias.
42321         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42322         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42324         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42325         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42328         * math/libm-test.inc (cos_test): Add more test cases.
42329         (sin_test): Likewise.
42330         (sincos_test): Likewise.
42332 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42334         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42335         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42336         hidden.
42337         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42339 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42341         [BZ #14538]
42342         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42343         first element of the GOT.
42344         (elf_machine_load_address): Return the difference between
42345         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42347 2012-09-01  Allan McRae  <allan@archlinux.org>
42349         [BZ #13412]
42350         * configure.in (AWK): Require gawk version 3.0 or later.
42351         * configure: Regenerated.
42353 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42355         * sysdeps/unix/sysv/linux/kernel-features.h
42356         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42357         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42358         [__NR_clock_getres]: Make code unconditional.
42359         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42360         (clock_getcpuclockid): Remove code left unreachable by removal of
42361         conditionals.
42362         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42363         code unconditional.
42364         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42365         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42366         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42367         Make code unconditional.
42368         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42369         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42370         * sysdeps/unix/sysv/linux/clock_settime.c
42371         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42372         conditional code.
42373         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42374         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42376 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42378         [BZ #14476]
42379         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42380         scripts/test-installation.pl.
42382         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42383         and $ld_so_version if it is set.
42385 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42387         [BZ #14516]
42388         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42389         failure if reading from procfs failed.
42390         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42392 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42394         * sysdeps/unix/sysv/linux/kernel-features.h
42395         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42396         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42397         Remove conditional code.
42398         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42399         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42400         Remove conditional code.
42401         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42402         * sysdeps/unix/sysv/linux/i386/fxstat.c
42403         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42404         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42405         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42406         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42407         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42408         * sysdeps/unix/sysv/linux/i386/lxstat.c
42409         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42410         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42411         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42412         Remove conditional code.
42413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42414         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42415         Remove conditional code.
42416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42417         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42418         <kernel-features.h>.
42419         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42420         Remove.
42421         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42422         Remove conditional code.
42423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42424         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42425         Remove conditional.
42427 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42429         [BZ #5400]
42430         * NEWS: Add fixed bug number.
42432 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42434         [BZ #14519]
42435         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42436         underflowing exponent in case of negative sign.
42437         * stdlib/tst-strtod-round-data: Add more tests.
42438         * stdlib/tst-strtod-round.c (tests): Regenerated.
42440         [BZ #3479]
42441         * stdlib/strtod_l.c (NDIG): Remove.
42442         (HEXNDIG): Likewise.
42443         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42444         smallest representable value.
42445         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42446         lie within an exact representation of 1/2 ulp of the result.
42447         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42448         unconditionally.
42449         (TENS_P9_IDX): Define unconditionally.
42450         (TENS_P9_SIZE): Likewise.
42451         (TENS_P10_IDX): Likewise.
42452         (TENS_P10_SIZE): Likewise.
42453         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42454         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42455         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42456         entries for 10^2^13 and 10^2^14.
42457         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42458         (TENS_P13_IDX): Define.
42459         (TENS_P13_SIZE): Likewise.
42460         (TENS_P14_IDX): Likewise.
42461         (TENS_P14_SIZE): Likewise.
42462         (_fpioconst_pow10): Change array size to
42463         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42464         unconditional.
42465         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42466         1024]: Add entries for 10^2^13 and 10^2^14.
42467         [LAST_POW10 > _LAST_POW10]: Remove #error.
42468         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42469         (_fpioconst_pow10): Change array size to
42470         FPIOCONST_POW10_ARRAY_SIZE.
42471         * stdlib/gen-fpioconst.c: New file.
42472         * stdlib/gen-tst-strtod-round.c: Likewise.
42473         * stdlib/tst-strtod-round-data: Likewise.
42474         * stdlib/tst-strtod-round.c: Likewise.
42475         * stdlib/Makefile (tests): Add tst-strtod-round.
42477         [BZ #14459]
42478         * stdlib/strtod_l.c: Include <stdint.h>.
42479         (NDEBUG): Do not define.
42480         (round_and_return): Change EXPONENT parameter to type intmax_t.
42481         Rearrange calculations to avoid internal overflow possibilities.
42482         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42483         Rearrange calculations to avoid internal overflow possibilities.
42484         Assert that number fits inside MPNSIZE limbs.
42485         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42486         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42487         calculations and add assertions to avoid internal overflow
42488         possibilities.  Add casts to avoid signed/unsigned operations.
42489         * stdlib/tst-strtod-overflow.c: New file.
42490         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42492 2012-08-25  Marek Polacek  <polacek@redhat.com>
42494         * time/time.h: Fix some typos in comments.
42496 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42498         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42499         * posix/tst-rfc3484-2.c: Likewise.
42500         * posix/tst-rfc3484-3.c: Likewise.
42502 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42504         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42505         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42507 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42509         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42510         #include of fxstatat64.c.
42512 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42514         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42515         * shadow/getspent_r.c: Likewise.
42516         * shadow/getspnam.c: Likewise.
42517         * shadow/getspnam_r.c: Likewise.
42518         * gshadow/getsgent.c: Likewise.
42519         * gshadow/getsgent_r.c: Likewise.
42520         * gshadow/getsgnam.c: Likewise.
42521         * gshadow/getsgnam_r.c: Likewise.
42522         * inet/getnetbyad.c: Likewise.
42523         * inet/getnetbyad_r.c: Likewise.
42524         * inet/getnetbynm.c: Likewise.
42525         * inet/getnetbynm_r.c: Likewise.
42526         * inet/getnetent.c: Likewise.
42527         * inet/getnetent_r.c: Likewise.
42528         * inet/getproto.c: Likewise.
42529         * inet/getproto_r.c: Likewise.
42530         * inet/getprtent.c: Likewise.
42531         * inet/getprtent_r.c: Likewise.
42532         * inet/getprtname.c: Likewise.
42533         * inet/getprtname_r.c: Likewise.
42534         * inet/getrpcbyname.c: Likewise.
42535         * inet/getrpcbyname_r.c: Likewise.
42536         * inet/getrpcbynumber.c: Likewise.
42537         * inet/getrpcbynumber_r.c: Likewise.
42538         * inet/getrpcent.c: Likewise.
42539         * inet/getrpcent_r.c: Likewise.
42540         * inet/getaliasent.c: Likewise.
42541         * inet/getaliasent_r.c: Likewise.
42542         * inet/getaliasname.c: Likewise.
42543         * inet/getaliasname_r.c: Likewise.
42544         * nscd/getgrgid_r.c: Likewise.
42545         * nscd/getgrnam_r.c: Likewise.
42546         * nscd/gethstbyad_r.c: Likewise.
42547         * nscd/gethstbynm3_r.c: Likewise.
42548         * nscd/getpwnam_r.c: Likewise.
42549         * nscd/getpwuid_r.c: Likewise.
42550         * nscd/getsrvbynm_r.c: Likewise.
42551         * nscd/getsrvbypt_r.c: Likewise.
42552         * nscd/gai.c: Likewise.
42554         * configure.in (build_nscd): New substituted variable, set
42555         by --disable-build-nscd and defaults to $use_nscd.
42556         * configure: Regenerated.
42557         * config.make.in (build-nscd): New substituted variable.
42558         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42559         Change conditional to require [$(build-nscd) = yes] as well.
42560         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42562         [BZ# 13696]
42563         * configure.in (use_nscd): New substituted variable, set by
42564         --disable-nscd.  If enabled, define USE_NSCD.
42565         * configure: Regenerated.
42566         * config.h.in: Add USE_NSCD.
42567         * config.make.in (use-nscd): New substituted variable.
42568         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42569         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42570         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42571         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42572         (CFLAGS-getgrnam_r.c): Likewise.
42573         (CFLAGS-initgroups.c): Likewise.
42574         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42575         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42576         Variables removed.
42577         * inet/getnetgrent_r.c
42578         (nscd_setnetgrent): New function, broken out of ...
42579         (setnetgrent): ... here.  Call it.
42580         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42581         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42582         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42583         * nscd/Makefile (routines, aux): Move definitions after include of
42584         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42585         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42586         Conditionalize on [USE_NSCD].
42587         (is_nscd, nscd_init_cb): Likewise.
42588         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42589         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42590         * nss/nss_db/db-init.c: Likewise.
42591         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42592         [USE_NSCD].
42593         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42594         (make_request): Use it.
42595         (cache_valid_p): New function.
42596         (__check_pf): Use it.
42597         * NEWS: Add item for --disable-nscd.
42599 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42601         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42602         to support sed >= 4.2.1-20-ga9bf076.
42603         * configure: Regenerated.
42605 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42607         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42608         Conditionalize whole body on [IREL].
42610 2012-08-22  Jeff Law <law@redhat.com>
42612         [BZ #14505]
42613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42614         if the family is PF_UNSPEC.
42616 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42618         * Makerules (lib-version): Rename from V.
42619         (install-lib-nosubdir): Change V to lib-version.
42621 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42623         [BZ #14252]
42624         * powerpc32/power6/wcschr.c: New file.
42625         * powerpc32/power6/wcscpy.c: New file.
42626         * powerpc32/power6/wcsrchr.c: New file.
42627         * powerpc64/power6/wcschr.c: New file.
42628         * powerpc64/power6/wcscpy.c: New file.
42629         * powerpc64/power6/wcsrchr.c: New file.
42631 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42633         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42634         (two_way_short_needle): Use it.
42635         * string/strstr.c (AVAILABLE1_USES_J): Define.
42636         * string/strcasestr.c: Likewise.
42638         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42639         array references.
42640         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42642         [BZ #11607]
42643         * NEWS: Add an entry.
42644         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42645         define their defaults.
42646         (two_way_short_needle): Detect end-of-string on-the-fly.
42647         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42648         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42649         * string/bug-strcasestr1.c: New test.
42650         * string/Makefile: Run it.
42652 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42654         [BZ #11607]
42655         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42656         the first character.
42658 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42660         * csu/elf-init.c (__libc_csu_irel): Function removed.
42661         * csu/libc-start.c (apply_irel): New function.
42662         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42664 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42666         * sysdeps/unix/sysv/linux/kernel-features.h
42667         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42668         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42669         <kernel-features.h>.
42670         [__NR_fadvise64_64]: Make code unconditional.
42671         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42672         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42673         !__NR_fadvise64_64)]: Likewise.
42674         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42675         !__NR_fadvise64_64))]: Likewise.
42676         [__NR_fadvise64]: Make code unconditional.
42677         [!__NR_fadvise64]: Remove conditional code.
42678         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42679         <kernel-features.h>.
42680         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42681         unconditional.
42682         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42683         conditional code.
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42685         not include <kernel-features.h>.
42686         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42687         unconditional.
42688         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42689         conditional code.
42690         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42691         include <kernel-features.h>.
42692         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42693         unconditional.
42694         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42695         conditional code.
42697 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42699         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42700         slight instruction rearrangements per scrollpipe analysis.
42701         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42703 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42705         * manual/syslog.texi (syslog; vsyslog, closelog):
42706         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42707         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42709         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42710         DSOCAPS to match condition on defining it.
42712 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42714         * sysdeps/unix/sysv/linux/kernel-features.h
42715         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42717         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42718         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42720         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42721         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42723         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42724         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42726         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42727         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42729         * sysdeps/unix/sysv/linux/kernel-features.h
42730         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42731         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42732         unconditional.
42733         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42734         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42735         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42736         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42737         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42738         Make code unconditional.
42739         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42740         (__mmap64) [!__NR_mmap2]: Likewise.
42741         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42742         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42743         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42744         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42745         [__NR_mmap2]: Make code unconditional.
42746         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42747         (__mmap64) [!__NR_mmap2]: Likewise.
42749 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42751         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42753 2012-08-18  Andreas Jaeger  <aj@suse.de>
42755         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42757 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42759         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42760         * include/unistd.h (__have_sock_cloexec): Likewise.
42761         (__have_pipe2): Likewise.
42762         (__have_dup3): Likewise.
42764 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42766         [BZ #9685]
42767         * include/unistd.h (__have_pipe2): Change define into an extern int.
42768         (__have_dup3): Likewise.
42769         * socket/have_sock_cloexec.c: Include fcntl.h.
42770         (__have_pipe2): New variable.
42771         (__have_dup3): Likewise.
42773 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42775         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42777 2012-08-17  Marek Polacek  <polacek@redhat.com>
42779         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42780         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42782 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42784         * configure.in: Add AC_SUBST for sysheaders.
42785         * configure: Regenerated.
42786         * config.make.in (sysheaders): New substituted variable.
42788         * sysdeps/unix/mkfifo.c: Moved ...
42789         * sysdeps/posix/mkfifo.c: ... here.
42790         * sysdeps/unix/mkfifoat.c: Moved ...
42791         * sysdeps/posix/mkfifoat.c: ... here.
42793         * sysdeps/unix/utime.c: Moved ...
42794         * sysdeps/posix/utime.c: ... here.
42796         * sysdeps/unix/time.c: Moved ...
42797         * sysdeps/posix/time.c: ... here.
42798         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42799         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42801         * sysdeps/unix/nice.c: Moved ...
42802         * sysdeps/posix/nice.c: ... here.
42804         * sysdeps/unix/alarm.c: Moved ...
42805         * sysdeps/posix/alarm.c: ... here.
42807         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42809 2012-08-17  Jeff Law <law@redhat.com>
42811         * intl/Makefile (codeset_mo): New variable.
42812         ($(codeset_mo)): New target.
42813         (tst-codeset.out): Depend on that.  Remove explicit rule.
42814         (tst-gettext3.out, tst-gettext5.out): Likewise.
42815         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42816         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42817         * intl/tst-codeset.sh: Remove.
42818         * intl/tst-gettext3.sh: Likewise.
42819         * intl/tst-gettext5.sh: Likewise.
42821 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42823         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42824         * sysdeps/unix/syscalls.list: ... here.
42826         * sysdeps/posix/getaddrinfo.c
42827         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42828         (gaiconf_init, gaiconf_reload): Use them.
42829         [!_STATBUF_ST_NSEC]
42830         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42831         Define using time_t rather than struct timespec.
42833         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42834         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42835         Macros removed.
42836         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42837         [!NO_THREADS].
42838         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42839         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42840         Likewise.
42842         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42843         __libc_cleanup_push argument.
42845         * bits/param.h: New file.
42846         * misc/sys/param.h: New file.
42847         * include/sys/param.h: New file.
42848         * misc/Makefile (headers): Add bits/param.h.
42849         * sysdeps/generic/sys/param.h: File removed.
42850         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42851         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42852         * sysdeps/mach/hurd/bits/param.h: New file.
42853         * sysdeps/mach/hurd/sys/param.h: File removed.
42855         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42856         last change.
42858         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42859         [_IO_MTSAFE_IO].
42860         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42861         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42862         New macros.
42864         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42865         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42866         rather than -D_IO_MTSAFE_IO conditionally.
42867         * stdio-common/Makefile (CPPFLAGS): Likewise.
42868         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42869         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42870         Use $(libio-mtsafe).
42871         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42872         of -D_IO_MTSAFE_IO.
42873         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42874         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42875         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42876         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42877         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42878         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42879         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42880         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42881         (CFLAGS-fread_u_chk.c): Likewise.
42882         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42883         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42884         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42885         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42886         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42887         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42888         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42889         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42890         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42892         * libio/Makefile: Test [$(libc-reentrant) = yes]
42893         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42895         * Makeconfig
42896         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42897         * sysdeps/pthread/configure: File removed.
42898         * sysdeps/pthread/Makeconfig: New file.
42899         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42900         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42902 2012-08-16  Gary Benson  <gbenson@redhat.com>
42904         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42905         unmapping the first object in a namespace.
42907 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42909         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42910         (__internal_setnetgrent): ... this.  Add internal_function to
42911         definition.  Add libc_hidden_def.
42912         (setnetgrent): Update caller.
42913         (internal_endnetgrent): Renamed to ...
42914         (__internal_endnetgrent): ... this.  Add internal_function to
42915         definition.  Add libc_hidden_def.
42916         (endnetgrent): Update caller.
42917         (internal_getnetgrent_r): Renamed to ...
42918         (__internal_getnetgrent_r): ... this.  Add internal_function to
42919         definition.  Add libc_hidden_def.
42920         (__getnetgrent_r): Update caller.
42921         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42923 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42925         * stdlib/longlong.h: Update from GCC.
42927 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42929         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42930         on _QL, which is set by umul_ppmm but never used.
42931         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42932         variables, which are set by GMP macros but never used.
42933         * stdio-common/_itowa.c (_itowa): Likewise.
42934         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42935         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42937 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42939         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42940         struct La_sh_regs is not constant.
42941         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42942         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42943         and struct La_sparc64_regs are not constant.
42945 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42947         * sysdeps/unix/sysv/linux/kernel-features.h
42948         (__ASSUME_POSIX_TIMERS): Remove.
42949         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42950         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42951         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42952         Make code unconditional.
42953         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42954         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42955         Make code unconditional.
42956         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42957         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42958         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42959         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42960         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42961         Make code unconditional.
42962         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42963         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42964         (__libc_missing_posix_timers): Remove.
42966 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42968         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42969         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42971         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42973         * elf/dl-sym.c: Include <stdlib.h>.
42975         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42976         constants, which avoids warnings in 32-bit builds.
42978         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42979         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42981         * misc/lseek.c: File moved to ...
42982         * io/lseek.c: ... here.
42984         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42986         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42987         shifting LEN more than 31 bits at once.
42989 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42991         [BZ #14195]
42992         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42993         segmentation fault for a case of two empty input strings.
42994         * string/test-strncasecmp.c (check1): Renamed to...
42995         (bz12205): ...this.
42996         (bz14195): Add new testcase for two empty input strings and N > 0.
42997         (test_main): Call new testcase, adapt for renamed function.
42999 2012-08-15  Andreas Jaeger  <aj@suse.de>
43001         [BZ #14090]
43002         * crypt/md5test2.c: New test, based on test supplied by Serge
43003         Belyshev <belyshev@depni.sinp.msu.ru>.
43004         * crypt/Makefile (xtests): Add md5test-giant..
43005         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43007 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43009         [BZ #14090]
43010         * crypt/md5.c (md5_process_block): Don't assume the buffer
43011         length is less than 2**32.
43012         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43013         length is less than 2**64.
43015 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43017         * string/str-two-way.h: Include <sys/param.h>.
43018         (MAX): Macro removed.
43020         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43021         Move #define and #undef of memmove to just before and after
43022         including <string.h>.
43024         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43025         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43026         and after including <string.h>.  Move declarations of
43027         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43028         to before #include "string/memmove.c".
43030         * include/dirent.h: Declare __getdirentries.
43032         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43033         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43035 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43037         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43038         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43039         * sysdeps/i386/configure: Regenerated.
43040         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43041         STABS_CURRENT_FILE, and STABS_FUN.
43042         (END): Remove call to STABS_FUN_END.
43043         (STABS_CURRENT_FILE1): Delete.
43044         (STABS_CURRENT_FILE): Likewise.
43045         (STABS_FUN): Likewise.
43046         (STABS_FUN_END): Likewise.
43047         (STABS_FUN2): Likewise.
43048         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43049         * sysdeps/x86_64/configure: Regenerated.
43051 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43053         * elf/dl-open.c: Include <atomic.h>.
43054         * elf/dl-lookup.c: Likewise.
43056 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43058         * sysdeps/unix/sysv/linux/kernel-features.h
43059         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43060         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43061         unconditionally.
43062         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43063         unconditionally.
43064         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43065         condition on __ASSUME_CLONE_THREAD_FLAGS.
43067 2012-08-14  Andreas Jaeger  <aj@suse.de>
43069         * sysdeps/i386/fpu/libm-test-ulps: Update.
43071 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43073         * include/atomic.h (atomic_exchange_and_add): Split into ...
43074         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43075         New atomic macros.
43077 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43081 2012-08-13  Jeff Law <law@redhat.com>
43083         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43084         null byte in the output string.
43086 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43088         * sysdeps/unix/sysv/linux/kernel-features.h
43089         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43090         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43091         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43092         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43093         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43094         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43095         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43097 2012-08-09  Jeff Law <law@redhat.com>
43099         [BZ #13939]
43100         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43101         When avoid_arena is set, don't retry in the that arena.  Pick the
43102         next one, whatever it might be.
43103         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43104         (arena_lock): Pass in new parameter to arena_get2.
43105         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43106         arena_get2.
43107         (__libc_malloc): Unify retrying after main arena failure with
43108         __libc_memalign version.
43109         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43111 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43113         [BZ #14166]
43114         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43115         to __redirect_strstr.
43116         (__strstr_sse42): Use typeof __redirect_strstr.
43117         (__strstr_ia32): Likewise.
43118         (__libc_strstr): New prototype.
43119         (strstr): Renamed to ...
43120         (__libc_strstr): This.
43121         (strstr): New strong alias of __libc_strstr.
43122         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43123         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43124         __redirect_time.
43125         Include <time.h>.
43126         (__libc_time): New prototype.
43127         (time_ifunc): Replace time with __libc_time.
43128         (time): New strong alias and hidden definition of __libc_time.
43129         (__GI_time): Remove strong alias.
43130         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43131         Include <stddef.h>.
43132         (memmove): Redefined to __redirect_memmove.
43133         (__memmove_sse2): Use typeof __redirect_memmove.
43134         (__memmove_ssse3): Likewise.
43135         (__memmove_ssse3_back): Likewise.
43136         (__libc_memmove): New prototype.
43137         (memmove): Renamed to ...
43138         (__libc_memmove): This.
43139         (memmove): New strong alias of __libc_memmove.
43141 2012-08-08  Mark Salter  <msalter@redhat.com>
43143         * elf/elf.h
43144         (R_MN10300_TLS_GD): Define.
43145         (R_MN10300_TLS_LD): Likewise.
43146         (R_MN10300_TLS_LDO): Likewise.
43147         (R_MN10300_TLS_GOTIE): Likewise.
43148         (R_MN10300_TLS_IE): Likewise.
43149         (R_MN10300_TLS_LE): Likewise.
43150         (R_MN10300_TLS_DTPMOD): Likewise.
43151         (R_MN10300_TLS_DTPOFF): Likewise.
43152         (R_MN10300_TLS_TPOFF): Likewise.
43153         (R_MN10300_SYM_DIFF): Likewise.
43154         (R_MN10300_ALIGN): Likewise.
43155         (R_MN10300_NUM): Update.
43157 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43160         Remove.
43162 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43164         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43166         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43167         sysdeps/unix -> sysdeps/posix move.
43168         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43170 2012-08-07      Allan McRae     <allan@archlinux.org>
43172         [BZ #14303]
43173         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43174         (SUNOS_CPP): Likewise.
43175         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43176         not found.
43177         (open_input): Call CPP using execvp.
43179 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43181         * sysdeps/unix/sysv/linux/kernel-features.h
43182         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43183         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43184         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43185         (__ASSUME_WAITID_SYSCALL): Likewise.
43186         * sysdeps/unix/sysv/linux/dl-execstack.c
43187         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43188         code unconditional.
43189         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43190         conditional code.
43191         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43192         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43193         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43194         code.
43195         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43196         unconditional.
43197         [__ASSUME_WAITID_SYSCALL]: Likewise.
43198         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43200 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43202         * sysdeps/unix/closedir.c: Renamed to ...
43203         * sysdeps/posix/closedir.c: ... here.
43204         * sysdeps/unix/dirfd.c: Renamed to ...
43205         * sysdeps/posix/dirfd.c: ... here.
43206         * sysdeps/unix/dirstream.h: Renamed to ...
43207         * sysdeps/posix/dirstream.h: ... here.
43208         * sysdeps/unix/fdopendir.c: Renamed to ...
43209         * sysdeps/posix/fdopendir.c: ... here.
43210         * sysdeps/unix/opendir.c: Renamed to ...
43211         * sysdeps/posix/opendir.c: ... here.
43212         * sysdeps/unix/readdir.c: Renamed to ...
43213         * sysdeps/posix/readdir.c: ... here.
43214         * sysdeps/unix/readdir_r.c: Renamed to ...
43215         * sysdeps/posix/readdir_r.c: ... here.
43216         * sysdeps/unix/rewinddir.c: Renamed to ...
43217         * sysdeps/posix/rewinddir.c: ... here.
43218         * sysdeps/unix/seekdir.c: Renamed to ...
43219         * sysdeps/posix/seekdir.c: ... here.
43220         * sysdeps/unix/telldir.c: Renamed to ...
43221         * sysdeps/posix/telldir.c: ... here.
43222         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43223         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43224         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43225         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43227         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43228         * bits/fcntl.h: ... here.
43230         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43231         not 0.
43232         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43233         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43234         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43235         (struct flock): Move l_start, l_len to the beginning.
43236         Use __pid_t for l_pid.
43237         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43238         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43239         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43240         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43241         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43242         [__USE_LARGEFILE64] (struct flock64): New type.
43243         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43245         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43246         * bits/dirent.h: ... here.
43248         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43249         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43251 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43253         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43254         Change from 2.6.0 to 2.6.16.
43255         * sysdeps/unix/sysv/linux/configure: Regenerated.
43256         * sysdeps/unix/sysv/linux/kernel-features.h
43257         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43258         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43259         version.
43260         (__ASSUME_UTIMES): Likewise.
43261         (__ASSUME_CLONE_STOPPED): Remove.
43262         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43263         architectures, not kernel version.
43264         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43265         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43266         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43267         (__ASSUME_WAITID_SYSCALL): Likewise.
43268         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43269         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43270         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43271         refer to older versions.
43273 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43275         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43276         Define alphasort64 as an alias.
43277         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43278         Define versionsort64 as an alias.
43279         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43280         Define scandir64 as an alias.
43281         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43282         Define scandirat64 as an alias.
43283         * dirent/alphasort64.c (alphasort64):
43284         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43285         * dirent/versionsort64.c: Likewise.
43286         * dirent/scandir64.c: Likewise.
43287         * dirent/scandirat64.c: Likewise.
43288         * sysdeps/wordsize-64/alphasort.c: File removed.
43289         * sysdeps/wordsize-64/alphasort64.c: File removed.
43290         * sysdeps/wordsize-64/scandir.c: File removed.
43291         * sysdeps/wordsize-64/scandir64.c: File removed.
43292         * sysdeps/wordsize-64/scandirat.c: File removed.
43293         * sysdeps/wordsize-64/scandirat64.c: File removed.
43294         * sysdeps/wordsize-64/versionsort.c: File removed.
43295         * sysdeps/wordsize-64/versionsort64.c: File removed.
43296         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43297         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43298         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43299         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43300         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43301         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43302         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43303         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43305         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43306         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43307         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43308         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43309         [defined __arch64__ || defined __sparcv9]
43310         (__INO_T_MATCHES_INO64_T): New macro.
43311         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43312         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43313         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43314         * sysdeps/unix/sysv/linux/bits/dirent.h
43315         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43316         (_DIRENT_MATCHES_DIRENT64): New macro.
43318         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43319         Define lockf64 as an alias.
43320         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43321         Define fseeko64 as an alias.
43322         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43323         Define ftello64 as an alias.
43324         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43325         Define _IO_fgetpos64 and fgetpos64 as aliases.
43326         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43327         Define _IO_fsetpos64 and fsetpos64 as aliases.
43328         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43329         Conditionalize body on this.
43330         * libio/fseeko64.c: Likewise.
43331         * libio/ftello64.c: Likewise.
43332         * libio/iofgetpos64.c: Likewise.
43333         * libio/iofsetpos64.c: Likewise.
43334         * sysdeps/wordsize-64/lockf.c: File removed.
43335         * sysdeps/wordsize-64/lockf64.c: File removed.
43336         * sysdeps/wordsize-64/fseeko.c: File removed.
43337         * sysdeps/wordsize-64/fseeko64.c: File removed.
43338         * sysdeps/wordsize-64/ftello.c: File removed.
43339         * sysdeps/wordsize-64/ftello64.c: File removed.
43340         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43341         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43342         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43343         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43344         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43345         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43346         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43347         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43348         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43349         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43350         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43351         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43352         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43353         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43355         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43357         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43358         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43359         [defined __arch64__ || defined __sparcv9]
43360         (__OFF_T_MATCHES_OFF64_T): New macro.
43361         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43362         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43364         (__OFF_T_MATCHES_OFF64_T): New macro.
43366 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43368         * stdlib/secure-getenv.c (__secure_getenv): Replace
43369         GLIBC_2_16 with GLIBC_2_17.
43371 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43373         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43376 2012-08-03  David S. Miller  <davem@davemloft.net>
43378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43380 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43382         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43383         Remove.
43384         (__ASSUME_CORRECT_SI_PID): Likewise.
43385         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43386         (__ASSUME_TMPFS_NAME): Likewise.
43387         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43388         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43389         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43390         (HAVE_AUX_SECURE): Make definition unconditional.
43391         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43392         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43394 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43396         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43397         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43398         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43399         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43400         __eloop_threshold instead of SYMLOOP_MAX.
43402         * sysdeps/generic/eloop-threshold.h: New file.
43403         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43404         of MAXSYMLINKS.
43405         * elf/chroot_canon.c (chroot_canon): Likewise.
43407 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43409         [BZ #13717]
43410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43411         Change to 2.6.0 everywhere.
43412         * sysdeps/unix/sysv/linux/configure: Regenerated.
43413         * sysdeps/unix/sysv/linux/kernel-features.h
43414         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43415         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43416         kernel versions.
43417         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43418         (__ASSUME_FUTEX_REQUEUE): Remove.
43419         (__ASSUME_STATFS64): Define unconditionally.
43420         (__ASSUME_AT_SECURE): Likewise.
43421         (__ASSUME_CORRECT_SI_PID): Likewise.
43422         (__ASSUME_TGKILL): Define without depending on kernel version for
43423         i386.
43424         (__ASSUME_UTIMES): Likewise.
43425         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43426         kernel version.
43427         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43428         (__ASSUME_TMPFS_NAME): Likewise.
43429         * README: Update reference to Linux kernel versions.
43431 2012-08-02  Marek Polacek  <polacek@redhat.com>
43433         [BZ# 14150]
43434         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43435         libc_cv_asm_type_prefix with %.
43436         * configure: Regenerated.
43437         * include/libc-symbols.h: Remove comment about
43438         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43439         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43440         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43441         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43442         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43443         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43444         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43445         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43446         * elf/tst-unique2mod1.c: Likewise.
43447         * elf/tst-unique1mod2.c: Likewise.
43448         * elf/tst-unique1mod1.c: Likewise.
43449         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43450         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43451         Replace ASM_TYPE_DIRECTIVE with .type.
43452         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43453         * sysdeps/i386/sysdep.h: Likewise.
43454         * sysdeps/x86_64/sysdep.h: Likewise.
43455         * sysdeps/sh/sysdep.h: Likewise.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43457         Do not define ASM_TYPE_DIRECTIVE.
43458         * sysdeps/powerpc/sysdep.h: Likewise.
43459         * sysdeps/powerpc/powerpc32/sysdep.h:
43460         Replace ASM_TYPE_DIRECTIVE with .type.
43461         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43462         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43463         * sysdeps/i386/fpu/e_powf.S: Likewise.
43464         * sysdeps/i386/fpu/e_expl.S: Likewise.
43465         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43467         * sysdeps/i386/fpu/e_pow.S: Likewise.
43468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43472         * sysdeps/i386/fpu/e_log2.S: Likewise.
43473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43475         * sysdeps/i386/fpu/e_powl.S: Likewise.
43476         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43477         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43478         * sysdeps/i386/fpu/e_logl.S: Likewise.
43479         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43480         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43481         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43482         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43483         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43484         * sysdeps/i386/fpu/e_log.S: Likewise.
43485         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43486         * sysdeps/i386/fpu/e_logf.S: Likewise.
43487         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43488         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43489         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43490         * sysdeps/i386/fpu/e_log10.S: Likewise.
43491         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43492         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43493         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43494         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43495         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43496         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43497         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43498         * sysdeps/i386/i686/strtok.S: Likewise.
43499         * sysdeps/i386/i386-mcount.S: Likewise.
43500         * sysdeps/i386/strtok.S: Likewise.
43501         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43504         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43505         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43506         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43507         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43508         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43509         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43510         * sysdeps/x86_64/_mcount.S: Likewise.
43511         * sysdeps/x86_64/strtok.S: Likewise.
43512         * sysdeps/sh/_mcount.S: Likewise.
43514 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43516         * libio/iofopen.c: Include <fcntl.h>.
43517         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43518         (_IO_fopen64, fopen64): Define as aliases.
43519         * libio/iofopen64.c: Include <fcntl.h>.
43520         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43521         Conditionalize body on this.
43522         * sysdeps/wordsize-64/iofopen.c: File removed.
43523         * sysdeps/wordsize-64/iofopen64.c: File removed.
43525 2012-08-01  Marek Polacek  <polacek@redhat.com>
43527         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43528         Use dlfcn directly instead of a variable.
43529         (binfmt-subdir): Do not define.
43530         (dlfcn): Likewise.
43532 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43534         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43535         Remove all definitions.
43536         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43537         <kernel-features.h>.
43538         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43539         (miss_F_GETOWN_EX): Remove all definitions.
43540         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43541         macro definition.
43542         [!__ASSUME_FCNTL64]: Remove conditional code.
43543         [__ASSUME_FCNTL64]: Make code unconditional.
43544         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43545         <kernel-features.h>.
43546         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43547         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43548         (lockf64) [__NR_fcntl64]: Make code unconditional.
43549         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43551         * sysdeps/unix/sysv/linux/kernel-features.h
43552         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43553         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43554         Make code unconditional.
43555         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43556         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43558         [__NR_vfork]: Make code unconditional.
43559         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43560         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43562         [__NR_vfork]: Make code unconditional.
43563         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43564         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43566 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43568         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43569         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43571         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43572         Define mkstemp64 as an alias.
43573         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43574         Define mkstemps64 as an alias.
43575         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43576         Define mkostemp64 as an alias.
43577         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43578         Define mkostemps64 as an alias.
43579         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43580         Conditionalize body on this.
43581         * misc/mkostemp64.c: Likewise.
43582         * misc/mkostemps64.c: Likewise.
43583         * misc/mkstemps64.c: Likewise.
43584         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43585         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43586         * sysdeps/wordsize-64/mkostemp.c: File removed.
43587         * sysdeps/wordsize-64/mkstemp.c: File removed.
43588         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43589         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43590         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43591         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43593         [BZ #14138]
43594         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43595         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43596         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43597         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43599         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43600         compat_symbol macros from <shlib-compat.h> rather than the underlying
43601         default_symbol_version and symbol_version macros, so that DEFAULT
43602         lines in shlib-versions are respected.
43603         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43605 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43607         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43608         Declare with warn_unused_result.
43609         (setgid, setregid, setegid, setresgid): Likewise.
43610         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43611         Likewise.
43612         * WUR-REPORT: Remove set*id functions.
43614 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43616         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43618 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43620         [BZ #10191]
43621         * include/sys/socket.h (__libc_accept, __libc_accept4):
43622         Add attribute_hidden.
43623         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43625         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43626         use of PTR_MANGLE.
43627         * inet/getnetgrent_r.c (setup): Likewise.
43629         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43631 2012-07-31  David S. Miller  <davem@davemloft.net>
43633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43635 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43637         [BZ #13629]
43638         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43639         value between 1.0 and 2.0 and smaller part has absolute value less
43640         than 1.0.
43641         * math/s_clog10.c (__clog10): Likewise.
43642         * math/s_clog10f.c (__clog10f): Likewise.
43643         * math/s_clog10l.c (__clog10l): Likewise.
43644         * math/s_clogf.c (__clogf): Likewise.
43645         * math/s_clogl.c (__clogl): Likewise.
43646         * math/libm-test.inc (clog_test): Add more tests.
43647         (clog10_test): Likewise.
43648         * sysdeps/i386/fpu/libm-test-ulps: Update.
43649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43651 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43653         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43654         Exit with zero in case no suitable GID is found, and write a
43655         message to standard error.
43657 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43659         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43660         rather than to 1.
43661         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43662         (MAXPATHLEN): Removed.
43663         (NOGROUP, NODEV): New macros.
43664         (setbit, clrbit, isset, isclr): New macros.
43665         (howmany, roundup, powerof2): New macros.
43666         (DEV_BSIZE): New macro.
43668         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43669         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43671         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43672         definition on [!__NO_LONG_DOUBLE_MATH].
43674         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43675         PTR_MANGLE and PTR_DEMANGLE.
43677         * socket/accept4.c (accept4): Rename to __libc_accept4.
43678         Define accept4 as a weak alias.
43680         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43681         on [_DIRENT_HAVE_D_TYPE].
43682         * io/ftw.c (ftw_dir): Likewise.
43684         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43686         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43688         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43689         Use the BSD numbers rather than the arbitrary ones we had.
43690         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43691         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43692         (SIGXCPU, SIGXFSZ): New macros.
43693         (_NSIG): Now 32.
43695         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43696         initializer on [_LIBC_REENTRANT].
43698         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43699         definitions inside [_POSIX_MAPPED_FILES].
43701         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43703         * dirent/opendir.c: Include <fcntl.h>.
43705         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43706         (__libc_getspecific): Likewise.
43707         (__libc_key_create): Likewise.
43709         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43710         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43711         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43712         (tmpfile64): Define as alias.
43713         * sysdeps/wordsize-64/tmpfile.c: File removed.
43714         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43715         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43718         * stdio-common/vfscanf.c: Include <stdbool.h>.
43719         * nss/makedb.c: Likewise.
43720         * stdio-common/_i18n_number.h: Likewise.
43721         * argp/argp-help.c: Likewise.
43722         * posix/wordexp.c: Likewise.
43723         * sysdeps/posix/spawni.c: Likewise.
43724         * nss/nss_files/files-initgroups.c: Likewise.
43725         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43726         * nss/nss_files/files-initgroups.c: Likewise.
43727         * nss/nss_db/db-netgrp.c: Likewise.
43728         * nss/nss_db/db-initgroups.c: Likewise.
43729         * io/fchmodat.c: Include <sys/stat.h>.
43731         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43732         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43734         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43735         [HAVE_MMAP].
43737         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43738         Add multiple inclusion protection.
43740 2012-07-27  David S. Miller  <davem@davemloft.net>
43742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43744 2012-07-27  Gary Benson  <gbenson@redhat.com>
43746         [BZ #14298]
43747         * elf/rtld.c: Include <stap-probe.h>.
43748         (dl_main): Added static probes "init_start" and "init_complete".
43749         * elf/dl-load.c: Include <stap-probe.h>.
43750         (lose): Take new parameter "nsid".
43751         Added static probe "map_failed".
43752         (_dl_map_object_from_fd): Pass namespace id to lose.
43753         Added static probe "map_start".
43754         (open_verify): Pass namespace id to lose.
43755         * elf/dl-open.c: Include <stap-probe.h>.
43756         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43757         and "reloc_complete".
43758         * elf/dl-close.c: Include <stap-probe.h>.
43759         (_dl_close_worker): Added static probes "unmap_start" and
43760         "unmap_complete".
43761         * elf/rtld-debugger-interface.txt: New file documenting the above.
43763 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43765         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43766         rather than a string variable.
43767         * sunrpc/rpc_main.c (h_output): Likewise.
43768         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43770 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43772         * inet/check_native.c: New file.
43774 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43776         [BZ #13629]
43777         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43778         if larger part has absolute value 1.0.
43779         * math/s_clog10.c (__clog10): Likewise.
43780         * math/s_clog10f.c (__clog10f): Likewise.
43781         * math/s_clog10l.c (__clog10l): Likewise.
43782         * math/s_clogf.c (__clogf): Likewise.
43783         * math/s_clogl.c (__clogl): Likewise.
43784         * math/libm-test.inc (clog_test): Add more tests.
43785         (clog10_test): Likewise.
43786         * sysdeps/i386/fpu/libm-test-ulps: Update.
43787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43789         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43790         (pltexit): Likewise.
43791         (La_regs): Likewise.
43792         (La_retval): Likewise.
43793         (int_retval): Likewise.
43794         Update #error for removed macros to refer only to definitions in
43795         tst-audit.h.
43796         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43797         macro.
43798         (pltexit): Likewise.
43799         (La_regs): Likewise.
43800         (La_retval): Likewise.
43801         (int_retval): Likewise.
43802         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43803         macro.
43804         (pltexit): Likewise.
43805         (La_regs): Likewise.
43806         (La_retval): Likewise.
43807         (int_retval): Likewise.
43808         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43809         macro.
43810         (pltexit): Likewise.
43811         (La_regs): Likewise.
43812         (La_retval): Likewise.
43813         (int_retval): Likewise.
43814         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43815         macro.
43816         (pltexit): Likewise.
43817         (La_regs): Likewise.
43818         (La_retval): Likewise.
43819         (int_retval): Likewise.
43820         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43821         macro.
43822         (pltexit): Likewise.
43823         (La_regs): Likewise.
43824         (La_retval): Likewise.
43825         (int_retval): Likewise.
43826         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43827         macro.
43828         (pltexit): Likewise.
43829         (La_regs): Likewise.
43830         (La_retval): Likewise.
43831         (int_retval): Likewise.
43832         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43833         macro definitions in tst-audit.h.
43834         * sysdeps/i386/tst-audit.h: New file.
43835         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43836         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43837         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43838         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43839         * sysdeps/sh/tst-audit.h: Likewise.
43840         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43841         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43842         * sysdeps/x86_64/tst-audit.h: Likewise.
43844 2012-07-26  Andreas Jaeger  <aj@suse.de>
43846         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43847         ptrace.
43849         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43850         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43851         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43852         PTRACE_O_MASK.
43853         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43854         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43855         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43857         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43858         value.
43860         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43861         _sigsys.
43862         (si_call_addr, si_syscall, si_arch): Define new macro.
43863         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43864         _sigsys.
43865         (si_call_addr, si_syscall, si_arch): Define new marcro.
43866         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43867         _sigsys.
43868         (si_call_addr, si_syscall, si_arch): Define new macro.
43869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43870         _sigsys.
43871         (si_call_addr, si_syscall, si_arch): Define new macro.
43873 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43875         [BZ #13717]
43876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43877         Change to 2.4.21 where previously 2.4.1.
43878         * sysdeps/unix/sysv/linux/configure: Regenerated.
43879         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43880         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43881         Linux kernel version.
43882         (__ASSUME_STD_AUXV): Remove.
43883         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43884         kernel version.
43885         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43886         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43887         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43888         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43889         (__ASSUME_NETLINK_SUPPORT): Likewise.
43890         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43891         (__no_netlink_support): Remove conditional definition.
43892         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43893         Remove.
43894         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43895         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43896         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43897         (if_nameindex_ioctl): Remove.
43898         (if_nameindex_netlink): Do not handle __no_netlink_support.
43899         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43900         code.
43901         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43902         Remove conditional code.
43903         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43904         code.
43905         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43906         unconditional.
43907         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43908         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43909         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43910         Remove.
43911         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43912         [!__ASSUME_STD_AUXV]: Remove conditional code.
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43914         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43915         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43917         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43918         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43919         code.
43920         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43922         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43923         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43924         conditional code.
43925         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43927         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43928         code.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43930         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43931         conditional code.
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43933         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43934         code unconditional.
43935         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43936         conditional code.
43937         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43938         unconditional.
43939         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43940         conditional code.
43941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43942         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43943         unconditional.
43944         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43945         conditional code.
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43947         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43948         code unconditional.
43949         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43950         conditional code.
43951         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43952         unconditional.
43953         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43954         conditional code.
43955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43956         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43957         code unconditional.
43958         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43959         conditional code.
43960         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43961         unconditional.
43962         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43963         conditional code.
43965 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43967         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43968         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43969         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43970         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43971         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43972         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43973         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43974         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43975         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43976         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43977         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43978         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43979         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43980         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43982         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43983         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43984         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43985         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43987         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43988         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43991 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43993         * Versions.def: Add GLIBC_2.17.
43994         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43995         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43996         Introduce __libc_secure_getenv.
43997         * stdlib/Versions (2.17): Add secure_getenv
43998         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43999         * stdlib/secure-getenv.c: Rename __secure_getenv to
44000         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44001         symbol __secure_getenv for GLIBC_2.0.
44002         * stdlib/tst-secure-getenv.c: New.
44003         * stdlib/Makefile (tests): Add testcase.
44004         * manual/startup.texi (Environment Access): Document
44005         secure_getenv.
44006         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44007         __libc_secure_getenv.
44008         * inet/ruserpass.c (ruserpass): Likewise.
44009         * malloc/mtrace.c (mtrace): Likewise.
44010         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44011         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44012         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44013         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44014         HAVE_SECURE_GETENV.
44015         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44016         __secure_getenv to __libc_secure_getenv.
44017         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44019         Likewise.
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44021         Likewise.
44022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44024         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44030 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44032         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44033         (struct La_i86_retval): Likewise.
44034         (struct La_x86_64_regs): Likewise.
44035         (struct La_x86_64_retval): Likewise.
44036         (struct La_x32_regs): Likewise.
44037         (struct La_x32_retval): Likewise.
44038         (struct La_ppc32_regs): Likewise.
44039         (struct La_ppc32_retval): Likewise.
44040         (struct La_ppc64_regs): Likewise.
44041         (struct La_ppc64_retval): Likewise.
44042         (struct La_sh_regs): Likewise.
44043         (struct La_sh_retval): Likewise.
44044         (struct La_s390_32_regs): Likewise.
44045         (struct La_s390_32_retval): Likewise.
44046         (struct La_s390_64_regs): Likewise.
44047         (struct La_s390_64_retval): Likewise.
44048         (struct La_sparc32_regs): Likewise.
44049         (struct La_sparc32_retval): Likewise.
44050         (struct La_sparc64_regs): Likewise.
44051         (struct La_sparc64_retval): Likewise.
44052         (struct audit_ifaces): Remove architecture-specific pltenter and
44053         pltexit members.
44054         * sysdeps/i386/ldsodefs.h: New file.
44055         * sysdeps/powerpc/ldsodefs.h: Likewise.
44056         * sysdeps/s390/ldsodefs.h: Likewise.
44057         * sysdeps/sh/ldsodefs.h: Likewise.
44058         * sysdeps/sparc/ldsodefs.h: Likewise.
44059         * sysdeps/x86_64/ldsodefs.h: Likewise.
44061 2012-07-25  Marek Polacek  <polacek@redhat.com>
44063         [BZ #6808]
44064         * math/libm-test.inc (yn_test): Add another test.
44065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44066         to ERANGE when the result is +-Inf.
44067         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44068         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44069         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44070         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44072 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44074         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44075         equal to 0.
44076         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44077         clock_t.
44078         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44080 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44082         * configure.in <sysdeps resolving>: Correct printing
44083         Implies_before.
44084         * configure: Regenerate.
44086 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44088         * math/w_ilogb.c: Include <limits.h>.
44089         * math/w_ilogbl.c: Likewise.
44091 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44093         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44094         va_copy.  Document allowing for unavailable va_copy only as
44095         pre-C99 compatibility.
44096         * manual/string.texi (Copying and Concatenation): Use va_copy
44097         instead of __va_copy in concat example.
44099 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44101         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44102         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44103         it if not null.
44105         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44106         with O_NOLINK passed to __file_name_lookup.
44108         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44109         with O_NOLINK passed to __file_name_lookup.
44111         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44112         negative N or less than NGIDS.
44114         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44115         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44116         enough.  Use memcpy instead of strncpy.
44118 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44120         * elf/Makefile (check-data): Remove.
44121         (localplt.data): New vpath directive.
44122         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44123         instead of $(check-data).
44124         * scripts/data/localplt-generic.data: Move to ...
44125         * sysdeps/generic/localplt.data: ... here.
44126         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44127         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44128         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44130         ... here.
44131         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44133         ... here.
44134         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44136         ... here.
44137         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44139         ... here.
44140         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44142         ... here.
44143         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44145         ... here.
44147 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44149         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44150         PPC32 and PPC64 files.
44151         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44152         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44154 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44156         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44157         __makecontext_ret to ...
44158         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44159         ... here and call exit if uc_link is NULL.  New file.
44160         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44161         __makecontext_ret.S.
44162         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44163         __makecontext_ret to ...
44164         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44165         ... here and call exit if uc_link is NULL.  New file.
44166         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44167         __makecontext_ret.S.
44169 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44171         * elf/elf.h (R_390_IRELATIVE): New definition.
44172         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44173         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44174         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44176         (elf_machine_lazy_rel): Likewise.
44177         * sysdeps/s390/dl-irel.h: New file.
44178         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44179         * sysdeps/s390/s390-64/memset.S: New asm code.
44180         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44181         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44182         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44183         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44184         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44185         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44186         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44187         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44188         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44189         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44190         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44191         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44192         * sysdeps/s390/s390-32/memset.S: New asm code.
44193         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44195 2012-07-17  Marek Polacek  <polacek@redhat.com>
44197         [BZ #14349]
44198         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44199         * sysdeps/s390/s390-64/configure.in: Likewise.
44200         * sysdeps/sparc/configure.in: Likewise.
44201         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44202         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44203         * sysdeps/i386/configure.in: Likewise.
44204         * sysdeps/x86_64/configure.in: Likewise.
44205         * sysdeps/sh/configure.in: Likewise.
44206         * sysdeps/s390/s390-32/configure: Regenerated.
44207         * sysdeps/s390/s390-64/configure: Likewise.
44208         * sysdeps/x86_64/configure: Likewise.
44209         * sysdeps/sh/configure: Likewise.
44210         * sysdeps/powerpc/powerpc64/configure: Likewise.
44211         * sysdeps/powerpc/powerpc32/configure: Likewise.
44212         * sysdeps/sparc/configure: Likwise.
44213         * sysdeps/i386/configure: Likewise.
44215         * elf/dl-open.c: Comment fixes.
44217 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44219         * Makefile [CXX] (check-data): Remove.
44220         [CXX] (c++-types.data): New vpath directive.
44221         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44222         vpath.  Do not allow for C++ type data being missing.
44223         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44224         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44225         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44226         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44227         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44228         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44229         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44231         ... here.
44232         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44234         ... here.
44235         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44237         ... here.
44238         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44240         ... here.
44241         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44243         ... here.
44244         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44246         ... here.
44247         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44249         ... here.
44250         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44253         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44254         definitions to architecture-specific files.
44255         (TLS_IE): Likewise.
44256         (TLS_LD): Likewise.
44257         (TLS_GD): Likewise.
44258         * sysdeps/i386/tls-macros.h: New file.
44259         * sysdeps/powerpc/tls-macros.h: Likewise.
44260         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44261         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44262         * sysdeps/sh/tls-macros.h: Likewise.
44263         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44264         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44265         * sysdeps/x86_64/tls-macros.h: Likewise.
44267 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44269         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44270         zero value for regular exit case.
44272         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44273         (__start_context): Preserve zero value for regular exit case.
44275 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44276             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44278         * manual/setjmp.texi (setcontext): Clarify normal process
44279         termination when uc_link is the null pointer.
44280         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44281         exit call.
44283 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44285         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44286         preprocessor.  Test for each exception mask separately.
44288 2012-07-16  Andreas Jaeger  <aj@suse.de>
44290         * po/ru.po: Update from translation team.
44292 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44294         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44295         equal to 0.
44296         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44297         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44298         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44299         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44302 2012-07-13  Andreas Jaeger  <aj@suse.de>
44304         * po/fr.po: Update from translation team.
44306 2012-07-12  Marek Polacek  <polacek@redhat.com>
44308         [BZ #14173]
44309         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44310         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44311         loop condition.
44313 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44315         [BZ #13717]
44316         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44317         Change to 2.4.1 where previously 2.4.0.
44318         * sysdeps/unix/sysv/linux/configure: Regenerated.
44319         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44320         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44321         version.
44322         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44323         (__ASSUME_AT_CLKTCK): Remove.
44324         (__ASSUME_AT_PAGESIZE): Likewise.
44325         (__ASSUME_AT_XID): Likewise.
44326         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44327         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44328         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44329         unconditionally.
44330         (HAVE_AUX_PAGESIZE): Likewise.
44331         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44332         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44333         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44335 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44337         [BZ #14307]
44338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44339         the temporary buffer used to invoke __gethostbyname2_r,
44340         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44341         host_data / struct gaih_addrtuple.
44342         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44343         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44344         header file nss/nsswitch.h.
44345         * nss/nsswitch.h (global scope): Add definition of implementation
44346         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44347         resolv/nss_dns/dns-host.c).
44349 2012-07-11  Andreas Jaeger  <aj@suse.de>
44351         * po/fr.po: Update from translation team.
44353         * po/sv.po: Update from translation team
44354         * po/fr.po: Another update from translation team.
44356 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44358         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44359         for subnormals or multiply small sinh result by itself.
44360         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44363 2012-07-11  David S. Miller  <davem@davemloft.net>
44365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44367 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44369         [BZ #14347]
44370         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44371         (INTERNAL_MARK): Shift it here.
44373 2012-07-10  Marek Polacek  <polacek@redhat.com>
44375         [BZ #14151]
44376         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44377         libc_cv_asm_global_directive with .globl.
44378         * configure: Regenerated.
44379         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44380         with .globl.
44381         * sysdeps/i386/configure: Regenerated.
44382         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44383         with .globl.
44384         * sysdeps/x86_64/configure: Regenerated.
44385         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44386         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44387         * elf/tst-unique2mod2.c: Likewise.
44388         * elf/tst-unique2mod1.c: Likewise.
44389         * elf/tst-unique1mod2.c: Likewise.
44390         * elf/tst-unique1mod1.c: Likewise.
44391         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44392         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44394         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44395         * sysdeps/mach/sysdep.h: Likewise.
44396         * sysdeps/i386/sysdep.h: Likewise.
44397         * sysdeps/i386/i386-mcount.S: Likewise.
44398         * sysdeps/x86_64/_mcount.S: Likewise.
44399         * sysdeps/x86_64/sysdep.h: Likewise.
44400         * sysdeps/sh/_mcount.S: Likewise.
44401         * sysdeps/sh/sysdep.h: Likewise.
44402         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44403         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44404         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44405         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44406         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44407         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44408         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44409         * locale/localeinfo.h: Likewise.
44410         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44411         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44413 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44415         [BZ #14336]
44416         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44417         system".
44418         * manual/message.texi (The Uniforum approach): Likewise.
44419         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44420         (glibc iconv Implementation): Likewise.
44422 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44424         [BZ #14337]
44425         * math/s_clog.c (__clog): Avoid scaling a value down where that
44426         could result in underflow.
44427         * math/s_clog10.c (__clog10): Likewise.
44428         * math/s_clog10f.c (__clog10f): Likewise.
44429         * math/s_clog10l.c (__clog10l): Likewise.
44430         * math/s_clogf.c (__clogf): Likewise.
44431         * math/s_clogl.c (__clogl): Likewise.
44432         * math/libm-test.inc (clog_test): Add more tests.
44433         (clog10_test): Likewise.
44434         * sysdeps/i386/fpu/libm-test-ulps: Update.
44435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44437 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44439         [BZ #14283]
44440         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44441         by 7 not 8 to examine high bit of fractional part.
44443         [BZ #14042]
44444         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44445         for call to __mcount_internal.
44446         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44447         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44448         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44450 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44452         [BZ #14154]
44453         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44454         approximation for values within 0x1p-13f of an odd multiple of
44455         pi/4.
44456         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44457         exception.  Add more tests.
44458         * sysdeps/i386/fpu/libm-test-ulps: Update.
44460         [BZ #6778]
44461         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44462         inputs and return -1 for them.  Do not check for +Inf in case not
44463         reachable for +Inf.
44464         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44465         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44466         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44467         and return -1 for them.  Do not check for +Inf in case not
44468         reachable for +Inf.
44469         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44470         define.
44471         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44472         and return -1 for them.  Do not check for +Inf in case not
44473         reachable for +Inf.
44474         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44475         spurious underflow.
44476         * sysdeps/i386/fpu/libm-test-ulps: Update.
44477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44479 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44481         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44483 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44485         [BZ #14157]
44486         [BZ #14331]
44487         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44488         could result in spurious underflow.  Scale down values above
44489         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44490         * math/s_csqrtf.c (__csqrtf): Likewise.
44491         * math/s_csqrtl.c (__csqrtl): Likewise.
44492         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44493         spurious underflow.
44494         * sysdeps/i386/fpu/libm-test-ulps: Update.
44495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44497 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44499         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44500         xopen-msg.sed.
44501         * catgets/xopen-msg.awk: New file.
44502         * catgets/xopen-msg.sed: Removed.
44504         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44505         po2text.sed.
44506         * intl/po2test.awk: New file.
44507         * intl/po2test.sed: Removed.
44509 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44511         [BZ #14328]
44512         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44513         or multiply small sinh result by itself.
44514         * math/s_ctanf.c (__ctanf): Likewise.
44515         * math/s_ctanh.c (__ctanh): Likewise.
44516         * math/s_ctanhf.c (__ctanhf): Likewise.
44517         * math/s_ctanhl.c (__ctanhl): Likewise.
44518         * math/s_ctanl.c (__ctanl): Likewise.
44519         * math/libm-test.inc (ctan_test_tonearest): New function.
44520         (ctan_test_towardzero): Likewise.
44521         (ctan_test_downward): Likewise.
44522         (ctan_test_upward): Likewise.
44523         (ctanh_test_tonearest): Likewise.
44524         (ctanh_test_towardzero): Likewise.
44525         (ctanh_test_downward): Likewise.
44526         (ctanh_test_upward): Likewise.
44527         (main): Call these new functions.
44528         * sysdeps/i386/fpu/libm-test-ulps: Update.
44529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44531 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44533         * .gitignore: Delete /ports entry.
44535 2012-07-03  Andreas Jaeger  <aj@suse.de>
44537         * po/bg.po: Update from translation team.
44538         * po/cs.po: Likewise.
44539         * po/de.po: Likewise.
44540         * po/hr.po: Likewise.
44541         * po/nl.pl: Likewise.
44542         * po/pl.po: Likewise.
44543         * po/vi.po: Likewise.
44545 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44547         * Makeconfig [!+link] (+link-before-libc): New variable.
44548         [!+link] (+link-after-libc): Likewise.
44549         [!+link] (+link-tests): Likewise.
44550         [!+link] (+link): Define in terms of $(+link-before-libc) and
44551         $(+link-after-libc).
44552         [!+link-static] (+link-static-before-libc): New variable.
44553         [!+link-static] (+link-static-after-libc): Likewise.
44554         [!+link-static] (+link-static-tests): Likewise.
44555         [!+link-static] (+link-static): Define in terms of
44556         $(+link-static-before-libc) and $(+link-static-after-libc).
44557         [build-shared] (link-libc-before-gnulib): New variable.
44558         [build-shared] (link-libc-tests): Likewise.
44559         [build-shared] (link-libc): Define in terms of
44560         $(link-libc-before-gnulib).
44561         [!build-shared] (link-libc-tests): New variable.
44562         (link-libc-static-tests): New variable.
44563         [!gnulib] (gnulib-arch): New variable.
44564         [!gnulib] (gnulib-tests): Likewise.
44565         [!gnulib] (static-gnulib-arch): Likewise.
44566         [!gnulib] (static-gnulib-tests): Likewise.
44567         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44568         Define with "=" instead of ":=".
44569         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44570         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44571         * Rules (binaries-all-notests): New variable.
44572         (binaries-all-tests): Likewise.
44573         (binaries-static-notests): Likewise.
44574         (binaries-static-tests): Likewise.
44575         (binaries-all): Define using $(binaries-all-notests) and
44576         $(binaries-all-tests).
44577         (binaries-static): Define using $(binaries-static-notests) and
44578         $(binaries-static-tests).
44579         (binaries-shared-tests): New variable.
44580         (binaries-shared-notests): Likewise.
44581         (binaries-shared): Remove variable.
44582         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44583         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44584         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44585         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44586         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44587         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44588         * elf/Makefile (sln-modules): New variable.
44589         (extra-objs): Add $(sln-modules:=.o).
44590         (ldconfig-modules): Add static-stubs.
44591         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44592         * elf/static-stubs.c: New file.
44594         [BZ #14283]
44595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44596         by 7 not 8 to examine high bit of fractional part.  Use volatile
44597         variables when splitting into final array of floats if
44598         __FLT_EVAL_METHOD__ != 0.
44599         * math/libm-test.inc (cos_test): Add another test.
44600         (sin_test): Likewise.
44601         * sysdeps/i386/fpu/libm-test-ulps: Update.
44603         [BZ #14273]
44604         * math/libm-test.inc (cosh_test): Add more tests.
44606         * version.h (RELEASE): Set to "development".
44607         (VERSION): Set to "2.16.90".
44609 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44611         * NEWS: Update copyright. Remove last-updated date.
44612         Mention math library bug fixes and timezone data changes.
44613         * README: Mention GNU/Hurd, x32, and HPPA support status.
44615 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44617         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44619 2012-06-27  Andreas Jaeger  <aj@suse.de>
44621         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44623 2012-06-25  Andreas Jaeger  <aj@suse.de>
44625         * sysdeps/s390/fpu/libm-test-ulps: Update.
44627 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44628             Thomas Schwinge  <thomas@codesourcery.com>
44630         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44631         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44633         fanotify_mark.
44635 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44637         * sysdeps/mach/start.c: Remove file.
44638         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44639         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44640         * sysdeps/sh/init-first.c: Likewise.
44642         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44643         registers for frame unwinding purposes, add CFI directives.
44644         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44645         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44646         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44647         Likewise.
44649         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44650         __fortify_fail returning.
44651         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44653         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44654         sysdeps/sh/____longjmp_chk.S.
44655         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44656         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44657         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44658         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44660         * sysdeps/sh/abort-instr.h: New file.
44661         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44662         process in case exit returns.
44664         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44665         initialize the GOT register before use.
44667         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44668         calculation of ARGC > 4.
44670         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44671         meaningful names to some local labels.
44673 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44674             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44676         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44677         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44678         (__arch_compare_and_exchange_val_16_acq): Likewise.
44679         (__arch_compare_and_exchange_val_32_acq): Likewise.
44680         (atomic_exchange_and_add): Fix gUSA sequence.
44681         (atomic_add): Likewise.
44682         (atomic_add_negative): Likewise.
44683         (atomic_add_zero): Likewise.
44684         (atomic_bit_test_set): Likewise.
44686 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44688         [BZ #13579]
44689         * include/link.h (struct link_map): Add l_free_initfini.
44690         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44691         l_initfini.
44692         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44693         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44694         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44695         set.
44697 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44699         * configure.in: Use AC_LANG_SOURCE.
44700         * configure: Regenerate.
44702 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44704         * configure.in (libc_cv_localstatedir): New substituted variable.
44705         * configure: Regenerated.
44706         * config.make.in (localstatedir): New variable, substituted from
44707         libc_cv_localstatedir.
44708         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44709         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44710         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44711         * sysdeps/gnu/configure: Regenerated.
44713 2012-06-21  Jeff Law  <law@redhat.com>
44715         [BZ #14277]
44716         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44717         free.  Simplify list management for _LIBC case.
44719 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44721         [BZ #14273]
44722         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44723         Clear sign bit of 64-bit integer value before comparing against
44724         overflow value.
44726         * sysdeps/mach/configure: Regenerated.
44728 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44730         [BZ #14278]
44731         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44733 2012-06-21  Jeff Law  <law@redhat.com>
44735         [BZ #13882]
44736         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44737         uint16_t for elements in the "seen" array to avoid char overflows.
44738         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44739         * elf/dl-open.c (dl_open_worker): Likewise.
44741 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44743         * scripts/list-sources.sh: Scan PORTS for translations.
44744         * po/libc.pot: Regenerated.
44746 2012-06-21  Andreas Jaeger  <aj@suse.de>
44748         [BZ #12194]
44749         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44750         warning.
44751         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44752         * bits/byteswap-16.h (__bswap_16): Likewise.
44753         * bits/byteswap.h (__bswap_constant_16): Likewise.
44755 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44757         [BZ #14117]
44758         * sysdeps/i386/fpu_control.h: Removed.
44759         * sysdeps/x86_64/fpu_control.h: Moved to ...
44760         * sysdeps/x86/fpu_control.h: Here.
44762         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44763         (_FPU_SETCW): Likewise.
44765 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44767         [BZ #14117]
44768         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44769         * sysdeps/x86/fpu/bits/mathinline.h: This.
44770         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44772         [BZ #14050]
44773         [BZ #14117]
44774         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44775         functions if __x86_64__ is defined.
44777 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44779         * string/endian.h: Add !__ASSEMBLER__ condition for including
44780         conversion interfaces.
44782 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44784         [BZ #14241]
44785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44786         of ABS(x) in calculating zero to negative powers other than odd
44787         integers.
44788         * math/libm-test.inc (pow_test): Add more tests.
44790 2012-06-15  Andreas Jaeger  <aj@suse.de>
44792         * manual/contrib.texi (Contributors): Update entry of Liubov
44793         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44794         Machado Filho.
44796 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44798         * string/string.h: Add __wur to GNU version of strerror_r.
44800 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44802         [BZ #14229]
44803         * string/Makefile (tests): Add tst-strtok_r.
44804         * string/tst-strtok_r.c: New file.
44805         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44806         RAX_LP/RDX_LP on SAVE_PTR.
44808 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44810         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44812 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44814         * libm_test.inc (csqrt_test): Allow more spurious underflow
44815         exceptions.
44816         (j0_test): Likewise.
44817         (j1_test): Likewise.
44818         (y0_test): Likewise.
44819         (y1_test): Likewise.
44821 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44823         * po/Makefile (libc.pot): Use UTF-8 charset.
44825 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44827         [BZ #14210]
44828         Suppress sign-conversion warning from FD_SET.
44829         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44830         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44831         not unsigned long int.
44832         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44834 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44836         [BZ #14050]
44837         [BZ #14117]
44838         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44839         __extern_always_inline instead of __extern_inline.
44840         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44841         (__signbit): Likewise.
44842         (__signbitl): Support C++ namespace.
44843         (lrintf): New inline function.
44844         (lrint): Likewise.
44845         (llrintf): Likewise.
44846         (llrint): Likewise.
44847         (fmaxf): Likewise.
44848         (fmax): Likewise.
44849         (fminf): Likewise.
44850         (fmin): Likewise.
44851         (rint): Likewise.
44852         (rintf): Likewise.
44853         (ceil): Likewise.
44854         (ceilf): Likewise.
44855         (floor): Likewise.
44856         (floorf): Likewise.
44857         (nearbyint): Likewise.
44858         (nearbyintf): Likewise.
44860 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44862         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44863         non-default versions.
44865 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44867         [BZ #14218]
44868         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44870 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44872         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44873         (FE_UPWARD, FE_DOWNWARD): Don't define.
44874         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44875         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44877         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44878         reading it.
44879         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44880         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44882 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44884         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44885         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44886         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44887         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44889 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44891         [BZ #14117]
44892         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44893         * sysdeps/i386/fpu/Implies: New file.
44894         * sysdeps/x86_64/fpu/Implies: Likewise.
44895         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44896         * sysdeps/x86/fpu/bits/fenv.h: This.
44898         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44899         __SSE_MATH__.
44901 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44903         [BZ #14134]
44904         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44905         character 0xffff that matches the last element of the
44906         conversion table.
44908 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44911         fmodl commit.
44913 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44916         values higher than 25.6283.
44918 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44920         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44921         subnormal exponent extraction and add some __builtin_expect.
44922         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44923         Fix for subnormal mantissa calculation.
44925 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44927         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44928         cpu2 is -1 and errno is not ENOSYS.
44930 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44932         [BZ #14117]
44933         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44934         * sysdeps/x86/bits/string.h: This.
44935         * sysdeps/x86_64/bits/string.h: Removed.
44937         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44938         if not compiling for x86-64, but compiling for >= i486.
44940         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44941         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44943         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44944         New macro from Linux kernel 3.4.0.
44945         (FP_XSTATE_MAGIC2): Likewise.
44946         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44947         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44948         (struct _fpx_sw_bytes): New struct.
44949         (struct _xsave_hdr): Likewise.
44950         (struct _ymmh_state): Likewise.
44951         (struct _xstate): Likewise.
44953         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44954         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44955         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44956         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44957         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44958         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44960         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44961         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44962         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44963         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44964         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44965         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44967 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44969         [BZ #13743]
44970         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44971         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44972         (sysdep_headers): Include sys/platform/ppc.h.
44973         * sysdeps/powerpc/test-gettimebase.c: Test for
44974         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44975         * manual/Makefile (appendices): Include platform.texi.
44976         * manual/contrib.texi (Contributors): Update @node pointers.
44977         * manual/maint.texi (Maintenance): Likewise.
44978         (Platform): New node.
44979         * manual/platform.texi: New file.  Document the new features.
44981 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44982             Jakub Jelinek  <jakub@redhat.com>
44984         [BZ #14188]
44985         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44986         where __builtin_expect is unavailable.
44988 2012-06-03  David S. Miller  <davem@davemloft.net>
44990         * stdlib/longlong.h: Updated from GCC.
44992 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44994         [BZ #14042]
44995         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44996         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44997         __mcount_internal.
44998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44999         (GLIBC_2.16): Likewise.
45001 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45003         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45005 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45008         (default-abi): New variable.
45009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45010         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45011         variable.
45012         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45013         Likewise.
45014         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45015         Likewise.
45016         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45017         Likewise.
45019         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45020         definition.  Document in comment.
45022 2012-06-01  David S. Miller  <davem@davemloft.net>
45024         * stdlib/longlong.h: Updated from GCC.
45026 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45028         [BZ #14117]
45029         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45030         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45031         sys/debugreg.h sys/io.h here.
45032         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45033         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45034         sys/io.h.
45035         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45036         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45037         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45038         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45039         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45040         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45042         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45043         Define only if __x86_64__ is defined.
45045 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45047         [BZ #14048]
45048         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45049         Use int64_t for variable i.
45050         * math/libm-test.inc (fmod_test): Add more tests.
45052         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45053         z computation is not scheduled after fetestexcept.
45054         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45055         Use math_force_eval instead of asm to ensure calculation scheduled
45056         before exception test.
45057         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45058         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45060 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45063         computation is not scheduled after fetestexcept.
45065 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45067         [BZ #14117]
45068         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45069         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45071 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45073         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45074         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45076 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45078         [BZ #14117]
45079         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45080         <bits/wordsize.h>.
45081         (__WCHAR_MIN): Support __WORDSIZE == 64.
45082         (__WCHAR_MAX): Likewise.
45084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45085         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45087         [BZ #14183]
45088         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45089         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45091         [BZ #14117]
45092         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45093         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45095         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45096         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45098         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45099         Defined to 1 if __x86_64__ isn't defined.
45100         (_STAT_VER_LINUX_OLD): New.
45101         (st_atime): Remove duplicate.
45102         (st_mtime): Likewise.
45103         (st_ctime): Likewise.
45105 2012-05-31  David S. Miller  <davem@davemloft.net>
45107         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45108         entries.
45110 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45112         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45113         gen-libm-test.pl.
45115         [BZ #14132]
45116         * elf/dl-reloc.c: Include <_itoa.h>.
45117         (_dl_reloc_bad_type): Remove use of INTUSE.
45118         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45119         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45120         * stdio-common/psiginfo.c (psiginfo): Likewise.
45121         * stdio-common/psignal.c (psignal): Likewise.
45122         * string/strsignal.c (strsignal): Likewise.
45123         * include/signal.h (_sys_siglist): Declare hidden proto.
45124         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45125         INTVARDEF with libc_hidden_data_def.
45126         * stdio-common/itoa-udigits.c: Likewise.
45127         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45128         (_itoa_lower_digits_internal): Remove declaration.
45129         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45130         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45131         (_sys_sigabbrev_internal): Remove aliases.
45132         (_sys_siglist): Define hidden alias.
45134 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45137         bits/sysctl.h.
45139 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45141         [BZ #14117]
45142         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45143         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45145         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45146         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45147         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45148         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45149         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45150         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45152         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45153         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45154         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45156         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45157         with __addr.
45158         (insw): Likewise.
45159         (insl): Likewise.
45160         (outsb): Likewise.
45161         (outsw): Likewise.
45162         (outsl): Likewise.
45164         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45165         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45166         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45168         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45169         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45170         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45171         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45172         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45173         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45175         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45176         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45178         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45179         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45181         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45183         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45185         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45186         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45187         to ...
45188         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45190         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45191         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45192         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45194         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45195         for x86-64.
45196         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45198 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45200         * math/math.h (M_El): Use two more decimal places.
45201         (M_LOG2El): Likewise.
45202         (M_LOG10El): Likewise.
45203         (M_LN2l): Likewise.
45204         (M_LN10l): Likewise.
45205         (M_PIl): Likewise.
45206         (M_PI_2l): Likewise.
45207         (M_PI_4l): Likewise.
45208         (M_1_PIl): Likewise.
45209         (M_2_PIl): Likewise.
45210         (M_2_SQRTPIl): Likewise.
45211         (M_SQRT2l): Likewise.
45212         (M_SQRT1_2l): Likewise.
45214 2012-05-31  David S. Miller  <davem@davemloft.net>
45216         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45217         values between float registers.
45218         * sysdeps/sparc/sparc64/memset.S: Likewise.
45219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45221 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45223         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45224         -D_FORTIFY_SOURCE=1.
45225         (CPPFLAGS-tst-longjmp_chk.c): Define.
45226         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45227         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45228         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45229         CFLAGS-tst-wchar-h.c.
45231 2012-05-31  Marek Polacek  <polacek@redhat.com>
45233         [BZ #14132]
45234         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45235         __endmntent_internal): Remove declaration.
45236         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45237         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45238         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45240 2012-05-30  David S. Miller  <davem@davemloft.net>
45242         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45243         (___Q_simulate_exceptions): Use real FP ops rather than writing
45244         into the %fsr.
45245         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45246         Likewise.
45248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45250         [BZ #14117]
45251         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45252         * sysdeps/x86/bits/xtitypes.h: This.
45254         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45255         * sysdeps/x86/bits/wordsize.h: This.
45257         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45258         * sysdeps/x86/bits/huge_vall.h: This.
45260         * sysdeps/i386/bits/select.h: Removed.
45261         * sysdeps/x86_64/bits/select.h: Renamed to ...
45262         * sysdeps/x86/bits/select.h: This.
45264         * sysdeps/i386/bits/setjmp.h: Removed.
45265         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45266         * sysdeps/x86/bits/setjmp.h: This.
45268         * sysdeps/i386/bits/mathdef.h: Removed.
45269         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45270         * sysdeps/x86/bits/mathdef.h: This.
45272 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45274         [BZ #14132]
45275         * include/sys/socket.h (__connect_internal)
45276         (__libc_sa_len_internal): Remove declaration.
45277         (__connect, __libc_sa_len): Declare hidden_proto.
45278         (SA_LEN): Remove use of INTUSE.
45279         * socket/connect.c: Add libc_hidden_def.
45280         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45281         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45282         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45283         alias.
45284         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45285         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45286         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45287         of adding _internal alias.
45289 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45291         [BZ #14117]
45292         * sysdeps/i386/bits/link.h: Removed.
45293         * sysdeps/i386/bits/linkmap.h: Likewise.
45294         * sysdeps/x86_64/bits/link.h: Renamed to ...
45295         * sysdeps/x86/bits/link.h: This.
45296         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45297         * sysdeps/x86/bits/linkmap.h: This.
45299         * sysdeps/i386/bits/endian.h: Removed.
45300         * sysdeps/x86_64/bits/endian.h: Renamed to ...
45301         * sysdeps/x86/bits/endian.h: This.
45303         * sysdeps/i386/bits/byteswap.h: Removed.
45304         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45305         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45306         * sysdeps/x86/bits/byteswap.h: This.
45307         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45308         * sysdeps/x86/bits/byteswap-16.h: This.
45309         * sysdeps/i386/Implies: Add x86.
45310         * sysdeps/x86_64/Implies: Likewise.
45312 2012-05-30  David S. Miller  <davem@davemloft.net>
45314         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45315         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45316         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45317         (FP_TRAPPING_EXCEPTIONS): Define.
45318         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45319         (FP_TRAPPING_EXCEPTIONS): Define.
45320         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45321         subnormals only when inexact has been signalled or underflow
45322         exceptions are enabled.
45323         (_FP_PACK_CANONICAL): Likewise.
45325 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45327         [BZ #14183]
45328         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45329         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45331 2012-05-30  Richard Henderson  <rth@twiddle.net>
45333         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45334         with #ifndef NOT_IN_libc.
45336         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45337         marked to avoid plt entry.
45339 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45341         [BZ #14112]
45342         * Makeconfig (default-abi): New macro.
45343         (abi-includes): Likewise.
45344         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45345         $(abi-$(default-abi)-lib-soname) for soname if defined.
45346         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45347         abi-variants.
45348         * Makefile (installed-stubs): Likewise.
45349         * include/stubs-biarch.h: Removed.
45350         * scripts/lib-names.awk: Only handle one library at a time.
45351         * scripts/soversions.awk: Remove WORDSIZE support.
45352         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45353         entries.
45354         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45355         Removed.
45356         (syscall-list-default-condition): Likewise.
45357         (syscall-list-default-condition): Likewise.
45358         (syscall-list-includes): Likewise.
45359         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45360         syscall-list-* with abi-*.  Handle undefined abi-variants.
45361         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45362         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45363         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45364         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45365         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45366         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45367         Removed.
45368         (syscall-list-32-options): Likewise.
45369         (syscall-list-32-condition): Likewise.
45370         (syscall-list-64-options): Likewise.
45371         (syscall-list-64-condition): Likewise.
45372         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45373         macro.
45374         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45375         Renamed to ...
45376         (abi-*): This.
45377         (abi-64-ld-soname): New macro.
45378         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45379         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45380         Renamed to ...
45381         (abi-*): This.
45382         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45383         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45385 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45387         * sysdeps/unix/sysv/linux/kernel-features.h
45388         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45389         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45390         include <kernel-features.h>.
45391         [!__NR_ftruncate64]: Remove conditional code.
45392         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45393         [__NR_ftruncate64]: Make code unconditional.
45394         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45395         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45396         include <kernel-features.h>.
45397         [!__NR_ftruncate64]: Remove conditional code.
45398         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45399         [__NR_ftruncate64]: Make code unconditional.
45400         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45402         include <kernel-features.h>.
45403         [!__NR_ftruncate64]: Remove conditional code.
45404         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45405         [__NR_ftruncate64]: Make code unconditional.
45406         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45408         include <kernel-features.h>.
45409         [!__NR_ftruncate64]: Remove conditional code.
45410         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45411         [__NR_ftruncate64]: Make code unconditional.
45412         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45414         * configure.in (libc_cv_fpie): Weaken to a compile test using
45415         LIBC_TRY_CC_OPTION.
45416         * configure: Regenerated.
45418 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45424         Refreshed.
45425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45431         Refreshed.
45433 2012-05-27  David S. Miller  <davem@davemloft.net>
45435         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45436         (___Q_zero): New.
45437         (__Q_simulate_exceptions): Return void.  Change to simulate
45438         exceptions by writing into the %fsr.
45439         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45440         (__Qp_handle_exceptions): Likewise.
45441         (numbers): Delete.
45442         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45443         __Qp_handle_exceptions.
45444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45445         __Qp_handle_exceptions.
45446         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45447         as unused and give dummy FP_RND_NEAREST initializer.
45448         (FP_INHIBIT_RESULTS): Define.
45449         (___Q_simulate_exceptions): Update declaration.
45450         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45451         formatting.
45452         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45453         as unused and give dummy FP_RND_NEAREST initializer.
45454         (__Qp_handle_exceptions): Update declaration.
45455         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45456         formatting.
45458 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45460         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45461         the temporary FPU control word.
45462         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45463         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45464         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45465         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45466         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45467         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45468         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45469         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45470         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45471         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45472         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45474 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45476         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45477         fields.
45479 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45481         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45482         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45483         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45484         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45485         Likewise.
45486         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45487         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45488         Likewise.
45490 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45492         * po/h.po: Update from translation team.
45494 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45496         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45498         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45499         handling of denormals.
45500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45501         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45502         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45503         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45505         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45507         Likewise.
45509 2012-05-26  Marek Polacek  <polacek@redhat.com>
45511         [BZ #14152]
45512         * math/libm-test.inc (fma_test): Don't always expect underflow
45513         exception.
45515 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45517         [BZ #12416]
45518         * elf/tst-execstack.c: Include stackinfo.h.
45519         (do_test): Adjust test case to ensure that pthread_getattr_np
45520         behaviour remains the same after marking stack executable.
45522 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45524         * sysdeps/unix/sysv/linux/kernel-features.h
45525         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45526         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45527         kernel-features.h.
45528         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45529         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45530         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45531         kernel-features.h.
45532         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45533         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45535 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45537         * configure.in: Define the default includes to being none.
45538         * configure: Regenerated.
45540 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45542         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45543         * sysdeps/x86_64/setjmp.S: Likewise.
45544         * sysdeps/i386/bsd-setjmp.S: Likewise.
45545         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45546         * sysdeps/i386/setjmp.S: Likewise.
45547         * sysdeps/i386/__longjmp.S: Likewise.
45548         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45549         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45551         * include/stap-probe.h: New file.
45552         * configure.in: Handle --enable-systemtap.
45553         * configure: Regenerated.
45554         * config.h.in (USE_STAP_PROBE): New #undef.
45555         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45556         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45557         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45559 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45561         [BZ #13717]
45562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45563         to 2.4.0 where earlier.
45564         * sysdeps/unix/sysv/linux/configure: Regenerated.
45565         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45566         <kernel-features.h>.
45567         [__ASSUME_32BITUIDS]: Make code unconditional.
45568         [!__ASSUME_32BITUIDS]: Remove conditional code.
45569         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45570         <kernel-features.h>.
45571         [__ASSUME_32BITUIDS]: Make code unconditional.
45572         [!__ASSUME_32BITUIDS]: Remove conditional code.
45573         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45574         [__ASSUME_32BITUIDS]: Make code unconditional.
45575         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45576         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45577         <kernel-features.h>.
45578         [__ASSUME_32BITUIDS]: Make code unconditional.
45579         [!__ASSUME_32BITUIDS]: Remove conditional code.
45580         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45581         <kernel-features.h>.
45582         [__ASSUME_32BITUIDS]: Make code unconditional.
45583         [!__ASSUME_32BITUIDS]: Remove conditional code.
45584         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45585         <kernel-features.h>.
45586         [__ASSUME_32BITUIDS]: Make code unconditional.
45587         [!__ASSUME_32BITUIDS]: Remove conditional code.
45588         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45589         <kernel-features.h>.
45590         [__ASSUME_32BITUIDS]: Make code unconditional.
45591         [!__ASSUME_32BITUIDS]: Remove conditional code.
45592         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45593         <kernel-features.h>.
45594         [__ASSUME_32BITUIDS]: Make code unconditional.
45595         [!__ASSUME_32BITUIDS]: Remove conditional code.
45596         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45597         <kernel-features.h>.
45598         [__ASSUME_32BITUIDS]: Make code unconditional.
45599         [!__ASSUME_32BITUIDS]: Remove conditional code.
45600         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45601         <kernel-features.h>.
45602         [__ASSUME_32BITUIDS]: Make code unconditional.
45603         [!__ASSUME_32BITUIDS]: Remove conditional code.
45604         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45605         <kernel-features.h>.
45606         [__ASSUME_32BITUIDS]: Make code unconditional.
45607         [!__ASSUME_32BITUIDS]: Remove conditional code.
45608         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45609         <kernel-features.h>.
45610         [__ASSUME_32BITUIDS]: Make code unconditional.
45611         [!__ASSUME_32BITUIDS]: Remove conditional code.
45612         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45613         <kernel-features.h>.
45614         [__ASSUME_32BITUIDS]: Make code unconditional.
45615         [!__ASSUME_32BITUIDS]: Remove conditional code.
45616         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45617         <kernel-features.h>.
45618         [__NR_setresgid] (__setresgid): Do not declare.
45619         [__ASSUME_32BITUIDS]: Make code unconditional.
45620         [!__ASSUME_32BITUIDS]: Remove conditional code.
45621         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45622         <kernel-features.h>.
45623         [__NR_setresuid] (__setresuid): Do not declare.
45624         [__ASSUME_32BITUIDS]: Make code unconditional.
45625         [!__ASSUME_32BITUIDS]: Remove conditional code.
45626         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45627         <kernel-features.h>.
45628         [__ASSUME_32BITUIDS]: Make code unconditional.
45629         [!__ASSUME_32BITUIDS]: Remove conditional code.
45630         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45631         <kernel-features.h>.
45632         [__ASSUME_32BITUIDS]: Make code unconditional.
45633         [!__ASSUME_32BITUIDS]: Remove conditional code.
45634         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45635         <kernel-features.h>.
45636         [__ASSUME_32BITUIDS]: Make code unconditional.
45637         [!__ASSUME_32BITUIDS]: Remove conditional code.
45638         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45639         <kernel-features.h>.
45640         [__ASSUME_32BITUIDS]: Make code unconditional.
45641         [!__ASSUME_32BITUIDS]: Remove conditional code.
45642         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45643         <kernel-features.h>.
45644         [__ASSUME_32BITUIDS]: Make code unconditional.
45645         [!__ASSUME_32BITUIDS]: Remove conditional code.
45646         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45647         <kernel-features.h>.
45648         [__ASSUME_32BITUIDS]: Make code unconditional.
45649         [!__ASSUME_32BITUIDS]: Remove conditional code.
45650         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45651         <kernel-features.h>.
45652         [__ASSUME_32BITUIDS]: Make code unconditional.
45653         [!__ASSUME_32BITUIDS]: Remove conditional code.
45654         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45655         <kernel-features.h>.
45656         [__ASSUME_32BITUIDS]: Make code unconditional.
45657         [!__ASSUME_32BITUIDS]: Remove conditional code.
45658         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45659         <kernel-features.h>.
45660         [__ASSUME_32BITUIDS]: Make code unconditional.
45661         [!__ASSUME_32BITUIDS]: Remove conditional code.
45662         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45663         <kernel-features.h>.
45664         [__ASSUME_32BITUIDS]: Make code unconditional.
45665         [!__ASSUME_32BITUIDS]: Remove conditional code.
45666         * sysdeps/unix/sysv/linux/kernel-features.h
45667         (__ASSUME_SETRESUID_SYSCALL): Remove.
45668         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45669         (__ASSUME_32BITUIDS): Likewise.
45670         (__ASSUME_LDT_WORKS): Likewise.
45671         (__ASSUME_O_DIRECTORY): Likewise.
45672         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45673         architecture but not kernel version.
45674         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45675         (__ASSUME_MMAP2_SYSCALL): Likewise.
45676         (__ASSUME_STAT64_SYSCALL): Likewise.
45677         (__ASSUME_IPC64): Likewise.
45678         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45679         <kernel-features.h>.
45680         [__ASSUME_32BITUIDS]: Make code unconditional.
45681         [!__ASSUME_32BITUIDS]: Remove conditional code.
45682         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45683         <kernel-features.h>.
45684         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45685         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45686         132096]: Remove conditional code.
45687         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45688         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45689         <kernel-features.h>.
45690         [__ASSUME_32BITUIDS]: Make code unconditional.
45691         [!__ASSUME_32BITUIDS]: Remove conditional code.
45692         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45693         <kernel-features.h>.
45694         [__ASSUME_32BITUIDS]: Make code unconditional.
45695         [!__ASSUME_32BITUIDS]: Remove conditional code.
45696         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45697         <kernel-features.h>.
45698         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45699         unconditional.
45700         (__setresgid): Do not declare.
45701         [__ASSUME_32BITUIDS]: Make code unconditional.
45702         [!__ASSUME_32BITUIDS]: Remove conditional code.
45703         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45704         <kernel-features.h>.
45705         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45706         unconditional.
45707         (__setresuid): Do not declare.
45708         [__ASSUME_32BITUIDS]: Make code unconditional.
45709         [!__ASSUME_32BITUIDS]: Remove conditional code.
45710         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45711         <kernel-features.h>.
45712         [__ASSUME_32BITUIDS]: Make code unconditional.
45713         [!__ASSUME_32BITUIDS]: Remove conditional code.
45714         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45715         <kernel-features.h>.
45716         [__ASSUME_32BITUIDS]: Make code unconditional.
45717         [!__ASSUME_32BITUIDS]: Remove conditional code.
45719 2012-05-25  Richard Henderson  <rth@twiddle.net>
45721         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45722         dl_hwcap to ifunc resolver.
45723         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45724         elf_ifunc_invoke.
45725         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45726         dl_hwcap to ifunc resolver.
45727         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45729 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45731         [BZ #14153]
45732         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45733         for |x| <= 2**-26, not 2**-57.
45734         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45735         exception.
45737 2012-05-24  Jeff Law  <law@redhat.com>
45739         * stdio-common/Makefile (tests): Add bug25.
45740         * stdio-common/bug25.c: New test.
45742 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45744         [BZ #13576]
45745         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45746         multiple of MALLOC_ALIGNMENT in size.
45747         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45749 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45751         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45752         Require >= 256.
45753         (FILENAME_MAX): Use macro-int-constant.
45754         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45755         (_IOFBF): Use macro-int-constant.
45756         (_IOLBF): Likewise.
45757         (_IONBF): Likewise.
45758         (SEEK_CUR): Likewise.
45759         (SEEK_END): Likewise.
45760         (SEEK_SET): Likewise.
45761         (TMP_MAX): Likewise.
45762         (EOF): Use macro-int-constant.  Require < 0.
45763         (NULL): Use macro-constant.  Require == 0.
45764         (stdin): Require type to be FILE *.
45765         (stdout): Likewise.
45766         (stderr): Likewise.
45767         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45768         macro-int-constant.
45769         (EXIT_SUCCESS): Likewise.
45770         (NULL): Use macro-constant.  Require == 0.
45771         (RAND_MAX): Use macro-int-constant.
45772         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45773         [C99-based standards] (strtof): Require function.
45774         [C99-based standards] (strtold): Likewise.
45775         [C99-based standards] (strtoll): Likewise.
45776         [C99-based standards] (strtoull): Likewise.
45777         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45778         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45779         [ISO || ISO99 || ISO11] (math.h): Likewise.
45780         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45781         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45782         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45784 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45786         [BZ #14132]
45787         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45788         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45789         * intl/dgettext.c (DCGETTEXT): Likewise.
45790         * intl/gettext.c (DCGETTEXT): Likewise.
45791         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45792         * posix/regex_internal.h (gettext): Likewise.
45793         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45794         Remove declaration.
45795         * include/argz.h (__argz_count_internal)
45796         (__argz_stringify_internal): Remove declaration.
45797         (__argz_count, __argz_stringify): Declare hidden proto.
45798         * intl/dcgettext.c: Remove use of INTDEF.
45799         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45800         * string/argz-stringify.c: Likewise.
45801         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45802         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45803         Declare hidden proto.
45804         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45805         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45806         Declare hidden proto.
45807         * include/stdio.h (__asprintf_internal): Don't declare.
45808         (__asprintf): Don't define as macro.  Declare hidden proto.
45809         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45810         (__fsetlocking): Declare hidden proto.
45811         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45812         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45813         hidden proto.
45814         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45815         (_IO_setlinebuf): Remove use of INTUSE.
45816         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45817         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45818         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45819         Remove declaration.
45820         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45821         (_IO_do_flush): Remove use of INTUSE.
45822         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45823         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45824         (_IO_adjust_column, _IO_least_wmarker)
45825         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45826         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45827         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45828         (_IO_default_doallocate, _IO_wdefault_doallocate)
45829         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45830         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45831         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45832         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45833         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45834         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45835         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45836         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45837         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45838         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45839         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45840         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45841         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45842         proto.
45843         (_IO_flush_all_internal, _IO_adjust_column_internal)
45844         (_IO_default_uflow_internal, _IO_default_finish_internal)
45845         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45846         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45847         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45848         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45849         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45850         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45851         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45852         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45853         (_IO_file_close_internal, _IO_file_close_it_internal)
45854         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45855         (_IO_file_init_internal, _IO_file_attach_internal)
45856         (_IO_file_fopen_internal, _IO_file_read_internal)
45857         (_IO_file_sync_internal, _IO_file_seek_internal)
45858         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45859         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45860         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45861         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45862         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45863         (_IO_list_all_internal, _IO_link_in_internal)
45864         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45865         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45866         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45867         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45868         (_IO_do_write_internal, _IO_padn_internal)
45869         (_IO_getline_info_internal, _IO_getline_internal)
45870         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45871         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45872         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45873         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45874         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45875         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45876         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45877         with libc_hidden_ver, remove use of INTUSE.
45878         * libio/genops.c: Likewise.
45879         * libio/freopen.c: Likewise.
45880         * libio/freopen64.c: Likewise.
45881         * libio/iofclose.c: Likewise.
45882         * libio/iofdopen.c: Likewise.
45883         * libio/iofflush.c: Likewise.
45884         * libio/iofflush_u.c: Likewise.
45885         * libio/iofgets.c: Likewise.
45886         * libio/iofgets_u.c: Likewise.
45887         * libio/iofopen.c: Likewise.
45888         * libio/iofopncook.c: Likewise.
45889         * libio/iofread.c: Likewise.
45890         * libio/iofread_u.c: Likewise.
45891         * libio/ioftell.c: Likewise.
45892         * libio/iofwrite.c: Likewise.
45893         * libio/iogetline.c: Likewise.
45894         * libio/iogets.c: Likewise.
45895         * libio/iogetwline.c: Likewise.
45896         * libio/iopadn.c: Likewise.
45897         * libio/iopopen.c: Likewise.
45898         * libio/ioseekoff.c: Likewise.
45899         * libio/ioseekpos.c: Likewise.
45900         * libio/iosetbuffer.c: Likewise.
45901         * libio/iosetvbuf.c: Likewise.
45902         * libio/ioungetc.c: Likewise.
45903         * libio/ioungetwc.c: Likewise.
45904         * libio/iovdprintf.c: Likewise.
45905         * libio/iovsprintf.c: Likewise.
45906         * libio/iovsscanf.c: Likewise.
45907         * libio/memstream.c: Likewise.
45908         * libio/obprintf.c: Likewise.
45909         * libio/oldfileops.c: Likewise.
45910         * libio/oldiofclose.c: Likewise.
45911         * libio/oldiofdopen.c: Likewise.
45912         * libio/oldiofopen.c: Likewise.
45913         * libio/oldiopopen.c: Likewise.
45914         * libio/oldstdfiles.c: Likewise.
45915         * libio/putc.c: Likewise.
45916         * libio/setbuf.c: Likewise.
45917         * libio/setlinebuf.c: Likewise.
45918         * libio/stdfiles.c: Likewise.
45919         * libio/strops.c: Likewise.
45920         * libio/vasprintf.c: Likewise.
45921         * libio/vscanf.c: Likewise.
45922         * libio/vsnprintf.c: Likewise.
45923         * libio/vswprintf.c: Likewise.
45924         * libio/wfiledoalloc.c: Likewise.
45925         * libio/wfileops.c: Likewise.
45926         * libio/wgenops.c: Likewise.
45927         * libio/wmemstream.c: Likewise.
45928         * libio/wstrops.c: Likewise.
45929         * libio/__fpurge.c: Likewise.
45930         * libio/__fsetlocking.c: Likewise.
45931         * assert/assert.c: Likewise.
45932         * debug/fgets_chk.c: Likewise.
45933         * debug/fgets_u_chk.c: Likewise.
45934         * debug/fread_chk.c: Likewise.
45935         * debug/fread_u_chk.c: Likewise.
45936         * debug/gets_chk.c: Likewise.
45937         * debug/obprintf_chk.c: Likewise.
45938         * debug/vasprintf_chk.c: Likewise.
45939         * debug/vdprintf_chk.c: Likewise.
45940         * debug/vsnprintf_chk.c: Likewise.
45941         * debug/vsprintf_chk.c: Likewise.
45942         * malloc/mtrace.c: Likewise.
45943         * misc/error.c: Likewise.
45944         * misc/syslog.c: Likewise.
45945         * stdio-common/asprintf.c: Likewise.
45946         * stdio-common/fxprintf.c: Likewise.
45947         * stdio-common/getw.c: Likewise.
45948         * stdio-common/isoc99_fscanf.c: Likewise.
45949         * stdio-common/isoc99_scanf.c: Likewise.
45950         * stdio-common/isoc99_vfscanf.c: Likewise.
45951         * stdio-common/isoc99_vscanf.c: Likewise.
45952         * stdio-common/isoc99_vsscanf.c: Likewise.
45953         * stdio-common/printf-prs.c: Likewise.
45954         * stdio-common/printf_fp.c: Likewise.
45955         * stdio-common/printf_fphex.c: Likewise.
45956         * stdio-common/printf_size.c: Likewise.
45957         * stdio-common/putw.c: Likewise.
45958         * stdio-common/scanf.c: Likewise.
45959         * stdio-common/sprintf.c: Likewise.
45960         * stdio-common/tmpfile.c: Likewise.
45961         * stdio-common/vfprintf.c: Likewise.
45962         * stdio-common/vfscanf.c: Likewise.
45963         * stdlib/strfmon_l.c: Likewise.
45964         * sunrpc/openchild.c: Likewise.
45965         * sunrpc/xdr_stdio.c: Likewise.
45966         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45967         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45969 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45971         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45973         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45974         in the third column, to generate for the shared library an IFUNC
45975         that uses _dl_vdso_vsym.
45976         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45977         * Makeconfig (object-suffixes-noshared): New variable.
45979         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45980         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45981         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45982         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45984         [BZ #14132]
45985         * include/sys/time.h (__gettimeofday): Remove macro.
45986         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45987         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45988         Remove INTDEF.
45989         (__gettimeofday): Add libc_hidden_def.
45990         (gettimeofday): Add libc_hidden_weak.
45991         * sysdeps/mach/gettimeofday.c: Likewise.
45992         * sysdeps/posix/gettimeofday.c: Likewise.
45993         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45994         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45996         (__gettimeofday_internal): Remove strong_alias.
45997         (__gettimeofday): Add libc_hidden_def.
45998         (gettimeofday): Add libc_hidden_weak.
45999         * sysdeps/unix/syscalls.list (gettimeofday):
46000         Remove __gettimeofday_internal alias.
46002 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46003             H.J. Lu  <hongjiu.lu@intel.com>
46005         [BZ #12495]
46006         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46007         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46008         (largebin_index_32_big): New.
46009         (largebin_index): Use it for 16-byte alignment.
46010         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46011         correction with front_misalign.
46013 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46017         Likewise.
46018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46019         Likewise.
46020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46021         Likewise.
46022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46023         Likewise.
46024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46025         Likewise.
46026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46027         Likewise.
46028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46029         Likewise.
46030         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46031         Likewise.
46032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46033         Likewise.
46034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46035         Likewise.
46036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46037         Likewise.
46038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46039         Likewise.
46041         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46042         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46044 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46046         [BZ #10846]
46047         [BZ #14036]
46048         * math/libm-test.inc (exp_test): Add test from bug 14036.
46049         (pow_test): Add test from bug 10846.
46051         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46052         and other flags.
46053         (special_function): Do not include flags in test name.
46054         (parse_args): Likewise.
46055         * sysdeps/i386/fpu/libm-test-ulps: Update.
46056         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46057         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46058         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46061         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46062         exceptions.
46063         * math/libm-test.inc ("Philosophy"): Update comment about
46064         exception testing.
46065         (UNDERFLOW_EXCEPTION): New macro.
46066         (UNDERFLOW_EXCEPTION_OK): Likewise.
46067         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46068         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46069         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46070         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46071         (INVALID_EXCEPTION_OK): Update value.
46072         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46073         (OVERFLOW_EXCEPTION_OK): Likewise.
46074         (IGNORE_ZERO_INF_SIGN): Likewise.
46075         (test_exceptions): Handle underflow exceptions.
46076         (acos_test): Update for underflow exception expectations.
46077         (cexp_test): Likewise.
46078         (clog_test): Likewise.
46079         (clog10_test): Likewise.
46080         (csqrt_test): Likewise.
46081         (ctan_test): Likewise.
46082         (ctanh_test): Likewise.
46083         (exp_test): Likewise.
46084         (exp10_test): Likewise.
46085         (exp2_test): Likewise.
46086         (expm1_test): Likewise.
46087         (fma_test): Likewise.
46088         (j0_test): Likewise.
46089         (jn_test): Likewise.
46090         (nexttoward_test): Likewise.
46091         (pow_test): Likewise.
46092         (scalbn_test): Likewise.
46093         (scalbln_test): Likewise.
46094         (tan_test): Likewise.
46095         (y1_test): Likewise.
46096         * sysdeps/i386/fpu/libm-test-ulps: Update.
46097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46099 2012-05-23  David S. Miller  <davem@davemloft.net>
46101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46102         (__libc_sigaction): Remove unused local variables.
46104 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46106         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46108 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46110         mktime: avoid signed integer overflow
46111         * time/mktime.c (__mktime_internal): Do not mishandle the case
46112         where diff == INT_MIN.
46114         mktime: simplify computation of average
46115         * time/mktime.c (ranged_convert): Use new time_t_avg function
46116         instead of rolling our own (probably-slower) code.
46118         mktime: do not assume signed right shift propagates sign bit
46119         * time/mktime.c (isdst_differ): New static function.
46120         (__mktime_internal): No need to normalize tm_isdst now.
46121         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46122         tm_isdst values.
46124         mktime: merge another wrapv change from gnulib
46125         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46126         from some compilers.
46128         mktime: remove incorrect attempt at unusual arithmetics
46129         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46130         The code didn't really work on such machines anyway.
46131         (TYPE_MINIMUM): Assume two's complement.
46132         (twos_complement_arithmetic): Verify that long_int and time_t
46133         are two's complement (or unsigned, in the latter case).
46135         mktime: check signed shifts on long_int and time_t, too
46136         * time/mktime.c (SHR): Check that shifts work as desired
46137         on the types long_int and time_t too, as SHR is used on
46138         such types.
46140         mktime: do not assume 'long' is wide enough
46141         * time/mktime.c (verify): Move decl up.
46142         (long_int): New type.
46143         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46144         to remove assumption in the code that 'long' is wide enough to
46145         store year values.  This assumption is not true on x32 and on
46146         some non-glibc platforms.
46148         mktime: merge wrapv change from gnulib
46149         * time/mktime.c (WRAPV): New macro.
46150         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46151         (guess_time_tm, __mktime_internal): Do not assume that signed
46152         integer overflow wraps around; modern compilers generate code
46153         where this assumption is no longer valid.
46155 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46157         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46158         Replace "jmp L(pseudo_end)" with "ret".
46159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46160         Likewise.
46162 2012-05-23  Andreas Jaeger  <aj@suse.de>
46164         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46165         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46167 2012-05-23  Andreas Jaeger  <aj@suse.de>
46168             Maximilian Attems  <max@stro.at>
46170         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46171         New macros.
46173 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46175         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46176         code so that pseudo_end is just ret and the stack pointer is
46177         correct also for static library in error case.
46179 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46181         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46182         move to syscalls.list.
46183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46188         * manual/install.texi (Running make install): Do not mention Linux
46189         kernel version for which pt_chown is not needed.
46190         (Linux): Do not mention problems with nscd with 2.0 kernels.
46191         * INSTALL: Regenerated.
46193 2012-05-23  Andreas Jaeger  <aj@suse.de>
46195         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46196         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46197         macro.
46198         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46199         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46200         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46201         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46202         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46203         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46205         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46206         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46207         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46208         * sysdeps/unix/sysv/linux/bits/in.h
46209         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46211 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46213         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46214         (PREPARE_VERSION): Just use assert instead, it will be elided
46215         under [NDEBUG] anyway.
46217 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46219         * sysdeps/unix/sysv/linux/Makefile: Include
46220         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46221         (sysdep_routines): Remove sysctl.
46222         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46223         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46224         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46225         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46226         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46228 2012-05-22  Andreas Jaeger  <aj@suse.de>
46230         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46231         that pseudo_end is just ret and the stack pointer is correct also
46232         for static library in error case.
46234 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46236         [BZ #14122]
46237         * nss/nsswitch.c (defconfig_entries): New variable.
46238         (__nss_database_lookup): Don't leak defconfig entries.
46239         (nss_parse_service_list): Don't leak on error paths.
46240         (free_database_entries): New function.
46241         (free_defconfig): New function.
46242         (free_mem): Move common code to free_database_entries.
46244 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46246         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46247         Add arch_prctl.
46248         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46251         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46253         New macro.
46254         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46255         (INTERNAL_SYSCALL_TYPES): Likewise.
46256         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46257         (LOAD_REGS_TYPES_[1-6]): Likewise.
46258         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46259         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46261 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46263         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46264         copysignl for GLIBC_2_0.
46265         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46266         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46268         logbl for GLIBC_2_0.
46269         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46270         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46272 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46275         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46277         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46278         Use "neg %eax".
46280         * time/mktime.c: Update copyright years.
46282 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46284         mktime: merge comment-quoting-style change from gnulib
46285         * time/mktime.c: Quote 'like this' in comments.
46286         The GNU coding standards suggest that we no longer quote `like this',
46287         as "`" and "'" are typically rendered asymmetrically nowadays.
46288         The typical gnulib style is to quote 'like this' when quoting
46289         code, and "like this" when quoting English.
46291         * time/mktime.c (compile-command): Add "-I.".
46293         mktime: merge mktime-internal.h change from gnulib
46294         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46296         mktime: merge time_r change from gnulib
46297         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46299         mktime: merge DEBUG change from gnulib
46300         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46301         case system <time.h> has a #define.
46303         mktime: merge <sys/types.h> change from gnulib
46304         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46305         since <time.t> is now guaranteed to define time_t.
46307         mktime: merge HAVE_CONFIG_H change from gnulib
46308         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46313         Use "neg %eax".
46315         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46316         __rlim_t cast.
46317         (struct rusage): Use anonymous union to pad each field to
46318         __syscall_slong_t.
46320 2012-05-21  David S. Miller  <davem@davemloft.net>
46322         * Makefules (o-iterator): Remove .s cases.
46323         (compile-command.s): Delete.
46324         (COMPILE.s): Delete.
46325         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46327 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46329         * configure.in (libc_cv_predef_stack_protector): Only consider
46330         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46331         * configure: Regenerated.
46333 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46336         New macro.  Use R*LP on int and pointer.
46337         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46338         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46339         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46340         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46342         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46343         [__WORDSIZE_TIME64_COMPAT32] instead of
46344         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46345         (struct utmp): Likewise.
46346         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46347         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46348         Renamed to ...
46349         (__WORDSIZE_TIME64_COMPAT32): This.
46350         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46351         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46352         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46353         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46354         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46355         (__WORDSIZE_TIME64_COMPAT32): New macro.
46357 2012-05-21  Andreas Jaeger  <aj@suse.de>
46359         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46360         only if [SHARED]. Add prototype for __wcschr_ia32.
46362 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46364         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46365         of %rbp unmolested in the jmp_buf while mangling the low bits.
46366         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46367         unmolested high bits of %rbp while demangling the low bits.
46368         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46370 2012-05-21  Andreas Jaeger  <aj@suse.de>
46372         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46373         * sunrpc/svc_simple.c: Use it for registerrpc.
46374         * sunrpc/xcrypt.c: Use it for passwd2des.
46376         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46378 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46380         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46381         Don't define if [__SYSCALL_WORDSIZE != 32].
46382         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46383         New macro.
46385 2012-05-21  Bruno Haible  <bruno@clisp.org>
46386             Andreas Jaeger  <aj@suse.de>
46388         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46389         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46390         inptr and inend for must_buffer_ch.
46391         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46392         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46393         * stdio-common/Makefile (tests): Remove bug15.
46394         (bug15-ENV): Remove macro.
46395         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46396         anymore.
46398 2012-05-19  Andreas Jaeger  <aj@suse.de>
46399             Roland McGrath  <roland@hack.frob.com>
46401         * manual/contrib.texi: Completely rewritten. It contains now an
46402         alphabetical list of contributors and their contributions.
46404 2012-05-21  Richard Henderson  <rth@twiddle.net>
46406         * misc/getauxval.c (__getauxval): Use unsigned long int.
46407         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46408         (getauxval): Use unsigned long int.
46410 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46412         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46414 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46416         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46417         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46418         __alignof__ (long double).
46420 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46424 2012-05-20  Richard Henderson  <rth@twiddle.net>
46426         * misc/getauxval.c: New file.
46427         * misc/sys/auxv.h: New file.
46428         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46429         (routines): Add getauxval.
46430         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46431         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46432         * elf/dl-sysdep.c (_dl_auxv): Remove.
46433         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46434         * elf/dl-support.c (_dl_auxv): New variable.
46435         (_dl_aux_init): Initialize it.
46436         * manual/startup.texi (Auxiliary Vector): New node.
46437         * sysdeps/generic/bits/hwcap.h: New file.
46438         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46439         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46440         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46441         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46442         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46443         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46445         Update.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46455 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46459 2012-05-19  David S. Miller  <davem@davemloft.net>
46461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46463 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46465         [BZ #14123]
46466         * math/s_ccosh.c: Include <float.h>
46467         (__ccosh): Avoid internal overflow calculating sinh and cosh
46468         values before multiplying by sin and cos values.
46469         * math/s_ccoshf.c: Likewise.
46470         * math/s_ccoshl.c: Likewise.
46471         * math/s_csin.c: Likewise.
46472         * math/s_csinf.c: Likewise.
46473         * math/s_csinl.c: Likewise.
46474         * math/s_csinh.c: Likewise.
46475         * math/s_csinhf.c: Likewise.
46476         * math/s_csinhl.c: Likewise.
46477         * math/libm-test.inc (ccos_test): Add more tests.
46478         (ccosh_test): Likewise.
46479         (csin_test): Likewise.
46480         (csinh_test): Likewise.
46481         * sysdeps/i386/fpu/libm-test-ulps: Update.
46482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46484 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46486         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46487         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46489         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46491 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46493         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46494         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46495         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46496         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46497         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46498         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46499         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46500         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46501         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46502         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46503         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46504         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46505         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46506         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46507         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46508         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46509         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46510         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46511         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46512         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46513         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46514         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46515         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46516         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46517         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46518         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46519         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46520         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46521         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46522         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46523         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46525 2012-05-18  Andreas Jaeger  <aj@suse.de>
46527         * csu/.gitignore: Delete.
46529 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46531         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46532         (timex): Use __syscall_slong_t.
46534 2012-05-18  Andreas Jaeger  <aj@suse.de>
46535             Carlos O'Donell  <carlos_odonell@mentor.com>
46537         * manual/install.texi (Configuring and compiling): Update
46538         description about files modified in the source directory.
46539         * INSTALL: Regenerated.
46541 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46543         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46544         value.  Use "or" to set return value to -1.
46545         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46546         negate return value.
46548 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46550         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46551         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46552         failure if the compiler has Graphite support disabled.
46553         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46554         Likewise.
46555         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46556         (CFLAGS-memmove.c): Likewise.
46557         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46558         Likewise.
46560 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46562         * sysdeps/x86_64/x32/_itoa.h: New file.
46564         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46565         getdents system call only if kernel and user dirents have the
46566         same d_ino and d_off.
46568         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46569         LLONG_MAX != LONG_MAX.
46570         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46571         (_fitoa_word): Likewise.
46573         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46574         years.
46575         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46577         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46579         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46580         include <bits/wordsize.h>.  Check __x86_64__ instead of
46581         __WORDSIZE.
46582         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46583         if __x86_64__ is defined.  Use anonymous union on fpstate.
46585         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46586         anonymous union.
46588 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46590         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46591         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46592         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46593         Refer to _rtld_local_ro instead of _rtld_global_ro.
46594         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46595         Likewise.
46596         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46597         Likewise.
46598         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46599         Likewise.
46600         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46601         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46602         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46604         * sysdeps/powerpc/powerpc32/dl-machine.c
46605         (__elf_machine_runtime_setup) [PROF]: Don't reference
46606         _dl_prof_resolve.
46608 2012-05-18  Andreas Jaeger  <aj@suse.de>
46610         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46611         function only available for GCCs before 3.4 since GCC 3.4
46612         introduced a builtin.
46613         (lrint): Likewise.
46614         (llrintf): Likewise.
46615         (llrint): Likewise.
46616         (fmaxf): Likewise.
46617         (fmax): Likewise.
46618         (fminf): Likewise.
46619         (fmin): Likewise.
46620         (rint): Likewise.
46621         (rintf): Likewise.
46622         (nearbyint): Likewise.
46623         (nearbyintf): Likewise.
46624         (ceil): Likewise.
46625         (ceilf): Likewise.
46626         (floor): Likewise.
46627         (floorf): Likewise.
46629 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46631         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46632         on both fields and cast pointer to __syscall_ulong_t.
46634         * bits/types.h (__fsword_t): New type.
46635         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46636         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46638         (__FSWORD_T_TYPE): Likewise.
46639         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46640         (__FSWORD_T_TYPE): Likewise.
46641         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46642         (__FSWORD_T_TYPE): Likewise.
46643         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46644         (__FSWORD_T_TYPE): Likewise.
46645         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46646         __SWORD_TYPE with __fsword_t.
46647         (statfs64): Likewise.
46649 2012-05-17  David S. Miller  <davem@davemloft.net>
46651         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46653 2012-05-17  Andreas Jaeger  <aj@suse.de>
46655         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46656         warning.
46658 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46660         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46662 2012-05-17  Andreas Jaeger  <aj@suse.de>
46664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46665         when it is used.
46667 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46669         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46671 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46673         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46674         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46676 2012-05-17  Andreas Jaeger  <aj@suse.de>
46677             Carlos O'Donell  <carlos_odonell@mentor.com>
46679         [BZ #14059]
46680         * sysdeps/x86_64/multiarch/init-arch.h
46681         (bit_YMM_Usable): Rename to...
46682         (bit_AVX_Usable): ... this.
46683         (bit_FMA4_Usable): New macro.
46684         (bit_XMM_state): New macro.
46685         (bit_YMM_state): New macro.
46686         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46687         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46688         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46689         (CPUID_OSXSAVE): New macro.
46690         (CPUID_AVX): New macro.
46691         (CPUID_FMA4): New macro.
46692         (index_YMM_Usable): Rename to...
46693         (index_AVX_Usable): ... this.
46694         (HAS_AVX): Use HAS_ARCH_FEATURE.
46695         (HAS_FMA4): Likewise.
46696         (HAS_YMM_USABLE): Remove.
46697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46698         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46699         are present.
46700         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46701         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46702         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46703         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46704         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46706 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46708         * math/libm-test.c: Support platforms without multiple rounding modes.
46709         * math/bug-nextafter.c: Support platforms without FP exceptions.
46710         * math/bug-nexttoward.c: Likewise.
46711         * math/test-fenv.c: Likewise.
46712         * math/test-misc.c: Likewise.
46713         * stdlib/bug-getcontext.c: Likewise.
46715 2012-05-17  Andreas Jaeger  <aj@suse.de>
46717         * manual/examples/search.c (critter_cmp): Change signature to
46718         avoid warnings.
46719         * manual/string.texi (Collation Functions): Likewise.
46721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46723         * bits/types.h: Fold copyright years.
46724         * bits/typesizes.h: Likewise.
46725         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46726         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46729         * time/time.h: Likewise.
46731 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46733         [BZ #208]
46734         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46735         in instead of returning them.  Return void.
46736         (__libc_mallinfo): Accumulate over all arenas.
46737         (__malloc_stats): Adjust for change in int_mallinfo interface.
46739 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46741         [BZ #10375]
46742         * configure.in (NM): Add AC_CHECK_TOOL for it.
46743         (libc_extra_cflags): New substituted variable.
46744         Check for -fstack-protector being used implicitly.
46745         * configure: Regenerated.
46746         * config.make.in (config-extra-cflags): New variable,
46747         gets @libc_extra_cflags@.
46748         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46750         [BZ #10375]
46751         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46752         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46753         * configure: Regenerated.
46754         * config.make.in (CPPUNDEFS): New substituted variable.
46755         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46756         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46757         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46761         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46762         (mq_attr): Use __syscall_slong_t.
46764 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46766         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46767         Check __x86_64__ instead of __WORDSIZE.
46768         (_STAT_VER_LINUX): Likewise.
46769         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46770         __syscall_ulong_t and __syscall_slong_t.
46771         (stat64): Likewise.
46773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46775         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46779         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46781 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46783         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46784         __syscall_ulong_t.
46786         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46787         include <bits/wordsize.h>.  Check __x86_64__ instead of
46788         __WORDSIZE.
46789         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46790         defined.
46791         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46793         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46794         include <bits/wordsize.h>.  Check __x86_64__ instead of
46795         __WORDSIZE.
46796         (user_regs_struct): Use "__extension__ unsigned long long"
46797         instead of "unsigned long" if __x86_64__ is defined.
46798         (user): Likewise.  Pad after pointer field if __ILP32__ is
46799         defined.
46801 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46803         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46804         versions 5 to 9.
46805         * configure: Regenerated.
46806         * manual/install.texi (texinfo): Increase version requirement to
46807         4.5 or later.
46808         * INSTALL: Regenerated.
46810         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46812 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46814         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46816         * sysdeps/x86_64/x32/ffs.c: New file.
46818         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46819         __syscall_ulong_t.
46820         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46821         defined.  Use __syscall_ulong_t.
46822         (shminfo): Use __syscall_ulong_t.
46823         (shm_info): Likewise.
46825         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46826         __syscall_ulong_t.
46828         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46829         <bits/wordsize.h>.
46830         (msgqnum_t): Use __syscall_ulong_t.
46831         (msglen_t): Likewise.
46832         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46833         __syscall_ulong_t.
46835         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46836         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46838         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46840         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46841         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46843         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46844         __syscall_slong_t.
46846         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46847         include <bits/wordsize.h>.  Check __x86_64__ instead of
46848         __WORDSIZE.
46850         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46851         "unsigned long long int" if __x86_64__ is defined.
46852         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46854         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46855         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46856         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46858         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46859         <stdint.h>.
46860         (GET_PC): Cast to uintptr_t first.
46861         (GET_FRAME): Likewise.
46862         (GET_STACK): Likewise.
46864         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46865         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46866         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46867         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46868         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46869         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46870         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46871         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46872         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46873         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46874         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46875         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46876         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46877         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46878         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46879         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46880         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46881         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46882         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46883         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46884         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46885         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46886         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46887         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46888         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46889         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46891         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46892         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46894 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46896         * Makerules (+depfiles): Also collect depfiles from .oS in
46897         $(extra-objs).
46898         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46899         .oS, $(libnldbl-routines)).
46901         * Makerules (native-compile-mkdep-flags): Define.
46902         * sunrpc/Makefile (extra-objs): Add $(addprefix
46903         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46904         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46905         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46906         calling $(make-target-directory).
46908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46910         * bits/types.h (__snseconds_t): Removed.
46911         * time/time.h (struct timespec): Replace __snseconds_t with
46912         __syscall_slong_t.
46913         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46914         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46915         Likewise.
46916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46917         (__SNSECONDS_T_TYPE): Likewise.
46918         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46919         (__SNSECONDS_T_TYPE): Likewise.
46920         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46921         (__SNSECONDS_T_TYPE): Likewise.
46923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46925         * sysdeps/mach/hurd/bits/typesizes.h
46926         (__SYSCALL_SLONG_TYPE): New macro.
46927         (__SYSCALL_ULONG_TYPE): Likewise.
46929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46931         * bits/types.h (__syscall_slong_t): New type.
46932         (__syscall_ulong_t): Likewise.
46934         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46935         (__SYSCALL_ULONG_TYPE): Likewise.
46936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46937         (__SYSCALL_SLONG_TYPE): Likewise.
46938         (__SYSCALL_ULONG_TYPE): Likewise.
46939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46940         (__SYSCALL_SLONG_TYPE): Likewise.
46941         (__SYSCALL_ULONG_TYPE): Likewise.
46942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46943         (__SYSCALL_SLONG_TYPE): Likewise.
46944         (__SYSCALL_ULONG_TYPE): Likewise.
46946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46948         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46949         Add sigaltstack-offsets.sym.
46950         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46951         <sigaltstack-offsets.h>.
46952         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46953         longjmp_msg pointer.
46954         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46955         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46956         signal stack.
46957         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46959 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46961         * elf/stackguard-macros.h: Remove file.
46962         * sysdeps/generic/stackguard-macros.h: New file.
46963         * sysdeps/i386/stackguard-macros.h: Likewise.
46964         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46965         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46966         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46967         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46968         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46969         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46970         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46971         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46972         <elf/stackguard-macros.h>.
46974         [BZ #14109]
46975         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46976         __aligned__ in attribute.
46977         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46978         (gregset_t): Likewise.
46980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46982         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46983         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46984         * sysdeps/x86_64/x32/Implies-after: New file.
46986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46988         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46989         and access return value for _dl_profile_fixup.  Use R10_LP to
46990         load frame size.
46992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46994         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46998         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46999         * sysdeps/x86_64/x32/sysdep.h: New file.
47001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47003         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47004         * sysdeps/x86_64/setjmp.S: Likewise.
47006 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47008         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47009         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47010         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47011         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47012         remove unused global constant.
47014 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47016         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47017         include of <not-cancel.h>.
47019 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47021         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47023 2012-05-15  Jeff Law  <law@redhat.com>
47024             Andreas Jaeger  <aj@suse.de>
47026         [BZ #13594]
47027         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47028         out from...
47029         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47030         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47031         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47032         code changing __hst_map_handle.map.
47034 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47036         * configure.in (sysnames): Look for Implies-before and Implies-after
47037         files.
47038         * configure: Regenerated.
47040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47042         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47043         8-byte data alignment with LP_SIZE alignment.
47045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47047         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47048         into R10_LP.
47050 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47052         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47056         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47057         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47058         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47059         Likewise.
47060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47064         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47065         (stackinfo_sub_sp): Likewise.
47067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47069         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47070         RAX_LP.
47072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47075         into R*_LP.
47077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47079         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47080         sizes into R*_LP.
47082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47084         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47088         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47089         into R11_LP and load __x86_64_shared_cache_size_half into
47090         R8_LP.
47092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47094         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47095         R8_LP.
47097 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47100         logb for POWER7.
47101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47102         logbf for POWER7.
47103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47104         logbl for POWER7.
47105         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47106         powerpc32/power7/fpu/s_logb.c via #include.
47107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47108         powerpc32/power7/fpu/s_logbf.c via #include.
47109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47110         powerpc32/power7/fpu/s_logbl.c via #include.
47112 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47114         * README.libm: Remove file.
47116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47118         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47119         count for x32.  Use R*_LP and omit operand-size suffix.
47121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47123         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47124         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47125         * sysdeps/x86_64/x32/shlib-versions: New file.
47127 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47129         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47130         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47131         Use _dl_fatal_printf instead.
47133 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47135         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47136         set if not set by the user.  Do not allow for being unset.
47137         * sysdeps/unix/sysv/linux/configure: Regenerated.
47139 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47141         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47142         the `q' suffix from lea and replace .quad with ASM_ADDR.
47144 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47147         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47148         instead of $17.
47149         (PTR_DEMANGLE): Likewise.
47151 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47153         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47154         (LP_OP): Likewise.
47155         (ASM_ADDR): Likewise.
47156         (RAX_LP): Likewise.
47157         (RBP_LP): Likewise.
47158         (RBX_LP): Likewise.
47159         (RCX_LP): Likewise.
47160         (RDI_LP): Likewise.
47161         (RSI_LP): Likewise.
47162         (RSP_LP): Likewise.
47163         (R8_LP): Likewise.
47164         (R9_LP): Likewise.
47165         (R10_LP): Likewise.
47166         (R10_LP): Likewise.
47167         (R11_LP): Likewise.
47168         (R12_LP): Likewise.
47169         (R13_LP): Likewise.
47170         (R14_LP): Likewise.
47171         (R15_LP): Likewise.
47173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47175         * sysdeps/x86_64/x32/dl-machine.h: New file.
47177 2012-05-14  Andreas Jaeger  <aj@suse.de>
47179         * manual/Makefile (subdir): Remove export of subdir.
47180         (all): Remove target.
47181         (.PHONY): Remove all from list.
47182         (mkinstalldirs): Remove.
47183         (.PHONY): Remove installdirs from list.
47184         ($(inst_infodir)/libc.info): Use make-target-directory.
47185         (installdirs): Remove.
47186         (subdir_%): Remove.
47187         (glibc-targets): Remove.
47188         (lib): Remove.
47189         (stubs): Remove.
47190         ($(objpfx)stubs ../po/manual.pot): Remove.
47191         ($(objpfx)stamp%): Remove.
47192         (make-target-directory): Remove.
47193         (subdir_install): Remove.
47194         (routines): Remove.
47195         (aux): Remove.
47196         (sources): Remove.
47197         (objects): Remove.
47198         (headers): Remove.
47200         [BZ #13750]
47201         * manual/.gitignore: Remove, it's not needed anymore.
47202         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47203         all files in it.
47204         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47205         directory.
47206         (texis): Renamed to $(objpfx)texis.
47207         (texis-path): New, contains path to generated files.
47208         (chapters.%): Use texis-path for complete path, add extra argument
47209         libc-texinfo.sh.
47210         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47211         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47212         (summary,texi, stamp-summary): Use complete path of
47213         files. Generate files in build dir.
47214         (dir-add.texi): Build in build dir.
47215         (libm-err.texi,stamp-libm-err): Likewise.
47216         (version.texi, stamp-version): Likewise.
47217         (.%c.texi): Likewise.
47218         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47219         (mostlyclean): Remove target.
47220         (realclean): Remove target.
47221         (generated): Add new variable with contents from mostlyclean and
47222         realclean, remove entries duplicated in common-mostlyclean, add
47223         stamp-libm-err and stamp-version.
47224         (generated-dirs): Add libc directory.
47225         ($(inst_infodir)/libc.info): Install files from build dir.
47227         * manual/install.texi (Configuring and compiling): Adjust since
47228         the info files are not part of the tar ball anymore.
47230 2012-05-14  Andreas Jaeger  <aj@suse.de>
47232         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47233         variable.
47235 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47237         [BZ #13717]
47238         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47239         to 2.2.0 where earlier.
47240         * sysdeps/unix/sysv/linux/configure: Regenerated.
47241         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47242         Remove conditional code.
47243         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47244         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47245         Remove conditional code.
47246         [!__NR_lchown]: Likewise.
47247         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47248         [__NR_lchown]: Likewise.
47249         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47250         comment referencing __ASSUME_LCHOWN_SYSCALL.
47251         * sysdeps/unix/sysv/linux/i386/sigaction.c
47252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47254         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47255         Remove conditional code.
47256         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47257         (__protocol_available): Remove #if 0 code.
47258         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47259         conditional code.
47260         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47261         * sysdeps/unix/sysv/linux/kernel-features.h
47262         (__ASSUME_GETCWD_SYSCALL): Don't define.
47263         (__ASSUME_REALTIME_SIGNALS): Likewise.
47264         (__ASSUME_PREAD_SYSCALL): Likewise.
47265         (__ASSUME_PWRITE_SYSCALL): Likewise.
47266         (__ASSUME_POLL_SYSCALL): Likewise.
47267         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47268         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47269         non-SPARC.
47270         (__ASSUME_SIOCGIFNAME): Don't define.
47271         (__ASSUME_MSG_NOSIGNAL): Likewise.
47272         (__ASSUME_SENDFILE): Define unconditionally.
47273         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47274         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47275         conditional code.
47276         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47277         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47278         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47279         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47280         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47281         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47282         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47284         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47285         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47287         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47290         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47291         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47293         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47296         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47297         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47299         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47300         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47302         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47303         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47305         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47306         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47307         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47308         Remove conditional code.
47309         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47310         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47311         Remove conditional code.
47312         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47313         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47314         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47315         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47316         Remove conditional code.
47317         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47318         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47319         Remove conditional code.
47320         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47321         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47322         Remove conditional code.
47323         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47324         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47325         Remove conditional code.
47326         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47327         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47328         Remove conditional code.
47329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47330         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47331         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47332         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47333         * sysdeps/unix/sysv/linux/sigaction.c
47334         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47335         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47336         * sysdeps/unix/sysv/linux/sigpending.c
47337         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47338         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47339         * sysdeps/unix/sysv/linux/sigprocmask.c
47340         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47341         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47342         * sysdeps/unix/sysv/linux/sigsuspend.c
47343         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47344         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47345         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47346         (__libc_missing_rt_sigs): Remove.
47347         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47348         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47349         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47350         Remove conditional code.
47351         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47352         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47353         return 1.
47354         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47355         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47356         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47357         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47359 2012-05-14  Andreas Jaeger  <aj@suse.de>
47361         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47362         it's not used in glibc.
47363         (__coshm1): Likewise.
47364         (__acosh1p): Likewise.
47365         (__sgn): Likewise.
47367         * manual/string.texi (Copying and Concatenation): Add missing
47368         variable in concat example.
47369         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47371 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47373         [BZ #14103]
47374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47375         __builtin_clzl with __builtin_clzll.
47377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47379         [BZ #14104]
47380         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47381         libc_freeres_ptr.
47383 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47385         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47386         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47387         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47388         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47390 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47392         * NEWS: Update ia64 info.
47394 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47396         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47397         used as bcopy.
47399 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47401         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47402         * sysdeps/unix/syscalls.list (dup3): Likewise.
47403         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47404         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47406 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47408         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47409         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47411 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47413         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47414         thread pointer.
47415         (TLS_IE): Use mov/add instead of movq/addq to load thread
47416         pointer.
47417         (TLS_GD_PREFIX): New.
47418         (TLS_GD): Use it.
47420 2012-05-11  David S. Miller  <davem@davemloft.net>
47422         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47423         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47424         (_FPU_SETCW): Likewise.
47426 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47428         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47429         is 32-byte aligned.
47431 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47433         [BZ #11837]
47434         * iconvdata/gb18030.c: Update tables.
47435         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47436         characters specially.
47437         (BODY for TO_LOOP): Add encoding of missing ranges.
47439 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47441         [BZ #13673]
47442         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47443         * sysdeps/mach/hurd/dup3.c: Likewise.
47444         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47445         * sysdeps/powerpc/memmove.c:: Likewise.
47447 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47449         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47450         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47452 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47454         * elf/elf.h (R_X86_64_RELATIVE64): New.
47455         (R_X86_64_NUM): Updated.
47456         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47457         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47458         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47459         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47460         tst-quad1pie tst-quad2pie
47461         (modules-names): Add tst-quadmod1 tst-quadmod2.
47462         ($(objpfx)tst-quad1): New dependency.
47463         ($(objpfx)tst-quad2): Likewise.
47464         ($(objpfx)tst-quad1pie): Likewise.
47465         ($(objpfx)tst-quad2pie): Likewise.
47466         * sysdeps/x86_64/tst-quad1.c: New file.
47467         * sysdeps/x86_64/tst-quad1pie.c: New file.
47468         * sysdeps/x86_64/tst-quad2.c: Likewise.
47469         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47470         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47471         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47472         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47473         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47477         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47478         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47479         * streams/stropts.h (t_scalar_t): Define type.
47481         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47482         (_PATH_PRESERVE): Set to "/var/lib".
47483         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47485         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47486         instead of int.
47488         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47489         if __dir_mkfile succeeded.
47491         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47492         checking for _hurd_dtablesize.  Unlock it right after having
47493         finished _hurd_dtable allocation.
47495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47497         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47498         * sysdeps/mach/hurd/configure: Regenerated.
47499         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47500         special-casing to...
47501         * sysdeps/gnu/configure.in: ... this new file.
47502         * sysdeps/unix/sysv/linux/configure: Regenerated.
47503         * sysdeps/gnu/configure: New generated file.
47505         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47506         for Linux: use nsec instead of usec, as well as:
47507         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47508         members of type struct timespec.
47509         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47510         New macros.
47511         (struct stat64): Likewise.
47512         (_STATBUF_ST_NSEC): New macro.
47513         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47515         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47516         __strtoul_internal rather than strtoul.
47518 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47520         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47521         and reject them.
47523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47525         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47526         which preserves existing values.
47527         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47531         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47532         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47533         greater than FD_SETSIZE.
47535 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47537         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47538         allocated, call __vm_protect to finish enabling the existing space, and
47539         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47540         allocate the remainder.
47542 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47544         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47545         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47549         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47550         sysdeps/mach/hurd/readlink.c.
47552         * posix/tst-sysconf.c (posix_options): Only use
47553         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47554         _POSIX_SYNCHRONIZED_IO when they are defined
47555         * sysdeps/mach/hurd/bits/posix_opt.h:
47556         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47557         (_XOPEN_REALTIME): Undefine macro.
47558         (_XOPEN_REALTIME_THREADS): Undefine macro.
47559         (_XOPEN_SHM): Undefine macro.
47560         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47561         macro to -1.
47562         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47563         macro to -1.
47564         (_POSIX_ASYNC_IO): Undefine macro.
47565         (_POSIX_PRIORITIZED_IO): Undefine macro.
47566         (_POSIX_SPIN_LOCKS): Define macro to -1.
47568         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47569         SA_NODEFER, SA_RESETHAND.
47570         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47571         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47572         F_DUPFD_CLOEXEC.
47574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47576         * elf/Makefile (pldd-modules): Define unconditionally.
47578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47580         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47584         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47585         Return ENOENT when name is empty.
47586         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47590         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47592         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47596         Fix mlock in all cases except non-readable pages.
47597         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47598         instead of VM_PROT_ALL as parameter to __vm_wire function.
47600         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47601         (__mkdir): When path is `/', just fail with EEXIST.
47602         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47606         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47607         <sys/uio.h> (for writev).
47608         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47609         and <sys/param.h> (for MIN).
47611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47613         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47614         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47615         if interrupted.
47617 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47619         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47620         Depend on against $(link-rpcuserlibs).
47622 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47624         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47625         (__libc_stack_end): Do not use attribute_relro.
47626         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47627         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47628         to libthread-provided value.
47629         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47630         attribute_relro.
47632 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47634         [BZ #3748]
47635         * bits/libc-lock.h (__libc_once_get): New macro.
47636         * sysdeps/mach/bits/libc-lock.h: Likewise.
47637         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47639         instead of using implementation details.
47641         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47642         * libio/freopen.c: Likewise.
47643         * libio/freopen64.c: Likewise.
47644         * misc/syslog.c: Likewise.
47645         * nscd/connections.c: Likewise.
47646         * nscd/netgroupcache.c: Likewise.
47647         * sysdeps/posix/getcwd.c: Likewise.
47649 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47651         * math/w_ilogbf.c: Add #include <limits.h>.
47653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47655         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47656         path instead of returning without unlocking.
47658         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47659         immediate-write ioctls.
47660         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47664         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47665         __builtin_frame_address instead of making assumptions about the
47666         location of the return address relative to DATA.  Force early load of
47667         the return address.
47668         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47669         __builtin_frame_address.
47671         dup3 for GNU Hurd.
47672         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47673         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47674         implement dup3 and do some further code clean-ups.
47675         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47676         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47680         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47682         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47683         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47684         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47685         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47686         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47687         d->port.lock.
47689         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47690         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47691         when handler == SIG_ERR, not when handler != SIG_ERR.
47693 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47695         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47696         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47697         definitions.
47699         accept4 for GNU Hurd.
47700         * include/sys/socket.h (__libc_accept4): New prototype.
47701         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47702         to implement __libc_accept4.
47703         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47704         __libc_accept4.
47705         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47707         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47708         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47709         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47710         signal-defines.sym.
47712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47714         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47716 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47718         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47719         assertion on O_CLOEXEC flag.
47720         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47721         * hurd/intern-fd.c: Likewise.
47722         * hurd/port2fd.c: Likewise.
47724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47726         [BZ #3906]
47727         * bits/in.h (IPV6_PKTINFO): Define new macro.
47728         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47730 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47732         [BZ #13954]
47733         [BZ #13955]
47734         [BZ #13956]
47735         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47737         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47738         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47739         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47740         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47741         * math/libm-test.inc (logb_test) : Additional logb tests.
47743 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47744             Andreas Jaeger  <aj@suse.de>
47746         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47747         * configure: Regenerated.
47748         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47749         * config.make.in (link-obsolete-rpc): New substituted variable.
47750         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47751         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47752         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47753         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47754         so that libc.a contains the symbols.
47755         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47756         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47757         * sunrpc/auth_none.c: Likewise.
47758         * sunrpc/auth_unix.c: Likewise.
47759         * sunrpc/authdes_prot.c: Likewise.
47760         * sunrpc/authuxprot.c: Likewise.
47761         * sunrpc/clnt_gen.c: Likewise.
47762         * sunrpc/clnt_perr.c: Likewise.
47763         * sunrpc/clnt_raw.c: Likewise.
47764         * sunrpc/clnt_simp.c: Likewise.
47765         * sunrpc/clnt_tcp.c: Likewise.
47766         * sunrpc/clnt_udp.c: Likewise.
47767         * sunrpc/clnt_unix.c: Likewise.
47768         * sunrpc/des_crypt.c: Likewise.
47769         * sunrpc/des_soft.c: Likewise.
47770         * sunrpc/get_myaddr.c: Likewise.
47771         * sunrpc/key_call.c: Likewise.
47772         * sunrpc/key_prot.c: Likewise.
47773         * sunrpc/netname.c: Likewise.
47774         * sunrpc/pm_getmaps.c: Likewise.
47775         * sunrpc/pm_getport.c: Likewise.
47776         * sunrpc/pmap_clnt.c: Likewise.
47777         * sunrpc/pmap_prot.c: Likewise.
47778         * sunrpc/pmap_prot2.c: Likewise.
47779         * sunrpc/pmap_rmt.c: Likewise.
47780         * sunrpc/publickey.c: Likewise.
47781         * sunrpc/rpc_cmsg.c: Likewise.
47782         * sunrpc/rpc_common.c: Likewise.
47783         * sunrpc/rpc_dtable.c: Likewise.
47784         * sunrpc/rpc_prot.c: Likewise.
47785         * sunrpc/rpc_thread.c: Likewise.
47786         * sunrpc/rtime.c: Likewise.
47787         * sunrpc/svc.c: Likewise.
47788         * sunrpc/svc_auth.c: Likewise.
47789         * sunrpc/svc_raw.c: Likewise.
47790         * sunrpc/svc_run.c: Likewise.
47791         * sunrpc/svc_tcp.c: Likewise.
47792         * sunrpc/svc_udp.c: Likewise.
47793         * sunrpc/svc_unix.c: Likewise.
47794         * sunrpc/svcauth_des.c: Likewise.
47795         * sunrpc/xcrypt.c: Likewise.
47796         * sunrpc/xdr.c: Likewise.
47797         * sunrpc/xdr_array.c: Likewise.
47798         * sunrpc/xdr_float.c: Likewise.
47799         * sunrpc/xdr_intXX_t.c: Likewise.
47800         * sunrpc/xdr_mem.c: Likewise.
47801         * sunrpc/xdr_rec.c: Likewise.
47802         * sunrpc/xdr_ref.c: Likewise.
47803         * sunrpc/xdr_sizeof.c: Likewise.
47804         * sunrpc/xdr_stdio.c: Likewise.
47806 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47809         change.  Update copyright years.
47811 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47813         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47815 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47816             Joseph Myers  <joseph@codesourcery.com>
47817             Paul Pluzhnikov  <ppluzhnikov@google.com>
47819         [BZ #14012]
47820         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47821         requiring rpcgen.
47822         [cross-compiling] (extra-libs): Likewise.
47823         [cross-compiling] (extra-libs-others): Likewise.
47824         [cross-compiling] (librpcsvc-routines): Likewise.
47825         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47826         [cross-compiling] (omit-deps): Likewise.
47827         (sunrpc-CPPFLAGS): New variable.
47828         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47829         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47830         (cross-rpcgen-objs): New variable.
47831         (extra-objs): Append $(cross-rpcgen-objs).
47832         ($(cross-rpcgen-objs)): New rule.
47833         ($(objpfx)cross-rpcgen): Likewise.
47834         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47835         comment.
47836         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47837         ($(objpfx)x%.stmp): Likewise.
47838         * sunrpc/proto.h [IS_IN_build] (_): Define.
47839         [IS_IN_build] (_libc_intl_domainname): Likewise.
47841 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47843         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47844         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47845         and R_X86_64_TPOFF64.
47847 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47849         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47850         sysdeps/unix/sysv/syscalls.list.
47851         (stime): Likewise.
47852         (utime): Likewise.
47853         * sysdeps/unix/sysv/syscalls.list: Remove file.
47855 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47857         [BZ #3440]
47858         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47859         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47860         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47861         (__LC_IDENTIFICATION): Make these macros useful in #if
47862         expressions, as required by C99.
47864 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47866         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47867         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47868         after this.
47870 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47872         * stdlib/longlong.h: Updated from GCC.
47874 2012-05-09  Andreas Jaeger  <aj@suse.de>
47876         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47877         default is first entry.
47878         (run_mode): Set type.
47879         (main): Remove informal message about syslog.
47880         (options): Fix typo.
47882         [BZ #14053]
47883         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47884         to asm.
47885         (lrint): Likewise.
47886         (llrintf): Likewise.
47887         (llrint): Likewise.
47888         (rint): Likewise.
47889         (rintf): Likewise.
47890         (nearbyint): Likewise.
47891         (nearbyintf): Likewise.
47893 2012-05-09  Andreas Jaeger  <aj@suse.de>
47894             Pedro Alves  <palves@redhat.com>
47896         * nscd/nscd.c (run_mode): Use enum.
47897         (main): Cleanup coding style issue.
47899 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47900             Andreas Jaeger  <aj@suse.de>
47902         * nscd/nscd.c (go_background): Replaced with...
47903         (run_mode): ... this.
47904         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47905         (options): Add -F --foreground.
47906         (main): Implement it.
47907         (parse_opt): Parse it.
47909 2012-05-09  Andreas Jaeger  <aj@suse.de>
47911         [BZ #14083]
47912         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47913         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47914         -Wconversion warning.
47915         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47916         Likewise.
47918 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47920         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47921         == 0.
47922         (LC_ALL): Use macro-int-constant.
47923         (LC_COLLATE): Likewise.
47924         (LC_CTYPE): Likewise.
47925         (LC_MESSAGES): Likewise.
47926         (LC_MONETARY): Likewise.
47927         (LC_NUMERIC): Likewise.
47928         (LC_TIME): Likewise.
47929         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47930         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47931         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47932         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47933         Specify type.
47934         [C99-based standards] (float_t): Expect type.
47935         [C99-based standards] (double_t): Expect type.
47936         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47937         type.
47938         [C99-based standards] (HUGE_VALL): Likewise.
47939         [C99-based standards] (INFINITY): Likewise.
47940         [C99-based standards] (NAN): Likewise.
47941         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47942         [C99-based standards] (FP_NAN): Likewise.
47943         [C99-based standards] (FP_NORMAL): Likewise.
47944         [C99-based standards] (FP_SUBNORMAL): Likewise.
47945         [C99-based standards] (FP_ZERO): Likewise.
47946         [C99-based standards] (FP_FAST_FMA): Use
47947         optional-macro-int-constant.  Specify type.  Require == 1.
47948         [C99-based standards] (FP_FAST_FMAF): Likewise.
47949         [C99-based standards] (FP_FAST_FMAL): Likewise.
47950         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47951         [C99-based standards] (FP_ILOGBNAN): Likewise.
47952         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47953         Specify type.
47954         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47955         [C99-based standards] (math_errhandling): Specify type.
47956         [ISO99 || ISO11] (signgam): Do not allow.
47957         [non-C99-based standards] (copysignf): Do not allow.
47958         [non-C99-based standards] (exp2f): Likewise.
47959         [non-C99-based standards] (log2f): Likewise.
47960         [non-C99-based standards] (modff): Allow.
47961         [non-C99-based standards] (erff): Do not allow.
47962         [non-C99-based standards] (erfcf): Likewise.
47963         [non-C99-based standards] (gammaf): Likewise.
47964         [non-C99-based standards] (hypotf): Likewise.
47965         [non-C99-based standards] (j0f): Likewise.
47966         [non-C99-based standards] (j1f): Likewise.
47967         [non-C99-based standards] (jnf): Likewise.
47968         [non-C99-based standards] (lgammaf): Likewise.
47969         [non-C99-based standards] (tgammaf): Likewise.
47970         [non-C99-based standards] (y0f): Likewise.
47971         [non-C99-based standards] (y1f): Likewise.
47972         [non-C99-based standards] (ynf): Likewise.
47973         [non-C99-based standards] (isnanf): Likewise.
47974         [non-C99-based standards] (acoshf): Likewise.
47975         [non-C99-based standards] (asinhf): Likewise.
47976         [non-C99-based standards] (atanhf): Likewise.
47977         [non-C99-based standards] (cbrtf): Likewise.
47978         [non-C99-based standards] (expm1f): Likewise.
47979         [non-C99-based standards] (ilogbf): Likewise.
47980         [non-C99-based standards] (log1pf): Likewise.
47981         [non-C99-based standards] (logbf): Likewise.
47982         [non-C99-based standards] (nextafterf): Likewise.
47983         [non-C99-based standards] (remainderf): Likewise.
47984         [non-C99-based standards] (rintf): Likewise.
47985         [non-C99-based standards] (scalbf): Likewise.
47986         [non-C99-based standards] (copysignl): Likewise.
47987         [non-C99-based standards] (exp2l): Likewise.
47988         [non-C99-based standards] (log2l): Likewise.
47989         [non-C99-based standards] (modfl): Allow.
47990         [non-C99-based standards] (erfl): Do not allow.
47991         [non-C99-based standards] (erfcl): Likewise.
47992         [non-C99-based standards] (gammal): Likewise.
47993         [non-C99-based standards] (hypotl): Likewise.
47994         [non-C99-based standards] (j0l): Likewise.
47995         [non-C99-based standards] (j1l): Likewise.
47996         [non-C99-based standards] (jnl): Likewise.
47997         [non-C99-based standards] (lgammal): Likewise.
47998         [non-C99-based standards] (tgammal): Likewise.
47999         [non-C99-based standards] (y0l): Likewise.
48000         [non-C99-based standards] (y1l): Likewise.
48001         [non-C99-based standards] (ynl): Likewise.
48002         [non-C99-based standards] (isnanl): Likewise.
48003         [non-C99-based standards] (acoshl): Likewise.
48004         [non-C99-based standards] (asinhl): Likewise.
48005         [non-C99-based standards] (atanhl): Likewise.
48006         [non-C99-based standards] (cbrtl): Likewise.
48007         [non-C99-based standards] (expm1l): Likewise.
48008         [non-C99-based standards] (ilogbl): Likewise.
48009         [non-C99-based standards] (log1pl): Likewise.
48010         [non-C99-based standards] (logbl): Likewise.
48011         [non-C99-based standards] (nextafterl): Likewise.
48012         [non-C99-based standards] (remainderl): Likewise.
48013         [non-C99-based standards] (rintl): Likewise.
48014         [non-C99-based standards] (scalbl): Likewise.
48015         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48016         [non-C99-based standards] (FP_*): Do not allow.
48017         [C99-based standards] (FP_*): Change to
48018         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48019         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48020         allow.
48021         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48022         (SIG_ERR): Likewise.
48023         [X/Open-based standards] (SIG_HOLD): Likewise.
48024         (SIG_IGN): Likewise.
48025         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48026         positive value.
48027         (SIGFPE): Likewise.
48028         (SIGILL): Likewise.
48029         (SIGINT): Likewise.
48030         (SIGSEGV): Likewise.
48031         (SIGTER): Likewise.
48032         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48033         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48034         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48035         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48036         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48037         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48038         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48039         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48040         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48041         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48042         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48043         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48044         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48045         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48046         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48047         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48048         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48049         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48050         [X/Open-based standards] (SIGTRAP): Likewise.
48051         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48052         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48053         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48054         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48055         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48056         allow.
48058 2012-05-08  Ian Wienand  <ianw@vmware.com>
48060         [BZ #14080]
48061         * time/tzset.c (__tzset_parse_tz): Update default rules for
48062         daylight time changes in the Energy Policy Act of 2005.
48064 2012-05-09  Andreas Jaeger  <aj@suse.de>
48066         [BZ #13983]
48067         * elf/ldconfig.c (parse_conf): Change string to make clear that
48068         ldconfig only issued a warning if ld.so.conf does not exist.
48070 2012-05-08  David S. Miller  <davem@davemloft.net>
48072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48073         movxtod instead of popping the value on the stack.
48075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48077 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48079         * config.h.in: Add HAVE_ARM_PCS_VFP.
48081 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48083         [BZ #13979]
48084         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48085         checking but the checks are disabled for any reason.
48087 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48089         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48090         and ELF64_R_TYPE with ELFW(R_TYPE).
48092 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48094         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48095         (ulimit): Likewise.
48097         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48098         (settimeofday): Likewise.
48100 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48102         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48103         a struct th_u2 inside the union, and move tu_block/tu_code into
48104         a new th_u3 union of tu_block/tu_code inside of that.  Move
48105         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48106         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48107         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48108         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48109         (th_stuff): Change to th_u1.tu_stuff.
48110         (th_data): Define.
48111         (th_msg): Change to th_u1.th_u2.tu_data.
48113 2012-05-07  David S. Miller  <davem@davemloft.net>
48115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48117         [BZ #14074]
48118         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48119         (SETUP_PIC_REG): Use it.
48120         (SETUP_PIC_REG_LEAF): Use it.
48122 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48124         [BZ #13885]
48125         [BZ #13923]
48126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48127         USE_AS_EXPM1L.
48128         (EXPL_FINITE): Likewise.
48129         (FLDLOG): Likewise.
48130         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48131         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48132         e_expl.S.
48133         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48134         USE_AS_EXPM1L.
48135         (EXPL_FINITE): Likewise.
48136         (FLDLOG): Likewise.
48137         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48138         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48139         e_expl.S.
48140         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48141         test of -max_value argument for long double.
48142         * sysdeps/i386/fpu/libm-test-ulps: Update.
48143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48145 2012-05-06  David S. Miller  <davem@davemloft.net>
48147         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48148         quad soft-float symbols whose references which are compiler
48149         generated.
48150         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48152 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48154         [BZ #13884]
48155         [BZ #13914]
48156         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48157         USE_AS_EXP10L.
48158         (EXPL_FINITE): Likewise.
48159         (FLDLOG): Likewise.
48160         (c0): Likewise.
48161         (c1): Likewise.
48162         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48163         Adjust comments for base varying.
48164         (__expl_finite): Change alias to EXPL_FINITE.
48165         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48166         e_expl.S.
48167         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48168         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48169         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48170         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48171         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48172         USE_AS_EXP10L.
48173         (EXPL_FINITE): Likewise.
48174         (FLDLOG): Likewise.
48175         (c0): Likewise.
48176         (c1): Likewise.
48177         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48178         Adjust comments for base varying.
48179         (__expl_finite): Change alias to EXPL_FINITE.
48180         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48181         tests for bugs.
48182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48184         [BZ #14064]
48185         * math/libm-test.inc (check_float_internal): Correct ulp
48186         calculation for subnormal expected results.
48188 2012-05-06  Andreas Jaeger  <aj@suse.de>
48190         * Makeconfig (+math-flags): New, set to -frounding-math.
48191         (+cflags): Add +math-flags so that all of glibc gets compiled with
48192         it.
48194         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48196 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48198         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48199         Disable one test.
48201         [BZ #13787]
48202         [BZ #13922]
48203         [BZ #14036]
48204         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48205         (__ieee754_expl): Allow for and saturate large arguments.
48206         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48207         (u_threshold): Likewise.
48208         (__exp): Call __ieee754_exp before checking for overflow and
48209         underflow.
48210         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48211         (u_threshold): Likewise.
48212         (__expf): Call __ieee754_expf before checking for overflow and
48213         underflow.
48214         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48215         (u_threshold): Likewise.
48216         (__expl): Call __ieee754_expl before checking for overflow and
48217         underflow.
48218         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48219         (__ieee754_expl): Allow for and saturate large arguments.
48220         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48221         missing overflow exception on overflow.
48222         (expm1_test): Do not allow missing overflow exception on overflow.
48224         * sysdeps/i386/fpu/e_expl.c: Move to ...
48225         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48226         rather than using inline asm.
48227         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48228         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48229         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48231         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48232         (nice): Likewise.
48233         (poll): Likewise.
48234         (signal): Likewise.
48235         (time): Likewise.
48236         (times): Likewise.
48238 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48240         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48241         sysdeps/unix/common/syscalls.list.
48242         (fchmod): Likewise.
48243         (fchown): Likewise.
48244         (ftruncate): Likewise.
48245         (getrusage): Likewise.
48246         (gettimeofday): Likewise.
48247         (setpgid): Likewise.
48248         (setregid): Likewise.
48249         (setreuid): Likewise.
48250         (sigaction): Likewise.
48251         (truncate): Likewise.
48252         (vhangup): Likewise.
48253         * sysdeps/unix/common/syscalls.list: Remove file.
48254         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48255         * sysdeps/unix/sysv/linux/Implies: Likewise.
48257 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48259         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48261         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48262         Moved to ...
48263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48264         Here.
48265         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48266         to ...
48267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48268         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48269         to ...
48270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48271         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48272         to ...
48273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48274         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48275         to ...
48276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48277         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48278         to ...
48279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48280         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48281         to ...
48282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48283         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48284         to ...
48285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48286         Here.
48287         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48288         to ...
48289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48290         Here.
48291         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48292         to ...
48293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48294         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48295         Moved to ...
48296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48297         Here.
48298         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48299         to ...
48300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48302 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48304         * sysdeps/unix/common/bits/dirent.h: Remove file.
48305         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48307         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48308         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48309         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48310         * sysdeps/unix/bsd/isatty.c: Likewise.
48311         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48312         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48313         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48315 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48317         [BZ #13563]
48318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48319         long double comparison inaccuracies.
48320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48323 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48325         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48326         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48328 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48330         [BZ #14049]
48331         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48332         nonzero digits before rounding a hex value.
48333         * stdlib/tst-strtod.c (tests): Add another test.
48335 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48337         * sysdeps/s390/fpu/libm-test-ulps: Update.
48339 2012-05-03  Andreas Jaeger  <aj@suse.de>
48341         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48342         does not get optimized out.
48343         (malloc_opt_barrier): New.
48345 2012-05-03  Andreas Jaeger  <aj@suse.de>
48346             Roland McGrath  <roland@hack.frob.com>
48348         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48349         intermediate file deletion.
48350         (generated): Add .symlist files.
48352 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48354         [BZ #13775]
48355         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48356         Redirect under this condition.
48357         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48358         [__USE_GNU] (__dprintf_chk): Not under this condition.
48359         [__USE_GNU] (__vdprintf_chk): Likewise.
48360         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48361         under this condition.
48362         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48363         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48364         [__USE_XOPEN2K8] (vdprintf): Likewise.
48365         [__USE_GNU] (__dprintf_chk): Not under this condition.
48366         [__USE_GNU] (__vdprintf_chk): Likewise.
48367         [__USE_GNU] (dprintf): Likewise.
48368         [__USE_GNU] (vdprintf): Likewise.
48370 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48372         * elf/Makefile (common-generated): Set this instead of generated for
48373         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48374         $(all-built-dso)-derived lists.
48376 2012-05-03  Andreas Jaeger  <aj@suse.de>
48378         * sysdeps/i386/fpu/libm-test-ulps: Update.
48380         * FAQ: Removed.
48381         * FAQ.in: Likewise.
48382         * scripts/gen-FAQ.pl: Likewise.
48383         * manual/install.texi (Installation): Point to online location of
48384         FAQ.
48385         * Makefile (files-for-dist): Remove FAQ.
48386         (FAQ): Remove.
48388 2012-05-02  Allan McRae  <allan@archlinux.org>
48390         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48391         (LDFLAGS-reldepmod5.so): Likewise.
48392         (LDFLAGS-reldep6mod1.so): Likewise.
48393         (LDFLAGS-reldep6mod4.so): Likewise.
48394         (LDFLAGS-reldep8mod3.so): Likewise.
48395         (LDFLAGS-unload4mod1.so): Likewise.
48396         (LDFLAGS-unload4mod2.so): Likewise.
48397         (LDFLAGS-tst-initorder): Likewise.
48398         (LDFLAGS-tst-initordera2.so): Likewise.
48399         (LDFLAGS-tst-initordera3.so): Likewise.
48400         (LDFLAGS-tst-initordera4.so): Likewise.
48401         (LDFLAGS-tst-initorderb2.so): Likewise.
48402         (LDFLAGS-noload): Likewise.
48403         (LDFLAGS-next): Likewise.
48404         (LDFLAGS-order2mod1.so): Likewise.
48405         (LDFLAGS-order2mod2.so): Likewise.
48406         (LDFLAGS-tst-initorder2): Likewise.
48407         (LDFLAGS-tst-initorder2a.so): Likewise.
48408         (LDFLAGS-tst-initorder2b.so): Likewise.
48409         (LDFLAGS-tst-initorder2c.so): Likewise.
48410         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48412 2012-05-02  David S. Miller  <davem@davemloft.net>
48414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48416 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48418         [BZ #14055]
48419         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48421 2012-05-02  Andreas Jaeger  <aj@suse.de>
48423         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48424         since we manipulate rounding mode.
48425         (CPPFLAGS-test-idouble.c): Likewise.
48426         (CPPFLAGS-test-ifloat.c): Likewise.
48427         (CFLAGS-test-ldouble.c): Likewise.
48428         (CFLAGS-test-double.c): Likewise.
48429         (CFLAGS-test-float.c): Likewise.
48430         (CFLAGS-test-misc.c): Likewise.
48431         (CFLAGS-test-test-fenv.c): Likewise.
48433 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48435         [BZ #2550]
48436         [BZ #2570]
48437         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48438         comparisons to determine direction to adjust input.
48440 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48442         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48443         output to the target.
48445         * scripts/localplt.awk: New file.
48446         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48447         (check-localplt-CFLAGS): Variable removed.
48448         ($(all-built-dso:=.jmprel)): New static pattern rule.
48449         (generated): Add those targets.
48450         (localplt-built-dso): New variable.
48451         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48453         * elf/check-localplt.c: File removed.
48455         * scripts/check-execstack.awk: New file.
48456         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48457         (check-execstack-CFLAGS): Variable removed.
48458         ($(objpfx)check-execstack.h): Target removed.
48459         ($(objpfx)execstack-default): New target.
48460         (generated): Add that instead of check-execstack.h.
48461         ($(all-built-dso:=.phdr)): New static pattern rule.
48462         (generated): Add those targets.
48463         * elf/check-execstack.c: File removed.
48465         * scripts/check-textrel.awk: New file.
48466         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48467         (check-textrel-CFLAGS): Variable removed.
48468         (all-built-dso): Use := to define.o
48469         ($(all-built-dso:=.dyn)): New static pattern rule.
48470         (generated): Add those targets.
48471         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48472         * config.make.in (READELF): New substituted variable.
48473         * elf/check-textrel.c: File removed.
48475 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48477         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48478         allow.
48479         * conform/data/ctype.h-data [C99-based standards] (isblank):
48480         Expect function.
48481         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48482         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48484         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48485         Specify type.  Require positive value.
48486         (EILSEQ): Likewise.
48487         (ERANGE): Likewise.
48488         [ISO || POSIX] (EILSEQ): Do not expect.
48489         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48490         Specify type.  Require positive value.
48491         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48492         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48493         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48494         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48495         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48496         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48497         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48498         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48499         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48500         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48501         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48502         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48503         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48504         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48505         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48506         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48507         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48508         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48509         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48510         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48511         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48512         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48513         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48514         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48515         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48516         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48517         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48518         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48519         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48520         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48521         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48522         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48523         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48524         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48525         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48526         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48527         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48528         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48529         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48530         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48531         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48532         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48533         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48534         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48535         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48536         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48537         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48538         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48539         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48540         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48541         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48542         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48543         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48544         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48545         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48546         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48547         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48548         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48549         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48550         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48551         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48552         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48553         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48554         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48555         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48556         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48557         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48558         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48559         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48560         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48561         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48562         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48563         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48564         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48565         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48566         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48567         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48568         Require >= 2.
48569         (FLT_ROUNDS): Expect as macro, not constant.
48570         (FLT_MANT_DIG): Use macro-int-constant.
48571         (DBL_MANT_DIG): Likewise.
48572         (LDBL_MANT_DIG): Likewise.
48573         (FLT_DIG): Likewise.
48574         (DBL_DIG): Likewise.
48575         (LDBL_DIG): Likewise.
48576         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48577         (DBL_MIN_EXP): Likewise.
48578         (LDBL_MIN_EXP): Likewise.
48579         (FLT_MAX_EXP): Use macro-int-constant.
48580         (DBL_MAX_EXP): Likewise.
48581         (LDBL_MAX_EXP): Likewise.
48582         (FLT_MAX_10_EXP): Likewise.
48583         (DBL_MAX_10_EXP): Likewise.
48584         (LDBL_MAX_10_EXP): Likewise.
48585         (FLT_MAX): Use macro-constant.
48586         (DBL_MAX): Likewise.
48587         (LDBL_MAX): Likewise.
48588         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48589         (DBL_EPSILON): Likewise.
48590         (LDBL_EPSILON): Likewise.
48591         (FLT_MIN): Likewise.
48592         (DBL_MIN): Likewise.
48593         (LDBL_MIN): Likewise.
48594         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48595         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48596         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48597         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48598         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48599         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48600         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48601         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48602         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48603         [ISO11] (FLT_TRUE_MIN): Likewise.
48604         [ISO11] (LDBL_TRUE_MIN): Likewise.
48605         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48606         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48607         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48608         (SCHAR_MAX): Likewise.
48609         (UCHAR_MAX): Likewise.
48610         (CHAR_MIN): Likewise.
48611         (CHAR_MAX): Likewise.
48612         (MB_LEN_MAX): Use macro-int-constant.
48613         (SHRT_MIN): Use macro-int-constant.  Specify type.
48614         (SHRT_MAX): Likewise.
48615         (USHRT_MAX): Likewise.
48616         (INT_MAX): Likewise.
48617         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48618         bound negative.
48619         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48620         bound with "U".
48621         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48622         bound with "L".
48623         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48624         bound negative.  Suffix upper bound with "L".
48625         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48626         bound with "UL".
48627         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48628         Specify type.
48629         [C99-based standards] (LLONG_MAX): Likewise.
48630         [C99-based standards] (ULLONG_MAX): Likewise.
48631         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48632         == 0.
48633         [ISO11] (max_align_t): Require type.
48634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48636         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48637         from $CFLAGS, without defining away __attribute__ calls.
48638         (checknamespace): Use $CFLAGS_namespace.
48640         * conform/conformtest.pl (@keywords): Only include C99 keywords
48641         for standards based on C99 or C11.
48643         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48644         Disable tests.
48645         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48646         UNIX98]: Likewise.
48648         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48649         usability of symbols in #if.
48651         * conform/conformtest.pl: If macro or constant types start
48652         "promoted:", expect the symbol to be of the following type
48653         promoted by the integer promotions.
48655         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48656         in one place.  Also handle "macro-constant".
48658         * conform/conformtest.pl: Only accept expected macro values with
48659         "==".  Parse all "macro" lines in one place.
48660         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48662         * conform/conformtest.pl: Handle braced types on "constant" lines
48663         instead of handling "typed-constant".
48664         * conform/data/signal.h-data: Use "constant" instead of
48665         "typed-constant".
48667         * conform/conformtest.pl: Handle "optional-" at start of lines in
48668         one place rather than duplicating several cases.  Handle each
48669         format of "macro" line with initial "optional-".
48671         * conform/conformtest.pl: Only accept expected constant or
48672         optional-constant values with "==".  Parse all "constant" lines in
48673         one place.  Parse all "optional-constant" lines in one place.
48674         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48675         * conform/data/fmtmsg.h-data: Likewise.
48676         * conform/data/netinet/in.h-data: Likewise.
48677         * conform/data/tar.h-data: Likewise.
48678         * conform/data/limits.h-data: Use "==" form on "constant" and
48679         "optional-constant" lines.
48681         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48682         Use -std=c99 for XOPEN2K.
48683         (@knownproblems): Remove.
48684         (newtoken): Don't check %isknown.
48686         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48687         Do not expect macro.
48688         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48689         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48690         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48691         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48692         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48693         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48694         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48695         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48696         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48697         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48698         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48699         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48700         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48701         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48702         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48703         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48704         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48705         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48706         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48707         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48708         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48709         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48710         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48711         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48712         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48713         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48714         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48715         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48716         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48717         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48718         [XPG3] (acosh): Likewise.
48719         [XPG3] (asinh): Likewise.
48720         [XPG3] (atanh): Likewise.
48721         [XPG3] (cbrt): Likewise.
48722         [XPG3] (expm1): Likewise.
48723         [XPG3] (ilogb): Likewise.
48724         [XPG3] (log1p): Likewise.
48725         [XPG3] (logb): Likewise.
48726         [XPG3] (nextafter): Likewise.
48727         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48728         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48729         [XPG3] (remainder): Likewise.
48730         [XPG3] (rint): Likewise.
48731         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48732         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48733         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48734         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48735         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48736         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48737         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48738         [UNIX98 || XOPEN2K] (scalb): Expect.
48739         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48740         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48741         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48742         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48743         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48744         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48745         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48746         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48747         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48748         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48749         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48750         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48751         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48752         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48753         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48754         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48755         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48756         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48757         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48758         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48759         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48760         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48761         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48762         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48763         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48764         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48765         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48766         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48767         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48768         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48769         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48770         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48771         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48772         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48773         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48774         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48775         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48776         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48777         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48778         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48779         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48780         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48781         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48782         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48783         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48784         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48785         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48786         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48787         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48788         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48789         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48790         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48791         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48792         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48793         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48794         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48795         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48796         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48797         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48798         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48799         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48800         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48801         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48802         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48803         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48804         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48805         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48806         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48807         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48808         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48809         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48810         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48811         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48812         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48813         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48814         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48815         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48816         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48817         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48818         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48819         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48820         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48821         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48822         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48823         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48824         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48825         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48826         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48827         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48828         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48829         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48830         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48831         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48832         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48833         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48834         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48835         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48836         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48837         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48838         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48839         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48840         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48841         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48842         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48843         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48844         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48845         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48846         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48847         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48848         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48849         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48850         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48851         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48852         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48853         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48854         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48855         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48856         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48857         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48858         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48859         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48860         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48861         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48862         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48863         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48864         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48865         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48866         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48867         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48868         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48869         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48870         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48871         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48872         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48873         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48874         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48875         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48877         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48878         _XOPEN_SOURCE_EXTENDED for XPG4.
48880         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48882         * Makeconfig (localtime): Remove variable.
48883         (inst_localtime-file): Likewise.
48885 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48888         Update.
48889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48890         Update.
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48892         Update.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48894         Update.
48895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48896         Update.
48897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48898         Update.
48899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48900         Update.
48901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48902         Update.
48903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48904         Update.
48906 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48908         [BZ #2550]
48909         [BZ #2570]
48910         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48911         comparisons to determine direction to adjust input.
48912         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48913         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48914         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48915         Likewise.
48916         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48917         Likewise.
48918         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48919         Likewise.
48920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48922         Likewise.
48923         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48924         Likewise.
48925         * math/libm-test.inc (nexttoward_test): Add more tests.
48927 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48929         [BZ #14040]
48930         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48931         in version GLIBC_2.1, not GLIBC_2.0.
48932         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48933         Likewise.
48935 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48937         [BZ #13942]
48938         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48939         (1 - x) * (1 + x).
48940         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48941         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48942         * math/libm-test.inc (acos_test): Add more tests.
48943         (asin_test): Likewise.
48944         * sysdeps/i386/fpu/libm-test-ulps: Update.
48945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48947         [BZ #14034]
48948         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48949         of square root.
48950         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48951         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48952         * math/libm-test.inc (acos_test_tonearest): New function.
48953         (acos_test_towardzero): Likewise.
48954         (acos_test_downward): Likewise.
48955         (acos_test_upward): Likewise.
48956         (asin_test_tonearest): Likewise.
48957         (asin_test_towardzero): Likewise.
48958         (asin_test_downward): Likewise.
48959         (asin_test_upward): Likewise.
48960         (main): Call the new functions.
48961         * sysdeps/i386/fpu/libm-test-ulps: Update.
48962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48964         [BZ #13884]
48965         [BZ #13924]
48966         * math/e_exp10.c: Include <float.h>.
48967         (__ieee754_exp10): Handle underflow here rather than multiplying
48968         large negative argument by M_LN10.
48969         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48970         of __ieee754_expf.
48971         * math/e_exp10l.c: Include <float.h>.
48972         (__ieee754_exp10l): Handle underflow here rather than multiplying
48973         large negative argument by M_LN10l.
48974         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48975         spurious overflow exception on underflow.
48977 2012-04-29  Marek Polacek  <polacek@redhat.com>
48979         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48980         (__fortify_function): New macro.
48981         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48982         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48983         __extern_always_inline.
48984         * libio/bits/stdio2.h: Likewise.
48985         * libio/bits/stdio.h: Likewise.
48986         * string/string.h: Likewise.
48987         * string/bits/string3.h: Likewise.
48988         * include/stdio.h: Likewise.
48989         * stdlib/bits/stdlib.h: Likewise.
48990         * stdlib/stdlib.h: Likewise.
48991         * rt/bits/mqueue2.h: Likewise.
48992         * rt/mqueue.h: Likewise.
48993         * posix/bits/unistd.h: Likewise.
48994         * posix/unistd.h: Likewise.
48995         * io/bits/poll2.h: Likewise.
48996         * io/bits/fcntl2.h: Likewise.
48997         * io/fcntl.h: Likewise.
48998         * io/sys/poll.h: Likewise.
48999         * misc/bits/syslog.h: Likewise.
49000         * misc/bits/syslog-ldbl.h: Likewise.
49001         * misc/sys/syslog.h: Likewise.
49002         * socket/bits/socket2.h: Likewise.
49003         * socket/sys/socket.h: Likewise.
49004         * debug/tst-chk1.c: Likewise.
49005         * wcsmbs/bits/wchar2.h: Likewise.
49006         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49007         * wcsmbs/wchar.h: Likewise.
49009 2012-04-29  Andreas Jaeger  <aj@suse.de>
49011         * Makerules (tests): Remove enable-check-abi protection.
49012         (check-abi-warn): Remove.
49013         (check-abi-%): Remove check-abi-warn usage.
49015         * configure.in: Remove check-abi configure option.
49016         * configure: Regenerated.
49017         * config.make.in (enable-check-abi): Remove.
49019 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49021         [BZ #14033]
49022         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49023         double functions to double *_finite functions.
49025         [BZ #13941]
49026         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49027         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49028         LDBL_MIN_EXP.
49029         * stdio-common/Makefile (tests): Add tst-sprintf3.
49030         * stdio-common/tst-sprintf3.c: New file.
49032         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49033         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49035 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49037         * conform/conformtest.pl: Remove duplicate typed-constant
49038         handling.
49040 2012-04-28  David S. Miller  <davem@davemloft.net>
49042         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49043         (check-abi-%): Remove AWK script prerequisite and explicit
49044         abilist directory.
49045         (check-abi): Rewrite to just diff the symlist with the abilist.
49046         (config-tls, config-abi-config): Delete, no longer used.
49047         (update-abi-%): Remove AWK script and explicit abilist directory.
49048         (update-abi): Rewrite to simply compare and conditionally copy the
49049         symlist and the sysdep abilist file.  Remove update-abi-config
49050         checks.
49051         * abilist/ld.abilist: Remove.
49052         * abilist/libBrokenLocale.abilist: Remove.
49053         * abilist/libanl.abilist: Remove.
49054         * abilist/libcrypt.abilist: Remove.
49055         * abilist/libdl.abilist: Remove.
49056         * abilist/librt.abilist: Remove.
49057         * abilist/libthread_db.abilist: Remove.
49058         * abilist/libutil.abilist: Remove.
49059         * scripts/extract-abilist.awk: Remove.
49060         * scripts/merge-abilist.awk: Remove.
49061         * sysdeps/generic/libcidn.abilist: New file.
49062         * sysdeps/generic/libnss_compat.abilist: New file.
49063         * sysdeps/generic/libnss_db.abilist: New file.
49064         * sysdeps/generic/libnss_dns.abilist: New file.
49065         * sysdeps/generic/libnss_files.abilist: New file.
49066         * sysdeps/generic/libnss_hesiod.abilist: New file.
49067         * sysdeps/generic/libnss_nis.abilist: New file.
49068         * sysdeps/generic/libnss_nisplus.abilist: New file.
49069         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49070         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49071         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49072         file.
49073         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49074         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49075         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49076         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49077         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49078         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49079         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49080         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49081         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49082         file.
49083         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49084         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49085         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49086         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49087         file.
49088         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49089         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49090         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49091         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49092         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49093         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49094         file.
49095         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49096         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49097         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49098         file.
49099         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49100         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49101         New file.
49102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49103         New file.
49104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49105         New file.
49106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49107         New file.
49108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49109         New file.
49110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49111         New file.
49112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49113         New file.
49114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49115         New file.
49116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49117         New file.
49118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49119         New file.
49120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49121         New file.
49122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49123         New file.
49124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49125         New file.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49127         file.
49128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49129         New file.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49131         New file.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49133         file.
49134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49135         New file.
49136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49137         New file.
49138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49139         file.
49140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49141         New file.
49142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49143         New file.
49144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49145         New file.
49146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49147         New file.
49148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49149         New file.
49150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49151         New file.
49152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49154         file.
49155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49156         New file.
49157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49158         file.
49159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49160         file.
49161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49162         file.
49163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49164         file.
49165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49166         file.
49167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49168         New file.
49169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49170         file.
49171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49172         file.
49173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49174         New file.
49175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49176         file.
49177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49179         file.
49180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49181         New file.
49182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49183         file.
49184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49185         file.
49186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49187         file.
49188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49189         file.
49190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49191         file.
49192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49193         New file.
49194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49195         file.
49196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49197         file.
49198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49199         New file.
49200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49201         file.
49202         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49203         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49204         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49205         file.
49206         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49207         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49208         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49209         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49210         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49211         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49212         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49213         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49214         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49215         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49218         file.
49219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49220         New file.
49221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49222         file.
49223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49224         file.
49225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49226         file.
49227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49228         file.
49229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49230         file.
49231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49232         New file.
49233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49234         New file.
49235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49236         file.
49237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49238         New file.
49239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49240         file.
49241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49243         file.
49244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49245         New file.
49246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49247         file.
49248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49249         file.
49250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49251         file.
49252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49253         file.
49254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49255         file.
49256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49257         New file.
49258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49259         New file.
49260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49261         file.
49262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49263         New file.
49264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49265         file.
49267 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49269         * conform/conformtest.pl: Fix typo in handling typed-constant from
49270         allow-header.
49272 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49274         * README: Cut down references to pre-2.6 Linux kernels and
49275         Linuxthreads.  Update lists of configurations in libc and ports
49276         and sort alphabetically.  Say "or newer" with Linux kernel version
49277         requirements.
49279         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49281 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49283         [BZ #887]
49284         * math/libm-test.inc (logb_test_downward): New test to expose
49285         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49286         rounding mode.
49288 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49290         [BZ #14027]
49291         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49292         to be done.
49293         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49294         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49296 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
49298         * sysdeps/unix/i386/brk.S: Remove file.
49299         * sysdeps/unix/i386/dl-brk.S: Likewise.
49300         * sysdeps/unix/i386/pipe.S: Likewise.
49301         * sysdeps/unix/i386/sigreturn.S: Likewise.
49302         * sysdeps/unix/i386/syscall.S: Likewise.
49303         * sysdeps/unix/i386/vfork.S: Likewise.
49304         * sysdeps/unix/i386/wait.S: Likewise.
49306         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49307         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49309         * configure.in (arm*-none*): Do not allow without
49310         --enable-hacker-mode.
49311         (netbsd*): Remove case setting base_os.
49312         (386bsd*): Likewise.
49313         (freebsd*): Likewise.
49314         (bsdi*): Likewise.
49315         (osf*): Likewise.
49316         (sunos*): Likewise.
49317         (ultrix*): Likewise.
49318         (newsos*): Likewise.
49319         (dynix*): Likewise.
49320         (*bsd*): Likewise.
49321         (sysv*): Likewise.
49322         (isc*): Likewise.
49323         (esix*): Likewise.
49324         (sco*): Likewise.
49325         (minix*): Likewise.
49326         (irix4*): Likewise.
49327         (irix6*): Likewise.
49328         (solaris[2-9]*): Likewise.
49329         (none): Likewise.
49330         * configure: Regenerated.
49332 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49334         [BZ #11521]
49335         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49336         overflow or cancellation in calculating denominator.
49337         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49339         down expression to avoid unexpected rounding in newer GCCs.
49340         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49342 2012-04-26  David S. Miller  <davem@davemloft.net>
49344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49345         long-double compat symbols.
49346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49360 2012-04-25  David S. Miller  <davem@davemloft.net>
49362         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49363         HWCAP_* values only after the memory barriers have been defined.
49364         (atomic_full_barrier): Define.
49365         (atomic_read_barrier): Define.
49366         (atomic_write_barrier): Define.
49368 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49370         * shlib-versions: Add libgcc_s version information.
49371         * sysdeps/generic/libgcc_s.h: Remove.
49372         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49373         libgcc_s.h.
49374         * sysdeps/gnu/unwind-resume.c: Likewise.
49375         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49377 2012-04-25  David S. Miller  <davem@davemloft.net>
49379         * sysdeps/unix/sparc/brk.S: Delete.
49380         * sysdeps/unix/sparc/dl-brk.S: Delete.
49381         * sysdeps/unix/sparc/pipe.S: Delete.
49382         * sysdeps/unix/sparc/sysdep.S: Delete.
49383         * sysdeps/unix/sparc/sysdep.h: Delete.
49384         * sysdeps/unix/sparc/vfork.S: Delete.
49385         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49386         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49388         (ret_ERRVAL, r0, r1, MOVE): Define.
49389         (JUMPTARGET): Remove.
49390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49391         sysdeps/unix/sparc/sysdep.h
49392         (ENTRY, END): Remove.
49393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49395 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49397         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49398         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49399         -DIS_IN_build.
49401         * timezone/README: Update upstream location and email address for
49402         tzcode and tzdata.
49403         * timezone/zdump.c: Update from tzcode 2012b.
49404         * timezone/zic.c: Likewise.
49406         * configure.in (libc_cv_as_needed): Remove test.
49407         * configure: Regenerated.
49408         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49409         conditional definition.
49410         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49411         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49412         * config.make.in (have-as-needed): Remove variable.
49414 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49415             Paul Pluzhnikov  <ppluzhnikov@google.com>
49417         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49418         strings correctly.
49420 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49422         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49423         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49424         * sysdeps/sh/strlen.S: Likewise.
49426 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49428         * sysdeps/unix/fork.S: Remove file.
49429         * sysdeps/unix/i386/fork.S: Likewise.
49430         * sysdeps/unix/sparc/fork.S: Likewise.
49432         * sysdeps/unix/system.c: Remove file.
49433         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49435         * sysdeps/unix/getegid.S: Remove file.
49436         * sysdeps/unix/geteuid.S: Likewise.
49438 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49440         * scripts/check-localplt.awk: New file.
49441         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49442         of diff.
49443         * scripts/data/localplt-generic.data: Add a comment.
49445         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49446         NODE when __dir_mkfile failed.
49447         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49448         Reported by Ludovic Courtès <ludo@gnu.org>.
49450 2012-04-24  Andreas Jaeger  <aj@suse.de>
49452         * Makerules (common-clean): Also remove gen-as-const-headers
49453         files.
49455 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49457         * Makerules (native-compile): Do not change working directory for
49458         build.  Use $(OUTPUT_OPTION) in command.
49459         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49461 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49463         [BZ #13886]
49464         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49465         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49466         * math/libm-test.inc (floor_test): Add more tests.
49467         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49469 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49471         * sysdeps/unix/getdents.c: Remove file.
49472         * sysdeps/unix/sysv/getdents.c: Likewise.
49473         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49475         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49476         sysdeps/unix/mman/syscalls.list.
49477         (mmap): Likewise.
49478         (mprotect): Likewise.
49479         (msync): Likewise.
49480         (munmap): Likewise.
49481         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49482         * sysdeps/unix/mman/syscalls.list: Remove.
49483         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49485         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49486         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49487         * configure: Regenerated.
49488         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49489         $(libgcc_s_suffix).
49490         * config.make.in (libgcc_s_suffix): Remove variable.
49492 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49494         * sysdeps/unix/sysv/gethostname.c: Move to ...
49495         * sysdeps/posix/gethostname.c: ... here.
49497         * sysdeps/unix/execve.S: Remove file.
49499         * sysdeps/unix/_exit.S: Remove file.
49501 2012-04-23  Andreas Jaeger  <aj@suse.de>
49503         [BZ #13739]
49504         * manual/Makefile: Remove make dist support, there's no
49505         need for a stand-alone documentation tar ball.
49506         (TEXI2DVI): Define always, it's not in Makeconfig.
49507         (dist): Removed.
49508         (tar-it): Removed.
49509         (edition): Removed.
49510         (glibc-doc-$(edition).tar): Removed
49511         (%.Z): Removed.
49512         (%.gz): Removed.
49513         (%.uu): Removed.
49514         (ETAGS): Remove, it's in Makeconfig.
49515         (move-if-change): Remove, it's in Makeconfig.
49517 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49519         [BZ #13970]
49520         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49521         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49522         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49523         (strtod_l, strtof_l, strtold_l): Remove __wur.
49524         It is not necessarily an error to ignore strtol's return value.
49525         One can reliably look at the stored endptr to decide whether
49526         the number had valid syntax.
49528 2012-04-21  Andreas Jaeger  <aj@suse.de>
49530         [BZ #13739]
49531         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49533 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49535         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49536         * sysdeps/unix/sysv/Versions: Remove file.
49538 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49540         [BZ #13927]
49541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49543 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49545         [BZ #7064]
49546         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49547         version from __vm86.
49549 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49551         * sysdeps/unix/common/lxstat.c: Remove file.
49552         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49554         * sysdeps/unix/sysv/Makefile: Remove file.
49556         * sysdeps/unix/sysv/direct.h: Remove file.
49558         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49559         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49560         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49561         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49562         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49563         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49564         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49566         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49568         * sysdeps/unix/xmknod.c: Remove file.
49569         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49571         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49573         * sysdeps/unix/sysv/i386/time.S: Remove file.
49575         * sysdeps/unix/fxstat.c: Remove file.
49576         * sysdeps/unix/xstat.c: Likewise.
49577         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49579         * sysdeps/unix/sysv/sigaction.c: Remove file.
49581         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49582         (sysdep_headers): Remove variable.
49583         [termio.h not in sysdep_headers] (generated): Likewise.
49584         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49585         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49586         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49587         * sysdeps/unix/sysv/tcflow.c: Likewise.
49588         * sysdeps/unix/sysv/tcflush.c: Likewise.
49589         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49590         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49591         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49592         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49593         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49595         * sysdeps/unix/siglist.c: Remove file.
49597         * sysdeps/unix/getppid.S: Remove file.
49599         * sysdeps/unix/mkdir.c: Remove file.
49600         * sysdeps/unix/rmdir.c: Likewise.
49602 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49604         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49605         ERR_MAX value.
49606         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49607         errlist-compat value.
49609 2012-04-18  David S. Miller  <davem@davemloft.net>
49611         * sysdeps/generic/memcopy.h (reg_char): Delete.
49612         * debug/strcat_chk.c: Use char, not reg_char.
49613         * debug/strcpy_chk.c: Likewise.
49614         * debug/strncat_chk.c: Likewise.
49615         * debug/strncpy_chk.c: Likewise.
49616         * string/memchr.c: Likewise.
49617         * string/memrchr.c: Likewise.
49618         * string/rawmemchr.c: Likewise.
49619         * string/strcat.c: Likewise.
49620         * string/strchr.c: Likewise.
49621         * string/strchrnul.c: Likewise.
49622         * string/strcmp.c: Likewise.
49623         * string/strcpy.c: Likewise.
49624         * string/strncat.c: Likewise.
49625         * string/strncmp.c: Likewise.
49626         * string/strncpy.c: Likewise.
49628 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49630         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49631         __builtin_memcopy is called when src and dest ranges are known to not
49632         overlap.
49634 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49636         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49637         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49638         fwd_align_merge macro call.
49639         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49640         bwd_align_merge macro call.
49641         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49643 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49646         bwd_align_merge macros.
49647         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49648         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49649         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49651 2012-04-18  David S. Miller  <davem@davemloft.net>
49653         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49655 2012-04-18  Andreas Jaeger  <aj@suse.de>
49657         [BZ# 6794]
49658         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49659         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49660         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49662         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49663         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49664         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49666         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49667         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49668         Adjust for changed ldbl-128 files.
49670         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49671         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49672         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49674 2012-04-17  David S. Miller  <davem@davemloft.net>
49676         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49678 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49680         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49681         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49682         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49683         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49684         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49685         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49687 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49689         [BZ #6794]
49690         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49691         * math/libm-test.inc: Add ilogb errno and exception tests.
49692         * math/w_ilogb.c: New file: ilogb wrapper.
49693         * math/w_ilogbf.c: New file: ilogbf wrapper.
49694         * math/w_ilogbl.c: New file: ilogbl wrapper.
49695         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49696         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49697         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49698         exception being thrown with 0.0 as argument.
49699         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49700         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49701         exception being thrown with 0.0 as argument.
49702         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49703         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49704         exception being thrown with 0.0 as argument.
49705         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49706         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49707         exception being thrown with 0.0 as argument.
49708         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49709         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49710         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49711         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49712         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49713         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49714         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49715         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49716         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49718 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49720         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49721         with altivec.
49723 2012-04-16  Marek Polacek  <polacek@redhat.com>
49725         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49727 2012-04-16  Marek Polacek  <polacek@redhat.com>
49729         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49730         operands of fdivp instruction.
49732 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49734         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49735         * elf/tst-auditmod3b.c: Likewise.
49736         * elf/tst-auditmod4b.c: Likewise.
49737         * elf/tst-auditmod5b.c: Likewise.
49738         * elf/tst-auditmod6b.c: Likewise.
49739         * elf/tst-auditmod6c.c: Likewise.
49740         * elf/tst-auditmod7b.c: Likewise.
49741         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49742         * sysdeps/x86_64/preconfigure.in: Likewise.
49743         * sysdeps/x86_64/preconfigure: Regenerated.
49745 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49747         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49748         __ILP32__.
49750 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49752         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49753         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49755 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49757         [BZ #13973]
49758         * locale/iso-639.def: Fix gl language name. Spotted by
49759         Yaron Shahrabani.
49761 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49763         [BZ #2074]
49764         * libio/libio.h (__io_write_fn): Update comment.
49766 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49768         [BZ #2074]
49769         * stdio.texi (Hook Functions): The user provided writer function
49770         is not allowed to return -1.
49772 2012-04-11  David S. Miller  <davem@davemloft.net>
49774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49776 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49778         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49779         Add a leading slash to rtkaio.
49781 2012-04-11  Jim Meyering  <meyering@redhat.com>
49783         [BZ #11959]
49784         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49785         It is not necessarily an error to ignore fwrite's return
49786         value.  One can reliably use ferror to test for errors after
49787         the fact.
49789 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49791         * bits/types.h (__snseconds_t): New type.
49792         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49794         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49796         (__SNSECONDS_T_TYPE): Likewise.
49797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49798         (__SNSECONDS_T_TYPE): Likewise.
49799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49800         (__SNSECONDS_T_TYPE): Likewise.
49802 2012-04-10  Andreas Jaeger  <aj@suse.de>
49804         [BZ #2636]
49805         * manual/time.texi (Processor Time): Return type of times is
49806         elapsed real time since an arbitrary point in the past.
49807         (CPU Time): Move CLK_TCK from here...
49808         (Processor Time): ...to here.  Correct description.
49809         * manual/conf.texi (Constants for Sysconf): Correct description of
49810         _SC_CLK_TCK.
49812 2012-04-10  David S. Miller  <davem@davemloft.net>
49814         [BZ #13967]
49815         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49816         where the is a gap between DT_REL(A) and DT_JMPREL.
49818 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49820         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49821         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49822         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49824 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49826         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49827         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49828         (dl_main): Handle --inhibit-cache.
49829         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49830         _dl_inhibit_cache.
49831         * elf/dl-load.c (_dl_map_object): Use it.
49832         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49834 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49836         [BZ #13872]
49837         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49838         (__ieee754_powl): Saturate large exponents rather than testing for
49839         overflow of y*log2(x).
49840         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49841         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49842         exceptions.
49844         [BZ #11521]
49845         * math/s_ctan.c: Include <float.h>.
49846         (__ctan): Avoid internal overflow or cancellation in calculating
49847         denominator.
49848         * math/s_ctanf.c: Likewise.
49849         * math/s_ctanl.c: Likewise.
49850         * math/s_ctanh.c: Likewise.
49851         * math/s_ctanhf.c: Likewise.
49852         * math/s_ctanhl.c: Likewise.
49853         * math/libm-test.inc (ctan_test): Add more tests.
49854         (ctanh_test): Likewise.
49855         * sysdeps/i386/fpu/libm-test-ulps: Update.
49856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49858 2012-04-09  Andreas Jaeger  <aj@suse.de>
49860         [BZ #6894]
49861         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49862         is an optional BSD extension.
49864         [BZ #10254]
49865         * manual/stdio.texi (Opening Streams): Document additional fopen
49866         parameters.
49868 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49870         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49871         %eax without telling the compiler.
49873 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49875         [BZ # 13963]
49876         * manual/install.texi: Use sourceware.org.
49878 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49880         [BZ #13873]
49881         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49882         (__ieee754_pow): Generate overflow and underflow using huge*huge
49883         and tiny*tiny rather than just returning constant infinity or zero
49884         for large exponents.
49885         * math/libm-test.inc (pow_test): Require overflow exceptions for
49886         applicable cases of large exponents.
49888         [BZ #706]
49889         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49890         (__ieee754_pow): Use iterative multiplication algorithm only for
49891         integer exponents with absolute value below 1024.  Check for odd
49892         integer exponents when using algorithm for real exponents.
49893         * math/libm-test.inc (pow_test): Add more tests.
49894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49896 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49898         [BZ #13705]
49899         * math/libm-test.inc (exp_test): Do not allow overflow exception
49900         on underflow test.
49902 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49904         [BZ #13705]
49905         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49906         instead of __kernel_standard_f.
49908 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49910         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49911         * sysdeps/x86_64/memset_chk.S: Likewise.
49913 2012-04-08  Andreas Jaeger  <aj@suse.de>
49915         [BZ #10153]
49916         * manual/startup.texi (Environment Access): Describe return value
49917         for putenv and setenv.
49919         [BZ #6895]
49920         * manual/filesys.texi (Directory Entries): Add description for
49921         DT_LNK.
49923         [BZ #6890]
49924         * manual/filesys.texi (Directory Entries): Clarify that it's file
49925         system not operating system in the description of DT_UNKNOWN.
49927         [BZ #6578]
49928         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49930 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49932         [BZ #6649]
49933         * manual/llio.texi (Opening and Closing Files): Add cross
49934         reference to explain mode argument.
49936 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49938         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49939         * sysdeps/x86_64/memset_chk.S: Likewise.
49941 2012-04-07  David S. Miller  <davem@davemloft.net>
49943         * elf/elf.h (R_SPARC_WDISP10): Define.
49944         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49945         R_SPARC_SIZE32.
49946         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49947         R_SPARC_SIZE64 and R_SPARC_H34.
49949 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49952         conditions and remove no longer applicable assertion.
49954 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49956         * bits/byteswap.h: Include <features.h>.
49957         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49958         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49960 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49962         * bits/byteswap.h (__bswap_16): Removed.
49963         Include <bits/byteswap-16.h> to get __bswap_16.
49964         * sysdeps/i386/bits/byteswap.h: Likewise.
49965         * sysdeps/s390/bits/byteswap.h: Likewise.
49966         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49967         * bits/byteswap-16.h: New file.
49968         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49969         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49970         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49971         * string/Makefile (headers): Add bits/byteswap-16.h.
49973 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49975         [BZ #13895]
49976         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49977         extra indirection.
49978         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49979         * nss/tst-nss-static.c: New.
49981 2012-04-06  Robert Millan  <rmh@gnu.org>
49983         [BZ #6486]
49984         * manual/llio.texi (File Position Primitive): lseek
49985         refers to WHENCE when it really means OFFSET.
49987 2012-04-06  Andreas Jaeger  <aj@suse.de>
49989         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49990         strncmp declarations.
49992         * abilist/libc.abilist: Add __poll and __ppoll.
49994 2012-04-05  David S. Miller  <davem@davemloft.net>
49996         * scripts/check-local-headers.sh: Accept a host triplet in the
49997         path matched by the exclude regexp.
49999         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50000         definition.
50001         * sysdeps/powerpc/powerpc32/dl-machine.h
50002         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50003         * sysdeps/s390/s390-32/dl-machine.h
50004         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50005         * sysdeps/sparc/sparc32/dl-machine.h
50006         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50007         * sysdeps/sparc/sparc64/dl-machine.h
50008         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50010         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50011         lazy binding.
50012         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50013         undefined symbol errors.
50015         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50016         DT_NEEDED entries.
50018 2012-04-05  Michael Matz  <matz@suse.de>
50020         [BZ #13592]
50021         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50023 2012-04-05  Andreas Jaeger  <aj@suse.de>
50025         [BZ #13908]
50026         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50027         comment.
50029 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50031         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50032         which ROUND is no valid rounding mode.
50034 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50036         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50037         read again.
50038         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50040 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50042         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50043         an exception using FPU order intentionally.
50045 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50047         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50048         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50049         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50050         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50052 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50054         [BZ #12340]
50055         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50056         EINVAL when BUFLEN is too smal.
50058 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50060         [BZ #13553]
50061         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50062         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50064 2012-04-03  Andreas Jaeger  <aj@suse.de>
50066         [BZ #13938]
50067         * manual/setjmp.texi (System V contexts): Fix sentence.
50069         [BZ #13926]
50070         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50071         New macro for this case.
50072         [!__GNUC__] (__bswap_64): New inline function for this case.
50073         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50074         * bits/byteswap.h: Likewise.
50075         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50076         ull, guard with __GLIBC_HAVE_LONG_LONG.
50078         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50079         __GLIBC_HAVE_LONG_LONG.
50081         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50082         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50084 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50086         [BZ #13691]
50087         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50088         inptr and inend, rather than using last_ch.
50090 2012-04-02  David S. Miller  <davem@davemloft.net>
50092         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50093         * stdio-common/printf-parse.h (read_int): Change return type to
50094         'int', return -1 on INT_MAX overflow.
50095         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50096         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50097         overflows INT_MAX.  Check for overflow of in-format-string precision
50098         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50099         SIZE_MAX not INT_MAX for integer overflow test.
50100         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50101         skip the construct in the format string but do not record anything.
50102         * stdio-common/bug22.c: Adjust to test both width/prevision
50103         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50104         explicitly for proper errno values.
50106 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50108         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50109         CHAR_MAX.
50110         * string/test-strcmp.c [! WIDE]: Likewise.
50111         * time/tst-mktime2.c: Likewise for INT_MAX.
50112         * string/test-string.h: #include <sys/param.h> for MIN.
50114         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50115         * sysdeps/i386/init-first.c (init): Likewise.
50116         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50117         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50118         * sysdeps/sh/init-first.c (init): Likewise.
50120 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50122         * po/ru.po: Update from translation team.
50123         * po/vi.po: Likewise.
50125 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50127         * resolv/nss_dns/dns-host.c: Merge copyright years.
50129 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50131         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50132         Optimize memcpy with prefetch if
50133         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50134         src, dst pointers have unequal 16 byte alignments.
50136 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50138         [BZ #13928]
50139         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50140         from a CNAME entry and return the minimum ttl for the query.
50141         (gaih_getanswer_slice): Likewise.
50143 2012-03-30  Jeff Law  <law@redhat.com>
50145         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50146         due to long keys.
50147         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50148         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50150         * resolv/nss_dns/dns-host.c: Update copyright year.
50152 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50154         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50155         requests to save a system call.  Fix check that all bytes are sent.
50157         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50158         comments for sendmmsg.
50160 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50162         [BZ #13691]
50163         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50164         with only 1 character between 0x0041 and 0x01b0.
50165         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50166         * wcsmbs/tst-mbsnrtowcs.c: New file.
50168 2012-03-29  David S. Miller  <davem@davemloft.net>
50170         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50171         small copies by hand.
50173 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         [BZ #13761]
50176         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50177         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50178         group memberships.
50180 2012-03-28  David S. Miller  <davem@davemloft.net>
50182         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50183         that branches into memcpy.
50184         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50185         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50186         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50187         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50188         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50189         bits.
50190         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50191         implementation too.
50192         * sysdeps/sparc/mempcpy.S: New file.
50194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50195         the IFUNC routine in the libc case.
50196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50198         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50199         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50200         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50201         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50202         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50203         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50204         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50205         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50207         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50208         loop to 256 bytes instead of 64 bytes and fix test signedness.
50210         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50211         * sysdeps/sparc/sparc32/Makefile: rather than here...
50212         * sysdeps/sparc/sparc64/Makefile: and here.
50214 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50216         * malloc/mallocbug.c: Avoid warnings about unused variables.
50218 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50220         [BZ #13760]
50221         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50222         in the right place. Discard and retry query if response is
50223         larger than input buffer size.
50225 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50227         [BZ #369]
50228         [BZ #2678]
50229         [BZ #3866]
50230         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50231         x for large integer exponent.
50232         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50233         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50234         sign of result as needed afterwards.
50235         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50236         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50237         result for underflowing pow the same as for overflow.
50238         (__kernel_standard_l): Handle powl overflow and underflow here
50239         rather than calling __kernel_standard.
50240         * math/libm-test.inc (pow_test): Add more tests.
50242         [BZ #3868]
50243         [BZ #13879]
50244         [BZ #13910]
50245         [BZ #13911]
50246         [BZ #13912]
50247         [BZ #13913]
50248         [BZ #13915]
50249         [BZ #13916]
50250         [BZ #13917]
50251         [BZ #13918]
50252         [BZ #13919]
50253         [BZ #13920]
50254         [BZ #13921]
50255         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50256         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50257         (__kernel_standard_l): New function.
50258         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50259         __kernel_standard.
50260         * math/w_acosl.c (__acosl): Likewise.
50261         * math/w_asinl.c (__asinl): Likewise.
50262         * math/w_atan2l.c (__atan2l): Likewise.
50263         * math/w_atanhl.c (__atanhl): Likewise.
50264         * math/w_coshl.c (__coshl): Likewise.
50265         * math/w_exp10l.c (__exp10l): Likewise.
50266         * math/w_exp2l.c (__exp2l): Likewise.
50267         * math/w_fmodl.c (__fmodl): Likewise.
50268         * math/w_hypotl.c (__hypotl): Likewise.
50269         * math/w_j0l.c (__j0l, __y0l): Likewise.
50270         * math/w_j1l.c (__j1l, __y1l): Likewise.
50271         * math/w_jnl.c (__jnl, __ynl): Likewise.
50272         * math/w_lgammal.c (__lgammal): Likewise.
50273         * math/w_log10l.c (__log10l): Likewise.
50274         * math/w_log2l.c (__log2l): Likewise.
50275         * math/w_logl.c (__logl): Likewise.
50276         * math/w_powl.c (__powl): Likewise.
50277         * math/w_remainderl.c (__remainderl): Likewise.
50278         * math/w_scalbl.c (sysv_scalbl): Likewise.
50279         * math/w_sinhl.c (__sinhl): Likewise.
50280         * math/w_sqrtl.c (__sqrtl): Likewise.
50281         * math/w_tgammal.c (__tgammal): Likewise.
50282         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50283         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50284         * math/libm-test.inc (acos_test): Add more tests.
50285         (acosh_test): Likewise.
50286         (asin_test): Likewise.
50287         (atanh_test): Likewise.
50288         (exp_test): Likewise.
50289         (exp10_test): Likewise.
50290         (exp2_test): Likewise.
50291         (expm1_test): Likewise.
50292         (lgamma_test): Likewise.
50293         (log_test): Likewise.
50294         (log10_test): Likewise.
50295         (log1p_test): Likewise.
50296         (log2_test): Likewise.
50297         (pow_test): Do not allow some spurious overflow exceptions.
50298         (sqrt_test): Add more tests.
50299         (tgamma_test): Likewise.
50300         (y0_test): Likewise.
50301         (y1_test): Likewise.
50302         (yn_test): Likewise.
50304 2012-03-27  Anton Blanchard  <anton@samba.org>
50306         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50307         MAP_HUGETLB.
50308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50309         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50312 2012-03-27  David S. Miller  <davem@davemloft.net>
50314         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50316         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50317         have-as-vis3 check.
50319 2012-03-27  Andreas Jaeger  <aj@suse.de>
50321         * sysdeps/x86_64/elf/configure.in: Moved to ...
50322         * sysdeps/x86_64/configure.in: ... here.
50323         * sysdeps/x86_64/elf/start.S: Moved to ...
50324         * sysdeps/x86_64/start.S: ... here.
50325         * sysdeps/x86_64/elf/configure: Delete.
50327         * sysdeps/x86_64/configure.in: Merge contents from
50328         sysdeps/i386/configure.in (without i686 check).
50330         * sysdeps/i386/elf/Versions: Merge into ...
50331         * sysdeps/i386/Versions: ... this.
50332         * sysdeps/i386/elf/Versions: Delete file.
50333         * sysdeps/i386/elf/start.S: Moved to ...
50334         * sysdeps/i386/start.S: ...here.
50335         * sysdeps/i386/elf/configure.in: Merge into...
50336         * sysdeps/i386/configure.in: ...here.
50337         * sysdeps/i386/elf/configure.in: Delete file.
50338         * sysdeps/i386/elf/configure: Delete file.
50340         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50341         * debug/backtracesyms.c: ... here.
50342         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50343         * debug/backtracesymsfd.c: ... here.
50344         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50345         * sysdeps/generic/ifunc-sel.h: ... here.
50347         * sysdeps/unix/i386/start.c: Delete file.
50348         * sysdeps/unix/sparc/start.c: Delete file.
50349         * sysdeps/unix/start.c: Delete file.
50351         * sysdeps/sh/elf/configure.in: Moved to ...
50352         * sysdeps/sh/configure.in: ... here.
50353         * sysdeps/sh/elf/start.S: Moved to ...
50354         * sysdeps/sh/start.S: ... here.
50355         * sysdeps/sh/elf/configure: Delete file.
50357         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50358         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50359         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50360         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50361         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50362         * sysdeps/powerpc/powerpc64/start.S: here.
50363         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50364         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50365         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50366         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50367         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50369         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50370         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50371         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50372         * sysdeps/powerpc/powerpc32/start.S: ... here.
50373         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50374         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50375         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50377         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50378         * sysdeps/powerpc/ifunc-sel.h: ... here.
50379         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50380         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50382         * sysdeps/sparc/elf/configure.in: Moved to ...
50383         * sysdeps/sparc/configure.in: ... here.
50384         * sysdeps/sparc/elf/configure: Delete file.
50385         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50386         * sysdeps/sparc/sparc32/start.S: ... here.
50387         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50388         * sysdeps/sparc/sparc64/start.S: ... here.
50389         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50390         * sysdeps/sparc/sparc32/Makefile: ... this.
50391         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50392         * sysdeps/sparc/sparc64/Makefile: ... this.
50394         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50395         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50396         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50397         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50398         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50399         * sysdeps/s390/s390-32/setjmp.S: ... here.
50400         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50401         * sysdeps/s390/s390-32/configure.in: ... here.
50402         * sysdeps/s390/s390-32/elf/configure: Delete file.
50403         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50404         * sysdeps/s390/s390-32/start.S: ... here.
50406         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50407         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50408         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50409         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50410         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50411         * sysdeps/s390/s390-64/setjmp.S: ... here.
50412         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50413         * sysdeps/s390/s390-64/configure.in: ... here
50414         * sysdeps/s390/s390-64/elf/configure: Delete file.
50415         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50416         * sysdeps/s390/s390-64/start.S: ... here.
50417         * sysdeps/s390/s390-64/elf/configure: Delete.
50419         * configure.in: Remove support for elf directories in sysdeps.
50421         * configure: Regenerated.
50422         * sysdeps/i386/configure: Regenerated.
50423         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50424         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50425         * sysdeps/s390/s390-32/configure: Regenerated.
50426         * sysdeps/s390/s390-64/configure: Regenerated.
50427         * sysdeps/sh/configure: Regenerated.
50428         * sysdeps/sparc/configure: Regenerated.
50429         * sysdeps/x86_64/configure: Regenerated.
50431 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50435         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50436         denormal result into account.
50438 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50440         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50441         Reported by Allan McRae <allan@archlinux.org>.
50443 2012-03-23  Jeff Law  <law@redhat.com>
50445         * nss/getnssent.c (__nss_getent): Fix typo.
50447 2012-03-23  David S. Miller  <davem@davemloft.net>
50449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50451 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50453         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50454         to pad to uint64_t for each field.
50455         (dl_tls_index): Replace unsigned long with uint64_t.
50457 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50458         Paul Pluzhnikov  <ppluzhnikov@google.com>
50460         [BZ #6528]
50461         * grp/Makefile (otherlibs): Don't set it.
50462         * inet/Makefile (otherlibs): Likewise.
50463         * login/Makefile (otherlibs): Likewise.
50464         * nscd/Makefile (otherlibs): Likewise.
50465         * posix/Makefile (otherlibs): Likewise.
50466         * pwd/Makefile (otherlibs): Likewise.
50467         * rt/Makefile (otherlibs): Likewise.
50468         * sunrpc/Makefile (otherlibs): Likewise.
50469         * nss/Makefile (otherlibs): Likewise.
50470         Add libnss_files to routines and static-only-routines.
50471         ($(objpfx)getent): Remove rule.
50472         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50473         static-only-routines.
50475 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50477         [BZ #13892]
50478         * math/s_cexp.c: Include <float.h>.
50479         (__cexp): Handle exp result overflowing not necessarily
50480         overflowing both real and imaginary parts of result.
50481         * math/s_cexpf.c: Likewise.
50482         * math/s_cexpl.c: Likewise.
50483         * math/libm-test.inc (cexp_test): Add more tests.
50484         * sysdeps/i386/fpu/libm-test-ulps: Update.
50485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50487 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50489         * include/link.h (ELFW): New macro.
50490         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50491         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50493 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50495         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50496         with uint64_t.
50498 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50500         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50501         declaration.
50502         (struct La_x32_retval): Likewise.
50504 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50506         * sysdeps/x86_64/preconfigure.in: New file.
50507         * sysdeps/x86_64/preconfigure: New generated file.
50509 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50511         [BZ #13824]
50512         * math/e_exp2l.c: Include <float.h>.
50513         (__ieee754_exp2l): Handle overflow and underflow cases
50514         separately.  Only pass fractional part of argument to
50515         __ieee754_expl.
50516         * math/libm-test.inc (exp2_test): Add more tests.
50518         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50519         negating x to take absolute value.
50520         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50521         Likewise.
50522         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50523         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50524         Likewise.
50525         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50526         computing low part if x was negated.
50527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50529 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50531         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50532         la_x32_gnu_pltexit.
50533         (pltexit): Cast int_retval to ptrdiff_t.
50534         * elf/tst-auditmod3b.c: Likewise.
50535         * elf/tst-auditmod4b.c: Likewise.
50536         * elf/tst-auditmod5b.c: Likewise.
50537         * elf/tst-auditmod6b.c: Likewise.
50538         * elf/tst-auditmod6c.c: Likewise.
50539         * elf/tst-auditmod7b.c: Likewise.
50541         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50542         and x32_gnu_pltexit.
50544         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50545         __ELF_NATIVE_CLASS.
50546         (La_x32_regs): New macro.
50547         (La_x32_retval): Likewise.
50548         (la_x32_gnu_pltenter): New function prototype.
50549         (la_x32_gnu_pltexit): Likewise.
50551 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50553         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50554         exponent.
50556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50558         * configure.in (libc_cv_cc_nofma): Check for option to disable
50559         generation of FMA instructions.
50560         * configure: Regenerate.
50561         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50562         * sysdeps/ieee754/dbl-64/Makefile: New file.
50563         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50564         Remove brandred-fma4.
50565         (CFLAGS-brandred-fma4.c): Remove.
50566         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50567         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50568         define.
50569         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50570         define.
50572 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50574         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50575         LLONG_MAX != LONG_MAX.
50576         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50577         (_fitoa_word): Likewise.
50578         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50579         LLONG_MAX != LONG_MAX.
50580         * stdio-common/_itowa.h: Include <_itoa.h>.
50581         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50582         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50583         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50584         only if not defined.
50585         (_ITOA_WORD_TYPE): Likewise.
50586         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50587         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50589 2012-03-21  David S. Miller  <davem@davemloft.net>
50591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50593 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50595         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50596         of x86_64 when setting libc_cv_slibdir, libdir and
50597         libc_cv_localedir.
50598         * sysdeps/unix/sysv/linux/configure: Regenerated.
50600 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50602         * manual/lang.texi (Old Varargs): Remove section.
50603         (How Variadic): Update menu.
50604         (va_start): Do not mention varargs.h.
50606 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50607             Joseph Myers  <joseph@codesourcery.com>
50609         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50610         link test.
50611         * configure: Regenerated.
50613 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50615         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50616         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50617         conformtest.pl
50619 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50621         * NOTES: Remove.
50622         * Makefile (files-for-dist): Remove NOTES.
50623         (NOTES): Remove rule.
50624         * README: Don't refer to NOTES.
50625         * manual/creature.texi: Don't include macros.texi.
50626         * manual/intro.texi (creature.texi): Remove comment referring to
50627         NOTES.
50629         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50630         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50631         * configure: Regenerated.
50632         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50633         LIBC_TRY_CC_OPTION.
50634         (libc_cv_as_i686): Likewise.
50635         (libc_cv_cc_avx): Likewise.
50636         (libc_cv_cc_sse2avx): Likewise.
50637         (libc_cv_cc_fma4): Likewise.
50638         (libc_cv_cc_novzeroupper): Likewise.
50639         * sysdeps/i386/configure: Regenerated.
50641         [BZ #13883]
50642         * sysdeps/i386/fpu/s_cexp.S: Remove.
50643         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50644         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50645         * math/libm-test.inc (cexp_test): Add more tests.
50646         * sysdeps/i386/fpu/libm-test-ulps: Update.
50647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50649 2012-03-21  Allan McRae  <allan@archlinux.org>
50651         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50653 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50655         [BZ #13871]
50656         * math/w_exp2.c: Do not include <float.h>.
50657         (o_threshold, u_threshold): Remove.
50658         (__exp2): Calculate result before checking finiteness and calling
50659         __kernel_standard.
50660         * math/w_exp2f.c: Likewise.
50661         * math/w_exp2l.c: Likewise.
50662         * math/libm-test.inc (exp2_test): Require overflow exception for
50663         1e6 input.
50665         [BZ #3866]
50666         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50667         range of signed 64-bit integers before using fistpll.  Remove
50668         checks for whether integers fit in mantissa bits.
50669         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50670         the range of signed 32-bit integers before using fistpl.  Remove
50671         checks for whether integers fit in mantissa bits.
50672         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50673         (__ieee754_powl): Test for y outside the range of signed 64-bit
50674         integers before using fistpll.  Reduce 64-bit values to 63-bit
50675         ones as needed.
50676         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50677         divide-by-zero is raised for zero to large negative powers.
50678         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50679         (__ieee754_powl): Test for y outside the range of signed 64-bit
50680         integers before using fistpll.  Reduce 64-bit values to 63-bit
50681         ones as needed.
50682         * math/libm-test.inc (pow_test): Add more tests.
50684 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50686         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50687         <stdio-common/_itoa.h>.
50688         * debug/segfault.c: Likewise.
50689         * elf/dl-cache.c: Likewise.
50690         * elf/dl-minimal.c: Likewise.
50691         * elf/dl-misc.c: Likewise.
50692         * elf/dl-sysdep.c: Likewise.
50693         * elf/dl-version.c: Likewise.
50694         * elf/rtld.c: Likewise.
50695         * hurd/hurdsock.c: Likewise.
50696         * hurd/lookup-retry.c: Likewise.
50697         * malloc/malloc.c: Likewise.
50698         * malloc/mtrace.c: Likewise.
50699         * nscd/nscd_getgr_r.c: Likewise.
50700         * nscd/nscd_getpw_r.c: Likewise.
50701         * nscd/nscd_getserv_r.c: Likewise.
50702         * posix/getopt_init.c: Likewise.
50703         * posix/wordexp.c: Likewise.
50704         * stdio-common/_itoa.c: Likewise.
50705         * stdio-common/printf_fphex.c: Likewise.
50706         * stdio-common/vfprintf.c: Likewise.
50707         * string/_strerror.c: Likewise.
50708         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50709         * sysdeps/i386/i686/hp-timing.h: Likewise.
50710         * sysdeps/mach/_strerror.c: Likewise.
50711         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50712         * sysdeps/mach/hurd/sethostid.c: Likewise.
50713         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50714         * sysdeps/mach/xpg-strerror.c: Likewise.
50715         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50716         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50717         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50718         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50719         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50720         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50721         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50722         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50723         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50724         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50725         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50726         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50727         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50728         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50729         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50730         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50731         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50732         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50733         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50734         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50735         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50737         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50739         * stdio-common/_itoa.h: Moved to ...
50740         * sysdeps/generic/_itoa.h: Here.
50742         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50744         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50745         instead of "_itoa.h" and "_itowa.h".
50746         * stdio-common/vfprintf.: Likewise.
50748 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50750         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50751         <bits/wordsize.h>.
50752         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50753         (__signbit): Likwise.
50754         (llrintf): Likwise.
50755         (llrint): Likwise.
50757 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50759         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50760         __WORDSIZE != 64.
50762 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50764         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50765         OVERFLOW_EXCEPTION_OK.
50766         * math/libm-test.inc ("Philosophy"): Update comment about
50767         exception testing.
50768         (OVERFLOW_EXCEPTION): Define.
50769         (OVERFLOW_EXCEPTION_OK): Likewise.
50770         (INVALID_EXCEPTION_OK): Renumber.
50771         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50772         (IGNORE_ZERO_INF_SIGN): Likewise.
50773         (test_exceptions): Handle FE_OVERFLOW.
50774         (exp10_test): Expect overflow exceptions.
50775         (exp2_test): Likewise.
50776         (expm1_test): Likewise.
50777         (nextafter_test): Likewise.
50778         (pow_test): Likewise.
50779         (scalbn_test): Likewise.
50780         (scalbln_test): Likewise.
50782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50784         * sysdeps/x86_64/bits/atomic.h
50785         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50786         64bit integer.
50787         (atomic_exchange_acq): Likewise.
50788         (__arch_exchange_and_add_body): Likewise.
50789         (__arch_add_body): Likewise.
50790         (atomic_add_negative): Likewise.
50791         (atomic_add_zero): Likewise.
50793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50795         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50796         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50798 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50800         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50801         Check __x86_64__ instead of __WORDSIZE.
50803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50805         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50807 2012-03-19  David S. Miller  <davem@davemloft.net>
50809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50811         * sysdeps/sparc/fpu/fenv_private.h: New file.
50812         * sysdeps/sparc/fpu/math_private.h: Use it.
50813         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50814         Remove.
50815         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50816         (libc_feholdexcept_setroundl): Remove.
50817         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50818         Remove.
50819         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50820         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50822 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50824         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50825         int64_t instead of long int.
50826         (INSERT_WORDS64): Likwise.
50828 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50830         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50831         _Unwind_GetCFA return to _Unwind_Ptr first.
50833 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50835         [BZ #13629]
50836         * math/s_clog.c: Include <float.h>.
50837         (__clog): Scale large or subnormal inputs.
50838         * math/s_clogf.c: Likewise.
50839         * math/s_clogl.c: Likewise.
50840         * math/s_clog10.c: Include <float.h>.
50841         (M_LOG10_2): Define.
50842         (__clog10): Scale large or subnormal inputs.
50843         * math/s_clog10f.c: Likewise.
50844         * math/s_clog10l.c: Likewise.
50845         * math/libm-test.inc (clog_test): Add more tests.
50846         (clog10_test): Likewise.
50847         * sysdeps/i386/fpu/libm-test-ulps: Update.
50848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50850         [BZ #11451]
50851         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50852         x and y.
50853         * math/libm-test.inc (atan2_test): Add another test.
50855         * Makerules (common-objdir-compile): Remove.
50856         * sysdeps/unix/Makefile (config-generated): Do not add
50857         $(unix-generated) to variable.
50858         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50859         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50860         Remove rule.
50861         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50862         Likewise.
50863         [generic bits/local_lim.h] (before-compile): Do not append to
50864         variable.
50865         [generic bits/local_lim.h] (common-generated): Likewise.
50866         [generic sys/param.h] (before-compile): Do not append to variable.
50867         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50868         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50869         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50870         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50871         include.
50872         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50873         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50874         [generic sys/param.h] ($(addprefix
50875         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50876         [generic sys/param.h] (common-generated): Do not append to
50877         variable.
50878         [generic sys/param.h] (sysdep_headers): Likewise.
50879         [generic bits/errno.h] (before-compile): Do not append to
50880         variable.
50881         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50882         rule.
50883         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50884         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50885         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50886         [generic bits/errno.h] (common-generated): Do not append to
50887         variable.
50888         [generic bits/ioctls.h] (before-compile): Do not append to
50889         variable.
50890         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50891         rule.
50892         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50893         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50894         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50895         rule.
50896         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50897         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50898         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50899         [generic bits/ioctls.h] (common-generated): Do not append to
50900         variable.
50901         [generic sys/syscall.h] (syscall.h): Remove variable.
50902         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50903         rule.
50904         [generic sys/syscall.h] (before-compile): Do not append to
50905         variable.
50906         [generic sys/syscall.h] (common-generated): Likewise.
50907         * sysdeps/unix/errnos-tmpl.c: Remove file.
50908         * sysdeps/unix/errnos.awk: Likewise.
50909         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50910         * sysdeps/unix/ioctls.awk: Likewise.
50911         * sysdeps/unix/mk-local_lim.c: Likewise.
50912         * sysdeps/unix/snarf-ioctls: Likewise.
50914 2012-03-19  Richard Henderson  <rth@twiddle.net>
50916         * sysdeps/i386/fpu/fenv_private.h: New file.
50917         * sysdeps/i386/fpu/math_private.h: Use it.
50918         (math_opt_barrier, math_force_eval): Remove.
50919         (libc_feholdexcept_setround_53bit): Remove.
50920         (libc_feupdateenv_53bit): Remove.
50921         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50922         (math_opt_barrier, math_force_eval): Remove.
50923         (libc_feholdexcept): Remove.
50924         (libc_feholdexcept_setround): Remove.
50925         (libc_fetestexcept, libc_fesetenv): Remove.
50926         (libc_feupdateenv_test): Remove.
50927         (libc_feupdateenv, libc_feholdsetround): Remove.
50928         (libc_feresetround): Remove.
50930         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50931         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50933         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50934         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50935         (libc_feupdateenv_testl): New.
50936         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50937         (libc_feupdateenv_testf): New.
50938         (libc_feupdateenv): Use libc_feupdateenv_test.
50939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50940         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50942         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50943         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50944         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50945         (libc_feresetround_noex): New.
50946         (libc_feresetround_noexf): New.
50947         (libc_feresetround_noexl): New.
50948         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50949         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50950         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50951         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50952         SET_RESTORE_ROUND.
50953         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50954         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50955         (__cos): Likewise.
50956         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50957         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50958         SET_RESTORE_ROUND_NOEX.
50959         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50960         SET_RESTORE_ROUND_NOEXF.
50961         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50962         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50963         (libc_feholdsetroundf): New.
50964         (libc_feresetround, libc_feresetroundf): New.
50966         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50967         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50968         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50970         * sysdeps/generic/math_private.h: Include <fenv.h>.
50971         (default_libc_feholdexcept): New.
50972         (default_libc_feholdexcept_setround): New.
50973         (default_libc_fesetenv, default_libc_feupdateenv): New.
50974         (libc_feholdexcept): Only define if undefined.
50975         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50976         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50977         (libc_feholdexcept_setroundl): Likewise.
50978         (libc_feholdexcept_setround_53bit): Likewise.
50979         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50980         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50981         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50982         (libc_feupdateenv_53bit): Likewise.
50983         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50984         (libc_feholdexcept): Convert from macro to inline function.
50985         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50986         (libc_fesetenv, libc_feupdateenv): Likewise.
50988         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50989         not previously defined.
50990         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50991         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50992         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50993         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50994         * sysdeps/ieee754/flt-32/math_private.h: New file.
50995         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50996         math_private.h below SET_FLOAT_WORD.
50997         (__isnan, __isinf_ns, __finite): Remove.
50998         (__isnanf, __isinf_nsf, __finitef): Remove.
51000 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51004 2012-03-17  David S. Miller  <davem@davemloft.net>
51006         [BZ #6471]
51007         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51008         for 2.16.
51010 2012-03-16  David S. Miller  <davem@davemloft.net>
51012         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51013         warnings.
51015         [BZ #6471]
51016         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51017         properly.
51018         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51019         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51020         sysdep_routines when subdir is sysvipc.
51021         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51022         __getshmlba helper.
51024         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51026 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51028         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51029         [__LP64__].
51031 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51033         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51034         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51035         (__lround): Renamed to ...
51036         (__llround): This.  Replace long int with long long int.
51037         Define lround functions as aliases of llround functions.
51038         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51040 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51042         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51043         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51044         adresses to uintptr_t.  Replace "long int" and "unsigned long
51045         int" with "greg_t" on va_arg.
51047 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51049         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51050         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51052         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51053         Move e_machine check before EI_CLASS check.  Handle x32
51054         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51055         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51056         SKIP_EM_IA_64 and include
51057         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51059         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51060         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51061         (add_system_dir): New macro.
51063         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51064         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51066 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51068         [BZ #2551]
51069         [BZ #2552]
51070         [BZ #2553]
51071         [BZ #2554]
51072         [BZ #2562]
51073         [BZ #2563]
51074         [BZ #2565]
51075         [BZ #2566]
51076         [BZ #2576]
51077         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51078         (y0): Likewise.
51079         * math/w_j0f.c (j0f): Likewise.
51080         (y0f): Likewise.
51081         * math/w_j0l.c (__j0l): Likewise.
51082         (__y0l): Likewise.
51083         * math/w_j1.c (j1): Likewise.
51084         (y1): Likewise.
51085         * math/w_j1f.c (j1f): Likewise.
51086         (y1f): Likewise.
51087         * math/w_j1l.c (__j1l): Likewise.
51088         (__y1l): Likewise.
51089         * math/w_jn.c (jn): Likewise.
51090         (yn): Likewise.
51091         * math/w_jnf.c (jnf): Likewise.
51092         (ynf): Likewise.
51093         * math/w_jnl.c (__jnl): Likewise.
51094         (__ynl): Likewise.
51095         * math/libm-test.inc (j0_test): Add more tests.
51096         (j1_test): Likewise.
51097         (jn_test): Likewise.  Add trailing semicolon to existing test.
51098         (y0_test): Likewise.
51099         (y1_test): Likewise.
51100         * sysdeps/i386/fpu/libm-test-ulps: Update.
51101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51103         [BZ #13851]
51104         [BZ #13854]
51105         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51106         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51107         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51108         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51109         (__tanl): Set errno for infinite argument.
51110         * sysdeps/i386/fpu/mptan.c: Remove.
51111         * sysdeps/i386/fpu/s_tan.S: Likewise.
51112         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51113         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51114         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51115         * math/libm-test.inc (tan_test): Add more tests and enable more
51116         tests for double and long double.
51117         * sysdeps/i386/fpu/libm-test-ulps: Update.
51118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51120 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51122         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51123         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51125 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51127         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51128         * configure.in: Use it for both main tree and add-ons.
51129         * configure: Regenerated.
51131 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51133         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51135 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51137         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51138         in comment.
51140         [BZ #13851]
51141         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51142         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51143         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51144         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51145         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51146         infinite argument.
51147         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51148         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51149         != 0 for prec == 2.
51150         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51151         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51152         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51153         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51154         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51155         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51156         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51157         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51158         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51159         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51160         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51161         * math/libm-test.inc (cos_test): Add more tests and enable more
51162         tests for long double.
51163         (sin_test): Likewise.
51164         (sincos_test): Likewise.
51165         * sysdeps/i386/fpu/libm-test-ulps: Update.
51166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51168 2012-03-16  David S. Miller  <davem@davemloft.net>
51170         * sysdeps/sparc/fpu/math_private.h: New file.
51172 2012-03-15  David S. Miller  <davem@davemloft.net>
51174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51175         file.
51176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51178         file.
51179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51185         sysdep routines.
51186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51188         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51189         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51191         * sysdeps/sparc/sparc-ifunc.h: New file.
51192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51193         sparc-ifunc.h
51194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51196         Likewise.
51197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51198         Likewise.
51199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51203         Likewise.
51204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51209         Likewise.
51210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51211         Likewise.
51212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51218         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51222         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51223         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51230         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51231         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51232         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51233         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51234         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51235         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51237 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51239         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51240         scaling.
51241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51243 2012-03-15  Andreas Jaeger  <aj@suse.de>
51245         [BZ #13852]
51246         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51247         ieee754/flt-32 implementation for sin, cos and sincos.
51248         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51249         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51250         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51251         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51252         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51253         ieee754/flt-32 implementation for tan.
51255         * math/libm-test.inc (cos_test): Enable some large input tests for
51256         float as well
51257         (sin_test): Likewise.
51258         (sincos_test): Likewise.
51259         (tan_test): Add tests for large input.
51261         * sysdeps/i386/fpu/libm-test-ulps: Update.
51263 2012-03-15  Andreas Jaeger  <aj@suse.de>
51265         [BZ #13658]
51266         * math/libm-test.inc (cos_test): Add more test cases.
51267         (sin_test): Likewise.
51268         (sincos_test): Likewise.
51270 2012-03-15  Andreas Jaeger  <aj@suse.de>
51272         [BZ #13837]
51273         * math/libm-test.inc (cos_test): Add a test case for large input
51274         value.
51275         (sin_test): Likewise.
51276         (sincos_test): Likewise.
51278 2012-03-15  Andreas Jaeger  <aj@suse.de>
51279             Joseph Myers  <joseph@codesourcery.com>
51281         [BZ #13658]
51282         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51283         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51284         * sysdeps/i386/fpu/branred.c: Likewise.
51285         * sysdeps/i386/fpu/dosincos.c: Likewise.
51286         * sysdeps/i386/fpu/mpa.c: Likewise.
51287         * sysdeps/i386/fpu/s_cos.S: Likewise.
51288         * sysdeps/i386/fpu/s_sin.S: Likewise.
51289         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51290         * sysdeps/i386/fpu/sincos32.c: Likewise.
51292         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51293         Define.
51294         (libc_feupdateenv_53bit): Define.
51295         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51296         Define.
51297         (libc_feupdateenv_53bit): Define.
51299         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51300         53 bit (without extend i386 double precision).
51302         * math/libm-test.inc (sincos_test): Add tests for large input.
51303         (sin): Likewise.
51304         (cos): Likewise.
51306         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51308 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51312 2012-03-15  David S. Miller  <davem@davemloft.net>
51314         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51315         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51316         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51317         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51330         file.
51331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51333         file.
51334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51336         file.
51337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51339         file.
51340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51342         fmin/fmax sysdep routines.
51343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51345 2012-03-14  David S. Miller  <davem@davemloft.net>
51347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51348         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51351         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51367         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51368         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51369         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51371         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51372         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51374         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51375         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51376         routines.
51377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51378         file.
51379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51381         file.
51382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51384         file.
51385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51387         file.
51388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51390         file.
51391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51393         file.
51394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51395         file.
51396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51397         file.
51398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51399         file.
51400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51401         New file.
51402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51403         file.
51404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51405         file.
51406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51408         file.
51409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51411         file.
51412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51414         file.
51415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51417         VIS3 routines.
51419         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51420         New file.
51422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51424         * sysdeps/sparc/configure.in: New file.
51425         * sysdeps/sparc/configure: Generate.
51426         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51427         * configure: Regenerate.
51428         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51429         * config.make.in (have-as-vis3): New.
51430         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51431         available use -Av9d instead of -Av9a.
51432         * sysdeps/sparc/sparc64/Makefile: Likewise.
51433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51435         New file.
51436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51437         file.
51438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51439         New file.
51440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51441         file.
51442         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51443         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51444         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51445         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51446         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51448         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51449         fzeros/fnegs to load 0x80000000 into a float register instead of
51450         using the stack.
51451         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51453 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51456         bits/syscall.h.
51457         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51458         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51459         ($(inst_includedir)/bits/syscall.h): Remove rule.
51460         ($(objpfx)bits/syscall.d): Include instead of
51461         $(objpfx)syscall-list.d.
51462         (generated): Change syscall-list.h and syscall-list.d to
51463         bits/syscall.h and bits/syscall.d.
51465 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51467         [BZ #13846]
51468         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51470 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51472         [BZ #13841]
51473         * math/s_csqrt.c: Include <float.h>.
51474         (__csqrt): Scale large or subnormal inputs.
51475         * math/s_csqrtf.c: Likewise.
51476         * math/s_csqrtl.c: Likewise.
51477         * math/libm-test.inc (csqrt_test): Add more tests.
51478         * sysdeps/i386/fpu/libm-test-ulps: Update.
51479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51481         [BZ #13840]
51482         * math/libm-test.inc (hypot_test): Add more tests.
51484 2012-03-13  David S. Miller  <davem@davemloft.net>
51486         [BZ #13840]
51487         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51488         double-precision for the calculation instead of scaling.
51490 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51492         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51493         manipulate bits before adding and subtracting TWO52[sx].
51494         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51495         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51496         Likewise.
51497         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51499 2012-03-13  David S. Miller  <davem@davemloft.net>
51501         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51502         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51504         rtld-global-offsets.h
51505         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51507         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51508         large parameters.
51510         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51512         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51513         'err' in the ifdef scope in which it is actually used.
51515         * nss/nss_db/db-init.c: Include string.h
51517 2012-03-12  David S. Miller  <davem@davemloft.net>
51519         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51520         masking out of the most significant byte of random value used.
51521         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51522         Fix coding style in previous change.
51524         * sysdeps/unix/sysv/linux/kernel-features.h
51525         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51526         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51527         expression.
51528         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51529         later.
51531 2012-03-11  David S. Miller  <davem@davemloft.net>
51533         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51534         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51535         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51536         for 'resultvar' otherwise things get truncated on 64-bit.
51538         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51539         Fix masking out of the most significant byte of random value used.
51541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51543 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51547 2012-03-09  David S. Miller  <davem@davemloft.net>
51549         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51550         variables with appropriate CPP guards.
51551         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51552         from the frame pointer, not the stack pointer.  Correct layout
51553         comments.  Fix test on resulting framesize and the management of
51554         the outregs buffer for pltexit.  Preserve floating point return
51555         values across _dl_call_pltexit call.
51556         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51557         framesize and the management of the outregs buffer for pltexit.
51558         Preserve floating point return values across _dl_call_pltexit
51559         call.
51560         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51561         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51562         (la_sparc64_gnu_pltexit): New functions.
51563         (print_exit): Fix format string for return register value.
51565 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51567         * sunrpc/Makefile (others): Add rpcgen.
51568         ($(objpfx)rpcgen): Remove special build rule and dependency on
51569         libc.
51570         * sunrpc/rpcgen.c: New file.
51572 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51574         [BZ #13673]
51575         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51576         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51577         * sysdeps/i386/crti.S: Likewise.
51578         * sysdeps/i386/crtn.S: Likewise.
51579         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51580         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51581         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51582         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51583         * sysdeps/sh/crti.S: Likewise.
51584         * sysdeps/sh/crtn.S: Likewise.
51585         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51587         [BZ #13673]
51588         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51589         with URL.
51590         * locale/programs/locfile-kw.gperf: Likewise.
51591         * locale/programs/charmap-kw.h: Regenerated.
51592         * locale/programs/locfile-kw.h: Likewise.
51594         [BZ #13673]
51595         * intl/plural.y: Replace FSF snail mail address with URL.
51596         * intl/plural.c: Regenerated.
51598 2012-03-09  Richard Henderson  <rth@twiddle.net>
51600         * include/math_private.h: Remove file.
51601         * math/math_private.h: Move file ...
51602         * sysdeps/generic/math_private.h: ... here.
51604         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51605         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51606         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51608         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51609         and <math_private.h>.
51610         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51611         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51612         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51613         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51614         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51617         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51618         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51619         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51621         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51626         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51628         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51629         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51631         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51632         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51634         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51639         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51640         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51642         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51643         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51644         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51645         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51646         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51647         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51648         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51649         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51650         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51651         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51652         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51653         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51654         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51655         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51656         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51657         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51658         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51659         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51660         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51661         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51662         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51663         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51664         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51665         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51666         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51667         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51668         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51669         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51670         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51671         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51672         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51673         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51674         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51675         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51676         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51677         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51678         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51679         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51680         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51681         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51682         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51683         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51684         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51685         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51688         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51689         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51690         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51691         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51692         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51693         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51694         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51695         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51696         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51697         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51698         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51699         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51700         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51701         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51702         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51703         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51704         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51705         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51706         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51707         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51708         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51709         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51710         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51711         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51712         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51713         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51714         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51715         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51716         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51717         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51718         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51719         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51720         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51721         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51722         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51723         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51724         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51725         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51726         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51727         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51728         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51729         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51730         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51731         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51732         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51733         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51734         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51735         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51736         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51737         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51738         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51739         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51740         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51741         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51742         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51743         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51744         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51745         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51746         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51747         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51748         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51749         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51750         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51751         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51752         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51753         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51754         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51755         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51756         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51757         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51758         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51759         * sysdeps/ieee754/k_standard.c: Likewise.
51760         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51761         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51763         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51764         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51765         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51766         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51767         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51768         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51769         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51770         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51771         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51772         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51773         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51774         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51775         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51776         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51777         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51778         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51779         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51780         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51781         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51782         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51783         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51784         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51785         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51786         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51787         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51788         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51789         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51790         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51791         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51792         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51793         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51794         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51795         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51796         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51797         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51798         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51799         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51800         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51801         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51802         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51803         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51804         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51805         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51806         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51808         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51811         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51812         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51813         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51814         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51815         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51816         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51817         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51818         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51819         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51820         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51821         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51822         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51823         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51825         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51826         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51827         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51828         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51830         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51831         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51832         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51833         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51834         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51835         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51836         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51838         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51839         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51840         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51841         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51842         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51843         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51844         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51845         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51846         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51847         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51848         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51849         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51851         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51852         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51853         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51854         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51855         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51856         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51857         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51858         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51859         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51861         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51862         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51863         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51864         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51865         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51866         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51867         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51868         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51869         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51870         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51871         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51872         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51873         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51874         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51875         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51876         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51877         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51878         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51879         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51881         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51882         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51883         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51884         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51885         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51886         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51887         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51888         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51889         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51890         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51891         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51892         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51893         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51894         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51895         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51896         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51897         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51898         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51899         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51900         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51901         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51902         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51903         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51904         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51905         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51906         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51907         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51908         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51909         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51910         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51911         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51914         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51915         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51916         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51917         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51918         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51919         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51920         * sysdeps/ieee754/s_lib_version.c: Likewise.
51921         * sysdeps/ieee754/s_matherr.c: Likewise.
51922         * sysdeps/ieee754/s_signgam.c: Likewise.
51923         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51924         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51925         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51926         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51927         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51928         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51929         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51930         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51931         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51932         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51933         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51934         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51935         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51936         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51937         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51938         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51939         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51940         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51941         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51942         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51945 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51947         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51948         * sunrpc/rpc_main.c: Likewise.
51949         * sunrpc/rpc_svcout.c: Likewise.
51951 2012-03-09  David S. Miller  <davem@davemloft.net>
51953         * include/math_private.h: New file.
51955 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51957         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51958         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51959         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51960         from <bits/socket_type.h>.
51961         (enum __socket_type): Don't define here.
51962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51964         bits/socket_type.h.
51966         [BZ #13566]
51967         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51968         checking __USE_GNU.
51970         * Makerules ($(inst_includedir)/%.h): New rule.
51971         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51972         (install-others): Remove variable setting.
51973         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51975 2012-03-08  Richard Henderson  <rth@twiddle.net>
51977         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51978         from macro to inline function; merge with the
51979         !__LIBC_INTERNAL_MATH_INLINES version.
51980         (__ieee754_sqrtf): Likewise.
51982         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51983         to inline function.
51984         (__rintf, __floor, __floorf): Likewise.
51986         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51987         macro to inline function.
51988         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51990         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51991         not <math/math_private.h>.
51993 2012-03-08  David S. Miller  <davem@davemloft.net>
51995         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51996         copyright year.
51997         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51999 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52001         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52002         normalization.
52003         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52004         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52006 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52008         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52009         be defined individually, they must be defined as a block.  Define
52010         S for printing a string instead of hidint the different by using a
52011         macro for adding the 'l'.
52012         * stdio-common/tst-fphex-wide.c: Adjust.
52014 2012-03-07  Marek Polacek  <polacek@redhat.com>
52016         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52018 2012-03-08  Marek Polacek  <polacek@redhat.com>
52020         [BZ #13806]
52021         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52022         * stdio-common/tst-fphex.c: Define a few macros to make the
52023         test reusable.  Use them.
52024         * stdio-common/tst-fphex-wide.c: New file.
52026 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52028         [BZ #6911]
52029         * manual/macros.texi (gnusystems): New macro.
52030         (nongnusystems): Likewise.
52031         (gnulinuxhurdsystems): Likewise.
52032         (gnuhurdsystems): Likewise..
52033         (gnulinuxsystems): Likewise.
52034         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52035         variants of the GNU system, not "GNU system".
52036         * manual/conf.texi: Likewise.
52037         * manual/errno.texi: Likewise.  Update example of errno macro
52038         expansion.
52039         * manual/filesys.texi: Likewise.
52040         (getumask): Document as specific to GNU/Hurd.
52041         * manual/install.texi: Likewise.  Reword some references to
52042         GNU/Linux.
52043         * manual/intro.texi: Likewise.
52044         * manual/io.texi: Likewise.
52045         (File Name Portability): Detail which constraints are inapplicable
52046         to all GNU systems and which are only inapplicable to GNU/Hurd.
52047         * manual/job.texi: Likewise.
52048         * manual/llio.texi: Likewise.
52049         (O_NOCTTY): Document as present on GNU/Linux.
52050         * manual/maint.texi: Likewise.
52051         * manual/memory.texi: Likewise.
52052         * manual/pattern.texi: Likewise.
52053         * manual/pipe.texi: Likewise.
52054         * manual/process.texi: Likewise.
52055         * manual/resource.texi: Likewise.
52056         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52057         child on GNU/Hurd.
52058         * manual/setjmp.texi: Likewise.
52059         * manual/signal.texi: Likewise.
52060         * manual/startup.texi: Likewise.
52061         * manual/stdio.texi: Likewise.
52062         * manual/terminal.texi: Likewise.
52063         (ONLCR): Document as POSIX.
52064         (OXTABS): Document availability on GNU/Linux as XTABS.
52065         (ONOEOT): Document availability separately from other bits.
52066         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52067         * manual/time.texi: Likewise.
52068         * manual/users.texi: Likewise.
52069         * INSTALL: Regenerated.
52070         * sysdeps/gnu/errlist.c: Regenerated.
52072         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52073         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52074         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52075         puts.
52076         * configure: Regenerated.
52078 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52080         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52081         default includes instead of AC_HEADER_CHECK.
52082         * sysdeps/i386/configure: Regenerated.
52084         [BZ #10716]
52085         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52086         * math/s_cacoshf.c (__cacoshf): Likewise.
52087         * math/s_cacoshl.c (__cacoshl): Likewise.
52088         * math/s_casinh.c (__casinh): Set signs of result from argument.
52089         * math/s_casinhf.c (__casinhf): Likewise.
52090         * math/s_casinhl.c (__casinhl): Likewise.
52091         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52092         (casinh_test): Add more tests.
52093         * sysdeps/i386/fpu/libm-test-ulps: Update.
52094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52096 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52098         * po/zh_TW.po: Update from translation team.
52100         * login/Makefile (distribute): Remove variable.
52101         * catgets/Makefile: Likewise.
52102         * mach/Makefile: Likewise.
52103         * malloc/Makefile: Likewise.
52104         * misc/Makefile: Likewise.
52105         * iconv/Makefile: Likewise.
52106         * nscd/Makefile: Likewise.
52107         * hurd/Makefile: Likewise.
52108         * manual/Makefile: Likewise.
52109         * locale/Makefile: Likewise.
52110         * intl/Makefile: Likewise.
52111         * conform/Makefile: Likewise.
52112         * nss/Makefile: Likewise.
52113         * time/Makefile: Likewise.
52114         * soft-fp/Makefile: Likewise.
52115         * dirent/Makefile: Likewise.
52116         * gmon/Makefile: Likewise.
52117         * po/Makefile: Likewise.
52118         * rt/Makefile: Likewise.
52119         * socket/Makefile: Likewise.
52120         * math/Makefile: Likewise.
52121         * signal/Makefile: Likewise.
52122         * debug/Makefile: Likewise.
52123         * elf/Makefile: Likewise.
52124         * timezone/Makefile: Likewise.
52125         * stdlib/Makefile: Likewise.
52126         * iconvdata/Makefile: Likewise.
52127         * sunrpc/Makefile: Likewise.
52128         * io/Makefile: Likewise.
52129         * argp/Makefile: Likewise.
52130         * inet/Makefile: Likewise.
52131         * hesiod/Makefile: Likewise.
52132         * grp/Makefile: Likewise.
52133         * csu/Makefile: Likewise.
52134         * wctype/Makefile: Likewise.
52135         * crypt/Makefile: Likewise.
52136         * libio/Makefile: Likewise.
52137         * string/Makefile: Likewise.
52138         * nis/Makefile: Likewise.
52139         * resolv/Makefile: Likewise.
52140         * stdio-common/Makefile: Likewise.
52141         * wcsmbs/Makefile: Likewise.
52142         * dlfcn/Makefile: Likewise.
52143         * posix/Makefile: Likewise.
52145         [BZ #6959]
52146         * timezone/Makefile: Don't install timezone files, just the programs
52147         and scripts.
52149 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52151         * nss/databases.def: Add missing gshadow entry.
52153         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52155 2012-03-06  Marek Polacek  <polacek@redhat.com>
52157         [BZ #13726]
52158         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52159         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52160         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52161         * stdio-common/tst-long-dbl-fphex.c: New file.
52163 2012-03-06  David S. Miller  <davem@davemloft.net>
52165         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52166         (set_obp_int): New function.
52167         (get_obp_int): New function.
52168         (__get_clockfreq_via_dev_openprom): Likewise.
52169         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52170         Avoid unused variable warnings on 'val' and use builtin_expect.
52171         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52172         __builtin_expect.
52173         (INLINE_CLONE_SYSCALL): Likewise.
52175 2012-03-05  David S. Miller  <davem@davemloft.net>
52177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52179 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52183         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52184         only for |x| >= 40.
52185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52187 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52189         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52190         Replace gettimeofday with __vdso_gettimeofday.
52192         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52193         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52194         __vdso_clock_gettime and __vdso_getcpu.
52196         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52197         time with __vdso_time.
52199 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52201         * manual/lang.texi (size_t): Note types to which size_t may be
52202         equivalent with the GNU C Library, but do not describe when
52203         differences between them are significant.
52205 2012-03-05  Andreas Jaeger  <aj@suse.de>
52207         * sysdeps/i386/fpu/libm-test-ulps: Update.
52209 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52211         [BZ #3976]
52212         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52213         (__ieee754_pow): Save and restore rounding mode and use
52214         round-to-nearest for main computations.
52215         * math/libm-test.inc (pow_test_tonearest): New function.
52216         (pow_test_towardzero): Likewise.
52217         (pow_test_downward): Likewise.
52218         (pow_test_upward): Likewise.
52219         (main): Call the new functions.
52220         * sysdeps/i386/fpu/libm-test-ulps: Update.
52221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52223         [BZ #3976]
52224         * math/libm-test.inc (cosh_test_tonearest): New function.
52225         (cosh_test_towardzero): Likewise.
52226         (cosh_test_downward): Likewise.
52227         (cosh_test_upward): Likewise.
52228         (sinh_test_tonearest): Likewise.
52229         (sinh_test_towardzero): Likewise.
52230         (sinh_test_downward): Likewise.
52231         (sinh_test_upward): Likewise.
52232         (main): Call the new functions.
52233         * sysdeps/i386/fpu/libm-test-ulps: Update.
52234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52236 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52238         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52239         default stack guard is set in last bytes.
52240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52242 2012-03-05  Kees Cook  <keescook@chromium.org>
52244         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52246         [BZ #13656]
52247         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52248         possibly allocate from heap instead of stack.
52249         * stdio-common/bug-vfprintf-nargs.c: New file.
52250         * stdio-common/Makefile (tests): Add nargs overflow test.
52252 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52256 2012-03-03  Marek Polacek  <polacek@redhat.com>
52258         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52259         * math/math_private.h: Likewise.
52260         * stdlib/tst-strtod.c: Likewise.
52261         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52262         * sysdeps/x86_64/bits/atomic.h: Likewise.
52264 2012-03-02  David S. Miller  <davem@davemloft.net>
52266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52270         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52271         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52272         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52273         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52275 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52277         [BZ #13792]
52278         * manual/examples/README: New file, says the example source files
52279         can be used under GPL>=2.
52280         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52281         line containing just "*/".
52282         * manual/examples/add.c: Add copyright header (GPL>=2).
52283         * manual/examples/argp-ex1.c: Likewise.
52284         * manual/examples/argp-ex2.c: Likewise.
52285         * manual/examples/argp-ex3.c: Likewise.
52286         * manual/examples/argp-ex4.c: Likewise.
52287         * manual/examples/atexit.c: Likewise.
52288         * manual/examples/db.c: Likewise.
52289         * manual/examples/dir.c: Likewise.
52290         * manual/examples/dir2.c: Likewise.
52291         * manual/examples/execinfo.c: Likewise.
52292         * manual/examples/filecli.c: Likewise.
52293         * manual/examples/filesrv.c: Likewise.
52294         * manual/examples/fmtmsgexpl.c: Likewise.
52295         * manual/examples/genpass.c: Likewise.
52296         * manual/examples/inetcli.c: Likewise.
52297         * manual/examples/inetsrv.c: Likewise.
52298         * manual/examples/isockad.c: Likewise.
52299         * manual/examples/longopt.c: Likewise.
52300         * manual/examples/memopen.c: Likewise.
52301         * manual/examples/memstrm.c: Likewise.
52302         * manual/examples/mkfsock.c: Likewise.
52303         * manual/examples/mkisock.c: Likewise.
52304         * manual/examples/mygetpass.c: Likewise.
52305         * manual/examples/pipe.c: Likewise.
52306         * manual/examples/popen.c: Likewise.
52307         * manual/examples/rprintf.c: Likewise.
52308         * manual/examples/search.c: Likewise.
52309         * manual/examples/select.c: Likewise.
52310         * manual/examples/setjmp.c: Likewise.
52311         * manual/examples/sigh1.c: Likewise.
52312         * manual/examples/sigusr.c: Likewise.
52313         * manual/examples/stpcpy.c: Likewise.
52314         * manual/examples/strdupa.c: Likewise.
52315         * manual/examples/strftim.c: Likewise.
52316         * manual/examples/strncat.c: Likewise.
52317         * manual/examples/subopt.c: Likewise.
52318         * manual/examples/swapcontext.c: Likewise.
52319         * manual/examples/termios.c: Likewise.
52320         * manual/examples/testopt.c: Likewise.
52321         * manual/examples/testpass.c: Likewise.
52322         * manual/examples/timeval_subtract.c: Likewise.
52324         [BZ #13792]
52325         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52326         function to ...
52327         * manual/timeval_subtract.c.texi: ... here, new file.
52329 2012-03-02  David S. Miller  <davem@davemloft.net>
52331         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52333 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52335         [BZ #3976]
52336         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52337         (__sin): Save and restore rounding mode and use round-to-nearest
52338         for all computations.
52339         (__cos): Save and restore rounding mode and use round-to-nearest
52340         for all computations.
52341         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52342         <fenv.h>.
52343         (tan): Save and restore rounding mode and use round-to-nearest for
52344         all computations.
52345         * math/libm-test.inc (cos_test_tonearest): New function.
52346         (cos_test_towardzero): Likewise.
52347         (cos_test_downward): Likewise.
52348         (cos_test_upward): Likewise.
52349         (sin_test_tonearest): Likewise.
52350         (sin_test_towardzero): Likewise.
52351         (sin_test_downward): Likewise.
52352         (sin_test_upward): Likewise.
52353         (tan_test_tonearest): Likewise.
52354         (tan_test_towardzero): Likewise.
52355         (tan_test_downward): Likewise.
52356         (tan_test_upward): Likewise.
52357         (main): Call the new functions.
52358         * sysdeps/i386/fpu/libm-test-ulps: Update.
52359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52361         [BZ #10135]
52362         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52363         small n, then large n, before computing and testing k+n.
52364         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52365         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52366         Likewise.
52367         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52368         Likewise.
52369         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52370         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52371         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52372         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52373         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52374         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52375         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52376         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52377         * math/libm-test.inc (scalbn_test): Add more tests.
52378         (scalbln_test): Likewise.
52380         * manual/filesys.texi (mode_t): Describe constraints on size and
52381         signedness, not exact equivalence to a particular type.
52382         (ino_t): Likewise.
52383         (ino64_t): Likewise.
52384         (dev_t): Likewise.
52385         (nlink_t): Likewise.
52386         (blkcnt_t): Likewise.
52387         (blkcnt64_t): Likewise.
52388         * manual/llio.texi (off_t): Likewise.
52390         [BZ #3976]
52391         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52392         (__ieee754_exp): Save and restore rounding mode and use
52393         round-to-nearest for all computations.
52394         * math/libm-test.inc (exp_test_tonearest): New function.
52395         (exp_test_towardzero): Likewise.
52396         (exp_test_downward): Likewise.
52397         (exp_test_upward): Likewise.
52398         (main): Call the new functions.
52399         * sysdeps/i386/fpu/libm-test-ulps: Update.
52400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52402 2012-03-01  Chris Demetriou  <cgd@google.com>
52404         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52405         have predictable order.
52407 2012-03-01  David S. Miller  <davem@davemloft.net>
52409         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52411         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52412         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52413         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52414         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52416         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52417         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52418         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52420         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52421         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52422         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52423         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52424         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52428         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52429         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52430         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52432         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52433         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52434         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52435         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52436         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52437         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52438         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52439         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52440         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52441         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52442         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52443         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52445         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52446         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52448         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52449         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52450         * sysdeps/sparc/elf/configure: Regenerated.
52452 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52454         * configure.in (AS, LD): Require binutils 2.20 or later.
52455         * configure: Regenerated.
52456         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52457         as required minimum version.
52458         * INSTALL: Regenerated.
52460         [BZ #2541]
52461         [BZ #4108]
52462         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52463         before squaring exponent.
52464         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52465         bottom long double and 27 bits of top long double before squaring
52466         exponent.
52467         * math/libm-test.inc (erfc_test): Add more tests.
52468         * sysdeps/i386/fpu/libm-test-ulps: Update.
52469         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52472 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52474         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52475         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52476         containing bit-fields.
52477         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52478         * soft-fp/single.h (_FP_UNION_S): Likewise.
52479         * soft-fp/double.h (_FP_UNION_D): Likewise.
52481 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52483         [BZ #13786]
52484         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52485         not include ../strcmp.S.
52486         [USE_AS_STRNCASECMP_L]: Likewise.
52487         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52488         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52489         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52490         (__strncasecmp_l_ia32): Define as alias to
52491         __strncasecmp_l_nonascii.
52493         [BZ #5794]
52494         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52495         * sysdeps/i386/fpu/libm-test-ulps: Update.
52496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52498         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52501 2012-02-29  Jeff Law  <law@redhat.com>
52503         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52504         out of bounds read.
52506 2012-02-29  Marek Polacek  <polacek@redhat.com>
52508         [BZ #13706]
52509         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52510         * elf/Makefile: Add rules to run tst-unused-dep.out.
52512 2012-02-28  David S. Miller  <davem@davemloft.net>
52514         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52515         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52516         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52517         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52518         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52519         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52521 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52523         * math/libm-test.inc (llround_test): Move one test from
52524         lround_test.  Use TEST_f_L in moved test.
52525         (lround_test): Move misplaced test to llround_test.  Add testcase
52526         from bug 2561.
52528 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52530         * sysdeps/x86_64/fpu/e_expf.S: New file.
52531         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52533 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52535         [BZ #13637]
52536         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52537         of remain_len that may cause incomplete multi-byte character and
52538         false match.
52539         * posix/bug-regex33.c: New file.
52540         * posix/Makefile (tests): Add bug-regex33.
52542 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52544         * manual/macros.texi: New file.
52545         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52546         * manual/libc.texinfo: Include macros.texi.
52547         * manual/creatute.texi: Likewise.
52548         * manual/install.texi: Likewise.
52549         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52550         @glibcadj{} in references to the GNU C Library.
52551         * manual/charset.texi: Likewise.
52552         * manual/conf.texi: Likewise.
52553         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52554         when not using those macros.
52555         * manual/creature.texi: Likewise.
52556         * manual/crypt.texi: Likewise.
52557         * manual/errno.texi: Likewise.
52558         * manual/filesys.texi: Likewise.
52559         * manual/header.texi: Likewise.
52560         * manual/install.texi: Likewise.
52561         * manual/intro.texi: Likewise.
52562         * manual/io.texi: Likewise.
52563         * manual/job.texi: Likewise.
52564         * manual/lang.texi: Likewise.
52565         * manual/libc.texiinfo: Likewise.
52566         * manual/llio.texi: Likewise.
52567         * manual/locale.texi: Likewise.
52568         * manual/maint.texi: Likewise.
52569         * manual/math.texi: Likewise.
52570         * manual/memory.texi: Likewise.
52571         * manual/message.texi: Likewise.
52572         * manual/nss.texi: Likewise.
52573         * manual/pattern.texi: Likewise.
52574         * manual/process.texi: Likewise.
52575         * manual/resource.texi: Likewise.
52576         * manual/search.texi: Likewise.
52577         * manual/setjmp.texi: Likewise.
52578         * manual/signal.texi: Likewise.
52579         * manual/socket.texi: Likewise.
52580         * manual/startup.texi: Likewise.
52581         * manual/stdio.texi: Likewise.
52582         * manual/string.texi: Likewise.
52583         * manual/sysinfo.texi: Likewise.
52584         * manual/syslog.texi: Likewise.
52585         * manual/terminal.texi: Likewise.
52586         * manual/time.texi: Likewise.
52587         * manual/users.texi: Likewise.
52588         * INSTALL: Regenerated.
52589         * NOTES: Regenerated.
52590         * sysdeps/gnu/errlist.c: Regenerated.
52592 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52594         * include/dirent.h: Include <dirstream.h> before
52595         <dirent/dirent.h>.
52597 2012-02-28  David S. Miller  <davem@davemloft.net>
52599         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52600         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52601         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52602         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52604 2012-02-27  David S. Miller  <davem@davemloft.net>
52606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52608         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52609         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52612         frame pointer instead of stack pointer relative arg slot.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52614         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52615         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52617 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52619         [BZ #3992]
52620         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52622 2012-02-27  David S. Miller  <davem@davemloft.net>
52624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52628         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52629         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52630         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52631         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52633 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52635         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52636         later.  Allow versions 5-9.
52637         * configure: Regenerated.
52638         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52639         required minimum version and 4.6 as recommended version.  Do not
52640         mention bugs in GCC 2.7 and 2.8.
52641         * INSTALL: Regenerated.
52643 2012-02-27  David S. Miller  <davem@davemloft.net>
52645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52649         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52650         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52651         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52652         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52654         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52655         manipulate bits before adding and subtracting TWO112[sx].
52656         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52658 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52660         [BZ #13775]
52661         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52662         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52663         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52664         being in POSIX, because they are in 1003.1-2008.
52666         * rt/tst-aio.c: Include <fcntl.h>.
52667         * rt/tst-aio7.c: Likewise.
52668         * rt/tst-aio64.c: Likewise.
52670         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52672 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52674         * manual/install.texi (--with-headers): Describe headers as
52675         interface headers, not private headers.
52676         (Specific advice for GNU/Linux systems): Describe use of headers
52677         from "make headers_install", not private headers from older
52678         kernels.
52679         * INSTALL: Regenerated.
52680         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52681         Change to 2.6.19.
52682         * sysdeps/unix/sysv/linux/configure: Regenerated.
52684         * manual/llio.texi (fclean): Remove documentation.
52686         * manual/Makefile (libc-texi-generated): New variable.  Include
52687         version.texi.
52688         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52689         $(libc-texi-generated), not duplicated list of files.
52690         (version.texi, stamp-version): New rules.
52691         (realclean): Remove $(libc-texi-generated), not individual files
52692         from that list.  Do not remove dir-add.texinfo.
52693         * manual/libc.texinfo: Comment out uses of edition numbers and
52694         references to printed manual.  Remove last-updated dates.
52695         (EDITION): Comment out.
52696         (ISBN): Likewise.
52697         (VERSION, UPDATED): Remove.
52698         (version.texi): Include.
52700 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52702         * sysdeps/posix/spawni.c: Include <signal.h>.
52703         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52704         * sysdeps/pthread/aio_fsync.c: Likewise.
52706 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52708         * conform/Makefile (tests): Run only when not cross-compiling and
52709         when fast-check is not defined.
52711         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52712         * conform/data/limits.h-data: Fixes for POSIX2008.
52713         * conform/run-conformtest.sh: Run all tests.
52714         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52715         headers.
52716         * include/bits/dlfcn.h: Likewise.
52717         * include/langinfo.h: Likewise.
52718         * include/monetary.h: Likewise.
52719         * include/sys/poll.h: Likewise.
52721         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52722         for __USE_GNU.
52723         * posix/spawn.h: Define __need_sigset_t.
52724         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52725         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52726         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52727         to get sigevent_t only.
52728         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52729         only for __USE_GNU.
52730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52731         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52732         process_vm_writev only for __USE_GNU.
52733         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52735         * conform/Makefile: For now ignore errors from run-conformtest.
52736         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52737         POSIX to avoid namespace pollution.  Don't prepend headers.
52738         * conform/data/aio.h-data: Fixes for POSIX testing.
52739         * conform/data/fcntl.h-data: Likewise.
52740         * conform/data/glob.h-data: Likewise.
52741         * conform/data/grp.h-data: Likewise.
52742         * conform/data/pthread.h-data: Likewise.
52743         * conform/data/pwd.h-data: Likewise.
52744         * conform/data/signal.h-data: Likewise.
52745         * conform/data/spawn.h-data: Likewise.
52746         * conform/data/stdio.h-data: Likewise.
52747         * conform/data/stdlib.h-data: Likewise.
52748         * conform/data/stropts.h-data: Likewise.
52749         * conform/data/sys/mman.h-data: Likewise.
52750         * conform/data/sys/stat.h-data: Likewise.
52751         * conform/data/sys/types.h-data: Likewise.
52752         * conform/data/sys/wait.h-data: Likewise.
52753         * conform/data/time.h-data: Likewise.
52754         * conform/data/unistd.h-data: Likewise.
52755         * conform/data/utime.h-data: Likewise.
52757         * io/sys/stat.h: fchmod was always in POSIX.
52758         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52759         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52760         * rt/aio.h: Define __need_timespec before including <time.h>.
52761         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52762         struct.  Add forward declaration of pthread_attr_t and use it in
52763         sigevent.
52764         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52765         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52766         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52767         always remove CLK_TCK definition.
52769 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52771         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52773 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52775         * conform/run-conformtest.sh: New file.
52776         * conform/Makefile: Run run-conformtest for tests.
52777         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52778         support.
52780         * conform/data/uchar.h-data: New file.
52781         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52782         * conform/data/arpa/inet.h-data: Likewise.
52783         * conform/data/assert.h-data: Likewise.
52784         * conform/data/complex.h-data: Likewise.
52785         * conform/data/cpio.h-data: Likewise.
52786         * conform/data/ctype.h-data: Likewise.
52787         * conform/data/dirent.h-data: Likewise.
52788         * conform/data/dlfcn.h-data: Likewise.
52789         * conform/data/errno.h-data: Likewise.
52790         * conform/data/fcntl.h-data: Likewise.
52791         * conform/data/float.h-data: Likewise.
52792         * conform/data/fmtmsg.h-data: Likewise.
52793         * conform/data/fnmatch.h-data: Likewise.
52794         * conform/data/ftw.h-data: Likewise.
52795         * conform/data/glob.h-data: Likewise.
52796         * conform/data/grp.h-data: Likewise.
52797         * conform/data/iconv.h-data: Likewise.
52798         * conform/data/inttypes.h-data: Likewise.
52799         * conform/data/langinfo.h-data: Likewise.
52800         * conform/data/libgen.h-data: Likewise.
52801         * conform/data/limits.h-data: Likewise.
52802         * conform/data/locale.h-data: Likewise.
52803         * conform/data/math.h-data: Likewise.
52804         * conform/data/monetary.h-data: Likewise.
52805         * conform/data/mqueue.h-data: Likewise.
52806         * conform/data/ndbm.h-data: Likewise.
52807         * conform/data/net/if.h-data: Likewise.
52808         * conform/data/netdb.h-data: Likewise.
52809         * conform/data/netinet/in.h-data: Likewise.
52810         * conform/data/nl_types.h-data: Likewise.
52811         * conform/data/poll.h-data: Likewise.
52812         * conform/data/pthread.h-data: Likewise.
52813         * conform/data/pwd.h-data: Likewise.
52814         * conform/data/regex.h-data: Likewise.
52815         * conform/data/sched.h-data: Likewise.
52816         * conform/data/search.h-data: Likewise.
52817         * conform/data/semaphore.h-data: Likewise.
52818         * conform/data/setjmp.h-data: Likewise.
52819         * conform/data/signal.h-data: Likewise.
52820         * conform/data/spawn.h-data: Likewise.
52821         * conform/data/stdarg.h-data: Likewise.
52822         * conform/data/stdio.h-data: Likewise.
52823         * conform/data/stdlib.h-data: Likewise.
52824         * conform/data/string.h-data: Likewise.
52825         * conform/data/strings.h-data: Likewise.
52826         * conform/data/stropts.h-data: Likewise.
52827         * conform/data/sys/ipc.h-data: Likewise.
52828         * conform/data/sys/mman.h-data: Likewise.
52829         * conform/data/sys/msg.h-data: Likewise.
52830         * conform/data/sys/resource.h-data: Likewise.
52831         * conform/data/sys/select.h-data: Likewise.
52832         * conform/data/sys/sem.h-data: Likewise.
52833         * conform/data/sys/shm.h-data: Likewise.
52834         * conform/data/sys/socket.h-data: Likewise.
52835         * conform/data/sys/stat.h-data: Likewise.
52836         * conform/data/sys/statvfs.h-data: Likewise.
52837         * conform/data/sys/time.h-data: Likewise.
52838         * conform/data/sys/timeb.h-data: Likewise.
52839         * conform/data/sys/times.h-data: Likewise.
52840         * conform/data/sys/types.h-data: Likewise.
52841         * conform/data/sys/uio.h-data: Likewise.
52842         * conform/data/sys/un.h-data: Likewise.
52843         * conform/data/sys/utsname.h-data: Likewise.
52844         * conform/data/sys/wait.h-data: Likewise.
52845         * conform/data/syslog.h-data: Likewise.
52846         * conform/data/tar.h-data: Likewise.
52847         * conform/data/termios.h-data: Likewise.
52848         * conform/data/utime.h-data: Likewise.
52849         * conform/data/utmpx.h-data: Likewise.
52850         * conform/data/varargs.h-data: Likewise.
52851         * conform/data/wchar.h-data: Likewise.
52852         * conform/data/wctype.h-data: Likewise.
52853         * conform/data/wordexp.h-data: Likewise.
52855         * include/stropts.h: New file.
52856         * include/uchar.h: New file.
52857         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52858         * include/assert.h: Likewise.
52859         * include/ctype.h: Likewise.
52860         * include/dirent.h: Likewise.
52861         * include/dlfcn.h: Likewise.
52862         * include/fcntl.h: Likewise.
52863         * include/fnmatch.h: Likewise.
52864         * include/glob.h: Likewise.
52865         * include/grp.h: Likewise.
52866         * include/libio.h: Likewise.
52867         * include/locale.h: Likewise.
52868         * include/math.h: Likewise.
52869         * include/net/if.h: Likewise.
52870         * include/netdb.h: Likewise.
52871         * include/netinet/in.h: Likewise.
52872         * include/pthread.h: Likewise.
52873         * include/pwd.h: Likewise.
52874         * include/regex.h: Likewise.
52875         * include/sched.h: Likewise.
52876         * include/search.h: Likewise.
52877         * include/setjmp.h: Likewise.
52878         * include/signal.h: Likewise.
52879         * include/stdio.h: Likewise.
52880         * include/stdlib.h: Likewise.
52881         * include/string.h: Likewise.
52882         * include/sys/cdefs.h: Likewise.
52883         * include/sys/mman.h: Likewise.
52884         * include/sys/msg.h: Likewise.
52885         * include/sys/resource.h: Likewise.
52886         * include/sys/select.h: Likewise.
52887         * include/sys/socket.h: Likewise.
52888         * include/sys/stat.h: Likewise.
52889         * include/sys/statvfs.h: Likewise.
52890         * include/sys/time.h: Likewise.
52891         * include/sys/times.h: Likewise.
52892         * include/sys/uio.h: Likewise.
52893         * include/sys/utsname.h: Likewise.
52894         * include/sys/wait.h: Likewise.
52895         * include/termios.h: Likewise.
52896         * include/time.h: Likewise.
52897         * include/ulimit.h: Likewise.
52898         * include/unistd.h: Likewise.
52899         * include/utime.h: Likewise.
52900         * include/wchar.h: Likewise.
52901         * include/wctype.h: Likewise.
52902         * include/wordexp.h: Likewise.
52904         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52906         * time/time.h: TIME_UTC must be a macro.
52907         Make timespec_get available for ISO C11 only as well.
52909 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52911         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52912         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52914 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52916         * configure.in: Use -o not -a in test for unsupported multi-arch.
52918 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52920         * manual/texinfo.tex: Update to version 2012-01-19.16.
52922 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52924         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52926 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52928         [BZ #13738]
52929         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52930         * manual/fdl-1.3.texi: New file.
52931         * manual/fdl-1.1.texi: File removed.
52933         [BZ #13738]
52934         * manual/libc.texinfo (FDL_VERSION): New @set.
52935         Use it for mention of FDL in cover text.
52936         (Documentation License): Use it in @include file name.
52938 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52939             Roland McGrath  <roland@hack.frob.com>
52941         [BZ #5461]
52942         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52943         (not LONG_LONG_MAX and LONG_LONG_MIN.
52944         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52945         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52946         name.
52947         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52949 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52951         [BZ #2547]
52952         [BZ #11365]
52953         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52954         manipulate bits before adding and subtracting TWO23[sx].
52955         * math/libm-test.inc (nearbyint_test): Add more tests.
52957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52959         [BZ #2548]
52960         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52961         bits before adding and subtracting TWO23[sx].
52962         * math/libm-test.inc (rint_test): Add more tests.
52963         (rint_test_tonearest): Likewise.
52964         (rint_test_towardzero): Likewise.
52965         (rint_test_downward): Likewise.
52966         (rint_test_upward: Likewise.
52968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52970         [BZ #10110]
52971         * include/stdc-predef.h: New file.  Extracted from features.h.
52972         * include/features.h: Include stdc-predef.h.
52973         * Makefile (headers): Add stdc-predef.h.
52974         * CONFORMANCE (Compiler limitations): Update.
52976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52978         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52980 2012-02-21  David S. Miller  <davem@davemloft.net>
52982         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52983         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52985 2012-02-20  David S. Miller  <davem@davemloft.net>
52987         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52988         using a normal save/restore sequence, rather than allocating a
52989         dummy stack frame just to store a frame pointer and restore.
52990         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52992 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52994         * manual/install.texi: Fix stray word in line-wrapped comment.
52996 2012-02-20  David S. Miller  <davem@davemloft.net>
52998         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52999         both binutils and gcc support GOTDATA.
53001         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53002         "rd %pc" in the PIC register setup sequences.
53004         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53005         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53006         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53007         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53008         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53009         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53010         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53011         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53012         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53013         (SYSCALL_ERROR_HANDLER): Likewise.
53014         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53015         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53017         (SYSCALL_ERROR_HANDLER): Likewise.
53019         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53020         (HAVE_GCC_GOTDATA): New.
53021         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53022         relocation support in both binutils and gcc.
53023         * sysdeps/sparc/elf/configure: Regenerate.
53025         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53026         * sysdeps/sparc/sparc32/elf/configure: Delete.
53027         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53028         * sysdeps/sparc/sparc64/elf/configure: Delete.
53029         * sysdeps/sparc/elf/configure.in: New file.
53030         * sysdeps/sparc/elf/configure: Generate.
53032         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53033         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53034         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53035         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53036         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53038 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53040         * manual/install.texi: Do not mention specific glibc version
53041         numbers.
53042         * manual/libc.texinfo (VERSION, UPDATED): Update.
53043         (@copying): Use @copyright{} and range of years.
53045 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53047         [BZ #13695]
53048         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53049         [crti.S not in sysdirs] (generated): Do not append.
53050         [crti.S not in sysdirs] (omit-deps): Likewise.
53051         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53052         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53053         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53054         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53055         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53056         Likewise.
53057         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53058         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53059         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53060         * csu/defs.awk: Remove file.
53061         * sysdeps/generic/initfini.c: Likewise.
53062         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53063         variable.
53064         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53065         Likewise.
53067 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53069         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53070         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53071         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53072         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53073         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53074         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53075         <bits/epoll.h>.
53076         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53077         (__EPOLL_PACKED): Define to empty if not defined by
53078         <bits/epoll.h>.
53079         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53081         bits/epoll.h.
53083 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53085         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53086         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53087         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53088         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53089         <bits/timerfd.h>.
53090         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53092         bits/timerfd.h.
53094 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53096         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53097         in C locale.
53098         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53099         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53100         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53103 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53105         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53106         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53108 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53110         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53111         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53112         defined.
53113         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53114         Likewise.
53115         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53116         entry for 2.16.
53118 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53120         * math/w_acos.c: Use non-signaling floating-point comparisons.
53121         * math/w_acosf.c: Likewise.
53122         * math/w_acosh.c: Likewise.
53123         * math/w_acoshf.c: Likewise.
53124         * math/w_acoshl.c: Likewise.
53125         * math/w_acosl.c: Likewise.
53126         * math/w_asin.c: Likewise.
53127         * math/w_asinf.c: Likewise.
53128         * math/w_asinl.c: Likewise.
53129         * math/w_atanh.c: Likewise.
53130         * math/w_atanhf.c: Likewise.
53131         * math/w_atanhl.c: Likewise.
53132         * math/w_exp2.c: Likewise.
53133         * math/w_exp2f.c: Likewise.
53134         * math/w_exp2l.c: Likewise.
53135         * math/w_j0.c: Likewise.
53136         * math/w_j0f.c: Likewise.
53137         * math/w_j0l.c: Likewise.
53138         * math/w_j1.c: Likewise.
53139         * math/w_j1f.c: Likewise.
53140         * math/w_j1l.c: Likewise.
53141         * math/w_jn.c: Likewise.
53142         * math/w_jnf.c: Likewise.
53143         * math/w_log.c: Likewise.
53144         * math/w_log10.c: Likewise.
53145         * math/w_log10f.c: Likewise.
53146         * math/w_log10l.c: Likewise.
53147         * math/w_log2.c: Likewise.
53148         * math/w_log2f.c: Likewise.
53149         * math/w_log2l.c: Likewise.
53150         * math/w_logf.c: Likewise.
53151         * math/w_logl.c: Likewise.
53152         * math/w_sqrt.c: Likewise.
53153         * math/w_sqrtf.c: Likewise.
53154         * math/w_sqrtl.c: Likewise.
53155         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53156         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53157         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53158         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53159         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53161 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53163         [BZ #9739]
53164         * manual/string.texi (strnlen): Use correct parameter name in
53165         equivalent expression.
53167 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53169         [BZ #11174]
53170         * manual/users.texi (seteuid): Consistently use neweuid for
53171         argument name.
53173 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53175         [BZ #13704]
53176         * manual/nss.texi (Services in the NSS configuration): Correct
53177         list of services in example configuration file.
53179 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53181         [BZ #11322]
53182         * manual/arith.texi: Remove statements about negative zero
53183         behaving identically to zero.
53185 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53187         [BZ #5993]
53188         * manual/install.texi: Do not document upgrading from libc5.
53190 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53192         [BZ #4596]
53193         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53195 2012-02-18  David S. Miller  <davem@davemloft.net>
53197         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53198         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53199         %o7 across the call.
53200         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53201         instead.
53202         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53203         SETUP_PIC_REG_LEAF.
53204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53205         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53206         * sysdeps/sparc/crtn.S: Likewise.
53208 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53210         * aout/Makefile: Remove.
53212 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53214         [BZ #13058]
53215         * manual/examples/argp-ex1.c (main): Format definition in GNU
53216         style.
53217         * manual/examples/argp-ex2.c (main): Likewise.
53218         * manual/examples/argp-ex3.c (main): Likewise.
53219         * manual/examples/argp-ex4.c (main): Likewise.
53220         * manual/examples/longopt.c (main): Use new-style prototype
53221         definition.
53222         * manual/examples/strncat.c (main): Specify return type and use
53223         (void) for arguments.
53224         * manual/examples/subopt.c (main): Use char **argv argument.
53226 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53228         [BZ #5077]
53229         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53230         rounding modes.
53232 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53234         [BZ #6907]
53235         * manual/string.texi (strchr): Change when strchrnul is
53236         recommended.
53238 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53240         [BZ #174]
53241         * manual/locale.texi (setlocale): Document LOCPATH.
53243 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53245         [BZ #10210]
53246         * manual/process.texi (execle): Move @dots{} before last argument.
53248 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53250         [BZ #12047]
53251         * manual/charset.texi (Generic Charset Conversion): Fix typo
53252         (LC_TYPE -> LC_CTYPE).
53254 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53256         [BZ #5805]
53257         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53258         (scalbnf): Likewise.
53259         (scalbnl): Likewise.
53260         (scalbln): Likewise.
53261         (scalblnf): Likewise.
53262         (scalblnl): Likewise.
53263         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53264         (vwarnx): Likewise.
53265         (verr): Likewise.
53266         (verrx): Likewise.
53267         * manual/filesys.texi (telldir): Use braces around return type.
53268         * manual/llio.texi (mmap): Add space after comma.
53269         (mmap64): Likewise.
53270         * manual/math.texi (jn): Use @var{} on parameter names.
53271         (jnf): Likewise.
53272         (jnl): Likewise.
53273         (yn): Likewise.
53274         (ynf): Likewise.
53275         (ynl): Likewise.
53276         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53277         line.
53278         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53279         "...".
53280         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53281         (sched_get_priority_max): Likewise.
53282         * manual/signal.texi (sigvec): Add space after comma.
53283         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53284         names.
53285         (if_indextoname): Likewise.
53286         (if_freenameindex): Likewise.
53287         (sendto): Use ',' instead of '.' in prototype.
53288         * manual/startup.texi (syscall): Use @dots{} instead of literal
53289         "...".
53290         * manual/stdio.texi (__fpending): Separate initial words of
53291         paragraph from @deftypefun line.
53292         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53293         "...".
53294         (vsyslog): Use @var{} on parameter names.
53295         * manual/terminal.texi (stty): Use @var{} on parameter names.
53296         * manual/users.texi (getutmp): Use @var{} on parameter names.
53297         (getutmpx): Likewise.
53299 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53301         [BZ #6884]
53302         * manual/stdio.texi (fopen): Fix typos in description of
53303         ",ccs=STRING".
53305 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53307         [BZ #4026]
53308         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53309         get clock_id definition.
53311 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53313         [BZ #4822]
53314         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53315         (madvise): Cast every argument to void on its own.
53317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53319         [BZ #9902]
53320         * manual/startup.texi (Exit Status): Fix typo.
53322 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53324         [BZ #10140]
53325         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53326         * manual/examples/argp-ex2.c: Likewise.
53327         * manual/examples/argp-ex3.c: Likewise.
53329 2012-02-16  Richard Henderson  <rth@redhat.com>
53331         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53332         * sysdeps/s390/s390-32/initfini.c: Remove.
53333         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53334         * sysdeps/s390/s390-64/initfini.c: Remove.
53336 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53338         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53339         compiler output for sysdeps/generic/initfini.c.
53340         * sysdeps/sh/elf/initfini.c: Remove file.
53342 2012-02-16  David S. Miller  <davem@davemloft.net>
53344         [BZ #11494]
53345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53347         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53348         * sysdeps/sparc/crti.S: New file.
53349         * sysdeps/sparc/crtn.S: New file.
53350         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53351         * sysdeps/sparc/sparc64/Makefile: Likewise.
53353 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53355         [BZ #3335]
53356         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53358 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53360         [BZ #4822]
53361         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53363         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53364         (write, read, close): Likewise.
53365         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53367 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53369         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53370         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53371         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53372         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53373         <bits/signalfd.h>.
53374         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53376         bits/signalfd.h.
53378 2012-02-14  Marek Polacek  <polacek@redhat.com>
53380         * sysdeps/x86_64/crti.S: New file.
53381         * sysdeps/x86_64/crtn.S: New file.
53382         * sysdeps/x86_64/elf/initfini.c: Remove file.
53384 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53386         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53387         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53388         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53389         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53390         <bits/inotify.h>.
53391         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53392         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53393         bits/inotify.h.
53395 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53397         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53398         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53399         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53400         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53401         <bits/eventfd.h>.
53402         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53404         bits/eventfd.h.
53406 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53408         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53409         __feraiseexcept instead of feraiseexcept.
53411         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53412         nanosleep invocations.
53413         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53414         strings, and add error checking for a nanosleep invocations.
53416 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53418         Replace FSF snail mail address with URLs, as per GNU coding standards.
53419         Most of the snail mail addresses were wrong anyway, and omitting
53420         them makes the source code easier to maintain.  Almost all of the
53421         changes are to license notices and to locale LC_IDENTIFICATION
53422         addresses, except for this one:
53423         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53424         not its snail mail address.
53426 2012-02-09  Richard Henderson  <rth@twiddle.net>
53428         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53429         of kernel-features.h.
53431         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53433 2012-02-08  Marek Polacek  <polacek@redhat.com>
53435         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53436         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53437         * sysdeps/gnu/_G_config.h: Likewise.
53438         * sysdeps/generic/_G_config.h: Likewise.
53440 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53442         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53443         tests.
53444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53446         * sysdeps/powerpc/powerpc32/crti.S: New file.
53447         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53448         * sysdeps/powerpc/powerpc64/crti.S: New file.
53449         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53451         * Makeconfig (have-initfini): Don't set.
53452         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53453         * configure.in (nopic_initfini): Don't substitute.
53454         * config.h.in (HAVE_INITFINI): Don't #undef.
53455         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53456         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53458 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53460         Support crti.S and crtn.S provided directly by architectures.
53461         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53462         [crti.S in sysdirs] (omit-deps): Likewise.
53463         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53464         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53465         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53466         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53467         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53468         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53469         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53470         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53471         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53472         compiler output for sysdeps/generic/initfini.c.
53473         * sysdeps/i386/elf/Makefile: Remove file.
53474         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53476 2012-02-07  Marek Polacek  <polacek@redhat.com>
53478         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53479         * sysdeps/gnu/_G_config.h: Likewise.
53480         * sysdeps/mach/hurd/_G_config.h: Likewise.
53482 2012-02-07  Marek Polacek  <polacek@redhat.com>
53484         * math/Makefile (tests): Add tst-CMPLX2.
53485         * math/tst-CMPLX2.c: New file.
53487 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53489         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53491         * math/libm-test.inc (jn_test): Add missing L suffix.
53493 2012-02-06  Marek Polacek  <polacek@redhat.com>
53495         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53496         * sysdeps/i386/fpu/e_powf.S: Likewise.
53497         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53498         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53499         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53500         * sysdeps/i386/fpu/e_pow.S: Likewise.
53501         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53502         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53503         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53504         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53505         * sysdeps/i386/fpu/e_log2.S: Likewise.
53506         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53507         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53508         * sysdeps/i386/fpu/e_powl.S: Likewise.
53509         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53510         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53511         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53512         * sysdeps/i386/fpu/e_logl.S: Likewise.
53513         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53514         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53515         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53516         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53517         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53518         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53519         * sysdeps/i386/fpu/e_log.S: Likewise.
53520         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53521         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53522         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53523         * sysdeps/i386/fpu/e_logf.S: Likewise.
53524         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53525         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53526         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53527         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53528         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53529         * sysdeps/i386/fpu/e_log10.S: Likewise.
53530         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53531         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53532         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53533         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53534         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53535         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53536         * sysdeps/i386/asm-syntax.h: Likewise.
53537         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53538         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53539         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53540         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53541         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53542         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53543         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53544         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53545         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53546         * sysdeps/powerpc/sysdep.h: Likewise.
53547         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53548         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53550 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53552         [BZ #411]
53553         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53555 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53557         * sysdeps/i386/sysdep.h: Include <features.h>.
53558         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53559         version.
53561 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53563         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53564         Define.
53565         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53566         LOAD_PIC_REG_STR.
53568 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53570         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53571         (SETUP_PIC_REG): Use GET_PC_THUNK.
53572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53573         macro.
53575 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53577         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53578         for non-PIC compilation.
53579         (SETUP_PIC_REG): Add .p2align directive.
53580         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53581         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53582         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53583         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53584         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53586         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53587         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53588         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53589         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53590         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53591         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53592         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53593         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53594         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53595         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53596         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53597         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53598         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53599         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53600         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53601         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53602         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53603         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53604         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53605         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53606         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53608         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53609         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53610         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53611         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53613         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53614         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53615         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53616         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53618         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53620         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53622 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53624         * math/tst-CMPLX.c: Include <stdio.h>.
53626 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53628         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53629         float.
53630         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53631         * sysdeps/sparc/bits/mathdef.h: Likewise.
53633 2012-01-31  Marek Polacek  <polacek@redhat.com>
53635         * libio/libio.h: Don't define _PARAMS.
53636         * locale/programs/config.h: Don't define PARAMS.
53637         * stdlib/strtol_l.c: Likewise.
53638         (__strtol_l): Remove PARAMS from the prototype.
53640 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53642         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53643         names.  Just use the correct names.  Remove unnecessary wrapper
53644         functions.
53645         * malloc/arena.c: Likewise.
53646         * malloc/hooks.c: Likewise.
53648         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53649         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53650         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53652 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53654         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53655         into tail calls.
53656         (update_get_addr): New function.
53657         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53658         GET_ADDR_MODULE parameter.
53660 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53662         * crypt/cert.c: Remove __STDC__ conditionals.
53663         * crypt/crypt-entry.c: Likewise.
53664         * crypt/crypt_util.c: Likewise.
53665         * libio/filedoalloc.c: Likewise.
53666         * libio/fileops.c: Likewise.
53667         * libio/genops.c: Likewise.
53668         * libio/iofclose.c: Likewise.
53669         * libio/iofdopen.c: Likewise.
53670         * libio/iofopen.c: Likewise.
53671         * libio/iofopen64.c: Likewise.
53672         * libio/iogetdelim.c: Likewise.
53673         * libio/iopopen.c: Likewise.
53674         * libio/obprintf.c: Likewise.
53675         * libio/oldfileops.c: Likewise.
53676         * libio/oldiofclose.c: Likewise.
53677         * libio/oldiofdopen.c: Likewise.
53678         * libio/oldiofopen.c: Likewise.
53679         * libio/oldiopopen.c: Likewise.
53680         * libio/wfiledoalloc.c: Likewise.
53681         * libio/wgenops.c: Likewise.
53682         * locale/programs/xmalloc.c: Likewise.
53683         * misc/syslog.c: Likewise.
53684         * stdio-common/xbug.c: Likewise.
53685         * string/memchr.c: Likewise.
53686         * string/memcmp.c: Likewise.
53687         * string/memrchr.c: Likewise.
53688         * string/rawmemchr.c: Likewise.
53689         * sysdeps/posix/getcwd.c: Likewise.
53690         * time/strftime_l.c: Likewise.
53692 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53694         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53695         * config.make.in (config-cflags-sse2avx): Define.
53696         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53697         Fix typo.
53699 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53701         * scripts/config.guess: Update from upstream config git repository.
53702         * scripts/config.sub: Likewise.
53704 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53706         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53707         (EM_NUM): Update.
53708         (R_TILEPRO_*, R_TILEGX_*): New macros.
53710         * scripts/firstversions.awk: Fix bug in version range handling.
53712         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53714         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53716         * include/sys/epoll.h: New file.
53717         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53718         libc_hidden_def.
53720 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53722         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53723         Avoid unnecessary __WORDSIZE == 64 test.
53724         (fmaxf): Use VEX format if possible.
53725         (fmax): Likewise.
53726         (fminf): Likewise.
53727         (fmin): Likewise.
53729         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53730         * math/math_private.h: Remove libc_fegetround* and
53731         libc_fesetround*.
53732         * sysdeps/i386/configure.in: Check for -msse2avx.
53733         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53734         also if SSE2AVX is defined.
53735         Remove libc_fegetround* and libc_fesetround*.
53736         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53737         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53739         of HAS_YMM_USABLE.
53740         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53741         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53742         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53743         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53744         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53746         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53748 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53750         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53751         size is not set.
53752         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53754 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53756         [BZ #13618]
53757         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53758         relocation.
53759         * Makeconfig (libm): Define.
53760         * elf/Makefile: Add rules to build and run tst-relsort1.
53761         * elf/tst-relsort1.c: New file.
53762         * elf/tst-relsort1mod1.c: New file.
53763         * elf/tst-relsort1mod2.c: New file.
53765 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53767         * math/s_ldexp.c: Remove __STDC__ conditionals.
53768         * math/s_ldexpf.c: Likewise.
53769         * math/s_ldexpl.c: Likewise.
53770         * math/s_nextafter.c: Likewise.
53771         * math/s_nexttowardf.c: Likewise.
53772         * math/s_significand.c: Likewise.
53773         * math/s_significandf.c: Likewise.
53774         * math/s_significandl.c: Likewise.
53775         * math/w_jnl.c: Likewise.
53776         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53777         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53778         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53779         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53780         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53781         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53782         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53783         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53784         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53785         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53786         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53787         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53788         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53789         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53790         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53791         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53792         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53793         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53795         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53796         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53797         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53798         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53799         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53800         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53801         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53802         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53803         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53804         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53805         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53806         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53807         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53808         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53809         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53810         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53811         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53812         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53813         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53814         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53815         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53816         * sysdeps/ieee754/k_standard.c: Likewise.
53817         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53818         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53819         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53820         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53821         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53822         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53823         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53824         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53825         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53826         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53827         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53828         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53829         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53830         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53831         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53832         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53833         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53834         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53835         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53836         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53837         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53838         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53839         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53840         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53841         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53842         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53843         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53845         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53846         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53847         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53848         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53849         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53850         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53851         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53852         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53853         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53854         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53855         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53856         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53857         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53858         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53859         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53860         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53861         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53862         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53863         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53864         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53866         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53867         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53868         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53870         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53871         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53872         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53873         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53874         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53875         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53876         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53877         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53878         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53879         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53880         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53881         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53882         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53883         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53884         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53885         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53886         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53887         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53888         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53889         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53890         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53891         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53892         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53893         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53894         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53895         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53896         * sysdeps/ieee754/s_matherr.c: Likewise.
53897         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53902 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53904         * crypt/md5.h: Remove __STDC__ conditionals.
53905         * libio/libioP.h: Likewise.
53906         * locale/programs/config.h: Likewise.
53907         * sysdeps/generic/sysdep.h: Likewise.
53908         * sysdeps/i386/asm-syntax.h: Likewise.
53909         * sysdeps/s390/asm-syntax.h: Likewise.
53910         * sysdeps/unix/sysdep.h: Likewise.
53911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53914 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53916         * libio/libio.h: Remove __STDC__ conditionals.
53917         * malloc/obstack.h: Likewise.
53918         * math/complex.h: Likewise.
53919         * math/math.h: Likewise.
53920         * sysdeps/generic/_G_config.h: Likewise.
53921         * sysdeps/gnu/_G_config.h: Likewise.
53922         * sysdeps/mach/hurd/_G_config.h: Likewise.
53923         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53924         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53925         * sysdeps/sparc/bits/mathdef.h: Likewise.
53927 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53929         [BZ #13583]
53930         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53931         Clean up HAS_* macros.
53932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53933         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53934         possible.
53935         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53936         HAS_AVX.
53937         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53938         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53939         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53940         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53941         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53943 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53945         * elf/tst-unique3.cc (gets): Remove declaration.
53946         * elf/tst-unique3lib.cc (gets): Likewise.
53947         * elf/tst-unique3lib2.cc (gets): Likewise.
53948         * elf/tst-unique4.cc (gets): Likewise.
53950 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53952         * include/stdio.h: Add C++ protection.  Add gets declarations and
53953         definitions.
53954         * debug/tst-chk1.c: Don't declare gets here.
53955         * stdio-common/tst-gets.c: Likewise.
53957 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53959         * posix/glob: Remove directory.
53961 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53963         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53965 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53967         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53968         of the non-standard EPFNOSUPPORT.
53970 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53972         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53973         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53974         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53976 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53978         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53980 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53982         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53983         transient errors.
53984         * nscd/grpcache.c (cache_addgr): Likewise.
53985         * nscd/hstcache.c (cache_addhst): Likewise.
53986         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53987         * nscd/pwdcache.c (cache_addpw): Likewise.
53988         * nscd/servicescache.c (cache_addserv): Likewise.
53990 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53992         * malloc/malloc.c: Various cleanups.
53993         * malloc/hooks.c: Likewise.
53995         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53996         * stdlib/bug-fmtmsg1.c: New file.
53998         * stdlib/fmtmsg.c (init): Add missing unlock.
53999         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54001 2012-01-12  Marek Polacek  <polacek@redhat.com>
54003         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54004         and _GNU_SOURCE.
54006 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54008         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54009         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54010         macro to ensure uniqueness of label name.
54011         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54012         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54014 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54016         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54018         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54019         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54020         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54023 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54025         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54027         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54028         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54029         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54031         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54033         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54034         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54035         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54038         * math/bits/math-finite.h: Add ldexp support.
54040 2012-01-10  Marek Polacek  <polacek@redhat.com>
54042         * locale/programs/localedef.h (show_archive_content): Add noreturn
54043         attribute.
54045 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54047         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54049 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54051         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54053         * io/Makefile (headers): Add bits/poll2.h.
54055 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54058         typo #include statement.
54060 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54062         * include/sys/cdefs.h: Define __attribute_alloc_size.
54063         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54064         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54065         * elf/pldd.c: Likewise.
54066         * iconv/iconv_charmap.c: Likewise.
54067         * iconv/iconvconfig.c: Likewise.
54068         * iconv/strtab.c: Likewise.
54069         * locale/programs/locale.c: Likewise.
54070         * locale/programs/localedef.h: Likewise.
54071         * locale/programs/simple-hash.c: Likewise.
54072         * nscd/nscd.h: Likewise.
54073         * nss/makedb.c: Likewise.
54074         * sysdeps/generic/ldconfig.h: Likewise.
54075         * locale/programs/localedef.c: Remove xmalloc prototype.
54076         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54078 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54080         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54081         appropriate.
54083 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54085         * math/Makefile (tests): Add tst-CMPLX.
54086         * math/tst-CMPLX.c: New file.
54088         * math/complex.h (CMPLXL): Fix typo.
54090         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54091         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54092         GLIBC_2.16.
54093         * debug/tst-chk1.c: Add poll and ppoll tests.
54094         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54095         * include/sys/poll.h: Add hidden proto for ppoll.
54096         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54097         * sysdeps/mach/hurd/ppoll.c: Likewise.
54098         * io/ppoll.c: Likewise.
54099         * debug/poll_chk.c: New file.
54100         * debug/ppoll_chk.c: New file.
54101         * include/bits/poll2.h: New file.
54102         * io/bits/poll2.h: New file.
54104         [BZ #1350]
54105         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54107         * configure.in: static is always set to yes.  Remove.
54108         * config.make.in: Don't set build-static.
54109         * Makeconfig: Remove use of build-static.
54110         * dlfcn/Makefile: Likewise.
54111         * elf/Makefile: Likewise.
54112         * math/Makefile: Likewise.
54113         * misc/Makefile: Likewise.
54114         * nptl/Makefile: Likewise.
54115         * sysdeps/mach/hurd/Makefile: Likewise.
54117         * configure.in: PWD_P is not used anymore.
54118         * config.make.in: Remove PWD_P entry.
54120         * configure.in: Remove last remnants of RANLIB.
54121         No need to check for signed size_t anymore.
54122         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54123         and IA-64.
54124         Remove __builtin_expect test because we require at least gcc 3.4.
54125         * aclocal.m4: Likewise.
54127         * wcsmbs/mbrtoc16.c: Implement using towc function.
54128         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54129         * wcsmbs/wcsmbsload.c: Likewise.
54130         * iconv/gconv_simple.c: Likewise.
54131         * iconv/gconv_int.h: Likewise.
54132         * iconv/gconv_builtin.h: Likewise.
54133         * iconv/iconv_prog.c: Remove CHAR16 handling.
54135         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54137         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54139         * configure.in: Remove --with-elf and --enable-bounded options.
54140         Dont set base_machine for ia64.  More non-ELF conditions removed.
54141         Remove testing and setting of leading underscore information.
54142         * config.make.in (build-bounded): Set to no.
54143         * config.h.in: Remove NO_UNDERSCORES entry.
54144         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54145         them.
54146         * csu/start.c: Remove !NO_UNDERSCORE code.
54147         * locale/localeinfo.h: Likewise.
54148         * sysdeps/generic/machine-gmon.h: Likewise.
54149         * sysdeps/generic/sysdep.h: Likewise.
54150         * sysdeps/i386/sysdep.h: Likewise.
54151         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54152         * sysdeps/mach/sysdep.h: Likewise.
54153         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54154         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54155         * sysdeps/sh/sysdep.h: Likewise.
54156         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54157         * sysdeps/unix/i386/sysdep.S: Likewise.
54158         * sysdeps/unix/sparc/start.c: Likewise.
54159         * sysdeps/unix/sparc/sysdep.S: Likewise.
54160         * sysdeps/unix/sparc/sysdep.h: Likewise.
54161         * sysdeps/unix/start.c: Likewise.
54162         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54163         * sysdeps/x86_64/sysdep.h: Likewise.
54165 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54167         [BZ #13553]
54168         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54169         for non-gcc.
54170         * argp/argp-fmtstream.h: Use const instead __const.
54171         * argp/argp.h: Likewise.
54172         * assert/assert.h: Likewise.
54173         * bits/fenv.h: Likewise.
54174         * bits/sched.h: Likewise.
54175         * bits/sigset.h: Likewise.
54176         * bits/sigthread.h: Likewise.
54177         * catgets/nl_types.h: Likewise.
54178         * conform/data/pthread.h-data: Likewise.
54179         * crypt/crypt-private.h: Likewise.
54180         * crypt/crypt.h: Likewise.
54181         * crypt/crypt_util.c: Likewise.
54182         * ctype/ctype.h: Likewise.
54183         * debug/execinfo.h: Likewise.
54184         * debug/mbsnrtowcs_chk.c: Likewise.
54185         * debug/mbsrtowcs_chk.c: Likewise.
54186         * debug/wcsnrtombs_chk.c: Likewise.
54187         * debug/wcsrtombs_chk.c: Likewise.
54188         * debug/wcstombs_chk.c: Likewise.
54189         * dirent/dirent.h: Likewise.
54190         * dlfcn/dlfcn.h: Likewise.
54191         * elf/neededtest4.c: Likewise.
54192         * grp/grp.h: Likewise.
54193         * gshadow/gshadow.h: Likewise.
54194         * iconv/gconv.h: Likewise.
54195         * iconv/gconv_int.h: Likewise.
54196         * iconv/gconv_simple.c: Likewise.
54197         * iconv/iconv.h: Likewise.
54198         * iconv/loop.c: Likewise.
54199         * iconv/skeleton.c: Likewise.
54200         * include/aio.h: Likewise.
54201         * include/aliases.h: Likewise.
54202         * include/argz.h: Likewise.
54203         * include/arpa/inet.h: Likewise.
54204         * include/assert.h: Likewise.
54205         * include/dirent.h: Likewise.
54206         * include/dlfcn.h: Likewise.
54207         * include/execinfo.h: Likewise.
54208         * include/fcntl.h: Likewise.
54209         * include/fenv.h: Likewise.
54210         * include/glob.h: Likewise.
54211         * include/grp.h: Likewise.
54212         * include/libintl.h: Likewise.
54213         * include/mntent.h: Likewise.
54214         * include/netdb.h: Likewise.
54215         * include/pwd.h: Likewise.
54216         * include/rpc/netdb.h: Likewise.
54217         * include/sched.h: Likewise.
54218         * include/search.h: Likewise.
54219         * include/shadow.h: Likewise.
54220         * include/signal.h: Likewise.
54221         * include/stdio.h: Likewise.
54222         * include/stdlib.h: Likewise.
54223         * include/string.h: Likewise.
54224         * include/sys/socket.h: Likewise.
54225         * include/sys/stat.h: Likewise.
54226         * include/sys/statfs.h: Likewise.
54227         * include/sys/statvfs.h: Likewise.
54228         * include/sys/syslog.h: Likewise.
54229         * include/sys/time.h: Likewise.
54230         * include/sys/uio.h: Likewise.
54231         * include/time.h: Likewise.
54232         * include/unistd.h: Likewise.
54233         * include/utmp.h: Likewise.
54234         * include/wchar.h: Likewise.
54235         * include/wctype.h: Likewise.
54236         * inet/aliases.h: Likewise.
54237         * inet/arpa/inet.h: Likewise.
54238         * inet/netinet/ether.h: Likewise.
54239         * inet/netinet/in.h: Likewise.
54240         * intl/libintl.h: Likewise.
54241         * io/bits/fcntl2.h: Likewise.
54242         * io/fcntl.h: Likewise.
54243         * io/ftw.h: Likewise.
54244         * io/sys/poll.h: Likewise.
54245         * io/sys/stat.h: Likewise.
54246         * io/sys/statfs.h: Likewise.
54247         * io/sys/statvfs.h: Likewise.
54248         * io/utime.h: Likewise.
54249         * libio/bits/stdio.h: Likewise.
54250         * libio/bits/stdio2.h: Likewise.
54251         * libio/libio.h: Likewise.
54252         * libio/libioP.h: Likewise.
54253         * libio/stdio.h: Likewise.
54254         * locale/lc-ctype.c: Likewise.
54255         * locale/locale.h: Likewise.
54256         * login/utmp.h: Likewise.
54257         * malloc/arena.c: Likewise.
54258         * malloc/malloc.c: Likewise.
54259         * malloc/malloc.h: Likewise.
54260         * malloc/mcheck.c: Likewise.
54261         * malloc/mtrace.c: Likewise.
54262         * math/bits/mathcalls.h: Likewise.
54263         * math/fenv.h: Likewise.
54264         * math/math_private.h: Likewise.
54265         * misc/bits/error.h: Likewise.
54266         * misc/bits/syslog.h: Likewise.
54267         * misc/err.h: Likewise.
54268         * misc/error.h: Likewise.
54269         * misc/fstab.h: Likewise.
54270         * misc/mntent.h: Likewise.
54271         * misc/regexp.h: Likewise.
54272         * misc/search.h: Likewise.
54273         * misc/sgtty.h: Likewise.
54274         * misc/sys/mman.h: Likewise.
54275         * misc/sys/syslog.h: Likewise.
54276         * misc/sys/uio.h: Likewise.
54277         * misc/sys/xattr.h: Likewise.
54278         * misc/ttyent.h: Likewise.
54279         * nis/rpcsvc/ypclnt.h: Likewise.
54280         * nss/nss.h: Likewise.
54281         * posix/bits/unistd.h: Likewise.
54282         * posix/fnmatch.h: Likewise.
54283         * posix/glob.h: Likewise.
54284         * posix/sched.h: Likewise.
54285         * posix/spawn.h: Likewise.
54286         * posix/sys/wait.h: Likewise.
54287         * posix/unistd.h: Likewise.
54288         * posix/wordexp.h: Likewise.
54289         * pwd/pwd.h: Likewise.
54290         * resolv/netdb.h: Likewise.
54291         * resource/sys/resource.h: Likewise.
54292         * rt/aio.h: Likewise.
54293         * rt/bits/mqueue2.h: Likewise.
54294         * rt/mqueue.h: Likewise.
54295         * shadow/shadow.h: Likewise.
54296         * signal/signal.h: Likewise.
54297         * socket/send.c: Likewise.
54298         * socket/sendto.c: Likewise.
54299         * socket/sys/socket.h: Likewise.
54300         * stdio-common/printf.h: Likewise.
54301         * stdlib/bits/stdlib.h: Likewise.
54302         * stdlib/fmtmsg.h: Likewise.
54303         * stdlib/monetary.h: Likewise.
54304         * stdlib/stdlib.h: Likewise.
54305         * stdlib/ucontext.h: Likewise.
54306         * streams/stropts.h: Likewise.
54307         * string/argz.h: Likewise.
54308         * string/bits/string2.h: Likewise.
54309         * string/string.h: Likewise.
54310         * string/strings.h: Likewise.
54311         * sunrpc/rpc/auth.h: Likewise.
54312         * sunrpc/rpc/auth_des.h: Likewise.
54313         * sunrpc/rpc/clnt.h: Likewise.
54314         * sunrpc/rpc/netdb.h: Likewise.
54315         * sunrpc/rpc/pmap_clnt.h: Likewise.
54316         * sunrpc/rpc/xdr.h: Likewise.
54317         * sysdeps/generic/inttypes.h: Likewise.
54318         * sysdeps/generic/net/if.h: Likewise.
54319         * sysdeps/generic/sys/swap.h: Likewise.
54320         * sysdeps/gnu/net/if.h: Likewise.
54321         * sysdeps/gnu/utmpx.h: Likewise.
54322         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54323         * sysdeps/i386/i486/bits/string.h: Likewise.
54324         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54325         * sysdeps/s390/bits/string.h: Likewise.
54326         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54327         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54328         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54329         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54330         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54331         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54332         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54333         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54334         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54335         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54336         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54337         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54338         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54339         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54340         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54341         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54342         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54344         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54345         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54346         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54347         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54348         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54349         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54350         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54351         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54352         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54353         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54354         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54355         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54356         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54357         * sysvipc/sys/ipc.h: Likewise.
54358         * sysvipc/sys/msg.h: Likewise.
54359         * sysvipc/sys/sem.h: Likewise.
54360         * sysvipc/sys/shm.h: Likewise.
54361         * termios/termios.h: Likewise.
54362         * time/sys/time.h: Likewise.
54363         * time/time.h: Likewise.
54364         * wcsmbs/bits/wchar2.h: Likewise.
54365         * wcsmbs/uchar.h: Likewise.
54366         * wcsmbs/wchar.h: Likewise.
54367         * wctype/wctype.h: Likewise.
54369         [BZ #13551]
54370         * Makeconfig: Remove all but ELF support including AIX support.
54371         * Makerules: Likewise.
54372         * config.h.in: Likewise.
54373         * config.make.in: Likewise.
54374         * configure: Likewise.
54375         * configure.in: Likewise.
54376         * csu/Makefile: Likewise.
54377         * csu/version.c: Likewise.
54378         * debug/Makefile: Likewise.
54379         * dlfcn/Makefile: Likewise.
54380         * elf/Makefile: Likewise.
54381         * extra-lib.mk: Likewise.
54382         * iconv/Makefile: Likewise.
54383         * include/libc-symbols.h: Likewise.
54384         * include/shlib-compat.h: Likewise.
54385         * resolv/Makefile: Likewise.
54386         * resolv/res_libc.c: Likewise.
54387         * rt/Makefile: Likewise.
54388         * sysdeps/i386/asm-syntax.h: Likewise.
54389         * sysdeps/i386/sysdep.h: Likewise.
54390         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54391         * sysdeps/mach/sysdep.h: Likewise.
54392         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54393         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54394         * sysdeps/s390/asm-syntax.h: Likewise.
54395         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54396         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54397         * sysdeps/sh/sysdep.h: Likewise.
54398         * sysdeps/unix/sparc/sysdep.h: Likewise.
54399         * sysdeps/wordsize-32/divdi3.c: Likewise.
54400         * sysdeps/x86_64/sysdep.h: Likewise.
54402         * argp/Versions: Remove _argp_unlock_xxx.
54404         [BZ #13559]
54405         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54406         * abilist/libBrokenLocale.abilist: Likewise.
54407         * abilist/libanl.abilist: Likewise.
54408         * abilist/libc.abilist: Likewise.
54409         * abilist/libcrypt.abilist: Likewise.
54410         * abilist/libdl.abilist: Likewise.
54411         * abilist/libm.abilist: Likewise.
54412         * abilist/libnsl.abilist: Likewise.
54413         * abilist/libpthread.abilist: Likewise.
54414         * abilist/libresolv.abilist: Likewise.
54415         * abilist/librt.abilist: Likewise.
54416         * abilist/libthread_db.abilist: Likewise.
54417         * abilist/libutil.abilist: Likewise.
54418         * abilist/libnss_db.abilist: New file.
54420         * scripts/abilist.awk: Add support for indirect functions.
54422         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54424         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54426         * shlib-versions: Remove entries for ports architectures.
54428         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54429         files in ports.
54430         * elf/stackguard-macros.h: Remove support for IA-64.
54431         * elf/tst-auditmod1.c: Likewise.
54432         * sysdeps/generic/ldsodefs.h: Likewise.
54434         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54435         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54436         configure files.
54438         [BZ #13552]
54439         * configure.in: Remove --enable-omitfp support.
54440         * FAQ.in: Adjust.
54441         * config.make.in: Likewise.
54442         * Makeconfig: Likewise.
54443         * manual/install.texi: Likewise.
54445         In case anyone cares, the IA-64 architecture could move to ports.
54446         * sysdeps/ia64/*: Removed.
54447         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54448         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54450         [BZ #13555]
54451         * configure.in: Remove entries for unsupported architectures.
54453         [BZ #13533]
54454         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54455         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54456         routines.
54457         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54458         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54459         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54460         fall back to using wcrtomb.
54461         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54462         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54463         renaming.
54464         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54465         * wcsmbs/tst-c16c32-1.c: New file.
54467         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54468         local variable.
54470         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54472         * elf/tst-unique3.cc: Add explicit declaration of gets.
54473         * elf/tst-unique3lib.cc: Likewise.
54474         * elf/tst-unique3lib2.cc: Likewise.
54475         * elf/tst-unique4.cc: Likewise.
54477         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54479 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54481         [BZ #13566]
54482         * assert/assert.h (static_assert): Don't define for C++.
54483         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54484         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54486 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54488         * iconv/loop.c (single loop): Fix assertion in storing of
54489         remaining bytes.
54491         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54493 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54495         * posix/getconf.c: Update copyright year.
54496         * nss/getent.c: Likewise.
54497         * nss/makedb.c: Likewise.
54498         * iconv/iconvconfig.c: Likewise.
54499         * iconv/iconv_prog.c: Likewise.
54500         * elf/ldconfig.c: Likewise.
54501         * elf/pldd.c: Likewise.
54502         * elf/sotruss.ksh: Likewise.
54503         * catgets/gencat.c: Likewise.
54504         * csu/version.c: Likewise.
54505         * elf/ldd.bash.in: Likewise.
54506         * elf/sprof.c (print_version): Likewise.
54507         * locale/programs/locale.c: Likewise.
54508         * locale/programs/localedef.c: Likewise.
54509         * login/programs/pt_chown.c: Likewise.
54510         * nscd/nscd.c (print_version): Likewise.
54511         * debug/xtrace.sh: Likewise.
54512         * malloc/memusage.sh: Likewise.
54513         * malloc/mtrace.pl: Likewise.
54514         * debug/catchsegv.sh: Likewise.
54516 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54518         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54519         pure attribute.
54521 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54523         [BZ #13533]
54524         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54525         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54526         transformations.
54527         * iconv/gconv_int.h: Likewise.
54528         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54529         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54530         from libc for GLIBC_2.16.
54531         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54532         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54533         * wcsmbs/uchar.h: Really define mbstate_t.
54534         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54535         * wcsmbs/c16rtomb.c: New file.
54536         * wcsmbs/mbrtoc16.c: New file.
54537         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54538         for C/POSIX locale.
54539         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54540         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54542         * wcsmbs/wchar.h: Add missing __restrict.
54544 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54546         [BZ #13532]
54547         * time/Makefile (routines): Add timespec_get.
54548         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54549         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54550         timespec for ISO C11.
54551         * time/timespec_get.c: New file.
54552         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54553         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54555         [BZ #13531]
54556         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54557         * stdlib/stdlib.h: Declare aligned_alloc.
54558         * Versions.def: Add GLIBC_2.16 for libc.
54559         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54561         [BZ 13527]
54562         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54563         ISO C11.
54565         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54566         code.
54568         [BZ #13528]
54569         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54571         [BZ #13529]
54572         * assert/assert.h (static_assert): Define.
54574         * version.h: Update for 2.16 development version.
54576         [BZ #13526]
54577         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54578         _ISOC11_SOURCE.
54580         * version.h (RELEASE): Bump for 2.15 release.
54581         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54583         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54584         Patch by Marek Polacek <mpolacek@redhat.com>.
54586         * bits/byteswap.h: Protect long long constants with __extension__.
54587         * sysdeps/i386/bits/byteswap.h: Likewise.
54588         * sysdeps/ia64/bits/byteswap.h: Likewise.
54589         * sysdeps/s390/bits/byteswap.h: Likewise.
54590         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54592 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54594         [BZ #13540]
54595         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54596         destination buffer.
54597         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54599 2011-12-23  Marek Polacek  <polacek@redhat.com>
54601         * elf/dl-addr.c (determine_info): Add inline keyword.
54602         * elf/tst-auditmod4b.c (check_avx): Likewise.
54603         * elf/tst-auditmod6b.c (check_avx): Likewise.
54604         * elf/tst-auditmod6c.c (check_avx): Likewise.
54605         * elf/tst-auditmod7b.c (check_avx): Likewise.
54607 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54609         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54610         !__SSE_MATH__.
54612 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54614         [BZ #13540]
54615         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54616         processing for last bytes.
54618 2011-08-06  Bruno Haible  <bruno@clisp.org>
54620         [BZ #13061]
54621         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54622         U+0385, not to U+1FEE.
54624         [BZ #13062]
54625         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54626         entry for U+00A5 U+0301.
54628 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54630         [BZ #13166]
54631         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54632         buffer for the output is too small.
54634         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54635         optimization.
54637         [BZ #13185]
54638         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54639         SSE flags if possible.
54641 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54643         [BZ #13540]
54644         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54645         processing for last bytes.
54647 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54649         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54650         (syscall-list-default-options, syscall-list-default-condition)
54651         (syscall-list-includes): Define.
54652         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54653         list of ABIs and options and #if conditions for each ABI.  Do not
54654         handle common syscalls between ABIs specially.
54655         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54656         Remove.
54657         (syscall-list-variants, syscall-list-32bit-options)
54658         (syscall-list-32bit-condition, syscall-list-64bit-options)
54659         (syscall-list-64bit-condition): Define.
54660         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54661         (syscall-list-variants, syscall-list-32bit-options)
54662         (syscall-list-32bit-condition, syscall-list-64bit-options)
54663         (syscall-list-64bit-condition): Define.
54664         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54665         Remove.
54666         (syscall-list-variants, syscall-list-32bit-options)
54667         (syscall-list-32bit-condition, syscall-list-64bit-options)
54668         (syscall-list-64bit-condition): Define.
54669         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54670         Remove.
54671         (syscall-list-variants, syscall-list-32bit-options)
54672         (syscall-list-32bit-condition, syscall-list-64bit-options)
54673         (syscall-list-64bit-condition): Define.
54675 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54677         * locale/iso-639.def: Add brx entry.
54679         [BZ #13328]
54680         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54681         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54683         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54684         __feraiseexcept_renamed.
54686 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54688         [BZ #13538]
54689         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54690         EPOLLET with unsigned values.
54691         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54692         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54694         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54695         to large cancellation.
54696         * math/s_cacoshf.c: Likewise.
54697         * math/s_cacoshl.c: Likewise.
54699 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54701         [BZ #13305]
54702         [BZ #12786]
54703         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54704         * math/s_cacoshf.c: Likewise.
54705         * math/s_cacoshl.c: Likewise.
54707 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54709         [BZ #13439]
54710         * iconv/gconv.h: Define __GCONV_SWAP.
54711         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54712         * iconvdata/utf-16.c: Likewise.
54713         * iconvdata/utf-32.c: Likewise.
54715 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54717         [BZ #13524]
54718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54719         numerator after shifting it by one limb.
54721 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54723         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54724         under [__USE_EXTERN_INLINES].
54726 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54728         [BZ #13446]
54729         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54731 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54733         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54734         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54735         optimized code.
54736         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54737         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54738         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54739         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54740         for strncasecmp/strncasecmp_l compilation.
54741         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54742         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54744 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54746         [BZ #13484]
54747         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54748         of __asm__.
54750 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54752         [BZ #13506]
54753         * time/tzfile.c (__tzfile_read): Check values from file header.
54755 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54757         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54758         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54759         * powerpc/powerpc32/dl-start.S: Likewise.
54760         * powerpc/powerpc32/elf/start.S: Likewise.
54761         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54762         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54763         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54764         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54765         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54766         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54767         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54768         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54769         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54770         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54771         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54772         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54773         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54774         * powerpc/powerpc32/memset.S: Likewise.
54775         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54776         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54777         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54778         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54779         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54780         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54781         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54782         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54783         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54784         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54785         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54786         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54787         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54789 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54791         * math/libm-test.inc: Added more nearbyint tests.
54792         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54793         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54795         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54797 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54799         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54800         FD_CLOEXEC.
54802 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54804         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54805         Add wcscpy-ssse3 wcscpy-c.
54806         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54807         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54808         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54809         * sysdeps/x86_64/wcschr.S: New file.
54810         * sysdeps/x86_64/wcsrchr.S: New file.
54811         * string/test-strcmp.c: Remove checking of wcscmp function for
54812         wrong alignments.
54813         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54814         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54815         wcsrchr-sse2 wcsrchr-c.
54816         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54817         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54818         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54819         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54820         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54821         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54822         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54823         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54824         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54825         * wcsmbc/wcschr.c (WCSCHR): New macro.
54827 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54829         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54830         * wcsmbs/test-wcsrchr.c: New file.
54831         * string/test-strrchr.c: Add wcsrchr support.
54832         (WIDE): New macro.
54833         * wcsmbs/test-wcscpy.c: New file.
54834         * string/test-strcpy.c: Add wcscpy support.
54835         (WIDE): New macro.
54837 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54839         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54840         the inner loop.
54842 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54844         [BZ #13472]
54845         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54847 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54849         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54850         Minor optimizations.
54852         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54853         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54854         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54856 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54858         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54859         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54860         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54861         for gcc to avoid warnings.
54862         * inet/Makefile (tests): Add tst-checks.
54863         * inet/tst-checks.c: New file.
54865         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54866         warning.
54868         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54869         __wmemcmp_sse2.
54871         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54872         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54874         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54876 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54878         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54879         problem.
54881         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54883 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54885         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54886         conditional on GCC version.
54887         (__arch_compare_and_exchange_val_8_acq)
54888         (__arch_compare_and_exchange_val_16_acq)
54889         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54890         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54891         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54893 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54895         * sysdeps/sh/backtrace.c: New file.
54897 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54899         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54900         parenthesis.
54902 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54904         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54905         falling back to utime.
54907 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54909         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54910         expectations for float.
54912 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54914         * locale/weight.h (findidx): Add parameter len.
54915         * locale/weightwc.h (findidx): Likewise.
54916         * posix/fnmatch_loop.c (FCT): Adjust caller.
54917         * posix/regcomp.c (build_equiv_class): Likewise.
54918         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54919         * posix/regexec.c (check_node_accept_bytes): Likewise.
54920         * string/strcoll_l.c (STRCOLL): Likewise.
54921         * string/strxfrm_l.c (STRXFRM): Likewise.
54923 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54925         * Makefile.in: Remove CVSOPT handling.
54926         * configure.in: Remove use of AC_REVISION.
54927         * iconvdata/Makefile (distribute): No need to filter out CVS.
54928         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54929         handling.
54931 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54933         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54934         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54935         [USE_AS_STRNCASECMP_L]: Likewise.
54936         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54937         NO_TLS_DIRECT_SEG_REFS.
54938         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54939         Fix argument offsets for non-PIC.
54940         [USE_AS_STRNCASECMP_L]: Likewise.
54941         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54942         NO_TLS_DIRECT_SEG_REFS.
54944 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54946         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54947         O_CLOEXEC.
54948         * locale/loadlocale.c (_nl_load_locale): Likewise.
54950 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54952         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54953         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54954         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54955         (SYSCALL_GETTIME): Set errno on error.
54957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54958         count references to noai6ai_cached.
54960 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54962         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54964         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54965         FD_CLOEXEC for /proc/self/maps.
54967         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54968         FD_CLOEXEC for /proc/meminfo.
54970         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54971         gai.conf.
54973         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54974         FD_CLOEXEC for given file.
54976         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54978         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54979         FD_CLOEXEC for /etc/hosts.
54980         (_gethtent): Likewise.
54982         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54984         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54985         cancellation and set FD_CLOEXEC for /etc/netgroup.
54987         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54988         reading /etc/publickey.
54990         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54991         allow cancellation when reading /etc/group.
54993         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54994         cancellation.
54995         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54997         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54998         when using data file.
55000         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55002         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55003         (write_nis_obj): Use "c" and "e" in fopen.
55005         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55007         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55009         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55011         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55013         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55014         locale.alias.
55016         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55018         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55020         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55022         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55023         file parsing and set FD_CLOEXEC.
55025 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55027         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55029 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55031         * malloc/arena.c (arena_get2): Don't call reused_arena when
55032         _int_new_arena failed.
55034 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55036         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55037         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55038         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55039         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55040         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55041         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55042         to compile strcasecmp and strncasecmp.
55043         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55044         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55046         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55048 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55050         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55051         locale-defines.sym to gen-as-const-headers.
55052         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55053         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55054         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55055         to compile strcasecmp and strncasecmp.
55056         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55057         strcasecmp_l and strncasecmp_l.
55058         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55059         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55060         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55061         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55062         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55063         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55064         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55065         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55066         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55067         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55068         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55070 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55072         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55073         result of SYSDEP_GETTIME_CPU to retval.
55074         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55075         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55077         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55078         variable.
55080         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55081         mantissa words.
55082         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55084         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55085         from unused variable.
55087         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55088         DWARF definitions.
55089         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55090         for assembling.
55092         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55093         over namespaces.
55095         * sunrpc/rpc_prot.c (rejected): Fix case value.
55097         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55098         unsigned long long int to avoid warnings in shift.
55100         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55101         of use of trans.
55102         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55103         variable tmp.
55105         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55106         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55107         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55109         * nis/nis_table.c (nis_list): Use variable of correct type for
55110         result of __follow_path call.
55112 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55114         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55115         of math functions ceil, trunc, floor, round, and sqrt, when
55116         avaliable on the platform.
55117         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55118         name clash.
55119         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55120         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55121         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55123 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55125         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55126         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55128 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55130         * include/unistd.h: Fix __readlink return type.
55131         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55133 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55135         * stdlib/ucontext.h: Undo last change for makecontext.
55137 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55139         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55141         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55142         * setjmp/setjmp.h: Mark functions as non-leaf.
55143         * setjmp/bits/setjmp2.h: Likewise.
55144         * stdlib/ucontext.h: Likewise.
55146 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55148         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55149         (reused_arena): Don't check arena limit.
55150         (arena_get2): Atomically check arena limit.
55152 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55154         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55155         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55158         instructions.
55160 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55162         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55163         handler when locking.
55165         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55166         Fix size of allocated buffer.
55168 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55170         [BZ #10103]
55171         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55172         declarations for long double functions.
55173         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55175         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55177 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55179         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55180         installed.
55182         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55183         is disabled.
55185 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55187         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55189 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55191         * include/alloca.h (stackinfo_alloca_round): Define.
55192         (extend_alloca): Use it.
55193         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55194         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55195         here.
55197         * scripts/check-local-headers.sh: Ignore libaudit.h.
55199         * nscd/Makefile (extra-objs): Make recursively expanded.
55201 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55203         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55204         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55206         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55207         * posix/tst-rfc3484-2.c: Likewise.
55208         * posix/tst-rfc3484-3.c: Likewise.
55210         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55211         process_vm_writev.
55212         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55213         process_vm_writev.
55214         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55215         process_vm_writev from libc using GLIBC_2.15 version.
55217         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55219 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55221         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55222         stack usage.
55224 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55226         [BZ #13367]
55227         * nss/getent.c (initgroups_keys): Show error message in case no group
55228         names are given.
55230         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55231         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55232         __bump_nl_timestamp.
55233         * nscd/connections (nscd_init): When host database is served open
55234         netlink socket and request notification about configuration changes.
55235         (main_loop_poll): Track netlink file descriptor and bump timestamp
55236         in case data becomes available.
55237         (main_loop_epoll): Likewise.
55238         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55239         (database_pers_head): Add extra_data fileds.
55240         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55241         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55242         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55243         Adjust caller.
55244         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55245         in6ai data, call __free_in6ai.
55246         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55247         Add -DHAVE_NETLINK.
55248         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55249         interface information.  Reuse previous data if netlink timestamp
55250         is not changed.
55251         (__bump_nl_timestamp): New function.
55252         (__free_in6ai): New function.
55254 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55256         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55257         close_not_cancel_no_status here.
55258         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55260 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55262         [BZ #13276]
55263         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55264         return value.
55266         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55267         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55268         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55270 2011-07-03  Andreas Jaeger  <aj@suse.de>
55272         [BZ #10709]
55273         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55274         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55275         * math/libm-test.inc (sin_test): Add test case.
55277 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55279         [BZ #13337]
55280         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55281         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55283         * elf/chroot_canon.c (chroot_canon): Cleanups.
55285         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55287         [BZ #13335]
55288         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55289         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55291         * string/test-strchr.c: Make usable for strchrnul testing.
55292         * string/test-strchrnul.c: New file.
55293         * string/Makefile (strop-tests): Add strchrnul.
55295         * po/it.po: Update from translation team.
55296         * po/es.po: Likewise.
55298 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
55300         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55301         the three constants needed as parameters.  Drop the others.
55302         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55303         __m128i_strloadu_tolower.
55304         Create and initialize variable zero and use it in all the places
55305         where _mm_setzero_si128 was used.
55307         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55308         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55309         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55310         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55311         anymore.
55312         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55313         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55314         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55315         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55316         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55317         __mpranred, __mptan.
55318         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55319         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55320         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55321         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55322         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55323         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55324         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55325         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55326         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55328 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55330         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55331         redefine if SHARED.
55332         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55335         wide char related routines to wcsmbs subdir.
55337 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55339         [BZ #13344]
55340         * misc/sys/cdefs.h (__THROWNL): Define.
55341         * posix/unistd.h: Use __THREADNL instead of __THREAD
55342         for memory synchronization functions.
55344 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55346         [BZ #13349]
55347         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55348         doesn't exist.
55349         * manual/stdio.texi (Obstack Streams): Node removed.
55351 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55353         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55354         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55355         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55357         * math/math_private.h (math_force_eval): Allow non-addressable
55358         arguments.
55359         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55361 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55363         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55364         file is not needed.
55366         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55367         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55368         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55369         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55370         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55371         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55372         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55373         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55374         Add AVX variants.
55375         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55376         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55377         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55378         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55379         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55380         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55381         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55382         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55383         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55384         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55385         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55386         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55387         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55388         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55389         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55390         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55391         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55392         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55393         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55395         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55396         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55398         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55399         place.  Use VEX encoding when compiling for AVX.
55401 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55403         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55404         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55406         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55408 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55410         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55411         useless if() expression.
55412         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55413         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55414         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55415         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55416         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55417         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55418         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55419         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55420         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55421         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55422         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55423         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55424         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55425         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55426         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55427         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55428         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55429         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55430         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55432         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55434 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55436         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55437         condition.
55438         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55440 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55442         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55443         .text section.  Avoid duplicate constants.
55444         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55446         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55451         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55452         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55453         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55454         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55455         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55456         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55457         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55458         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55460         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55461         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55467         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55468         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55469         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55470         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55471         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55472         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55473         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55474         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55475         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55476         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55477         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55478         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55479         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55480         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55481         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55482         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55483         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55484         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55485         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55486         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55487         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55488         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55490 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55492         * sysdeps/x86_64/dla.h: Move to ...
55493         * sysdeps/x86_64/fpu/dla.h: ...here.
55494         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55495         situations.  Use __builtin_fma only for gcc 4.6 and up.
55497         * config.make.in: Add have-mfma4 entry.
55498         * configure.in: Substitute libc_cv_cc_fma4.
55499         * math/Makefile (dbl-only-routines): Add sincostab.
55500         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55501         Use __sincostab not sincos.
55502         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55503         name is a macro.
55504         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55508         using __copysign.
55509         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55510         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55511         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55512         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55513         and __inv.
55514         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55515         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55516         __copysign.
55517         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55518         define aliases when function name is a macro.
55519         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55520         sysdeps/ieee754/dbl-64/sincos.tbl.
55521         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55522         fma4-enabled routines.
55523         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55524         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55525         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55526         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55527         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55528         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55529         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55530         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55531         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55532         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55533         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55534         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55535         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55536         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55537         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55538         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55539         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55540         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55541         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55542         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55543         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55544         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55545         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55546         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55547         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55548         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55549         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55550         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55551         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55552         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55554         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55555         rename.
55556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55565 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55567         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55569 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55571         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55573         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55574         prediction.
55575         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55577         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55578         Remove unused variable magic_bits.
55579         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55581         * string/strnlen.c: Define and use STRNLEN macro.
55582         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55583         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55584         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55585         * wcsmbs/wcslen.c: Define and use WCSLEN.
55586         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55587         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55588         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55589         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55590         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55591         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55592         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55594 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55597         strnlen-sse2-no-bsf.
55598         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55599         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55600         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55601         Add strnlen support.
55602         (USE_AS_STRNLEN): New macro.
55603         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55604         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55605         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55606         * sysdeps/x86_64/wcslen.S: New file.
55608 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55610         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55611         XMM-moves are used for copying on small sizes.
55613 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55615         * wcsmbs/Makefile (strop-tests): Add wcschr.
55616         * wcsmbs/test-wcschr.c: New file.
55617         * string/test-strchr.c: Update.
55618         Add wcschr support.
55619         (WIDE): New macro.
55621 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55623         * wcsmbs/Makefile (strop-tests): Add wcslen.
55624         * wcsmbs/test-wcslen.c: New file.
55625         * string/test-strlen.c: Update.
55626         Add wcslen support.
55627         (WIDE): New macro.
55629 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55631         * po/it.po: Update from translation team.
55633 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55635         * sysdeps/x86_64/wcscmp.S: Update.
55636         Fix wrong comparison semantics.
55637         wcscmp shall use signed comparison not unsigned.
55638         Don't use substraction to avoid overflow bug.
55639         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55640         * wcsmbc/wcscmp.c: Likewise.
55641         * string/test-strcmp.c: Likewise.
55642         Add new tests to check cases with negative values.
55644 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55646         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55647         * sysdeps/x86_64/dla.h: ...here.  New file.
55648         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55650         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55651         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55658 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55661         __ynl_finite aliases.
55663 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55665         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55667         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55668         define DLA_FMA.
55669         [DLA_FMA] (EMULV): Use DLA_FMA.
55670         [DLA_FMA] (MUL12): Use EMULV.
55671         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55672         that are not needed.
55673         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55675         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55676         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55678         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55681 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55683         * math/s_nan.c: Undef __nan.
55684         * math/s_nanf.c: Undef __nanf.
55685         * math/s_nanl.c: Undef __nanl.
55686         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55687         "math_private.h".
55689 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55691         * math/s_catan.c: Add branch predictions.
55692         * math/s_catanf.c: Likewise.
55693         * math/s_catanh.c: Likewise.
55694         * math/s_catanhf.c: Likewise.
55695         * math/s_catanhl.c: Likewise.
55696         * math/s_catanl.c: Likewise.
55697         * math/s_cexp.c: Likewise.
55698         * math/s_cexpf.c: Likewise.
55699         * math/s_cexpl.c: Likewise.
55700         * math/s_clog.c: Likewise.
55701         * math/s_clog10.c: Likewise.
55702         * math/s_clog10f.c: Likewise.
55703         * math/s_clog10l.c: Likewise.
55704         * math/s_clogf.c: Likewise.
55705         * math/s_clogl.c: Likewise.
55706         * math/s_csqrt.c: Likewise.
55707         * math/s_csqrtf.c: Likewise.
55708         * math/s_csqrtl.c: Likewise.
55709         * math/s_ctanf.c: Likewise.
55710         * math/s_ctanh.c: Likewise.
55711         * math/s_ctanhf.c: Likewise.
55712         * math/s_ctanhl.c: Likewise.
55713         * math/s_ctanl.c: Likewise.
55715         * math/math_private.h: Define __nan, __nanf, __nanl.
55716         * math/s_cacosh.c: Include <math_private.h>.
55717         * math/s_cacoshl.c: Likewise.
55718         * math/s_casinh.c: Likewise.
55719         * math/s_casinhf.c: Likewise.
55720         * math/s_casinhl.c: Likewise.
55721         * math/s_ccos.c: Rely entire on ccosh.
55722         * math/s_ccosf.c: Rely entire on ccoshf.
55723         * math/s_ccosl.c: Rely entirely on ccoshl.
55724         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55725         Remove tests for FE_INVALID.
55726         * math/s_ccoshf.c: Likewise.
55727         * math/s_ccoshl.c: Likewise.
55728         * math/s_csin.c: Likewise.
55729         * math/s_csinf.c: Likewise.
55730         * math/s_csinh.c Likewise.
55731         * math/s_csinhf.c: Likewise.
55732         * math/s_csinhl.c: Likewise.
55733         * math/s_csinl.c: Likewise.
55734         * math/s_ctan.c: Likewise.
55735         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55736         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55737         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55739 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55742         compilation problems.
55744         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55745         __builtin_expect.
55747 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55749         * sysdeps/i386/configure.in: Test for -mfma4 option.
55750         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55751         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55752         COMMON_CPUID_INDEX_80000001.
55753         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55754         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55755         use it if FMA3 is not supported.
55756         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55758         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55759         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55761 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55763         [BZ #12892]
55764         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55765         it would create a cycle with a link time dependency.
55767 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55769         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55770         instruction.
55771         * string/Makefile (strop-tests): Add rawmemchr.
55772         * string/test-rawmemchr.c: New file.
55774         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55775         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55776         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55777         when compiling str{,n}casecmp and when AVX is available.  Hook up
55778         new optimized code in initializers.
55780 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55782         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55783         __feraiseexcept instead of feraiseexcept.
55785 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55787         * math/math_private.h: Define defaults for libc_fetestexcept and
55788         libc_feupdateenv.
55789         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55790         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55791         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55792         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55793         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55794         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55795         libc_fetestexcept and libc_feupdateenv.
55797         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55798         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55799         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55800         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55801         libc_feholdexcept_setround.
55803         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55804         Add s_nearbyint-c and s_nearbyintf-c.
55805         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55806         nearbyintf inlines.
55807         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55808         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55809         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55810         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55812         * math/math_private.h: Define defaults for libc_fegetround,
55813         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55814         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55815         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55816         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55817         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55818         standard functions.
55819         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55820         Remove comments and hacks for old compiler versions.
55821         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55822         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55823         libc_feholdexceptl.
55825 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55827         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55828         (__feraiseexcept_renamed): Add __NTH.
55829         (feraiseexcept): Add __NTH.  Rename local variables to fix
55830         namespace violations.
55832 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55836         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55838         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55839         recently added interfaces.
55840         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55842         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55843         about macro parameter expansion.
55845         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55846         __NO_MATH_INLINES is defined.  Cleanups.
55848         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55849         and __floorf is target has SSE4.1.
55850         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55851         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55852         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55853         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55855         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55856         name.
55857         (floorf): Likewise.
55859         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55861 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55863         * misc/sys/cdefs.h: Fix last change.
55865         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55866         database lookup.
55868 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55870         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55872         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55873         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55874         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55875         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55876         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55877         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55879         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55880         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55881         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55882         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55883         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55884         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55885         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55886         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55887         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55888         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55889         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55890         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55891         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55892         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55893         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55895         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55896         ceil, ceilf, floor, floorf.
55898         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55899         Perform IRELATIVE relocations last.
55901         * elf/do-rel.h: Add another parameter nrelative, replacing the
55902         local variable with the same name.  Change name of the function
55903         to end in Rel or Rela (uppercase).
55904         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55905         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55906         elf_dynamic_do_##reloc function.
55908 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55910         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55911         is sufficient, at least on modern CPUs.
55913         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55915         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55918         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55919         __expl_finite.
55920         * math/bits/math-finite.h: Add entries for exp.
55921         * math/e_expl.c: Add __*_finite alias.
55922         * sysdeps/i386/fpu/e_exp.S: Likewise.
55923         * sysdeps/i386/fpu/e_expf.S: Likewise.
55924         * sysdeps/i386/fpu/e_expl.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55926         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55927         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55928         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55930         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55931         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55933         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55934         is sufficient, at least on modern CPUs.
55936         * ctype/ctype-info.c (__ctype_init): Define.
55937         * include/ctype.h (__ctype_init): Declare.
55938         (__ctype_b_loc): The variable is always initialized.
55939         (__ctype_toupper_loc): Likewise.
55940         (__ctype_tolower_loc): Likewise.
55941         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55942         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55944 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55946         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55948         * configure.in: Also look in $cxxmachine/include for C++ system
55949         headers.
55951 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55953         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55954         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55955         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55956         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55957         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55958         (USE_AS_WMEMCMP): New macro.
55959         Fixing indents.
55960         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55961         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55962         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55963         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55965         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55966         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55967         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55968         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55969         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55970         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55971         (USE_AS_WMEMCMP): New macro.
55972         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55973         * sysdeps/string/test-memcmp.c: Update.
55974         Fix simple_wmemcmp.
55975         Add new tests.
55976         * wcsmbs/wmemcmp.c: Update.
55977         (WMEMCMP): New macro.
55978         Fix overflow bug.
55980 2011-10-12  Andreas Jaeger  <aj@suse.de>
55982         [BZ #13268]
55983         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55985 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55987         * libio/iofwide.c (do_length): Avoid warning.
55989         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55991 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55993         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55995         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55996         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55997         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55998         * sysdeps/i386/i686/fpu/e_log.S: New file.
55999         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56000         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56002         * ctype/ctype.h: Add support for inlined isXXX functions when
56003         compiling C++ code.
56005 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56007         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56009         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56011 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56013         [BZ #13291]
56014         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56016 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56018         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56019         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56020         feraiseexcept.
56022         * sysdeps/x86_64/memrchr.S: Check for zero size.
56024         * string/stratcliff.c: Add memrchr tests.
56026 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56029         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56030         rawmemchr-sse2 rawmemchr-sse2-bsf.
56031         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56032         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56033         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56034         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56035         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56036         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56037         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56038         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56039         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56040         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56041         * string/memrchr.c (MEMRCHR): New macro.
56043 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56045         Add integration with gcc's -ffinite-math-only and optimize wrapper
56046         functions in libm.
56047         * Versions.def: Define GLIBC_2.15 version for libm.
56048         * math/Makefile (headers): Add bits/math-finite.h.
56049         * math/bits/math-finite.h: New file.
56050         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56051         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56052         * math/e_acoshl.c: Add __*_finite alias.
56053         * math/e_acosl.c: Likewise.
56054         * math/e_asinl.c: Likewise.
56055         * math/e_atan2l.c: Likewise.
56056         * math/e_atanhl.c: Likewise.
56057         * math/e_coshl.c: Likewise.
56058         * math/e_exp10.c: Likewise.
56059         * math/e_exp10f.c: Likewise.
56060         * math/e_exp10l.c: Likewise.
56061         * math/e_exp2l.c: Likewise.
56062         * math/e_fmodl.c: Likewise.
56063         * math/e_gammal_r.c: Likewise.
56064         * math/e_hypotl.c: Likewise.
56065         * math/e_j0l.c: Likewise.
56066         * math/e_j1l.c: Likewise.
56067         * math/e_jnl.c: Likewise.
56068         * math/e_lgammal_r.c: Likewise.
56069         * math/e_log10l.c: Likewise.
56070         * math/e_log2l.c: Likewise.
56071         * math/e_logl.c: Likewise.
56072         * math/e_powl.c: Likewise.
56073         * math/e_sinhl.c: Likewise.
56074         * math/e_sqrtl.c: Likewise.
56075         * math/e_scalb.c: Completely rewritten and optimized.
56076         * math/e_scalbf.c: Likewise.
56077         * math/e_scalbl.c: Likewise.
56078         * math/w_acos.c: Likewise.
56079         * math/w_acosf.c: Likewise.
56080         * math/w_acosl.c: Likewise.
56081         * math/w_acosh.c: Likewise.
56082         * math/w_acoshf.c: Likewise.
56083         * math/w_acoshl.c: Likewise.
56084         * math/w_asin.c: Likewise.
56085         * math/w_asinf.c: Likewise.
56086         * math/w_asinl.c: Likewise.
56087         * math/w_atan2.c: Likewise.
56088         * math/w_atan2f.c: Likewise.
56089         * math/w_atan2l.c: Likewise.
56090         * math/w_atanh.c: Likewise.
56091         * math/w_atanhf.c: Likewise.
56092         * math/w_atanhl.c: Likewise.
56093         * math/w_exp10.c: Likewise.
56094         * math/w_exp10f.c: Likewise.
56095         * math/w_exp10l.c: Likewise.
56096         * math/w_fmod.c: Likewise.
56097         * math/w_fmodf.c: Likewise.
56098         * math/w_fmodl.c: Likewise.
56099         * math/w_j0.c: Likewise.
56100         * math/w_j0f.c: Likewise.
56101         * math/w_j0l.c: Likewise.
56102         * math/w_j1.c: Likewise.
56103         * math/w_j1f.c: Likewise.
56104         * math/w_j1l.c: Likewise.
56105         * math/w_jn.c: Likewise.
56106         * math/w_jnf.c: Likewise.
56107         * math/w_log.c: Likewise.
56108         * math/w_logf.c: Likewise.
56109         * math/w_logl.c: Likewise.
56110         * math/w_log10.c: Likewise.
56111         * math/w_log10f.c: Likewise.
56112         * math/w_log10l.c: Likewise.
56113         * math/w_log2.c: Likewise.
56114         * math/w_log2f.c: Likewise.
56115         * math/w_log2l.c: Likewise.
56116         * math/w_pow.c: Likewise.
56117         * math/w_powf.c: Likewise.
56118         * math/w_powl.c: Likewise.
56119         * math/w_remainder.c: Likewise.
56120         * math/w_remainderf.c: Likewise.
56121         * math/w_remainderl.c: Likewise.
56122         * math/w_scalb.c: Likewise.
56123         * math/w_scalbf.c: Likewise.
56124         * math/w_scalbl.c: Likewise.
56125         * math/w_sqrt.c: Likewise.
56126         * math/w_sqrtf.c: Likewise.
56127         * math/w_sqrtl.c: Likewise.
56128         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56129         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56130         used.
56131         * math/math_private.h: Declare __kernel_standard_f.
56132         * math/w_cosh.c: Remove cruft and optimize a bit.
56133         * math/w_coshf.c: Likewise.
56134         * math/w_coshl.c: Likewise.
56135         * math/w_exp2.c: Likewise.
56136         * math/w_exp2f.c: Likewise.
56137         * math/w_exp2l.c: Likewise.
56138         * math/w_hypot.c: Likewise.
56139         * math/w_hypotf.c: Likewise.
56140         * math/w_hypotl.c: Likewise.
56141         * math/w_lgamma.c: Likewise.
56142         * math/w_lgamma_r.c: Likewise.
56143         * math/w_lgammaf.c: Likewise.
56144         * math/w_lgammaf_r.c: Likewise.
56145         * math/w_lgammal.c: Likewise.
56146         * math/w_lgammal_r.c: Likewise.
56147         * math/w_sinh.c: Likewise.
56148         * math/w_sinhf.c: Likewise.
56149         * math/w_sinhl.c: Likewise.
56150         * math/w_tgamma.c: Likewise.
56151         * math/w_tgammaf.c: Likewise.
56152         * math/w_tgammal.c: Likewise.
56153         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56154         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56155         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56156         Minor optimizations.  Pretty printing.  Remove cruft.
56157         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56158         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56159         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56160         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56161         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56162         * sysdeps/i386/fpu/e_asin.S: Likewise.
56163         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56164         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56165         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56166         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56167         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56168         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56169         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56170         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56171         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56172         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56173         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56174         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56175         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56176         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56177         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56178         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56179         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56180         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56181         * sysdeps/i386/fpu/e_log.S: Likewise.
56182         * sysdeps/i386/fpu/e_log10.S: Likewise.
56183         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56184         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56185         * sysdeps/i386/fpu/e_log2.S: Likewise.
56186         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56187         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56188         * sysdeps/i386/fpu/e_logf.S: Likewise.
56189         * sysdeps/i386/fpu/e_logl.S: Likewise.
56190         * sysdeps/i386/fpu/e_pow.S: Likewise.
56191         * sysdeps/i386/fpu/e_powf.S: Likewise.
56192         * sysdeps/i386/fpu/e_powl.S: Likewise.
56193         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56194         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56195         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56196         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56197         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56198         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56199         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56200         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56201         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56202         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56203         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56204         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56205         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56206         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56207         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56208         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56209         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56211         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56212         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56213         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56214         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56216         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56218         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56219         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56220         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56221         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56222         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56223         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56224         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56225         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56226         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56227         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56228         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56229         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56230         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56231         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56232         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56233         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56234         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56235         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56236         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56237         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56238         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56239         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56240         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56241         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56242         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56243         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56244         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56245         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56246         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56247         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56248         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56249         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56250         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56251         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56252         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56253         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56254         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56255         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56256         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56257         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56258         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56259         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56260         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56261         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56262         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56267         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56270         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56271         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56272         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56273         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56274         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56275         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56276         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56278         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56279         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56280         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56281         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56282         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56283         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56284         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56285         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56286         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56287         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56288         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56289         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56290         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56291         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56292         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56293         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56294         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56295         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56296         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56297         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56298         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56299         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56300         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56301         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56302         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56303         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56304         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56305         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56306         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56307         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56308         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56309         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56310         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56311         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56312         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56313         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56314         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56315         (__isnanf): Likewise.
56316         (__isinf_ns): Likewise.
56317         (__isinf_nsf): Likewise.
56318         (__finite): Likewise.
56319         (__finitef): Likewise.
56320         (__ieee754_sqrt): Define as macro.
56321         (__ieee754_sqrtf): Define as macro.
56322         (__ieee754_sqrtl): Define as macro.
56323         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56324         inlined copy.
56325         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56326         __FINITE_MATH_ONLY__ consistent.
56327         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56329 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56331         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56332         of rawmemchr.
56334         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56336 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56338         * po/ja.po: Update from translation team.
56340 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56342         * locale/programs/locarchive.c (prepare_address_space): New function.
56343         (create_archive, enlarge_archive, open_archive): Use it.
56345         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56346         inside [SHARED], where it is used.
56348         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56350         * nss/getent.c (netgroup_keys): Remove unused variable.
56351         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56353 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56355         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56356         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56358         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56359         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56360         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56361         * math/Makefile (libm-calls): Add s_isinf_ns.
56362         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56363         * math/multc3.c: Likewise.
56364         * math/s_casin.c: Likewise.
56365         * math/s_casinf.c: Likewise.
56366         * math/s_casinl.c: Likewise.
56367         * math/s_ccos.c: Likewise.
56368         * math/s_ccosf.c: Likewise.
56369         * math/s_ccosl.c: Likewise.
56370         * math/s_ctan.c: Likewise.
56371         * math/s_ctanf.c: Likewise.
56372         * math/s_ctanh.c: Likewise.
56373         * math/s_ctanhf.c: Likewise.
56374         * math/s_ctanhl.c: Likewise.
56375         * math/s_ctanl.c: Likewise.
56376         * math/w_fmod.c: Likewise.
56377         * math/w_fmodf.c: Likewise.
56378         * math/w_fmodl.c: Likewise.
56379         * math/w_remainder.c: Likewise.
56380         * math/w_remainderf.c: Likewise.
56381         * math/w_remainderl.c: Likewise.
56382         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56383         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56384         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56386         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56387         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56388         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56389         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56391         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56392         of the number.
56393         * stdio-common/printf_fphex.c: Likewise.
56394         * stdio-common/printf_size.c: Likewise.
56396         * math/e_exp10.c: Include math_private.h using <...> not "...".
56397         * math/e_exp10f.c: Likewise.
56398         * math/e_exp10l.c: Likewise.
56399         * math/e_exp2l.c: Likewise.
56400         * math/e_j0l.c: Likewise.
56401         * math/e_j1l.c: Likewise.
56402         * math/e_jnl.c: Likewise.
56403         * math/e_lgammal_r.c: Likewise.
56404         * math/e_rem_pio2l.c: Likewise.
56405         * math/e_scalb.c: Likewise.
56406         * math/e_scalbf.c: Likewise.
56407         * math/e_scalbl.c: Likewise.
56408         * math/k_cosl.c: Likewise.
56409         * math/k_sinl.c: Likewise.
56410         * math/k_tanl.c: Likewise.
56411         * math/s_cacoshf.c: Likewise.
56412         * math/s_catan.c: Likewise.
56413         * math/s_catanf.c: Likewise.
56414         * math/s_catanh.c: Likewise.
56415         * math/s_catanhf.c: Likewise.
56416         * math/s_catanhl.c: Likewise.
56417         * math/s_catanl.c: Likewise.
56418         * math/s_ccosh.c: Likewise.
56419         * math/s_ccoshf.c: Likewise.
56420         * math/s_ccoshl.c: Likewise.
56421         * math/s_cexp.c: Likewise.
56422         * math/s_cexpf.c: Likewise.
56423         * math/s_cexpl.c: Likewise.
56424         * math/s_clog.c: Likewise.
56425         * math/s_clog10.c: Likewise.
56426         * math/s_clog10f.c: Likewise.
56427         * math/s_clog10l.c: Likewise.
56428         * math/s_clogf.c: Likewise.
56429         * math/s_clogl.c: Likewise.
56430         * math/s_csin.c: Likewise.
56431         * math/s_csinf.c: Likewise.
56432         * math/s_csinh.c: Likewise.
56433         * math/s_csinhf.c: Likewise.
56434         * math/s_csinhl.c: Likewise.
56435         * math/s_csinl.c: Likewise.
56436         * math/s_csqrt.c: Likewise.
56437         * math/s_csqrtf.c: Likewise.
56438         * math/s_csqrtl.c: Likewise.
56439         * math/s_ctan.c: Likewise.
56440         * math/s_ctanf.c: Likewise.
56441         * math/s_ctanh.c: Likewise.
56442         * math/s_ctanhf.c: Likewise.
56443         * math/s_ctanhl.c: Likewise.
56444         * math/s_ctanl.c: Likewise.
56445         * math/s_ldexp.c: Likewise.
56446         * math/s_ldexpf.c: Likewise.
56447         * math/s_ldexpl.c: Likewise.
56448         * math/s_significand.c: Likewise.
56449         * math/s_significandf.c: Likewise.
56450         * math/s_significandl.c: Likewise.
56451         * math/w_acos.c: Likewise.
56452         * math/w_acosf.c: Likewise.
56453         * math/w_acosh.c: Likewise.
56454         * math/w_acoshf.c: Likewise.
56455         * math/w_acoshl.c: Likewise.
56456         * math/w_acosl.c: Likewise.
56457         * math/w_asin.c: Likewise.
56458         * math/w_asinf.c: Likewise.
56459         * math/w_asinl.c: Likewise.
56460         * math/w_atan2.c: Likewise.
56461         * math/w_atan2f.c: Likewise.
56462         * math/w_atan2l.c: Likewise.
56463         * math/w_atanh.c: Likewise.
56464         * math/w_atanhf.c: Likewise.
56465         * math/w_atanhl.c: Likewise.
56466         * math/w_cosh.c: Likewise.
56467         * math/w_coshf.c: Likewise.
56468         * math/w_coshl.c: Likewise.
56469         * math/w_dremf.c: Likewise.
56470         * math/w_exp10.c: Likewise.
56471         * math/w_exp10f.c: Likewise.
56472         * math/w_exp10l.c: Likewise.
56473         * math/w_exp2.c: Likewise.
56474         * math/w_exp2f.c: Likewise.
56475         * math/w_fmod.c: Likewise.
56476         * math/w_fmodf.c: Likewise.
56477         * math/w_fmodl.c: Likewise.
56478         * math/w_hypot.c: Likewise.
56479         * math/w_hypotf.c: Likewise.
56480         * math/w_hypotl.c: Likewise.
56481         * math/w_j0.c: Likewise.
56482         * math/w_j0f.c: Likewise.
56483         * math/w_j0l.c: Likewise.
56484         * math/w_j1.c: Likewise.
56485         * math/w_j1f.c: Likewise.
56486         * math/w_j1l.c: Likewise.
56487         * math/w_jn.c: Likewise.
56488         * math/w_jnf.c: Likewise.
56489         * math/w_jnl.c: Likewise.
56490         * math/w_lgamma.c: Likewise.
56491         * math/w_lgamma_r.c: Likewise.
56492         * math/w_lgammaf.c: Likewise.
56493         * math/w_lgammaf_r.c: Likewise.
56494         * math/w_lgammal.c: Likewise.
56495         * math/w_lgammal_r.c: Likewise.
56496         * math/w_log.c: Likewise.
56497         * math/w_log10.c: Likewise.
56498         * math/w_log10f.c: Likewise.
56499         * math/w_log10l.c: Likewise.
56500         * math/w_log2.c: Likewise.
56501         * math/w_log2f.c: Likewise.
56502         * math/w_log2l.c: Likewise.
56503         * math/w_logf.c: Likewise.
56504         * math/w_logl.c: Likewise.
56505         * math/w_pow.c: Likewise.
56506         * math/w_powf.c: Likewise.
56507         * math/w_powl.c: Likewise.
56508         * math/w_remainder.c: Likewise.
56509         * math/w_remainderf.c: Likewise.
56510         * math/w_remainderl.c: Likewise.
56511         * math/w_scalb.c: Likewise.
56512         * math/w_scalbf.c: Likewise.
56513         * math/w_scalbl.c: Likewise.
56514         * math/w_sinh.c: Likewise.
56515         * math/w_sinhf.c: Likewise.
56516         * math/w_sinhl.c: Likewise.
56517         * math/w_sqrt.c: Likewise.
56518         * math/w_sqrtf.c: Likewise.
56519         * math/w_sqrtl.c: Likewise.
56520         * math/w_tgamma.c: Likewise.
56521         * math/w_tgammaf.c: Likewise.
56522         * math/w_tgammal.c: Likewise.
56524         * po/ja.po: Update from translation team.
56526 2011-09-29  Andreas Jaeger  <aj@suse.de>
56528         [BZ #13179]
56529         * sunrpc/netname.c (netname2host): Fix logic.
56531         [BZ #6779]
56532         [BZ #6783]
56533         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56534         correctly.
56535         * math/w_remainder.c (__remainder): Likewise.
56536         * math/w_remainderf.c (__remainderf): Likewise.
56537         * math/libm-test.inc (remainder_test): Add test cases.
56539 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56541         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56542         sdiv_qrnnd.
56544 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56546         * string/test-memcmp.c: Avoid unncessary #defines.
56547         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56549 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56551         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56552         Use new sse2 version for core i3 - i7 as it's faster
56553         than sse42 version.
56554         (bit_Prefer_PMINUB_for_stringop): New.
56555         * sysdeps/x86_64/rawmemchr.S: Update.
56556         Replace with faster SSE2 version.
56557         * sysdeps/x86_64/memrchr.S: New file.
56558         * sysdeps/x86_64/memchr.S: Update.
56559         Replace with faster SSE2 version.
56561 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56563         * elf/dl-load.c (lose): Add cast to avoid warning.
56565 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56567         * po/ca.po: Update from translation team.
56569         * inet/getnetgrent_r.c: Hook up nscd.
56570         * nscd/Makefile (routines): Add nscd_netgroup.
56571         (nscd-modules): Add netgroupcache.
56572         (CFLAGS-netgroupcache.c): Define.
56573         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56574         (cache_search): Add const to second parameter.
56575         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56576         INNETGR.
56577         (dbs): Add netgrdb entry.
56578         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56579         (verify_persistent_db): Handle netgrdb.
56580         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56581         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56582         GETFDNETGR.
56583         (netgroup_response_header): Define.
56584         (innetgroup_response_header): Define.
56585         (datahead): Add netgroup_response_header and innetgroup_response_header
56586         elements.
56587         * nscd/nscd.conf: Add entries for netgroup cache.
56588         * nscd/nscd.h (dbtype): Add netgrdb.
56589         (_PATH_NSCD_NETGROUP_DB): Define.
56590         (netgroup_iov_disabled): Declare.
56591         (xmalloc, xcalloc, xrealloc): Move declarations here.
56592         (cache_search): Adjust prototype.
56593         Add netgroup-related prototypes.
56594         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56595         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56596         (__nscd_innetgr): Declare.
56597         * nscd/selinux.c (perms): Use access_vector_t as element type and
56598         add netgroup-related initializers.
56599         * nscd/netgroupcache.c: New file.
56600         * nscd/nscd_netgroup.c: New file.
56601         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56602         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56603         For four parameters use innetgr.
56604         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56605         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56606         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56607         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56609         * nscd/connections.c (register_traced_file): Don't register file
56610         for disabled databases.
56612 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56614         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56616         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56617         from tree and freeing node.
56619 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56621         * nss/nsswitch.c (__nss_database_lookup): Handle
56622         nss_parse_service_list out of memory case.
56624 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56626         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56627         out of memory case.
56629 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56631         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56632         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56633         pass it down.
56634         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56635         elf_machine_rela, elf_machine_lazy_rel.
56636         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56637         (ELF_DYNAMIC_DO_REL): Likewise.
56638         (ELF_DYNAMIC_DO_RELA): Likewise.
56639         (ELF_DYNAMIC_RELOCATE): Likewise.
56640         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56641         to ELF_DYNAMIC_DO_REL.
56642         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56643         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56644         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56645         elf_machine_rela.
56646         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56647         skip_ifunc, don't call ifunc function if non-zero.
56648         (elf_machine_rela): Likewise.
56649         (elf_machine_lazy_rel): Likewise.
56650         (elf_machine_lazy_rela): Likewise.
56651         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56652         (elf_machine_lazy_rel): Likewise.
56653         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56654         Likewise.
56655         (elf_machine_lazy_rel): Likewise.
56656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56657         Likewise.
56658         (elf_machine_lazy_rel): Likewise.
56659         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56660         (elf_machine_lazy_rel): Likewise.
56661         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56662         (elf_machine_lazy_rel): Likewise.
56663         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56664         (elf_machine_lazy_rel): Likewise.
56665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56666         (elf_machine_lazy_rel): Likewise.
56667         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56668         (elf_machine_lazy_rel): Likewise.
56669         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56670         (elf_machine_lazy_rel): Likewise.
56672 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56674         * nss/nss_files/files-init.c (_nss_files_init): Use static
56675         initialization for all the *_traced_file variables.
56677 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56679         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56681 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56683         [BZ #13226]
56684         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56686 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56689         Reread the line before reparsing it.
56691 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56693         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56695 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56696             Maxim Kuvyrkov  <maxim@codesourcery.com>
56697             Joseph Myers  <joseph@codesourcery.com>
56699         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56700         if needed for __stack_chk_guard.
56702 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56704         * sysdeps/posix/spawni.c (script_execute): Always define it.
56705         It will be optimized away if unused.
56706         (maybe_script_execute): New function.
56707         (__spawni): Call it.
56709         * Makerules: Don't include tls.make.
56710         (config-tls): Always set to thread.
56711         * tls.make.c: File removed.
56713 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56715         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56716         * config.make.in (CPPFLAGS-config): New substituted variable.
56718 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56720         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56722         [BZ #13192]
56723         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56724         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56726 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56728         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56729         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56730         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56731         (CALL_FAIL): Likewise.
56732         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56733         (CALL_FAIL): Macro removed.
56734         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56736 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56738         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56739         for __FINITE_MATH_ONLY__ == 1.
56741 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56743         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56744         __ieee754_sqrt instead of sqrt.
56745         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56746         __ieee754_sqrtf instead of sqrtf.
56747         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56748         __floorf instead of floorf.
56749         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56750         __floorf, __truncf instead of floorf, truncf.
56752 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56754         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56756         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56757         __extern_always_inline.
56758         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56759         32-bit.
56761 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56763         * elf/rtld.c (dl_main): Also relocate in dependency order when
56764         doing symbol dependency testing.
56766 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56768         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56769         Always define `refsym'.
56771 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56773         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56774         (__FD_ELT): Renamed from __FDELT.
56775         * misc/bits/select2.h (__FD_ELT): Likewise.
56776         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56777         __FD_MASK instead of __FDELT, __FDMASK.
56778         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56779         Likewise.
56780         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56781         Likewise.
56783         * elf/Makefile (gen-ldd): Fix pattern.
56785         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56786         (init_tls): Likewise.
56788 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56790         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56792 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56794         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56795         `struct cmsghdr *' instead of `void *'.
56796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56797         Likewise.
56799 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56801         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56802         if non-absolute.
56803         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56804         ldd_rewrite_script.
56806 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56808         * configure.in: Remove --with-tls option.
56809         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56810         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56811         out in case it is missing.
56812         * sysdeps/ia64/elf/configure.in: Likewise.
56813         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56814         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56815         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56816         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56817         * sysdeps/sh/elf/configure.in: Likewise.
56818         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56819         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56820         * sysdeps/x86_64/elf/configure.in: Likewise.
56821         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56822         * sysdeps/mach/hurd/tls.h: Likewise.
56824         [BZ #13067]
56825         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56827         [BZ #13090]
56828         * configure.in: Fix use of AC_INIT.
56830         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56832 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56834         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56835         __set_errno.
56836         * malloc/hooks.c: Likewise.
56838         [BZ #11929]
56839         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56840         variables statically.
56841         (narenas): Initialize.
56842         (list_lock): Initialize.
56843         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56844         initializtion of main_arena and list_lock.  Small cleanups.
56845         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56846         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56847         Add initializers to main_arena and mp_.
56848         (malloc_state): Remove pagesize member.  Change all users to use
56849         GLRO(dl_pagesize).
56851         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56852         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56853         is always initialized.
56855         * malloc/malloc.c: Removed unused configurations and dead code.
56856         * malloc/arena.c: Likewise.
56857         * malloc/hooks.c: Likewise.
56858         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56860         * include/tls.h: Removed.  USE___THREAD must always be defined.
56861         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56862         * elf/dl-libc.c: Likewise.
56863         * elf/dl-tsd.c: Likewise.
56864         * include/errno.h: Likewise.
56865         * include/netdb.h: Likewise.
56866         * include/resolv.h: Likewise.
56867         * inet/herrno-loc.c: Likewise.
56868         * inet/herrno.c: Likewise.
56869         * malloc/arena.c: Likewise.
56870         * malloc/hooks.c: Likewise.
56871         * malloc/malloc.c: Likewise.
56872         * resolv/res-state.c: Likewise.
56873         * resolv/res_libc.c: Likewise.
56874         * sysdeps/i386/dl-machine.h: Likewise.
56875         * sysdeps/ia64/dl-machine.h: Likewise.
56876         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56877         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56878         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56879         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56880         * sysdeps/sh/dl-machine.h: Likewise.
56881         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56882         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56883         * sysdeps/unix/i386/sysdep.S: Likewise.
56884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56885         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56886         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56887         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56888         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56890         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56894         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56895         * sysdeps/x86_64/dl-machine.h: Likewise.
56896         * tls.make.c: Likewise.
56898         * configure.in: Remove --with-__thread option.  Make tests for
56899         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56900         tls_model attribute fail if no support is available.  Remove
56901         USE_IN_LIBIO.
56902         * Makeconfig: Adjust for dropped configure option.  All features are
56903         now mandatory.
56904         * Makerules: Likewise.
56905         * Versions.def: Likewise.
56906         * argp/argp-fmtstream.c: Likewise.
56907         * argp/argp-fmtstream.h: Likewise.
56908         * argp/argp-help.c: Likewise.
56909         * assert/assert.c: Likewise.
56910         * config.h.in: Likewise.
56911         * config.make.in: Likewise.
56912         * configure: Likewise.
56913         * configure.in: Likewise.
56914         * csu/Versions: Likewise.
56915         * csu/init.c: Likewise.
56916         * elf/tst-audit2.c: Likewise.
56917         * elf/tst-tls10.c: Likewise.
56918         * elf/tst-tls10.h: Likewise.
56919         * elf/tst-tls11.c: Likewise.
56920         * elf/tst-tls12.c: Likewise.
56921         * elf/tst-tls14.c: Likewise.
56922         * elf/tst-tlsmod11.c: Likewise.
56923         * elf/tst-tlsmod12.c: Likewise.
56924         * elf/tst-tlsmod13.c: Likewise.
56925         * elf/tst-tlsmod13a.c: Likewise.
56926         * elf/tst-tlsmod14a.c: Likewise.
56927         * elf/tst-tlsmod15b.c: Likewise.
56928         * elf/tst-tlsmod16a.c: Likewise.
56929         * elf/tst-tlsmod16b.c: Likewise.
56930         * elf/tst-tlsmod7.c: Likewise.
56931         * elf/tst-tlsmod8.c: Likewise.
56932         * elf/tst-tlsmod9.c: Likewise.
56933         * gmon/gmon.c: Likewise.
56934         * grp/fgetgrent_r.c: Likewise.
56935         * grp/putgrent.c: Likewise.
56936         * hurd/fopenport.c: Likewise.
56937         * include/libc-symbols.h: Likewise.
56938         * include/tls.h: Likewise.
56939         * intl/gettextP.h: Likewise.
56940         * intl/loadinfo.h: Likewise.
56941         * locale/global-locale.c: Likewise.
56942         * locale/localeinfo.h: Likewise.
56943         * mach/devstream.c: Likewise.
56944         * malloc/arena.c: Likewise.
56945         * malloc/set-freeres.c: Likewise.
56946         * misc/err.c: Likewise.
56947         * misc/getttyent.c: Likewise.
56948         * misc/mntent_r.c: Likewise.
56949         * posix/getopt.c: Likewise.
56950         * posix/wordexp.c: Likewise.
56951         * pwd/fgetpwent_r.c: Likewise.
56952         * resolv/Versions: Likewise.
56953         * resolv/res_hconf.c: Likewise.
56954         * shadow/fgetspent_r.c: Likewise.
56955         * shadow/putspent.c: Likewise.
56956         * stdio-common/printf_fphex.c: Likewise.
56957         * stdio-common/tmpfile.c: Likewise.
56958         * stdlib/abort.c: Likewise.
56959         * stdlib/fmtmsg.c: Likewise.
56960         * sunrpc/auth_unix.c: Likewise.
56961         * sunrpc/clnt_perr.c: Likewise.
56962         * sunrpc/clnt_tcp.c: Likewise.
56963         * sunrpc/clnt_udp.c: Likewise.
56964         * sunrpc/clnt_unix.c: Likewise.
56965         * sunrpc/openchild.c: Likewise.
56966         * sunrpc/svc_simple.c: Likewise.
56967         * sunrpc/svc_tcp.c: Likewise.
56968         * sunrpc/svc_udp.c: Likewise.
56969         * sunrpc/svc_unix.c: Likewise.
56970         * sunrpc/xdr.c: Likewise.
56971         * sunrpc/xdr_array.c: Likewise.
56972         * sunrpc/xdr_rec.c: Likewise.
56973         * sunrpc/xdr_ref.c: Likewise.
56974         * sunrpc/xdr_stdio.c: Likewise.
56976 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56978         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56980 2011-07-03  Andreas Jaeger  <aj@suse.de>
56982         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56983         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56984         regenerate with gen-libm-tests.pl.
56986 2010-05-12  Petr Baudis  <pasky@suse.cz>
56988         [BZ #11589]
56989         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56990         around j0() zero points by switching to j1().
56991         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56992         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56996 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56998         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56999         instead of 0.
57000         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57001         instead of 0.
57002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57003         Patch in part by Pavel Roskin <proski@gnu.org>.
57005         [BZ #13138]
57006         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57007         realloc.
57008         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57009         Free memory block if necessary.
57011         [BZ #12847]
57012         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57013         be NULL.  Don't lock in this case.
57015 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57017         * elf/elf.h (ELFOSABI_GNU): New macro.
57018         (ELFOSABI_LINUX): Define to that.
57020 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57022         * string/strncat.c (strncat): Undef the symbol in case it has been
57023         defined in bits/string.h.
57025 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57027         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57029         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57030         link map.
57032 2011-08-17  Andreas Jaeger  <aj@suse.de>
57034         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57036 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57037             Ian Lance Taylor  <iant@google.com>
57039         * math/libm-test.inc (lround_test): New testcase.
57040         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57042 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57044         * Makefile: Remove support for automatic cvs check-ins.
57045         * Makerules: Likewise.
57046         * config.make.in: Likewise.
57047         * configure.in: Likewise.
57048         * intl/Makefile: Likewise.
57049         * locale/Makefile: Likewise.
57050         * po/Makefile: Likewise.
57051         * posix/Makefile: Likewise.
57052         * sysdeps/gnu/Makefile: Likewise.
57053         * sysdeps/mach/hurd/Makefile: Likewise.
57054         * sysdeps/sparc/sparc32/Makefile: Likewise.
57056         [BZ #13118]
57057         * posix/Makefile (bug-regex32-ENV): Define.
57058         Patch by John Stanley <jpsinthemix@verizon.net>.
57060         * misc/Makefile (headers): Add bits/select2.h.
57061         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57062         * misc/bits/select2.h: New file.
57063         * include/bits/select2.h: New file.
57064         * debug/Makefile (routines): Add fdelt_chk.
57065         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57066         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57067         FD_ISSET.
57068         * debug/fdelt_chk.c: New file.
57070         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57071         * wcsmbs/test-wmemcmp.c: Likewise.
57072         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57073         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57075 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57077         * string/Makefile (strop-tests): Add memcmp.
57078         * string/test-wmemcmp.c: New file.
57079         * string/test-memcmp.c: Add wmemcmp support.
57081 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57083         [BZ #13153]
57084         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57085         2011-07-19 change.
57087         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57088         garbage value in a __mach_port_mod_refs call in the cases of the
57089         task-self and thread-self ports.
57091 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57093         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57095 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57097         * elf/dl-load.c (lose): Check for non-null L.
57099 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57101         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57103         * elf/dl-libc.c (dlerror_run): Pass back error code from
57104         dl_catch_error.
57106         [BZ #13123]
57107         * elf/dl-load.c (lose): Free l_origin if it is valid.
57109         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57110         names.
57111         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57112         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57113         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57115         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57116         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57118 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57120         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57121         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57122         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57123         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57124         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57125         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57126         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57127         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57128         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57129         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57131 2011-08-15  Alan Modra  <amodra@gmail.com>
57133         [BZ #13092]
57134         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57135         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57136         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57137         ppc_mcount to static-only-routines.
57138         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57139         __mcount_internal.
57140         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57141         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57143 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57145         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57146         for finite and infinity parameters.
57148 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57150         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57151         and add nop instructions for throughput optimization.
57152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57154 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57156         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57157         aligned copy for power7 with vector-scalar instructions.
57158         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57160 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57162         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57163         AVX check.
57165 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57167         [BZ #13144]
57168         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57169         last change.
57171 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57173         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57174         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57175         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57176         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57177         clock_gettime.
57179 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57181         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57182         Forgot to demangle the pointer.
57184         * sysdeps/i386/sysdep.h: Define atom_text_section.
57185         * sysdeps/x86_64/sysdep.h: Likewise.
57186         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57187         section with atom_text_section.
57188         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57189         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57190         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57191         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57192         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57194         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57195         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57196         already be defined.  Change to take two parameters and don't assign
57197         result to variable.  Adjust all users.
57198         Define INTERNAL_GETTIME if not already defined.
57199         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57200         call.
57201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57202         HAVE_CLOCK_GETTIME_VSYSCALL.
57203         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57206         gettimeofday vsyscall, just use time.
57208 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57210         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57211         <errno.h>.
57213 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57215         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57216         syscall on x86-64.
57217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57218         syscall.
57219         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57220         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57221         syscall if possible.
57223 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57225         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57226         e_ident.  Don't pass to find_mapsXX.
57227         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57229 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57232         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57233         * sysdeps/x86_64/multiarch/strchr.S: Update.
57234         Check bit_slow_BSF bit.
57235         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57236         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57237         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57239 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57241         [BZ #13134]
57242         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57243         before glibc 2.15.
57244         (tryshell): Define.
57245         (__spawni): Change last parameter to be flag.  Test
57246         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57247         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57248         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57249         * posix/spawni.c: Likewise.
57250         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57251         * posix/spawnp.c: Likewise.  Change normal version to use
57252         SPAWN_XFLAGS_USE_PATH.
57253         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57254         SPAWN_XFLAGS_TRY_SHELL.
57256         [BZ #13150]
57257         * posix/glob.h: Remove gcc 1.x support.
57259         [BZ #13068]
57260         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57262 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57265         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57266         strrchr-sse2-bsf
57267         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57268         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57269         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57270         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57271         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57272         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57274 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57276         * sysdeps/x86_64/wcscmp.S: New file.
57278         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57279         wcscmp-c wcscmp-sse2
57280         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57281         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57282         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57283         * wcsmbs/wcscmp.c: Allow renaming.
57285 2011-09-05  David S. Miller  <davem@davemloft.net>
57287         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57288         stack slot, rather than the struct return pointer slot.
57289         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57290         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57292         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57294 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57296         * po/ja.po: Update from translation team.
57298         [BZ #13144]
57299         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57300         kernel in 64-bit binaries.
57302 2011-09-01  David S. Miller  <davem@davemloft.net>
57304         * elf/elf.h (HWCAP_SPARC_*): Move to..
57305         * sysdeps/sparc/sysdep.h: this new file and add new values.
57306         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57307         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57308         _DL_HWCAP_COUNT to 24.
57309         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57310         entries.
57311         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57312         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57313         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57314         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57315         instead of magic constants.
57316         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57318 2011-08-31  David S. Miller  <davem@davemloft.net>
57320         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57322         Reimplement to do errno handling inline.
57323         (SYSCALL_ERROR_HANDLER): New macro.
57324         (__SYSCALL_STRING): Do not do errno handling in asm.
57325         (__CLONE_SYSCALL_STRING): Delete.
57326         (__INTERNAL_SYSCALL_STRING): Delete.
57327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57328         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57329         (PSEUDO): Reimplement to do errno handling inline.
57330         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57331         (SYSCALL_ERROR_HANDLER): New macro.
57332         (__SYSCALL_STRING): Do not do errno handling in asm.
57333         (__CLONE_SYSCALL_STRING): Delete.
57334         (__INTERNAL_SYSCALL_STRING): Delete.
57335         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57336         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57337         i386.
57338         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57339         (inline_syscall*): Add 'err' argument.
57340         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57341         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57342         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57343         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57345         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57346         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57348 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57350         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57352 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57354         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57355         directive.
57357 2011-08-24  David S. Miller  <davem@davemloft.net>
57359         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57361 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57363         * elf/Makefile: Add rules to build and run unload8 test.
57364         * elf/unload8.c: New file.
57365         * elf/unload8mod1.c: New file.
57366         * elf/unload8mod1x.c: New file.
57367         * elf/unload8mod2.c: New file.
57368         * elf/unload8mod3.c: New file.
57370         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57371         it wasn't used.
57373 2011-08-23  David S. Miller  <davem@davemloft.net>
57375         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57376         subtract stack bias.
57377         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57378         %sp not %fp in calculations.
57379         (_JMPBUF_UNWINDS_ADJ): Likewise.
57381         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57382         (aio_suspend): Call it to force an exception region around the
57383         AIO_MISC_WAIT() invocation.
57385 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57387         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57388         backslash.
57390 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57392         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57393         protection macro.
57394         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57395         and <dl-machine.h>.
57396         (Elf64_FuncDesc): Remove.
57398 2011-08-22  David S. Miller  <davem@davemloft.net>
57400         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57401         sigaltstack check, add missing cfi directives.
57402         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57403         missing cfi directives, and sigaltstack handling.
57405 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57407         [BZ #11724]
57408         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57409         object is seen twice.
57410         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57412         * elf/Makefile (distribute): Add tst-initorder2.c.
57413         (tests): Add tst-initorder2.
57414         (modules-names): Add tst-initorder2a tst-initorder2b
57415         tst-initorder2c tst-initorder2d.  Add rules to build them.
57416         ($(objpfx)tst-initorder2.out): New rule.
57417         * elf/tst-initorder2.c: New file.
57418         * elf/tst-initorder2.exp: New file.
57420 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57422         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57424         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57425         dependencies back to end of function.
57427         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57428         $(elfobjdir)/ld.so.
57430 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57432         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57433         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57435         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57436         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57437         of __vdso_gettimeofday.
57438         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57439         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57440         attribute_hidden.
57441         (_libc_vdso_platform_setup): Remove initialization of
57442         __vdso_gettimeofday and __vdso_time.
57444 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57446         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57447         and fgetc_unlocked.
57448         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57449         getc_unlocked.
57451         * elf/dl-open.c (add_to_global): Report additions to the global scope
57452         for LD_DEBUG=scopes.
57453         (dl_open_worker): Also print scope of newly loaded dependencies.
57454         (_dl_show_scope): Indicate if there is no scope.
57456         [BZ #13114]
57457         * stdio-common/Makefile (tests): Add bug24.
57458         * stdio-common/bug24.c: New file.
57460 2011-08-19  Andreas Jaeger  <aj@suse.de>
57462         [BZ #13114]
57463         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57464         non-existant file when using close-on-exec mode.
57466 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57468         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57469         the very first instruction.
57471         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57472         the CFI state in the end.
57473         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57474         inclusion of dl-trampoline.h.
57475         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57477 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57479         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57480         expectations for long double.
57482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57483         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57485 2011-08-14  David S. Miller  <davem@davemloft.net>
57487         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57488         artificual limit depends upon the system page size.
57490 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57492         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57493         * resolv/Makefile: Define CFLAGS-libresolv.
57495 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57497         * nss/makedb.c (compute_tables): Make variables used in nested
57498         function static.
57500 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57502         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57503         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57504         if buffer was too small.
57506         * elf/pldd.c (main): Attach to all threads in the process.
57507         Rewrite /proc handling to use *at functions.
57509 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57511         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57512         specifies first scope to show.
57513         (dl_open_worker): Update callers.  Move printing scope of new
57514         object to before the relocation.
57515         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57516         * sysdeps/generic/ldsodefs.h: Update declaration.
57518         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57519         string for the scope number.
57521 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57523         * nscd/servicescache.c (cache_addserv): Make sure written is always
57524         initialized.
57526 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57528         * sysdeps/i386/i486/bits/atomic.h
57529         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57530         statement expression, so as to suppress "set but not used" warning.
57531         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57533         * string/strncat.c (STRNCAT): Use prototype definition.
57535         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57536         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57537         -Iprograms here.
57538         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57539         (localedef-modules): Add localedef.
57540         (locale-modules): Add locale.
57542         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57543         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57544         to avoid a warning.
57546 2011-08-14  David S. Miller  <davem@davemloft.net>
57548         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57549         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57551 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57553         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57554         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57555         * elf/rtld.c (dl_main): Set l_name of vDSO.
57556         Call _dl_show_scope when DL_DEBUG_SCOPES.
57557         (process_dl_debug): Recognize scopes flag and also set it for all.
57558         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57559         Declare _dl_show_scope.
57561         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57562         (do_dlopen): Pass caller_dlopen to dl_open.
57563         (__libc_dlopen_mode): Initialize caller_dlopen.
57565         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57566         of libc.  Make tolower call locale-independent.  Optimize a bit by
57567         using isdigit instead of isalnum.
57568         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57570 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57572         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57573         was a dependency or dynamically loaded.
57575 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57577         * intl/l10nflist.c: Allow architecture-specific pop function.
57578         * sysdeps/x86_64/l10nflist.c: New file.
57580         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57581         classification.
57583 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57585         * include/dirent.h: Add libc_hidden_proto for scandirat and
57586         scandirat64.  Don't declare __scandirat64.
57587         * dirent/scandirat.c: Add libc_hidden_def.
57588         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57589         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57591 2011-08-10  David S. Miller  <davem@davemloft.net>
57593         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57594         enum.
57595         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57597         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57599 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57601         * Versions.def [libc]: Add GLIBC_2.15.
57602         * dirent/Makefile (routines): Add scandirat and scandirat64.
57603         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57604         GLIBC_2.15.
57605         * dirent/dirent.h: Declare scandirat and scandirat64.
57606         * dirent/scandirat.c: New file.
57607         * dirent/scandirat64.c: New file.
57608         * sysdeps/wordsize-64/scandirat.c: New file.
57609         * sysdeps/wordsize-64/scandirat64.c: New file.
57610         * dirent/opendir.c: Define opendirat.
57611         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57612         using scandirat.
57613         * dirent/scandir64.c: Adjust for scandir.c change.
57614         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57615         __scandirat64, and __scandir_cancel_handler.
57616         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57617         additional parameter and use openat instead of open (outside of ld.so).
57618         Add new __opendir as wrapper around __opendirat.
57619         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57620         here without requiring old scandirat implementation.
57622 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57624         * dirent/scandir.c (cancel_handler): Renamed to
57625         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57626         defined.  Adjust users.
57627         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57628         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57630 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57632         * string/test-string.h (IMPL): Use __STRING to expand name and then
57633         stringify it.
57635         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57636         of cleanups.
57638 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57640         * string/Makefile: Update.
57641         (strop-tests): Append strncat.
57642         * string/test-wcscmp.c: New file.
57643         New comprehensive test for wcscmp.
57644         * string/test-strcmp.c: Update.
57645         (WIDE): New define.
57647 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57649         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57650         line.
57652 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57655         encoding to ACE if AI_IDN.
57657 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57659         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57660         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57662 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57664         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57665         Fix overflow bug in strncat.
57666         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57668         * string/test-strncat.c: Update.
57669         Add new tests for checking overflow bugs.
57671 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57674         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57675         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57676         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57677         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57678         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57679         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57680         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57681         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57683         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57684         (USE_AS_STRCAT): Define.
57685         Add strcat and strncat support.
57686         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57688 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57690         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57691         __n bigger than INT_MAX+1.
57692         (__strncmp_g): Likewise.
57694 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57696         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57697         * libio/stido.h: Likewise.
57699         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57700         (AF_NFC): Define.
57701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57702         (AF_NFC): Define.
57704         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57705         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57706         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57707         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57708         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57710         [BZ #13021]
57711         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57712         installed.
57714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57715         typo.
57716         (_dl_x86_64_save_sse): Likewise.
57718 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57720         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57721         OSXSAVE.
57722         (_dl_x86_64_save_sse): Likewise.
57724         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57726         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57728 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57731         change.
57732         (_dl_x86_64_save_sse): Use correct AVX check.
57734 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57736         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57737         bug in strncpy/strncat.
57738         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57740 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57742         * string/tester.c (test_strcat): Add tests for different alignments
57743         of source and destination.
57744         (test_strncat): Likewise.
57746 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57748         [BZ #12852]
57749         * posix/glob.c (glob): Check passed in values before using them in
57750         expressions to avoid some overflows.
57751         (glob_in_dir): Likewise.
57753         [BZ #13007]
57754         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57755         check for AVX enablement so that we don't crash with old kernels and
57756         new hardware.
57757         * elf/tst-audit4.c: Add same checks here.
57758         * elf/tst-audit6.c: Likewise.
57760         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57762 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57764         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57766 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57768         * po/cs.po: Update from translation team.
57769         * po/bg.po: Likewise.
57771 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57773         * misc/sys/cdefs.h: Add support for const attribute.
57774         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57775         to gnu_dev_{major,minor,makedev} functions.
57777 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57779         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57781 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57783         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57784         strlen results.
57786 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57789         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57790         register in order to avoid conflicts with the soft frame pointer
57791         being held in r11 when necessary.
57792         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57793         (INTERNAL_VSYSCALL_NCS): Likewise.
57795 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57797         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57798         * elf/dl-fini.c (_dl_fini): Adjust caller.
57799         * elf/dl-close.c (_dl_close_worker): Likewise.
57800         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57802 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57804         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57805         "aux_cache->nlibs < 0".
57807         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57808         in the reload-count case.
57810 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57813         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57814         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57815         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57816         * sysdeps/x86_64/multiarch/strcat.S: New file.
57817         * sysdeps/x86_64/multiarch/strncat.S: New file.
57818         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57819         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57820         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57821         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57822         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57823         (USE_AS_STRCAT): Define.
57824         Add strcat and strncat support.
57825         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57827         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57828         * string/strncat.c: Update.
57829         (USE_AS_STRNCAT): Define.
57830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57831         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57832         and i7.
57833         * sysdeps/x86_64/multiarch/init-arch.h
57834         (bit_Prefer_PMINUB_for_stringop): New.
57835         (index_Prefer_PMINUB_for_stringop): Likewise.
57836         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57837         bit_Prefer_PMINUB_for_stringop.
57839 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57841         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57842         buffer64.
57843         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57844         of casting of buffer.
57845         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57846         buffer32 and buffer64.
57847         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57848         writes instead of casting of buffer.
57849         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57850         buffer32.
57851         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57852         casting of buffer.
57854 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57856         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57858 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57860         * nscd/nscd.c (termination_handler): Don't do anything for a database
57861         if it has not yet been initialized.
57863 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57865         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57867 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57869         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57871 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57873         * po/nl.po: Update from translation team.
57874         * po/sv.po: Likewise.
57876 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57878         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57879         now disallowed by GCC.
57881         * configure.in (use-default-link): Default to yes if a test -shared
57882         link meets our qualifications.
57883         * configure: Regenerated.
57885         * config.make.in (output-format): New variable.
57886         * configure.in: Check for ld --print-output-format support.
57887         * configure: Regenerated.
57888         * Makerules ($(common-objpfx)format.lds)
57889         [$(output-format) != unknown]: Just use $(output-format),
57890         instead of the linker-script munging.
57892 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57894         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57895         of $(common-objpfx)shlib.lds.
57896         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57898         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57899         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57901         * configure.in (-z relro check): Adjust test code to add a large
57902         writable data section after it.
57903         * configure: Regenerated.
57905 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57907         * configure.in (-z relro check): Fix test code to make the variable
57908         truly const.
57909         * configure: Regenerated.
57911 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57913         * nscd/nscd.h (struct traced_file): Define.
57914         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57915         elements.  Add traced_files.
57916         (inotify_fd): Declare.
57917         (register_traced_file): Declare.
57918         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57919         (inotify_fd): Export.
57920         (resolv_conf_descr): Remove.
57921         (nscd_init): Move inotify descriptor creation to main.
57922         Don't register files for notification here.
57923         (register_traced_file): New function.
57924         (invalidate_cache): Don't use reset_res to determine whether to call
57925         res_init, go through the list of registered files.
57926         (main_loop_poll): The inotify descriptors are now stored in the
57927         structures for the traced files.
57928         (main_loop_epoll): Likewise
57929         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57930         to __nss_disable_nscd.
57931         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57932         for a database anymore.  Check the records for all the registered
57933         files instead.
57934         * nss/Makefile (libnss_files-routines): Add files-init.
57935         (libnss_db-routines): Add db-init.
57936         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57937         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57938         * nss/nss_db/db-init.c: New file.
57939         * nss/nss_files/files-init.c: New file.
57940         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57941         __nss_lookup_function.
57942         (__nss_lookup_function): Call nss_load_library.
57943         (nss_load_all_libraries): New function.
57944         (__nss_disable_nscd): Take parameter with callback function for files
57945         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57946         used for the cached services.
57947         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57948         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57949         options for features to all the files in nscd.
57951         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57953 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57955         * csu/elf-init.c (__libc_csu_init): Comment typo.
57957 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57959         * po/pl.po: Update from translation team.
57960         * po/ja.po: Likewise.
57961         * po/ru.po: Likewise.
57962         * po/ko.po: Likewise.
57963         * po/fr.po: Likewise.
57965 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57967         * configure.in (.ctors/.dtors header and trailer check):
57968         Use an empirical test on a built program.
57969         * configure: Regenerated.
57971         * configure.in (-z relro check): Use an empirical test on a built DSO.
57972         Detect, but do not require, on ia64.
57973         * configure: Regenerated.
57975         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57976         Update tests that use readelf to use $READELF instead.
57977         * configure: Regenerated.
57979 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57981         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57982         if the result is not used.
57984 2011-07-05  Andreas Jaeger  <aj@suse.de>
57986         [BZ#9696]
57987         * stdlib/tst-strtod.c: Add testcase.
57989 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57991         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57992         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57993         The latter has a higher limit.  Take additional parameter to pass to
57994         the new function.
57995         (__pathconf): Pass file to __statfs_link_max.
57996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57997         __statfs_link_max.
57998         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57999         __statfs_link_max.
58001         [BZ #12868]
58002         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58004         Handle Lustre.
58005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58006         (__statfs_filesize_max): Likewise.
58007         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58009 2011-07-05  Andreas Jaeger  <aj@suse.de>
58011         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58013 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58015         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58016         `status' variable.
58017         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58018         Likewise.
58020 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58022         * Makefile (strop-tests): Add strncat.
58023         * string/test-strncat.c: New file.
58025 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58027         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58029 2011-06-21  Andreas Jaeger  <aj@suse.de>
58031         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58032         Copy rule from iconvdata/Makefile.
58034 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58036         [BZ #12922]
58037         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58038         but no long options are defined, just return 'W'.
58040 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58042         [BZ #9696]
58043         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58045 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58047         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58048         netgroups to read.
58049         (innetgr): Likewise.
58051 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58053         * config.make.in (install_root): Default to $(DESTDIR).
58055 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58057         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58059 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58061         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58063         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58064         containing directory rather than embedding absolute directory names.
58066         * scripts/check-local-headers.sh: Rewritten using awk.
58067         Match by word, not by line.  Print error messages for matches.
58068         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58070         * Makerules [shlib-lds-flags empty]:
58071         ($(common-objpfx)libc_pic.opts): New target.
58072         ($(common-objpfx)libc_pic.os.clean): New target.
58073         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58075         * config.make.in (OBJCOPY): New variable.
58076         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58077         * configure: Regenerated.
58079         * config.make.in (use-default-link): New variable.
58080         * configure.in (use_default_link): Grok --with-default-link to set it.
58081         * configure: Regenerated.
58082         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58083         (shlib-lds, shlib-lds-flags): Define to empty.
58085         * Makerules (shlib-lds): New variable.
58086         (shlib-lds-flags): New variable.
58087         (build-shlib, build-moduile, build-module-asneeded): Use it.
58088         ($(common-objpfx)libc.so): Use $(shlib-lds).
58089         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58090         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58092         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58093         DT_FLAGS/DT_FLAGS_1 with zero flags.
58095         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58096         linker script munging.
58098 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58100         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58101         as 128-bit value.
58102         * crypt/sha512.c (sha512_process_block): Perform total addition using
58103         128-bit if possible.
58104         (__sha512_finish_ctx): Likewise.
58105         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58106         as 64-bit value.
58107         * crypt/sha256.c (SWAP64): Define.
58108         (sha256_process_block): Perform total addition using 64-bit if
58109         possible.
58110         (__sha256_finish_ctx): Likewise.
58112 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58114         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58115         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58116         * nscd/hstcache.c (cache_addhst): Likewise.
58117         * nscd/grpcache.c (cache_addgr): Likewise.
58118         * nscd/aicache.c (addhstaiX): Likewise
58119         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58121 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58123         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58124         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58125         * nscd/hstcache.c (cache_addhst): Likewise.
58126         * nscd/grpcache.c (cache_addgr): Likewise.
58127         * nscd/aicache.c (addhstaiX): Likewise
58129 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58131         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58132         domain only when needed.
58134 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58137         is always restored.
58139 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58141         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58142         are re-adding the entry.
58143         * nscd/servicescache.c (cache_addserv): Likewise.
58145 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58147         * sysdeps/generic/dl-irel.h: fix protection against multiple
58148         inclusions.
58149         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58151 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58153         [BZ #12935]
58154         * malloc/memusage.sh: Fix quoting in message.
58155         * debug/xtrace.sh: Likewise.
58157         * configure.in: Remove support for --experimental-malloc option, make
58158         it the default.
58159         * config.make.in: Likewise.
58160         * malloc/Makefile: Likewise.
58162 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58164         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58165         two-byte characters.
58167 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58169         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58170         AC_CACHE_CHECK invocation.
58171         * configure: Regenerated.
58173         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58175 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58177         [BZ #12350]
58178         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58179         bit from old_res_options.
58181         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58183         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58184         value type for setfct.
58186 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58188         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58189         __gettimeofday instead of gettimeofday.
58191 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58193         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58195 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58197         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58200         info.
58202 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58205         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58206         strcpy-sse2-unaligned strncpy-sse2-unaligned
58207         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58208         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58209         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58210         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58211         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58212         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58213         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58214         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58215         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58216         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58217         (STRCPY): Support SSE2 and SSSE3 versions.
58219 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58221         [BZ #12874]
58222         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58223         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58224         kernels which artificially limit size of requests.
58226 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58228         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58229         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58230         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58231         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58232         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58233         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58234         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58235         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58236         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58237         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58238         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58239         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58240         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58241         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58242         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58244         Enable unaligned load optimization for Intel Core i3, i5 and i7
58245         processors.
58246         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58247         Define.
58248         (index_Fast_Unaligned_Load): Define.
58249         (HAS_FAST_UNALIGNED_LOAD): Define.
58251 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58253         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58255 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58257         [BZ #12907]
58258         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58259         until it is clear that the information is realy needed.
58260         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58262 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58266 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58268         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58269         /sys/devices/system/cpu/online if it is usable.
58271         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58272         reading the information from the /proc filesystem to once a second.
58274 2011-06-21  Andreas Jaeger  <aj@suse.de>
58276         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58277         NULL after inclusion of kernel headers.
58279 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58281         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58282         calls to internal_setent.
58284         [BZ #12885]
58285         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58286         addresses using gethostbyname4_r ignore IPv4 addresses.
58288         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58289         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58291         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58293 2011-06-20  David S. Miller  <davem@davemloft.net>
58295         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58296         inclusions.
58297         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58299         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58300         (elf_irel): Use it.
58301         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58302         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58303         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58304         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58305         * sysdeps/x86_64/dl-irel.h: Likewise.
58307         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58308         * elf/dl-sym.c: Likewise.
58310 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58312         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58313         need to dereference resplen2.
58315 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58317         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58319 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58321         * Makeconfig: Define vardbdir and inst_vardbdir.
58322         * nss/Makefile: Add rules to install db-Makefile.
58324         * nss/nss_db/db-XXX.c: Cleanup.
58326         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58327         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58328         GLIBC_PRIVATE.
58329         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58330         * nss/makedb.c: Implement -g option to specify that value strings
58331         are generated and should not be added to table iterated over for
58332         get*ent calls.
58333         * nss/nss_db/db-initgroups.c: New file.
58335         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58336         interface.
58338         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58339         (internal_getgrouplist): Adjust to name change.
58340         Update use_initgroups_entry if this is not the first call.
58341         * nss/databases.def: Add initgroups entry.
58343         * nss/makedb.c (compute_tables): Check result of multiple hash table
58344         sizes to minimize maximum chain length.
58346 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58348         * Versions.def: Add entry for libnss_db.
58349         * shlib-versions: Likewise.
58350         * nss/Makefile: Add rules to build libnss_db.
58351         * nss/Versions: Add libnss_db information.  Organize libnss_files
58352         entries better.
58353         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58354         makedb progra.  Some minor improvements to generate smaller files.
58355         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58356         here from...
58357         * nss/makedb.c: ...here.
58358         Improve database format to be smaller and require less memory at
58359         runtime.
58360         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58361         db anymore.
58362         * nss/nss_db/db-netgrp.c: Likewise.
58363         * nss/nss_db/db-open.c: Likewise.
58364         * nss/nss_files/flies-XXX.x: Adjust comments.
58365         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58366         * nss/nss_files/files-grp.c: Likewise.
58367         * nss/nss_files/files-hosts.c: Likewise.
58368         * nss/nss_files/files-network.c: Likewise.
58369         * nss/nss_files/files-proto.c: Likewise.
58370         * nss/nss_files/files-pwd.c: Likewise.
58371         * nss/nss_files/files-rpc.c: Likewise.
58372         * nss/nss_files/files-service.c: Likewise.
58373         * nss/nss_files/files-sgrp.c: Likewise.
58374         * nss/nss_files/files-spwd.c: Likewise.
58375         * nss/nss_db/db-alias.c: Removed.
58376         * nss/nss_db/dummy-db.h: Removed.
58378 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58380         * nss/makedb.c: Rewritten to not use database library.
58381         * nss/Makefile: Update to build new makedb program.
58383 2011-06-14  Andreas Jaeger  <aj@suse.de>
58385         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58386         memset declaration.
58388 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58391         tmpbuf.
58393 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58395         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58396         * elf/Makefile ($(objpfx)ld.so): Likewise.
58398         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58399         Don't list ld.so twice in dependencies.
58401         * posix/bug-regex31.c: Include <stdlib.h>.
58403         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58405         * nis/nss_compat/compat-spwd.c
58406         (getspent_next_nss_netgr): Remove unused variable.
58407         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58409         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58410         nonmembers" output to use the right array.
58412         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58414         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58416         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58417         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58418         * catgets/gencat.c (read_input_file): Likewise.
58419         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58421         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58422         variable definition inside #if's controlling its use.
58424         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58426         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58428         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58430         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58431         unreachable code.
58433         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58435         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58436         * configure: Regenerated.
58438         * Makerules: Revert last change.
58439         * elf/Makefile: Likewise.
58441 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58443         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58444         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58445         (reloc-link): Likewise.
58447 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58449         * elf/Makefile: Add rules to build pldd.
58450         * elf/pldd.c: New file.
58451         * elf/pldd-xx.c: New file.
58453 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58455         * version.h: Update for 2.15 development version.
58457 2011-06-07  David S. Miller  <davem@davemloft.net>
58459         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58460         ifuncs.
58461         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58462         elf_machine_lazy_rel): Likewise.
58463         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58464         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58465         elf_machine_lazy_rel): Likewise.
58466         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58467         dl_hwcap via passed in argument.
58468         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58469         Likewise.
58471 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58473         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58475 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58477         [BZ #12849]
58478         * manual/fdl-1.1.texi: New file, verbatim from:
58479         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58480         * manual/lgpl-2.1.texi: New file, verbatim from:
58481         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58482         * manual/Makefile (licenses): New variable, list those new file names.
58483         (texis): Use it.
58484         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58486         * manual/fdl.texi: File removed.
58487         * manual/lesser.texi: File removed.
58488         * manual/libc.texinfo (Copying, Documentation License):
58489         Use new @include file names, put @appendix directive before @include.
58491 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58493         [BZ #12841]
58494         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58495         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58496         (mq_open): Add __NTH.
58498 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58501         Assume Intel Core i3/i5/i7 processor if AVX is available.
58503 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58506         typo.
58508 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58510         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58511         memory.  Use alloca_account.  Fix memory leak when retrying.
58513 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58515         * version.h (RELEASE): Bump for 2.14 release.
58516         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58518         * config.make.in (RANLIB): Remove entry.
58520 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58522         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58523         (libc.pot): Work around missing support for .ksh extension in xgettext.
58525         [BZ #12684]
58526         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58527         if both request failed.
58528         (send_dg): In case of server errors clear resplen or *resplen2.
58530         [BZ #12454]
58531         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58532         when there are multiple maps.
58533         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58534         (_dl_fini): Remove test here.
58536         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58538 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58540         [BZ #12350]
58541         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58542         bit from old_res_options.
58543         (gaih_inet): Likewise.
58545         [BZ #11099]
58546         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58547         as signed.
58549         * resolv/res_init.c (res_setoptions): Make the code more compact.
58551         [BZ #11558]
58552         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58553         set RES_USEVC.
58555         [BZ #11634]
58556         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58558         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58560         [BZ #11781]
58561         * malloc/malloc.h: Declare malloc hook variables as volatile.
58563         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58564         in last patch.
58566         [BZ #11799]
58567         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58568         raise in the comment.
58569         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58570         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58571         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58573 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58575         [BZ #12811]
58576         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58577         grow the buffers more if it already has to be sufficient.
58578         (build_wcs_upper_buffer): Likewise.
58579         * posix/regexec.c (check_matching): Likewise.
58580         (clean_state_log_if_needed): Likewise.
58581         (extend_buffers): Don't enlarge buffers beyond size of the input
58582         buffer.
58583         Patches mostly by Emil Wojak <emil@wojak.eu>.
58584         * posix/bug-regex32.c: New file.
58585         * posix/Makefile (tests): Add bug-regex32.
58587         * locale/findlocale.c (_nl_find_locale): Return right away if
58588         _nl_explode_name failed.
58589         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58591         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58593         * debug/xtrace.sh: Unify messages.
58594         * malloc/memusage.sh: Likewise.
58596         [BZ #12813]
58597         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58598         time symbol from vDSO.  Substitute with vsyscall if not available.
58599         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58600         __vdso_time.
58602         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58603         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58604         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58605         Add sendmmsg and internal_sendmmsg.
58606         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58607         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58608         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58610         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58611         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58612         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58614 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58616         [BZ #12813]
58617         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58618         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58619         available.
58620         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58621         __vdso_getcpu.
58623         [BZ #12814]
58624         * iconvdata/Makefile (tests): Add bug-iconv9.
58625         * iconvdata/bug-iconv9.c: New file.
58627 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58629         [BZ #12814]
58630         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58632 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58634         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58635         (struct user_regs_struct): Change intcs field back to cs.
58637 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58639         * po/ja.po: Update from translation team.
58641 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58643         [BZ #12795]
58644         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58645         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58647 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58649         * stdlib/longlong.h: Update from GCC.
58651 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58653         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58654         parameter name.
58655         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58656         Add parameter name.
58657         (__sysconf): Pass it down.
58659 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58661         [BZ #12671]
58662         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58663         some situations.
58664         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58665         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58666         add in in __libc_use_alloca calls.  Adjust callers.
58667         (glob): Use malloc in some situations.
58669         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58670         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58671         pltexit.
58673 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58675         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58676         and CLOCK_BOOTTIME_ALARM.
58678         [BZ #12782]
58679         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58680         is returned.
58682         * string/_strerror.c (__strerror_r): Print negative errors as signed
58683         numbers.
58685         [BZ #12777]
58686         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58687         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58688         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58690         * configure.in: Fix typo in redirection and correct removal of test
58691         files in two cases.
58693         [BZ #12788]
58694         * locale/setlocale.c (new_composite_name): Fix test to check for
58695         identical name of all categories.
58697         [BZ #12792]
58698         * libio/filedoalloc.c (local_isatty): New function.
58699         (_IO_file_doallocate): Use local_isatty.
58700         * stdio-common/perror.c (perror): In case a new stream is used
58701         forward the stream error.
58702         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58703         error flag.
58705 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58707         [BZ #11869]
58708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58709         alloca.
58710         * include/alloca.h (extend_alloca_account): Define.
58712         [BZ #11857]
58713         * posix/regex.h: Fix comments with documentation of user-accessible
58714         fields after compilation and describe correct free'ing of pattern
58715         after re_compile_pattern.
58716         Patch by Reuben Thomas <rrt@sc3d.org>.
58718 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58720         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58721         and -mno-altivec to prevent the compiler from using Altivec and/or
58722         VSX instructions when the corresponding registers are not available.
58724 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58726         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58728 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58730         * libio/freopen.c (freopen): Use __dup2, not dup2.
58731         * libio/freopen64.c (freopen64): Likewise.
58733 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58735         [BZ #12775]
58736         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58737         * math/Makefile (tests): Add test-powl.
58738         (CFLAGS-test-powl.c): Define.
58739         * math/test-powl.c: New file.
58741 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58743         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58745 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58747         [BZ #11837]
58748         * iconvdata/gb18030.c: Update to GB18020-2005.
58750 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58752         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58753         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58754         Patch by Aharon Robbins <arnold@skeeve.com>.
58756         [BZ #11892]
58757         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58758         on the stack.
58760         [BZ #11895]
58761         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58762         through underflows.
58764         [BZ #12766]
58765         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58766         point to strings before performing equality test for error_one_per_line
58767         mode.
58769         [BZ #11697]
58770         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58772         [BZ #11820]
58773         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58774         (struct user_fpregs_struct): Avoid __uint*_t types.
58776         [BZ #6420]
58777         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58778         symbol info.  Use it instead of calling _dl_addr locally.
58779         (lock_and_info): New function.
58780         (tr_freehook): Call lock_and_info and pass symbol info as additional
58781         parameter to tr_where.
58782         (tr_mallochook): Likewise.
58783         (tr_reallochook): Likewise.
58784         (tr_memalignhook): Likewise.
58786         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58787         used and couldn't be at all thread-safe.
58789 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58791         * libio/freopen.c (freopen): Don't close old file descriptor
58792         before the new one is opened.  Instead dup the new file descriptor
58793         to the old one after the new stream is created.
58794         * libio/freopen64.c (freopen64): Likewise.
58795         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58796         * libio/fileops.c (_IO_new_file_close_it): Handle new
58797         _IO_FLAGS2_NOCLOSE flag.
58798         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58799         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58800         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58801         _IO_FLAGS2_NOCLOSE flag.
58802         * include/unistd.h: Add hidden_proto for dup3.
58803         Define __have_dup3.
58804         * io/dup3.c: Define hidden symbol.
58805         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58807         [BZ #7101]
58808         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58809         when an incomplete long option is used.
58810         * posix/tst-getopt_long1.c: New file.
58811         * posix/Makefile (tests): Add tst-getopt_long1.
58813         [BZ #10138]
58814         * scripts/config.guess: Update from autoconf-2.68.
58815         * scripts/config.sub: Likewise.
58817         [BZ #10157]
58818         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58819         tests into ...
58820         (has_cpuclock): ...this.  New function.
58821         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58822         macro here based on has_cpuclock code.
58824         [BZ #10149]
58825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58826         First byte (not low byte) is now always NUL.
58827         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58829         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58830         Use non-cancelable interfaces.
58832         [BZ #9809]
58833         * locale/iso-639.def: Add entry for Sorani.
58835         [BZ #11901]
58836         * include/stdlib.h: Move include protection to the right place.
58837         Define abort_msg_s.  Declare __abort_msg with it.
58838         * stdlib/abort.c (__abort_msg): Adjust type.
58839         * assert/assert.c (__assert_fail_base): New function.  Majority
58840         of code from __assert_fail.  Allocate memory for __abort_msg with
58841         mmap.
58842         (__assert_fail): Now call __assert_fail_base.
58843         * assert/assert-perr.c: Remove bulk of implementation.  Use
58844         __assert_fail_base.
58845         * include/assert.hL Declare __assert_fail_base.
58846         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58847         mmap.
58848         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58850 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58852         [BZ #11952]
58853         [BZ #12453]
58854         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58855         until all modules are registered in the DTV.
58856         * elf/Makefile: Add rules to build and run tst-tls19.
58857         * elf/tst-tls19.c: New file.
58858         * elf/tst-tls19mod1.c: New file.
58859         * elf/tst-tls19mod2.c: New file.
58860         * elf/tst-tls19mod3.c: New file.
58861         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58863         [BZ #12083]
58864         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58865         correctly.
58867         [BZ #12601]
58868         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58869         two-byte sequence errors.
58870         * iconvdata/Makefile (tests): Add bug-iconv8.
58871         * iconvdata/bug-iconv8.c: New file.
58873         [BZ #12626]
58874         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58875         buf2 definition.
58877         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58879         [BZ #12432]
58880         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58881         (dummy_getcfa): New function.
58882         (init): Get _Unwind_GetCFA address, use dummy if not found.
58883         (backtrace_helper): In recursion check, also check whether CFA changes.
58884         (__backtrace): Completely initialize arg.
58886         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58887         storing incomplete byte sequence in state object.  Avoid testing for
58888         guaranteed too small input if we know there is enough data available.
58890 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58892         * Makeconfig (+link-pie): Indent.
58893         * Rules (binaries-pie): Define if $(have-fpie) and
58894         $(build-shared).
58895         (binaries-shared): Also filter out $(binaries-pie).
58896         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58897         * nscd/Makefile (others-pie): Add nscd.
58898         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58899         ($(objpfx)nscd): Remove command override.
58900         * login/Makefile (others-pie): Add pt_chown.
58901         ($(objpfx)pt_chown): Remove command override.
58902         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58903         remove command overrides.
58905 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58907         * libio/tst_putwc.c: Fix error messages.
58909         [BZ #12724]
58910         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58911         currently writing and seek to current position when not.
58912         * libio/Makefile (tests): Add bug-fclose1.
58913         * libio/bug-fclose1.c: New file.
58915 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58917         [BZ #12511]
58918         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58919         don't set DF_1_NODELETE here.
58920         (do_lookup_x): When entering new entry test for copy relocation
58921         and if necessary set DF_1_NODELETE flag.
58922         * elf/tst-unique4.cc: New file.
58923         * elf/tst-unique4.h: New file.
58924         * elf/tst-unique4lib.cc: New file.
58925         * elf/Makefile: Add rules to build and run tst-unique4.
58926         Patch by Piotr Bury <pbury@goahead.com>.
58928 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58930         [BZ #12052]
58931         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58933         [BZ #12625]
58934         * misc/mntent_r.c (addmntent): Flush the stream after the output
58936         [BZ #12393]
58937         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58938         (is_trusted_path_normalize): Skip initial colon.  Append slash
58939         to empty buffer.  Duplicate is_trusted_path code but allow
58940         constructed patch to be prefix.
58941         (is_dst): Allow $ORIGIN followed by /.
58942         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58943         Correct testing of result of is_trusted_path_normalize
58944         (decompose_rpath): Fix warning.
58946 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58948         [BZ #11257]
58949         * grp/initgroups.c (internal_getgrouplist): When we found the service
58950         list through the initgroups entry in nsswitch.conf do not always
58951         continue on a successful lookup.  Don't always use the
58952         __nss_group_database value if it is set.
58953         * nss/nsswitch.conf (initgroups): Change action for successful db
58954         lookup to continue for compatibility.
58956 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58958         [BZ #11532]
58959         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58960         and CP774 modules.
58961         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58962         and CP774 modules.
58963         * iconvdata/tst-tables.sh: Likewise.
58964         * iconvdata/cp770.c: New file.
58965         * iconvdata/cp771.c: New file.
58966         * iconvdata/cp772.c: New file.
58967         * iconvdata/cp773.c: New file.
58968         * iconvdata/cp774.c: New file.
58969         * iconvdata/testdata/CP770: New file.
58970         * iconvdata/testdata/CP770..UTF8: New file.
58971         * iconvdata/testdata/CP771: New file.
58972         * iconvdata/testdata/CP771..UTF8: New file.
58973         * iconvdata/testdata/CP772: New file.
58974         * iconvdata/testdata/CP772..UTF8: New file.
58975         * iconvdata/testdata/CP773: New file.
58976         * iconvdata/testdata/CP773..UTF8: New file.
58977         * iconvdata/testdata/CP774: New file.
58978         * iconvdata/testdata/CP774..UTF8: New file.
58980         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58981         END CHARMAP line.
58982         * iconvdata/gen-8bit-gap.sh: Likewise.
58983         * iconvdata/gen-8bit.sh: Likewise.
58985         * locale/iso-639.def: Add ary entry.
58987         [BZ #11258]
58988         * locale/C-translit.h.in: Add U20A1 transliteration.
58990         [BZ #12178]
58991         * locale/iso-639.def: Add wae entry.
58992         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58994         [BZ #12545]
58995         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58996         for n.
58998         [BZ #12711]
58999         * locale/C-translit.h.in: Add entry for U20B9.
59000         Patch by pravin.d.s@gmail.com.
59002 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59004         [BZ #12713]
59005         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59006         ENAMETOOLONG use generic getcwd.
59007         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59008         in rtld.  Use *stat64.
59009         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59010         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59011         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59012         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59013         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59014         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59015         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59016         __fstatat64 macros.
59017         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59018         * dirent/rewinddir.c: Add libc_hidden_def.
59019         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59020         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59022         * include/dirent.h (__alloc_dir): Add flags parameter.
59023         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59024         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59025         __alloc_dir.
59026         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59027         from fdopendir if O_CLOEXEC is already set.
59029 2011-03-15  Alan Modra  <amodra@gmail.com>
59031         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59032         l_tls_firstbyte_offset non-zero.  Save padding offset in
59033         l_tls_firstbyte_offset for later use.
59034         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59035         freeing static tls block.
59037 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59039         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59040         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59041         being defined by the kernel headers.
59043 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59045         [BZ #12734]
59046         * resolv/resolv.h: Define RES_NOTLDQUERY.
59047         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59048         no-tld-query and set RES_NOTLDQUERY.
59049         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59050         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59051         modern BIND to search name as TLD unless forbidden.
59053 2011-05-07  Petr Baudis  <pasky@suse.cz>
59054             Ulrich Drepper  <drepper@gmail.com>
59056         [BZ #12393]
59057         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59058         (is_trusted_path): ...to here.
59059         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59060         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59061         using is_trusted_path_normalize() in setuid scripts.
59063 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59065         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59066         __BEGIN/__END_DECLS.
59068 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59070         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59071         NSS_STATUS_NOTFOUND if no record was found.
59073 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59075         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59076         (headers-not-in-tirpc): Remove rpc/netdb.h
59077         * resolv/netdb.h: Revert last change.
59079 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59081         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59082         circular dependency between libgcc.a and libc.a.
59084 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59086         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59087         * nis/Makefile: Don't install rpcsvc/*.
59088         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59089         instead of <rpc/types.h>.
59090         (MAXHOSTNAMELEN): Define.
59092 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59094         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59096 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59098         [BZ #12714]
59099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59100         gethostbyname4_r when IPv6 results are possible.
59102 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59104         [BZ #12723]
59105         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59106         _PC_PIPE_BUF handling.
59108 2011-04-30  Bruno Haible  <bruno@clisp.org>
59110         [BZ #12717]
59111         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59112         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59113         to 'int'.
59114         * inet/getnameinfo.c (getnameinfo): Likewise.
59116 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59118         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59119         to groups setting in database lookup.
59120         * nss/nsswitch.conf: Add initgroups entry.
59122 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59124         [BZ #12685]
59125         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59126         mode string.
59127         Patch by Eric Blake <eblake@redhat.com>.
59129 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59131         * sunrpc/Makefile (need-export-routines): Add svc_run.
59132         (routines): Remove svc_run.
59133         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59134         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59135         * sunrpc/svc_run.c (svc_run): Likewise.
59136         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59138 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59141         problem in reallocation in last patch.
59143 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59145         * sunrpc/Makefile: Move inclusion of Rules.
59147 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59149         * nss/nss_files/files-initgroups.c: New file.
59150         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59151         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59152         _nss_files_initgroups_dyn.
59154 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59156         * elf/elf.h (R_ARM_IRELATIVE): Define.
59158 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59160         * po/ru.po: Update from translation team.
59162 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59164         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59165         dependencies.
59167 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59169         [BZ #12653]
59170         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59171         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59172         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59173         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59174         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59176 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59178         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59179         differing bytes.
59180         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59181         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59182         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59184 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59186         [BZ #12420]
59187         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59188         storing it.
59189         * stdlib/bug-getcontext.c: New file.
59190         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59192 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59194         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59195         instructions into .machine "z9-109".
59196         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59197         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59199 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59201         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59202         between environment variables and auxiliary vector.
59204 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59206         * Makefile: Add rules to build linkobj/libc.so.
59207         * include/libc-symbols.h: Define libc_hidden_nolink.
59208         * include/rpc/auth.h: Mark functions which are to be hidden.
59209         * include/rpc/auth_des.h: Likewise.
59210         * include/rpc/auth_unix.h: Likewise.
59211         * include/rpc/clnt.h: Likewise.
59212         * include/rpc/des_crypt.h: Likewise.
59213         * include/rpc/key_prot.h: Likewise.
59214         * include/rpc/pmap_clnt.h: Likewise.
59215         * include/rpc/pmap_prot.h: Likewise.
59216         * include/rpc/pmap_rmt.h: Likewise.
59217         * include/rpc/rpc_msg.h: Likewise.
59218         * include/rpc/svc.h: Likewise.
59219         * include/rpc/svc_auth.h: Likewise.
59220         * include/rpc/xdr.h: Likewise.
59221         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59222         * nss/Makefile: Likewise.
59223         * sunrpc/Makefile: Don't install headers.  Build library with normal
59224         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59225         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59226         for the compat linking library.  Remove use of INTDEF/INTUSE.
59227         * sunrpc/auth_none.c: Likewise.
59228         * sunrpc/auth_unix.c: Likewise.
59229         * sunrpc/authdes_prot.c: Likewise.
59230         * sunrpc/authuxprot.c: Likewise.
59231         * sunrpc/clnt_gen.c: Likewise.
59232         * sunrpc/clnt_perr.c: Likewise.
59233         * sunrpc/clnt_raw.c: Likewise.
59234         * sunrpc/clnt_simp.c: Likewise.
59235         * sunrpc/clnt_tcp.c: Likewise.
59236         * sunrpc/clnt_udp.c: Likewise.
59237         * sunrpc/clnt_unix.c: Likewise.
59238         * sunrpc/des_crypt.c: Likewise.
59239         * sunrpc/des_soft.c: Likewise.
59240         * sunrpc/get_myaddr.c: Likewise.
59241         * sunrpc/key_call.c: Likewise.
59242         * sunrpc/key_prot.c: Likewise.
59243         * sunrpc/netname.c: Likewise.
59244         * sunrpc/pm_getmaps.c: Likewise.
59245         * sunrpc/pm_getport.c: Likewise.
59246         * sunrpc/pmap_clnt.c: Likewise.
59247         * sunrpc/pmap_prot.c: Likewise.
59248         * sunrpc/pmap_prot2.c: Likewise.
59249         * sunrpc/pmap_rmt.c: Likewise.
59250         * sunrpc/publickey.c: Likewise.
59251         * sunrpc/rpc_cmsg.c: Likewise.
59252         * sunrpc/rpc_common.c: Likewise.
59253         * sunrpc/rpc_dtable.c: Likewise.
59254         * sunrpc/rpc_prot.c: Likewise.
59255         * sunrpc/rpc_thread.c: Likewise.
59256         * sunrpc/rtime.c: Likewise.
59257         * sunrpc/svc.c: Likewise.
59258         * sunrpc/svc_auth.c: Likewise.
59259         * sunrpc/svc_authux.c: Likewise.
59260         * sunrpc/svc_raw.c: Likewise.
59261         * sunrpc/svc_run.c: Likewise.
59262         * sunrpc/svc_simple.c: Likewise.
59263         * sunrpc/svc_tcp.c: Likewise.
59264         * sunrpc/svc_udp.c: Likewise.
59265         * sunrpc/svc_unix.c: Likewise.
59266         * sunrpc/svcauth_des.c: Likewise.
59267         * sunrpc/xcrypt.c: Likewise.
59268         * sunrpc/xdr.c: Likewise.
59269         * sunrpc/xdr_array.c: Likewise.
59270         * sunrpc/xdr_float.c: Likewise.
59271         * sunrpc/xdr_intXX_t.c: Likewise.
59272         * sunrpc/xdr_mem.c: Likewise.
59273         * sunrpc/xdr_rec.c: Likewise.
59274         * sunrpc/xdr_ref.c: Likewise.
59275         * sunrpc/xdr_sizeof.c: Likewise.
59276         * sunrpc/xdr_stdio.c: Likewise.
59278 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59280         [BZ #12650]
59281         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59282         * sysdeps/ia64/dl-tls.h: Likewise.
59283         * sysdeps/powerpc/dl-tls.h: Likewise.
59284         * sysdeps/s390/dl-tls.h: Likewise.
59285         * sysdeps/sh/dl-tls.h: Likewise.
59286         * sysdeps/sparc/dl-tls.h: Likewise.
59287         * sysdeps/x86_64/dl-tls.h: Likewise.
59288         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59290 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59292         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59293         rpath element also skip the following colon.
59294         (expand_dynamic_string_token): Add is_path parameter and pass
59295         down to DL_DST_REQUIRED and _dl_dst_substitute.
59296         (decompose_rpath): Call expand_dynamic_string_token with
59297         non-zero is_path.  Ignore empty rpaths.
59298         (_dl_map_object_from_fd): Call expand_dynamic_string_token
59299         with zero is_path.
59301 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
59303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59304         Make cancelable.
59306 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59308         [BZ #12655]
59309         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59310         Patch by Filipe David Manana <fdmanana@apache.org>.
59312 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59314         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59315         Maintain aligned stack.
59316         (CHECK_RSP): Remove unused macro.
59318 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59320         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59321         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59323 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59325         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59327         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59329 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59331         [BZ #12518]
59332         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59333         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59334         * sysdeps/x86_64/memmove.c: New file.
59335         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59336         (memcpy): Renamed to ...
59337         (__new_memcpy): This.
59338         (memcpy): Provide GLIBC_2_14 memcpy.
59339         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59340         (memcpy): Provide GLIBC_2_2_5 memcpy.
59342 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59344         [BZ #12631]
59345         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59347 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59349         * misc/syncfs.c: New file.
59350         * misc/Makefile (routines): Add syncfs.
59351         * posix/unistd.h: Declare syncfs.
59352         * sysdeps/unix/syscalls.list: Add syncfs.
59354 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59356         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59357         open_by_handle_at.
59358         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59359         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59360         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59361         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59363         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59366 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59368         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59369         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59370         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59372         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59374         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59376         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59377         sync_file_range.c with -fexceptions.
59378         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59379         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59380         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59381         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59382         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59383         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59384         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59385         sync_file_range as cancellation point
59386         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59387         now a wrapper around __call_sync_file_range with cancellation handling.
59388         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59389         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59390         function name to __call_sync_file_range.
59391         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59392         Add call_sync_file_range.
59394 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59397         bits/timex.h.
59399 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59401         * iconv/iconv.h: Fix typo in comment.
59402         * io/fcntl.h: Likewise.
59403         * libio/stdio.h: Likewise.
59404         * posix/spawn.h: Likewise.
59405         * posix/unistd.h: Likewise.
59406         * stdlib/stdlib.h: Likewise.
59407         * time/time.h: Likewise.
59408         * wcsmbs/wchar.h: Likewise.
59410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59411         open_by_handle): Add.
59412         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59413         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59414         Augment a few comments.
59415         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59419         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59420         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59421         open_by_handle.
59423         * io/fcntl.h (AT_EMPTY_PATH): Define.
59425 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59427         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59428         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59429         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59430         to...
59431         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59432         * Versions.def: Add GLIBC_2.14.
59433         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59434         Export.
59436 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59438         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59439         round counter.
59440         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59442 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59444         [BZ #12597]
59445         * string/test-strncmp.c (do_page_test): New function.
59446         (check2): Likewise.
59447         (test_main): Call check2.
59448         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59450 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59452         [BZ #12587]
59453         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59454         Handle cache information in CPU leaf 4.
59455         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59457 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59459         [BZ #12583]
59460         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59461         character representation.
59462         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59464 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59466         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59467         END(__isnan) to END(__isnanf) to match function entry point/label
59468         EALIGN(__isnanf,...).
59470 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59472         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59474 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59476         [BZ #12510]
59477         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59478         copy from the symbol referenced in the relocation to initialize the
59479         used variable.
59480         Patch by Piotr Bury <pbury@goahead.com>.
59481         * elf/Makefile: Add rules to build and tst-unique3.
59482         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59483         * elf/tst-unique3.cc: New file.
59484         * elf/tst-unique3.h: New file.
59485         * elf/tst-unique3lib.cc: New file.
59486         * elf/tst-unique3lib2.cc: New file.
59488         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59490 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59492         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59493         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59494         to _start.
59496 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59498         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59499         to-be-loaded object along a path to loader is ld.so.
59501 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59502             Ulrich Drepper  <drepper@gmail.com>
59504         * sysdeps/x86_64/memset.S: After aligning destination, code
59505         branches to different locations depending on the value of
59506         misalignment, when multiarch is enabled. Fix this.
59508 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59510         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59511         Set _x86_64_preferred_memory_instruction for AMD processsors.
59512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59513         Set bit_Prefer_SSE_for_memop for AMD processors.
59515 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59517         * libio/fmemopen.c (fmemopen): Optimize a bit.
59519 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59521         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59523 2011-03-03  Roland McGrath  <roland@redhat.com>
59525         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59527 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59529         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59530         __bzero_ultra1 instead of __memset_ultra1.
59532 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59533             Ulrich Drepper  <drepper@gmail.com>
59535         [BZ #12509]
59536         * include/link.h (struct link_map): Add l_orig_initfini.
59537         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59538         returning unsuccessfully.
59539         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59540         close of a file loaded at startup, restore the original l_initfini
59541         list.
59542         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59543         list, store the pointer.
59544         * elf/Makefile ($(objpfx)noload-mem): New rule.
59545         (noload-ENV): Define.
59546         (tests): Add $(objpfx)noload-mem.
59547         * elf/noload.c: Include <memcheck.h>.
59548         (main): Call mtrace.  Close all opened handles.
59550 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59552         [BZ #12454]
59553         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59554         dependencies are missing.
59556 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59558         Fix __if_freereq crash: Unlike the generic version which uses free,
59559         Hurd needs munmap.
59560         * sysdeps/mach/hurd/ifreq.h: New file.
59562 2011-01-27  Petr Baudis  <pasky@suse.cz>
59563             Ulrich Drepper  <drepper@gmail.com>
59565         [BZ 12445]#
59566         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59567         to extend_alloca().
59568         * stdio-common/bug23.c: New file.
59569         * stdio-common/Makefile (tests): Add bug23.
59571 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59572             Ulrich Drepper  <drepper@gmail.com>
59574         [BZ #12489]
59575         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59576         before performing relro protection.  At old place add assertion
59577         to make sure nothing changed.
59579 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59580             Glauber de Oliveira Costa  <glommer@gmail.com>
59582         * elf/elf.h: Add new ARM TLS relocs.
59584 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59587         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59588         cast from r3.
59589         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59590         'tests' variable.
59591         * sysdeps/wordsize-64/tst-writev.c: New file.
59593 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59595         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59596         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59597         insns in _dl_start to prevent a TOC reference before relocs are
59598         resolved.
59600 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59602         [BZ #12469]
59603         * Makeconfig: Remove RANLIB definition.
59604         * Makerules: Don't use RANLIB.
59605         * aclocal.m4: Remove ranlib test.
59606         * configure.in: No need to check for ranlib.
59607         * elf/rtld-Rules: Don't use RANLIB.
59609 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59611         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59612         protection macro.
59613         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59614         inclusion protection macro.
59616         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59617         SIGRTMIN and SIGRTMAX and print information in that case only when
59618         SIGRTMIN is defined.
59620 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59622         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59623         arginfo fn returning -1.
59625         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59626         and thousands string is zero terminated.
59628 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59630         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59631         sysdeps/unix/sysv/linux/bits/socket.h.
59633 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59635         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59636         (__CPU_COUNT): Remove old macros.
59637         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59638         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59639         (__CPU_ALLOC, __CPU_FREE): Add macros.
59640         (__sched_cpualloc, __sched_cpufree): Add declarations.
59642 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59644         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59645         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59646         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59647         (readdhstai): Return value of addhstaiX call.
59648         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59649         (addgrbyX): Return value returned by cache_addgr.
59650         (readdgrbyname): Return value returned by addgrbyX.
59651         (readdgrbygid): Likewise.
59652         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59653         (addpwbyX): Return value returned by cache_addpw.
59654         (readdpwbyname): Return value returned by addhstbyX.
59655         (readdpwbyuid): Likewise.
59656         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59657         (addservbyX): Return value returned by cache_addserv.
59658         (readdservbyname): Return value returned by addservbyX:
59659         (readdservbyport): Likewise.
59660         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59661         (addhstbyX): Return value returned by cache_addhst.
59662         (readdhstbyname): Return value returned by addhstbyX.
59663         (readdhstbyaddr): Likewise.
59664         (readdhstbynamev6): Likewise.
59665         (readdhstbyaddrv6): Likewise.
59666         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59667         (readdinitgroups): Return value returned by addinitgroupsX.
59668         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59669         (prune_cache): Keep track of timeout value of re-added entries.
59670         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59671         * nscd/nscd.h: Adjust prototypes of readd* functions.
59673 2011-02-04  Roland McGrath  <roland@redhat.com>
59675         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59676         (nis_stats): Likewise.
59677         * nis/nis_modify.c (nis_modify): Likewise.
59678         * nis/nis_remove.c (nis_remove): Likewise.
59679         * nis/nis_add.c (nis_add): Likewise.
59681         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59683         * posix/fnmatch_loop.c: Add some consts.
59685         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59687 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59689         [BZ #12460]
59690         * config.make.in (config-cflags-novzeroupper): Define.
59691         * configure.in: Substitute libc_cv_cc_novzeroupper.
59692         * elf/Makefile (AVX-CFLAGS): Define.
59693         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59694         (CFLAGS-tst-auditmod4a.c): Likewise.
59695         (CFLAGS-tst-auditmod4b.c): Likewise.
59696         (CFLAGS-tst-auditmod6b.c): Likewise.
59697         (CFLAGS-tst-auditmod6c.c): Likewise.
59698         (CFLAGS-tst-auditmod7b.c): Likewise.
59699         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59701 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59703         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59704         function to the callback.
59705         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59707 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59709         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59710         of errno.
59712 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59714         [BZ #11724]
59715         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59716         of constructors.
59717         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59718         of destructors.
59719         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59721         [BZ #11724]
59722         * elf/Makefile: Add rules to build and run new test.
59723         * elf/tst-initorder.c: New file.
59724         * elf/tst-initorder.exp: New file.
59725         * elf/tst-initordera1.c: New file.
59726         * elf/tst-initordera2.c: New file.
59727         * elf/tst-initordera3.c: New file.
59728         * elf/tst-initordera4.c: New file.
59729         * elf/tst-initorderb1.c: New file.
59730         * elf/tst-initorderb2.c: New file.
59731         * elf/tst-order-a1.c: New file.
59732         * elf/tst-order-a2.c: New file.
59733         * elf/tst-order-a3.c: New file.
59734         * elf/tst-order-a4.c: New file.
59735         * elf/tst-order-b1.c: New file.
59736         * elf/tst-order-b2.c: New file.
59737         * elf/tst-order-main.c: New file.
59738         New test case by George Gensure <werkt0@gmail.com>.
59740 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59743         decoding ACE if AI_CANONIDN.
59745 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59747         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59749 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59751         * version.h (RELEASE): Bump for 2.13 release.
59752         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59754         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59756         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59757         MADV_NOHUGEPAGE.
59758         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59760         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59761         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59763         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59765         * posix/getconf.c: Update copyright year.
59766         * catgets/gencat.c: Likewise.
59767         * csu/version.c: Likewise.
59768         * debug/catchsegv.sh: Likewise.
59769         * debug/xtrace.sh: Likewise.
59770         * elf/ldconfig.c: Likewise.
59771         * elf/ldd.bash.in: Likewise.
59772         * elf/sprof.c (print_version): Likewise.
59773         * iconv/iconv_prog.c: Likewise.
59774         * iconv/iconvconfig.c: Likewise.
59775         * locale/programs/locale.c: Likewise.
59776         * locale/programs/localedef.c: Likewise.
59777         * malloc/memusage.sh: Likewise.
59778         * malloc/mtrace.pl: Likewise.
59779         * nscd/nscd.c (print_version): Likewise.
59780         * nss/getent.c: Likewise.
59782         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59783         PF_CAIF, and PF_ALG.
59784         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59786 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59788         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59789         (modules-names): Use them.
59790         (ifunc-test-modules, ifunc-pie-tests): Define.
59791         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59792         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59793         (test-extras): Likewise.
59794         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59795         $(compile-command.c).
59796         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59797         (all-built-dso): Define.
59798         (check-textrel.out, check-execstack.out): Depend on it.
59800         * configure.in: Don't override --enable-multi-arch.
59802 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59804         [BZ #6812]
59805         * nscd/hstcache.c (tryagain): Define.
59806         (cache_addhst): Return tryagain not notfound for temporary errors.
59807         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59808         failed.
59810 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59812         [BZ #10563]
59813         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59814         to make the syscall.
59815         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59817         [BZ #12378]
59818         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59819         and fall back to matching as normal character if the string ends before
59820         the matching ']' is found.  This is what POSIX requires.
59821         * posix/testfnm.c: Adjust test result.
59822         * posix/globtest.sh: Adjust test result.  Add new test.
59823         * posix/tst-fnmatch.input: Likewise.
59824         * posix/tst-fnmatch2.c: Add new test.
59826 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59828         * elf/Makefile (check-execstack): Revert last change.  Depend on
59829         check-execstack.h.
59830         (check-execstack.h): New target.
59831         (generated): Add check-execstack.h.
59832         * elf/check-execstack.c: Include "check-execstack.h".
59833         (main): Revert last change.
59834         (handle_file): Return zero if GNU_STACK is absent and
59835         DEFAULT_STACK_PERMS doesn't include PF_X.
59837 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59839         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59840         in child fails because the descriptor is already closed.
59841         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59842         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59843         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59845         [BZ #12397]
59846         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59847         syscall.
59849         [BZ #10484]
59850         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59851         temporary buffer used to handle multi lookups locally.
59852         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59854 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59856         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59857         loader is ld.so.
59859 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59861         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59862         alignment for SSE2.
59864 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59866         [BZ #12394]
59867         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59868         characters.  When rounding increased number of integer digits recompute
59869         number of groups.
59870         * stdio-common/tst-grouping.c: New file.
59871         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59873 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59875         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59876         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59878         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59879         void.
59880         * bits/select.h: Likewise.
59882 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59884         * po/ja.po: Update from translation team.
59886 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59888         [BZ #11155]
59889         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59890         implementation just like for lxstat, fxstatat, et al.
59892 2010-12-27  Jim Meyering  <meyering@redhat.com>
59894         [BZ #12348]
59895         * posix/regexec.c (build_trtable): Return failure indication upon
59896         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59898 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59900         [BZ #12201]
59901         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59902         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59903         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59904         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59906         [BZ #12207]
59907         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59909         [BZ #12204]
59910         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59911         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59913 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59915         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59916         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59917         script has SORT_BY_INIT_PRIORITY.
59918         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59919         NO_CTORS_DTORS_SECTIONS is defined.
59920         * elf/soinit.c: Likewise.
59921         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59922         NO_CTORS_DTORS_SECTIONS is defined.
59923         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59924         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59925         * sysdeps/sh/init-first.c: Likewise.
59926         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59928 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59930         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59931         always use the slow path.
59933 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59935         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59936         similar rule which adds the sysdep directories to the header search in
59937         order to pick up the correct platform stackinfo.h.
59938         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59939         perform test if it is, otherwise return successfully without testing.
59940         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59941         DEFAULT_STACK_PERMS define in stackinfo.h.
59942         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59943         defined in stackinfo.h.
59944         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59945         DEFAULT_STACK_PERMS defined in stackinfo.h.
59946         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59947         * sysdeps/ia64/stackinfo.h: Likewise.
59948         * sysdeps/s390/stackinfo.h: Likewise.
59949         * sysdeps/sh/stackinfo.h: Likewise.
59950         * sysdeps/sparc/stackinfo.h: Likewise.
59951         * sysdeps/x86_64/stackinfo.h: Likewise.
59952         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59953         PF_X for powerpc64.  Retain PF_X for powerpc32.
59955 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59957         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59958         accurately.
59959         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59960         GETDENTS_64BIT_ALIGNED.
59962 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59964         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59966 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59968         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59969         _GNU_SOURCE.
59971         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59972         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59973         Remove __restrict.
59974         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59975         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59977 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59979         [BZ #11655]
59980         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59981         are initialized.
59983 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59985         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59987 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59989         * po/it.po: Update from translation team.
59991 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59993         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59994         unused codes.
59996 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59998         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60000 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60002         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60003         specially.
60004         (gaih_getanswer_slice): Likewise.
60006 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60010 2010-05-31  Petr Baudis  <pasky@suse.cz>
60012         [BZ #11149]
60013         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60014         silently even in the chroot mode.
60016 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60018         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60019         last patch a bit.  Pretty printing
60021 2010-05-31  Petr Baudis <pasky@suse.cz>
60023         [BZ #10085]
60024         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60025         initialization of skip_initgroups_dyn.
60027 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60029         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60032 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60034         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60036 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60038         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60039         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60040         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60041         ($(objpfx)tst-fnmatch-mem): New rule.
60042         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60043         * posix/tst-fnmatch.c (main): Call mtrace.
60045 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60048         Support Intel processor model 6 and model 0x2c.
60050 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60052         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60053           signed comparison.
60055 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60057         [BZ #12205]
60058         * string/test-strncasecmp.c (check_result): New function.
60059         (do_one_test): Use it.
60060         (check1): New function.
60061         (test_main): Use it.
60062         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60063         Support strcasecmp and strncasecmp.
60065 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60067         [BZ #12194]
60068         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60069         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60071 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60073         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60074         IFUNC support.
60075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60076         memset-x86-64.
60077         * sysdeps/x86_64/multiarch/bzero.S: New file.
60078         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60079         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60080         * sysdeps/x86_64/multiarch/memset.S: New file.
60081         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60083         Set bit_Prefer_SSE_for_memop for Intel processors.
60084         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60085         Define.
60086         (index_Prefer_SSE_for_memop): Define.
60087         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60089 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60091         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60092         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60094 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60096         [BZ #12191]
60097         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60098         (__x86_64_raw_data_cache_size_half): Likewise.
60099         (__x86_64_raw_shared_cache_size): Likewise.
60100         (__x86_64_raw_shared_cache_size_half): Likewise.
60102         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60103         (__x86_64_raw_data_cache_size_half): Likewise.
60104         (__x86_64_raw_shared_cache_size): Likewise.
60105         (__x86_64_raw_shared_cache_size_half): Likewise.
60106         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60107         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60108         and __x86_64_raw_shared_cache_size_half.  Round
60109         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60110         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60111         to multiple of 256 bytes.
60113 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60115         [BZ #12167]
60116         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60117         of inacessible symlinks.  Verify result of symlink before returning it.
60118         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60119         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60121 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60123         * math/math.h (isinf): Fix typo in comment.
60125 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60127         * po/da.po: Update from translation team.
60129 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60131         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60132         is added to the list.
60134 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60135             Ulrich Drepper  <drepper@gmail.com>
60137         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60138         the global list here.  Move code to...
60139         (_dl_add_to_namespace_list): ...here.  New function.
60140         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60141         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60142         * elf/dl-load.c (lose): Don't remove the element from the list.
60143         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60144         (_dl_map_object): Likewise.
60146 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60148         [BZ #12159]
60149         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60150         into all bytes of SSE register.
60151         Patch by Richard Li <richardpku@gmail.com>.
60153 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60155         [BZ #12140]
60156         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60157         perturbing.
60159 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60161         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60162         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60163         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60164         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60166         submachine.
60167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60169 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60171         * include/dlfcn.h (__RTLD_SECURE): Define.
60172         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60173         mode & __RTLD_SECURE instead.
60174         (open_path): Rename preloaded parameter to secure.
60175         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60176         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60177         * elf/dl-deps.c (openaux): Likewise.
60178         * elf/rtld.c (struct map_args): Remove is_preloaded.
60179         (map_doit): Don't use it.
60180         (dl_main): Likewise.
60181         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60182         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60184 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60186         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60187         (sysd-rules-targets): Remove duplicates.
60188         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60189         rtld-%.$o dependency.
60191 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60193         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60194         _dl_map_object do it.
60196 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60198         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60199         fast fma builtins, define the macros in the C99 standard.
60200         (FP_FAST_FMAF): Likewise.
60201         (FP_FAST_FMAL): Likewise.
60202         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60204         * bits/mathdef.h: Update copyright year.
60205         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60207 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60209         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60210         builtins, define the macros in the C99 standard.
60211         (FP_FAST_FMAF): Likewise.
60212         (FP_FAST_FMAL): Likewise.
60213         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60214         multiply/add.
60215         (FP_FAST_FMAF): Likewise.
60217 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60219         [BZ #3268]
60220         * math/libm-test.inc (fma_test): Some new testcases.
60221         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60222         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60223         y and infinite z.  Do multiplication by C already in long double.
60224         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60226         y and infinite z.  Do bitwise or of inexact bit into u.d.
60227         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60228         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60229         * sysdeps/i386/fpu/s_fma.S: Removed.
60230         * sysdeps/i386/fpu/s_fmal.S: Removed.
60232 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60234         [BZ #3268]
60235         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60237         computation is not scheduled after fetestexcept.  Fix value
60238         of minimum denormal long double.
60240 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60242         [BZ #3268]
60243         * math/libm-test.inc (fma_test): Add some more tests.
60244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60245         correctly.
60247 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60249         * scripts/data/localplt-s390-linux-gnu.data: New file.
60250         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60252 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60254         [BZ #3268]
60255         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60256         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60257         instead of dbl-64.
60258         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60259         inlines.
60260         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60262         if one of x and y is very large and the other is subnormal.
60263         * sysdeps/s390/fpu/s_fmaf.c: New file.
60264         * sysdeps/s390/fpu/s_fma.c: New file.
60265         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60266         * sysdeps/powerpc/fpu/s_fma.S: New file.
60267         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60268         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60269         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60271 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60273         [BZ #3268]
60274         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60275         fma tests.
60276         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60277         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60278         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60279         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60280         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60281         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60282         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60284 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60286         [BZ #12078]
60287         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60288         * posix/bug-regex31.input: Add test case.
60290 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60292         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60293         * posix/bug-regex31.input: New file.
60295         [BZ #12078]
60296         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60297         (parse_sub_exp): Fix last change, use postorder.
60299         * posix/bug-regex31.c: New file.
60300         * posix/Makefile: Add rules to build and run bug-regex31.
60302         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60304         [BZ #12078]
60305         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60307         [BZ #12108]
60308         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60309         to have entries in sys_siglist.
60311         [BZ #12093]
60312         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60313         be NULL.
60315 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60317         [BZ #3268]
60318         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60319         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60320         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60321         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60322         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60323         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60324         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60325         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60326         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60327         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60328         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60329         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60330         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60331         * math/ftestexcept.c (fetestexcept): Likewise.
60332         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60333         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60334         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60335         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60336         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60337         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60338         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60340 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60342         [BZ #12107]
60343         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60344         newline.
60346 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60348         * string/bug-strstr1.c: New file.
60349         * string/Makefile: Add rules to build and run bug-strstr1.
60351 2010-10-05  Eric Blake  <eblake@redhat.com>
60353         [BZ #12092]
60354         * string/str-two-way.h (two_way_long_needle): Always clear memory
60355         when skipping input due to the shift table.
60357 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60359         [BZ #12005]
60360         * malloc/mcheck.c: Handle large requests.
60362         [BZ #12077]
60363         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60364         for strncmp and strncasecmp.
60365         * string/stratcliff.c: Add tests for strcmp and strncmp.
60366         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60368 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60370         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60371         __set_fpscr.
60373 2010-09-30  Andreas Jaeger  <aj@suse.de>
60375         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60376         (CGROUP_SUPER_MAGIC): Define.
60377         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60378         Handle btrfs and cgroup file systems.
60379         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60380         Likewise.
60382 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60384         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60385         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60387 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60389         [BZ #12067]
60390         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60391         trying to locate the ELF header.
60393 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60395         [BZ #11611]
60396         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60397         Mask out sign-bit copies when constructing f_fsid.
60399 2010-09-24  Petr Baudis <pasky@suse.cz>
60401         * debug/stack_chk_fail_local.c: Add missing licence exception.
60402         * debug/warning-nop.c: Likewise.
60404 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60406         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60407         implementing getdents64 using getdents syscall, set d_type if
60408         __ASSUME_GETDENTS32_D_TYPE.
60410 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60412         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60413         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60415 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60417         [BZ #12037]
60418         * posix/unistd.h: Undo change of feature selection for ftruncate from
60419         2010-01-11.
60421 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60423         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60424         detection.
60426 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60428         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60429         fanotify_mark.
60430         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60432 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60434         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60435         variables after CHECK_SP call.
60436         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60438 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60439             Ulrich Drepper  <drepper@redhat.com>
60441         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60442         re-relocationg ld.so.
60443         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60444         _dl_init_paths call.
60445         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60446         here anymore.
60448 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60450         * resolv/res_init.c (__res_vinit): Count the default server we added.
60452 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60453             Ulrich Drepper  <drepper@redhat.com>
60455         [BZ #11968]
60456         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60457         (____longjmp_chk): Use %ebx for saving value across system call.
60458         Add unwind info.
60460 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60462         * manual/Makefile: Don't mix pattern rules with normal rules.
60464 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60466         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60467         operation.
60468         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60469         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60470         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60471         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60473         Likewise.
60475 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60477         [BZ #11979]
60478         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60479         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60481 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60483         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60484         * sysdeps/x86_64/addmul_1.S: Likewise.
60485         * sysdeps/x86_64/lshift.S: Likewise.
60486         * sysdeps/x86_64/mul_1.S: Likewise.
60487         * sysdeps/x86_64/rshift.S: Likewise.
60488         * sysdeps/x86_64/sub_n.S: Likewise.
60489         * sysdeps/x86_64/submul_1.S: Likewise.
60491 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60493         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60494         Define __sched_param instead of SCHED_* and sched_param when
60495         <bits/sched.h> is included with __need_schedparam defined.
60496         * bits/sched.h [__need_schedparam]
60497         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60498         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60499         (__defined_schedparam): Define to 1.
60500         (__sched_param): New structure, identical to sched_param.
60501         (__need_schedparam): Undefine.
60503 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60505         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60506         (epoll_create1): Declare.
60508         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60510 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60512         [BZ #7066]
60513         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60514         shifting retval into place.
60516 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60518         * nis/rpcsvc/nis.h: Update copyright notice.
60519         * nis/rpcsvc/nis.x: Likewise.
60520         * nis/rpcsvc/nis_callback.h: Likewise.
60521         * nis/rpcsvc/nis_callback.x: Likewise.
60522         * nis/rpcsvc/nis_object.x: Likewise.
60523         * nis/rpcsvc/nis_tags.h: Likewise.
60524         * nis/rpcsvc/yp.h: Likewise.
60525         * nis/rpcsvc/yp.x: Likewise.
60526         * nis/rpcsvc/ypupd.h: Likewise.
60527         * nis/yp_xdr.c: Likewise.
60528         * nis/ypupdate_xdr.c: Likewise.
60530         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60531         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60532         (pmap_getport): Use __libc_rpc_getport.
60533         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60534         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60535         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60537 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60540         fanotify_mark.
60542 2010-08-27  Roland McGrath  <roland@redhat.com>
60544         * sysdeps/i386/i686/multiarch/Makefile
60545         (CFLAGS-varshift.c): New variable.
60547 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60549         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60550         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60552         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60554         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60556 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60558         * sysdeps/x86_64/strlen.S: Unroll the loop.
60559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60560         strlen-sse2 strlen-sse2-bsf.
60561         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60562         __strlen_no_bsf if bit_Slow_BSF is set.
60563         (__strlen_sse42): Removed.
60564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60565         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60567 2010-08-25  Roland McGrath  <roland@redhat.com>
60569         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60570         * sysdeps/x86_64/multiarch/varshift.c: New file.
60571         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60572         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60573         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60574         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60576 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60579         strlen-sse2 strlen-sse2-bsf.
60580         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60581         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60582         (__strlen_sse2): Removed.
60583         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60584         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60586         bit_Slow_BSF for Atom.
60587         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60588         (index_Slow_BSF): Define.
60589         (HAS_SLOW_BSF): Define.
60591 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60593         [BZ #10851]
60594         * resolv/res_init.c (__res_vinit): When no server address at all
60595         is given default to loopback.
60597 2010-08-24  Roland McGrath  <roland@redhat.com>
60599         * configure.in: Remove config-name.h generation.
60600         * configure: Regenerated.
60601         * config-name.in: File removed.
60602         * scripts/config-uname.sh: New file.
60603         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60604         ($(objdir)config-name.h): New target.
60606         * sunrpc/rpc_parse.h: Avoid nested comment.
60608 2010-08-24  Richard Henderson  <rth@redhat.com>
60609             Ulrich Drepper  <drepper@redhat.com>
60610             H.J. Lu  <hongjiu.lu@intel.com>
60612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60614         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60615         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60616         _mm_alignr_epi8 with _mm_loadu_si128.
60617         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60618         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60619         (__m128i_shift_right): Removed.
60620         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60621         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60622         * sysdeps/x86_64/multiarch/varshift.h: New file.
60623         * sysdeps/x86_64/multiarch/varshift.S: New file.
60625 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60627         * configure.in: Move assembler checks to before sysdep dir checking.
60629 2010-08-20  Petr Baudis  <pasky@suse.cz>
60631         * LICENSES: Sync the sunrpc license.
60633 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60635         * sunrpc/auth_des.c: Update copyright notice once again.
60636         * sunrpc/auth_none.c: Likewise.
60637         * sunrpc/auth_unix.c: Likewise.
60638         * sunrpc/authdes_prot.c: Likewise.
60639         * sunrpc/authuxprot.c: Likewise.
60640         * sunrpc/bindrsvprt.c: Likewise.
60641         * sunrpc/clnt_gen.c: Likewise.
60642         * sunrpc/clnt_perr.c: Likewise.
60643         * sunrpc/clnt_raw.c: Likewise.
60644         * sunrpc/clnt_simp.c: Likewise.
60645         * sunrpc/clnt_tcp.c: Likewise.
60646         * sunrpc/clnt_udp.c: Likewise.
60647         * sunrpc/clnt_unix.c: Likewise.
60648         * sunrpc/des_crypt.c: Likewise.
60649         * sunrpc/des_soft.c: Likewise.
60650         * sunrpc/get_myaddr.c: Likewise.
60651         * sunrpc/getrpcport.c: Likewise.
60652         * sunrpc/key_call.c: Likewise.
60653         * sunrpc/key_prot.c: Likewise.
60654         * sunrpc/openchild.c: Likewise.
60655         * sunrpc/pm_getmaps.c: Likewise.
60656         * sunrpc/pm_getport.c: Likewise.
60657         * sunrpc/pmap_clnt.c: Likewise.
60658         * sunrpc/pmap_prot.c: Likewise.
60659         * sunrpc/pmap_prot2.c: Likewise.
60660         * sunrpc/pmap_rmt.c: Likewise.
60661         * sunrpc/rpc/auth.h: Likewise.
60662         * sunrpc/rpc/auth_unix.h: Likewise.
60663         * sunrpc/rpc/clnt.h: Likewise.
60664         * sunrpc/rpc/des_crypt.h: Likewise.
60665         * sunrpc/rpc/key_prot.h: Likewise.
60666         * sunrpc/rpc/netdb.h: Likewise.
60667         * sunrpc/rpc/pmap_clnt.h: Likewise.
60668         * sunrpc/rpc/pmap_prot.h: Likewise.
60669         * sunrpc/rpc/pmap_rmt.h: Likewise.
60670         * sunrpc/rpc/rpc.h: Likewise.
60671         * sunrpc/rpc/rpc_des.h: Likewise.
60672         * sunrpc/rpc/rpc_msg.h: Likewise.
60673         * sunrpc/rpc/svc.h: Likewise.
60674         * sunrpc/rpc/svc_auth.h: Likewise.
60675         * sunrpc/rpc/types.h: Likewise.
60676         * sunrpc/rpc/xdr.h: Likewise.
60677         * sunrpc/rpc_clntout.c: Likewise.
60678         * sunrpc/rpc_cmsg.c: Likewise.
60679         * sunrpc/rpc_common.c: Likewise.
60680         * sunrpc/rpc_cout.c: Likewise.
60681         * sunrpc/rpc_dtable.c: Likewise.
60682         * sunrpc/rpc_hout.c: Likewise.
60683         * sunrpc/rpc_main.c: Likewise.
60684         * sunrpc/rpc_parse.c: Likewise.
60685         * sunrpc/rpc_parse.h: Likewise.
60686         * sunrpc/rpc_prot.c: Likewise.
60687         * sunrpc/rpc_sample.c: Likewise.
60688         * sunrpc/rpc_scan.c: Likewise.
60689         * sunrpc/rpc_scan.h: Likewise.
60690         * sunrpc/rpc_svcout.c: Likewise.
60691         * sunrpc/rpc_tblout.c: Likewise.
60692         * sunrpc/rpc_util.c: Likewise.
60693         * sunrpc/rpc_util.h: Likewise.
60694         * sunrpc/rpcinfo.c: Likewise.
60695         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60696         * sunrpc/rpcsvc/key_prot.x: Likewise.
60697         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60698         * sunrpc/rpcsvc/mount.x: Likewise.
60699         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60700         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60701         * sunrpc/rpcsvc/rex.x: Likewise.
60702         * sunrpc/rpcsvc/rstat.x: Likewise.
60703         * sunrpc/rpcsvc/rusers.x: Likewise.
60704         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60705         * sunrpc/rpcsvc/spray.x: Likewise.
60706         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60707         * sunrpc/rtime.c: Likewise.
60708         * sunrpc/svc.c: Likewise.
60709         * sunrpc/svc_auth.c: Likewise.
60710         * sunrpc/svc_authux.c: Likewise.
60711         * sunrpc/svc_raw.c: Likewise.
60712         * sunrpc/svc_run.c: Likewise.
60713         * sunrpc/svc_simple.c: Likewise.
60714         * sunrpc/svc_tcp.c: Likewise.
60715         * sunrpc/svc_udp.c: Likewise.
60716         * sunrpc/svc_unix.c: Likewise.
60717         * sunrpc/svcauth_des.c: Likewise.
60718         * sunrpc/xcrypt.c: Likewise.
60719         * sunrpc/xdr.c: Likewise.
60720         * sunrpc/xdr_array.c: Likewise.
60721         * sunrpc/xdr_float.c: Likewise.
60722         * sunrpc/xdr_mem.c: Likewise.
60723         * sunrpc/xdr_rec.c: Likewise.
60724         * sunrpc/xdr_ref.c: Likewise.
60725         * sunrpc/xdr_sizeof.c: Likewise.
60726         * sunrpc/xdr_stdio.c: Likewise.
60728         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60729         handling.
60731 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60733         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60735 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60737         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60738         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60739         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60740         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60741         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60742         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60743         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60744         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60746         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60747         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60748         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60749         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60750         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60752 2010-07-26  Anton Blanchard  <anton@samba.org>
60754         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60755         * malloc/arena.c (heap_trim): Likewise.
60757 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60759         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60760         here.  Not...
60761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60762         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60764 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60766         * sysdeps/i386/elf/Makefile: New file.
60768 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60770         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60771         from fanotify_init.
60772         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60773         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60775 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60777         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60778         of strncasecmp_l.
60779         * sysdeps/multiarch/strcmp.S: Likewise.
60781 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60783         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60784         strncase_l-nonascii.
60785         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60786         Add strncase_l-ssse3.
60787         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60788         * sysdeps/x86_64/strcmp.S: Likewise.
60789         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60790         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60791         * sysdeps/x86_64/strncase.S: New file.
60792         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60793         * sysdeps/x86_64/strncase_l.S: New file.
60794         * string/Makefile (strop-tests): Add strncasecmp.
60795         * string/test-strncasecmp.c: New file.
60797         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60798         warning.
60800         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60801         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60803 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60805         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60807 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60809         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60810         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60811         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60813 2010-05-01  Alan Modra  <amodra@gmail.com>
60815         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60816         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60817         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60818         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60819         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60820         tidying.  Don't tail-call __sigjmp_save for static lib.
60821         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60822         save location.
60823         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60824         (CALL_MCOUNT): Add eh info, and nop after bl.
60825         (TAIL_CALL_SYSCALL_ERROR): New macro.
60826         (PSEUDO_RET): Use it.
60827         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60828         Correct save location of integer regs and cr.
60829         (_dl_profile_resolve): Correct cr save location.  Delete nops
60830         after bl when SHARED.  Reduce cfi size a little by better
60831         placement of cfi directives.
60832         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60833         make a stack frame.  Instead use parm save area as a temp.
60834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60835         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60837         Don't make a stack frame for parent, use parm save area.
60838         Increase child stack frame to 112 bytes.  Don't save unused reg,
60839         and adjust reg usage.  Set up cfi on error recovery and
60840         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60842         (__makecontext): Add dummy nop after jump to exit.
60843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60844         Use correct parm save area and cr save, reduce stack frame.
60845         Correct cfi for possible PSEUDO_RET frame setup.
60846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60847         Branch to local label emitted by PSEUDO_RET rather than
60848         __syscall_error.
60850 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60852         [BZ #11904]
60853         * locale/programs/locale.c (print_assignment): New function.
60854         (show_locale_vars): Use it.
60856 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60858         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60859         field.
60860         (struct statfs64): Likewise.
60861         (_STATFS_F_FLAGS): Define.
60862         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60863         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60864         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60865         (ST_VALID): Define locally.
60866         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60867         __statvfs_getflags, use the provided value.
60868         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60869         __ASSUME_STATFS_F_FLAGS.
60871         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60873         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60874         Add sys/fanotify.h.
60875         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60876         fanotify_mask for GLIBC_2.13.
60877         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60878         fanotify_init and fanotify_mark.
60879         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60880         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60882         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60883         Add prlimit.
60884         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60885         prlimit64 for GLIBC_2.13.
60886         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60887         prlimit64.
60888         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60889         syscall.
60890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60891         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60892         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60893         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60895         add prlimit alias.
60896         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60898         [BZ #11903]
60899         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60900         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60902         * nss/Makefile: Add rules to build and run tst-nss-test1.
60903         * shlib-versions: Add entry for libnss_test1.
60904         * nss/nss_test1.c: New file.
60905         * nss/tst-nss-test1.c: New file.
60907         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60908         (__nss_configure_lookup): Set appropriate entry in
60909         __nss_configure_lookup to true.
60910         * nss/nsswitch.h: Define enum with indeces of databases in
60911         databases and __nss_database_custom arrays.  Declare
60912         __nss_database_custom.
60913         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60914         to avoid using nscd when custom rules are installed.
60915         * nss/getXXbyYY_r.c: Likewise.
60916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60918         * nss/nss_files/files-parse.c: Whitespace fixes.
60920 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60922         [BZ #11883]
60923         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60924         * posix/fnmatch_loop.c: Likewise.
60926 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60928         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60929         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60930         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60931         * Versions.def [GLIBC_2.13]: Add.
60933 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60935         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60936         Also fail if tpwd after pwuid call is NULL.
60938 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60940         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60941         when converting to ms.
60943 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60945         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60946         EOPNOTSUPP errors with ENOTTY.
60947         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60948         EOPNOTSUPP errors with ENOTTY.
60950 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60952         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60953         Add strcasecmp_l-ssse3.
60954         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60955         strcasecmp.
60956         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60957         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60958         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60960 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60962         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60964         * string/Makefile (strop-tests): Add strcasecmp.
60965         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60966         strcasecmp_l-nonascii.
60967         (gen-as-const-headers): Add locale-defines.sym.
60968         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60969         * sysdeps/x86_64/strcasecmp.S: New file.
60970         * sysdeps/x86_64/strcasecmp_l.S: New file.
60971         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60972         * sysdeps/x86_64/locale-defines.sym: New file.
60973         * string/test-strcasecmp.c: New file.
60975         * string/test-strcasestr.c: Test both ends of the range of characters.
60976         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60978 2010-07-29  Roland McGrath  <roland@redhat.com>
60980         [BZ #11856]
60981         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60983 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60985         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60986         for ld.so.
60988 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60990         * manual/memory.texi (Malloc Tunable Parameters): Document
60991         M_PERTURB.
60993 2010-07-26  Roland McGrath  <roland@redhat.com>
60995         [BZ #11840]
60996         * configure.in (-fgnu89-inline check): Set and substitute
60997         gnu89_inline, not libc_cv_gnu89_inline.
60998         * configure: Regenerated.
60999         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61001 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61003         * string/test-strnlen.c: New file.
61004         * string/Makefile (strop-tests): Add strnlen.
61005         * string/tester.c (test_strnlen): Add a few more test cases.
61006         * string/tst-strlen.c: Better error reporting.
61008         * sysdeps/x86_64/strnlen.S: New file.
61010 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61012         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61013         lower-latency instructions.
61015 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61017         * string/test-strcasestr.c: New file.
61018         * string/test-strstr.c: New file.
61019         * string/Makefile (strop-tests): Add strstr and strcasestr.
61020         * string/str-two-way.h: Don't undefine MAX.
61021         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61023 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61025         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61026         strcasestr-nonascii.
61027         (CFLAGS-strcasestr-nonascii.c): Define.
61028         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61029         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61030         Remove unused attribute.
61032 2010-07-20  Roland McGrath  <roland@redhat.com>
61034         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61035         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61036         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61037         like LD_HWCAP_MASK can disable hwcaps.
61039 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61041         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61043 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61045         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61046         call in strcasestr.
61047         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61048         __strcasestr_sse42_nonascii.
61049         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61050         strcasestr-nonascii.c.
61051         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61053 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61055         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61056         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61057         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61058         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61060 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61062         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61063         fcntl.
61065 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61067         [BZ #11577]
61068         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61069         dl_signal_cerror.
61071 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61073         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61074         _PC_PIPE_BUF using F_GETPIPE_SZ.
61076 2010-07-05  Roland McGrath  <roland@redhat.com>
61078         * manual/arith.texi (Rounding Functions): Fix rint description
61079         implicit in round description.
61081 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61083         * elf/Makefile: Fix linking for a few tests to make recent linker
61084         happy.
61086 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61088         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61089         $(common-objpfx)libc_nonshared.a.
61091 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61093         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61094         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61095         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61096         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61097         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61098         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61099         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61100         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61115         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61116         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61117         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61118         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61119         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61120         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61121         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61122         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61123         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61124         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61125         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61126         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61142 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61144         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61145         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61146         * string/memmove.c (memmove): Renamed to ...
61147         (MEMMOVE): ...this.  Default to memmove.
61148         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61149         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61150         (END_CHK): Define.
61151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61152         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61153         mempcpy-ssse3-back memmove-ssse3-back.
61154         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61155         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61156         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61157         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61158         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61159         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61160         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61161         * sysdeps/x86_64/multiarch/memmove.c: New file.
61162         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61163         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61164         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61165         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61166         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61167         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61168         Define.
61169         (index_Fast_Copy_Backward): Define.
61170         (HAS_ARCH_FEATURE): Define.
61171         (HAS_FAST_REP_STRING): Define.
61172         (HAS_FAST_COPY_BACKWARD): Define.
61174 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61176         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61177         Restore proper fallback handling.
61179 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61181         [BZ #11701]
61182         * posix/group_member.c (__group_member): Correct checking loop.
61184         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61185         OOM in getpwuid_r correctly.  Return error number when the caller
61186         should return, otherwise -1.
61187         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61188         call returning > 0 value.
61189         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61191 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61193         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61194         libc_nonshared.a from targets in modules-names.
61196 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61198         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61199         requires it.
61201 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61203         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61204         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61205         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61206         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61208 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61210         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61212 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61214         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61215         and F_GETPIPE_SZ.
61216         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61218         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61219         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61220         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61221         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61223 2010-06-14  Roland McGrath  <roland@redhat.com>
61225         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61227 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61229         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61230         __REDIRECT followed by __THROW.
61231         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61232         * posix/getopt.h (getopt): Likewise.
61234 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61236         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61237         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61238         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61239         in AT_FLAGS.
61240         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61241         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61243 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61245         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61247 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61249         [BZ #11640]
61250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61251         Properly check family and model.
61253 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61255         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61257 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61259         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61261 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61263         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61264         symbol reference.
61266 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61268         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61269         symbol reference.
61271 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61273         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61274         and internal_recvmmsg.
61275         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61276         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61278         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61280         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61281         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61282         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61284 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61286         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61288 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61290         POWER7 optimizations.
61291         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61292         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61294 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61296         * version.h: Update for 2.13 development version.
61298 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
61300         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61301         exceptions.  Return 0.
61303 2010-05-07  Roland McGrath  <roland@redhat.com>
61305         * elf/ldconfig.c (main): Add a const.
61307 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61309         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61310         (args_options): Add no-idn option.
61311         (ahosts_keys_int): Add idn_flags to ai_flags.
61312         (parse_option): Handle 'i' option to clear idn_flags.
61314         * malloc/malloc.c (_int_free): Possible race in the most recently
61315         added check.  Only act on the data if no current modification
61316         happened.
61318 See ChangeLog.17 for earlier changes.