]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
333b69048c4f2e64156a7ce752bd37c45d65e7cf
[thirdparty/glibc.git] / ChangeLog
1 2015-06-24 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4 (__getlogin_r): ... this.
5
6 2015-06-24 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #18594]
9 * math/s_ccosh.c (__ccosh): Compare with least normal value
10 instead of comparing class with FP_SUBNORMAL.
11 * math/s_ccoshf.c (__ccoshf): Likewise.
12 * math/s_ccoshl.c (__ccoshl): Likewise.
13 * math/s_cexp.c (__cexp): Likewise.
14 * math/s_cexpf.c (__cexpf): Likewise.
15 * math/s_cexpl.c (__cexpl): Likewise.
16 * math/s_csin.c (__csin): Likewise.
17 * math/s_csinf.c (__csinf): Likewise.
18 * math/s_csinh.c (__csinh): Likewise.
19 * math/s_csinhf.c (__csinhf): Likewise.
20 * math/s_csinhl.c (__csinhl): Likewise.
21 * math/s_csinl.c (__csinl): Likewise.
22 * math/s_ctan.c (__ctan): Likewise.
23 * math/s_ctanf.c (__ctanf): Likewise.
24 * math/s_ctanh.c (__ctanh): Likewise.
25 * math/s_ctanhf.c (__ctanhf): Likewise.
26 * math/s_ctanhl.c (__ctanhl): Likewise.
27 * math/s_ctanl.c (__ctanl): Likewise.
28 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29 csin, csinh, ctan and ctanh.
30 * math/auto-libm-test-out: Regenerated.
31 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34
35 2015-06-24 Roland McGrath <roland@hack.frob.com>
36
37 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
38 return value is wrong, print the expected value too.
39
40 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
41
42 [BZ #18585]
43 * elf/readlib.c (is_gdb_python_file): New.
44 (process_file): Don't issue errors on filenames with -gdb.py
45 suffix.
46
47 2015-06-24 Joseph Myers <joseph@codesourcery.com>
48
49 * math/auto-libm-test-in: Add more tests of csin and csinh.
50 * math/auto-libm-test-out: Regenerated.
51 * math/libm-test.inc (csin_test_data): Remove tests moved to
52 auto-libm-test-in.
53 (csinh_test_data): Likewise.
54
55 [BZ #18593]
56 * math/s_csin.c (__csin): Negate before rather than after possibly
57 overflowing multiplication.
58 * math/s_csinf.c (__csinf): Likewise.
59 * math/s_csinh.c (__csinh): Likewise.
60 * math/s_csinhf.c (__csinhf): Likewise.
61 * math/s_csinhl.c (__csinhl): Likewise.
62 * math/s_csinl.c (__csinl): Likewise.
63 * math/auto-libm-test-in: Add some tests of csin and csinh.
64 * math/auto-libm-test-out: Regenerated.
65 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
66 (csinh_test_data): Likewise.
67 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68
69 [BZ #18586]
70 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
71 underflow exception for small results.
72
73 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
74
75 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
76 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
77 variable and included header.
78 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
79 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
80 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
81 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
82 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
83 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
84 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
85 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
86 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
87 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
88 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
89 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
90 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
91 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
92 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
93 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
94
95 2015-06-23 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #16526]
98 [BZ #16538]
99 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
100 (__sin): Force underflow exception for arguments with small
101 absolute value.
102 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
103 (__kernel_sinf): Force underflow exception for arguments with
104 small absolute value.
105 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
106 (__kernel_sincosl): Force underflow exception for arguments with
107 small absolute value.
108 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
109 (__kernel_sinl): Force underflow exception for arguments with
110 small absolute value.
111 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
112 (__kernel_sincosl): Force underflow exception for arguments with
113 small absolute value.
114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
115 (__kernel_sinl): Force underflow exception for arguments with
116 small absolute value.
117 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
118 (__kernel_sinl): Force underflow exception for arguments with
119 small absolute value.
120 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
121 (__kernel_sinf): Force underflow exception for arguments with
122 small absolute value.
123 * math/auto-libm-test-in: Add more tests of sin and sincos.
124 * math/auto-libm-test-out: Regenerated.
125
126 [BZ #18245]
127 [BZ #18583]
128 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
129 (__kernel_standard_l): Use feholdexcept and fesetenv around
130 conversion to double instead of special-casing overflow and
131 underflow.
132 * math/libm-test.inc (fmod_test_data): Add more tests.
133 (remainder_test_data): Likewise.
134 (sqrt_test_data): Likewise.
135
136 2015-06-23 Torvald Riegel <triegel@redhat.com>
137
138 [BZ #17403]
139 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
140 atomic_read_barrier, atomic_write_barrier): Define.
141 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
142 atomic_read_barrier, atomic_write_barrier): Define.
143
144 2015-06-23 Joseph Myers <joseph@codesourcery.com>
145
146 * math/Makefile [$(PERL) != no]
147 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
148 dependency on libm-test.stmp below the inclusion of Rules.
149
150 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
151
152 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
154 and included header.
155 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
156 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
157 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
158 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
159 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
163 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
164 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
165 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
166 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
167 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
168 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
169 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
170 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
171 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
172 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
173 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
174
175 2015-06-23 Joseph Myers <joseph@codesourcery.com>
176
177 [BZ #18371]
178 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
179 intermediate but not final result might underflow.
180 * math/s_csqrtf.c (__csqrtf): Likewise.
181 * math/s_csqrtl.c (__csqrtl): Likewise.
182 * math/auto-libm-test-in: Add more tests of csqrt.
183 * math/auto-libm-test-out: Regenerated.
184 * sysdeps/i386/fpu/libm-test-ulps: Update.
185
186 [BZ #18219]
187 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
188 threshold on absolute value of exponent for which scaling is used.
189 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
190 * math/auto-libm-test-in: Add more tests of exp2.
191 * math/auto-libm-test-out: Regenerated.
192
193 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
194
195 [BZ #17977]
196 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
197 when initializing interface list, based on the bug analysis
198 and the patch proposed by Eric Newton.
199 * resolv/tst-res_hconf_reorder.c: New test.
200 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
201 tst-res_hconf_reorder.
202 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
203 and $(shared-thread-library).
204 (tst-res_hconf_reorder-ENV): New variable.
205
206 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
207 in comment.
208
209 2015-06-22 Joseph Myers <joseph@codesourcery.com>
210
211 [BZ #16353]
212 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
213 (__expm1): Force underflow exception for arguments with small
214 absolute value.
215 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
216 (__expm1f): Force underflow exception for arguments with small
217 absolute value.
218 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
219 (__expm1): Force underflow exception for arguments with small
220 absolute value.
221 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
222 (__expm1f): Force underflow exception for arguments with small
223 absolute value.
224 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
225 Check for small arguments before calling __expm1.
226 * math/auto-libm-test-in: Do not mark underflow exceptions as
227 possibly missing for bug 16353.
228 * math/auto-libm-test-out: Regenerated.
229
230 2015-06-22 Andreas Schwab <schwab@suse.de>
231
232 [BZ #18513]
233 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
234 PTR queries.
235
236 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
237
238 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
239
240 * string/strcoll_l.c: Remove unused struct element idxnow.
241
242 2015-06-21 Joseph Myers <joseph@codesourcery.com>
243
244 [BZ #18569]
245 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
246 underflow and return argument in case of subnormal argument.
247 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
248 Likewise.
249 * math/auto-libm-test-in: Add more tests of expm1.
250 * math/auto-libm-test-out: Regenerated.
251
252 [BZ #16361]
253 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
254 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
255 tiny results.
256 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
257 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
258 tiny results.
259 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
260 mark underflow exceptions as possibly missing for bug 16361.
261 * math/auto-libm-test-out: Regenerated.
262
263 2015-06-19 Joseph Myers <joseph@codesourcery.com>
264
265 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
266 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
267 Remove variable.
268 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
269 (test-xfail-XOPEN2K8/utmpx.h/conform).
270
271 * conform/conformtest.pl ($xerrors): New variable.
272 (note_error): New function.
273 (compiletest): New argument $xfail. Use not_error.
274 (runtest): Likewise.
275 (top level): Handle xfail- lines. Update calls to compiletest and
276 runtest. Handle xfail- and optional- in headers listed with
277 allow-header.
278 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
279 (O_EXEC): Likewise.
280 (O_SEARCH): Likewise.
281 * conform/data/stropts.h-data (ioctl): Likewise.
282 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
283 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
284 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
285 (msghdr.msg_controllen): Likewise.
286 (cmsghdr.cmsg_len): Likewise.
287 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
288 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
289 variable.
290 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
291 (test-xfail-XPG4/stropts.h/conform): Likewise.
292 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
293 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
294 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
295 (test-xfail-UNIX98/stropts.h/conform): Likewise.
296 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
297 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
298 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
299 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
300 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
301 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
302 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
303 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
304 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
305 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
306 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
307 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
308 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
309 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
310 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
311
312 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
313
314 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
315 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
316 definitions for proper unfolding of __MATHDECL_VEC.
317
318 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
319
320 * benchtests/bench-strcoll.c:
321 Include string.h.
322 (main): Remove unused variable res.
323
324 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
325
326 * timezone/Makefile (%/UTC %/Universal):
327 Generate test-result files for UTC and Universal.
328
329 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
330
331 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
332
333 2015-06-18 Joseph Myers <joseph@codesourcery.com>
334
335 [BZ #16350]
336 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
337 for arguments with small absolute value.
338 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
339 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
340 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
341 (__asinh): Force underflow exception for arguments with small
342 absolute value.
343 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
344 (__asinhf): Force underflow exception for arguments with small
345 absolute value.
346 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
347 (__asinhl): Force underflow exception for arguments with small
348 absolute value.
349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
350 (__asinhl): Force underflow exception for arguments with small
351 absolute value.
352 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
353 (__asinhl): Force underflow exception for arguments with small
354 absolute value.
355 * math/auto-libm-test-in: Do not mark underflow exceptions as
356 possibly missing for bug 16350.
357 * math/auto-libm-test-out: Regenerated.
358
359 * include/bits/ipc.h: Remove file.
360 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
361 variable.
362 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
363 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
364 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
365 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
366 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
367 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
368 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
369 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
370 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
371
372 * math/auto-libm-test-in: Remove spurious underflow allowance for
373 tests of cexp.
374 * math/auto-libm-test-out: Regenerated.
375
376 [BZ #18558]
377 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
378 unconditional definition.
379 (MCAST_BLOCK_SOURCE): Likewise.
380 (MCAST_UNBLOCK_SOURCE): Likewise.
381 (MCAST_LEAVE_GROUP): Likewise.
382 (MCAST_JOIN_SOURCE_GROUP): Likewise.
383 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
384 (MCAST_MSFILTER): Likewise.
385 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
386 Remove variable.
387 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
388 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
389 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
390 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
391 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
392
393 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
394
395 * NEWS: Mention addition of x86_64 vector sincosf.
396 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
397 * math/test-float-vlen4.h: Likewise.
398 * math/test-float-vlen8.h: Likewise.
399 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
400 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
401 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
402 * sysdeps/x86_64/fpu/Versions: New versions added.
403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
404 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
405 Added build of SSE, AVX2 and AVX512 IFUNC versions.
406 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
407 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
408 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
410 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
411 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
412 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
413 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
414 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
415 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
416 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
417 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
418 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
419 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
420 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
421 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
422 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
423 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
424 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
425 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
426 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
427
428 * NEWS: Mention addition of x86_64 vector sincos.
429 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
430 * math/math.h (__MATHDECL_VEC): New macro.
431 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
432 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
433 declaration under condition.
434 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
435 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
436 TEST_VEC_LOOP change.
437 * math/test-double-vlen4.h: Likewise.
438 * math/test-double-vlen8.h: Likewise.
439 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
440 * math/test-float-vlen4.h: Likewise.
441 * math/test-float-vlen8.h: Likewise.
442 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
443 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
444 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
445 * sysdeps/x86_64/fpu/Versions: New versions added.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
447 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
448 Added build of SSE, AVX2 and AVX512 IFUNC versions.
449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
455 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
456 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
457 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
458 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
459 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
460 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
461 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
462 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
463 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
464 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
465 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
466 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
467 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
468 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
469 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
470
471 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
472 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
473 redirections for powf.
474 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
475 * sysdeps/x86_64/fpu/Versions: New versions added.
476 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
477 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
478 Added build of SSE, AVX2 and AVX512 IFUNC versions.
479 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
480 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
481 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
482 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
483 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
484 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
485 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
486 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
487 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
488 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
489 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
490 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
491 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
492 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
493 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
494 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
495 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
496 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
497 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
498 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
499 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
500 * math/test-float-vlen16.h: Fixed 2 argument macro.
501 * math/test-float-vlen4.h: Likewise.
502 * math/test-float-vlen8.h: Likewise.
503 * NEWS: Mention addition of x86_64 vector powf.
504
505 2015-06-17 Joseph Myers <joseph@codesourcery.com>
506
507 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
508 and redefine.
509 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
510 and redefine.
511 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
512 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
514
515 [BZ #18553]
516 * resource/getpriority.c (getpriority): Rename to __getpriority
517 and define as weak alias of __getpriority.
518 * resource/setpriority.c (setpriority): Rename to __setpriority
519 and define as weak alias of __setpriority.
520 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
521 __getpriority and define as weak alias of __getpriority.
522 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
523 __setpriority and define as weak alias of __setpriority.
524 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
525 strong name.
526 (setpriority): Use __setpriority as strong name.
527 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
528 __getpriority and define as weak alias of __getpriority.
529 * include/sys/resource.h (__getpriority): Declare. Use
530 libc_hidden_proto.
531 (__setpriority): Likewise.
532 (getpriority): Don't use libc_hidden_proto.
533 (setpriority): Likewise.
534 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
535 getpriority. Call __setpriority instead of setpriority.
536 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
537 Remove variable.
538
539 [BZ #18547]
540 * misc/getttyent.c (getttynam): Rename to __getttynam and define
541 as weak alias of __getttynam. Use prototype function definition.
542 Call __setttyent, __getttyent and __endttyent instead of
543 setttyent, getttyent and endttyent.
544 (getttyent): Rename to __getttyent and define as weak alias of
545 __getttyent. Call __setttyent instead of setttyent. Call
546 __fgets_unlocked instead of fgets_unlocked.
547 (setttyent): Rename to __setttyent and define as weak alias of
548 __setttyent.
549 (endttyent): Rename to __endttyent and define as weak alias of
550 __endttyent.
551 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
552 (__setttyent): Likewise.
553 (__endttyent): Likewise.
554 (getttyent): Don't use libc_hidden_proto.
555 (setttyent): Likewise.
556 (endttyent): Likewise.
557 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
558 __endttyent instead of setttyent, getttyent and endttyent.
559 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
560 Remove variable.
561
562 [BZ #18546]
563 * socket/recv.c (__recv): Use libc_hidden_def.
564 * socket/socket.c (__socket): Likewise.
565 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
566 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
567 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
568 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
569 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
570 libc_hidden_def.
571 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
572 libc_hidden_weak.
573 * include/sys/socket.h (__socket): Do not use attribute_hidden.
574 Use libc_hidden_proto.
575 (__recv): Likewise.
576 * socket/Versions (libc): Export __recv and __socket at version
577 GLIBC_PRIVATE.
578 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
579 instead of recv.
580 (init_mq_netlink): Call __socket instead of socket.
581 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
582 Remove variable.
583
584 [BZ #18545]
585 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
586 __mq_timedreceive and define as alias of __mq_timedreceive. Use
587 hidden_weak.
588 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
589 define as alias of __mq_timedsend. Use hidden_weak.
590 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
591 __mq_timedsend as strong name.
592 (mq_timedreceive): Use __mq_timedreceive as strong name.
593 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
594 (__mq_timedreceive): Likewise.
595 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
596 __mq_timedreceive instead of mq_timedreceive.
597 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
598 instead of mq_timedsend.
599 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
600 Remove variable.
601
602 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
603 hidden_def and hidden_weak instead of libc_hidden_def and
604 libc_hidden_weak.
605 (top level): Refer to hidden_def in comment.
606 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
607 macro. Use it instead of libc_hidden_def.
608 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
609 specify __GI_* name explicitly.
610 (mq_timedreceive): Likewise.
611 (mq_setattr): Likewise.
612
613 [BZ #18544]
614 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
615 __pthread_barrier_init and define as weak alias of
616 __pthread_barrier_init.
617 * sysdeps/sparc/nptl/pthread_barrier_init.c
618 (pthread_barrier_init): Likewise.
619 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
620 __pthread_barrier_wait and define as weak alias of
621 __pthread_barrier_wait.
622 * sysdeps/sparc/nptl/pthread_barrier_wait.c
623 (pthread_barrier_wait): Likewise.
624 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
625 (pthread_barrier_wait): Likewise.
626 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
627 (pthread_barrier_wait): Likewise.
628 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
629 (pthread_barrier_wait): Likewise.
630 * nptl/Versions (libpthread): Export __pthread_barrier_init and
631 __pthread_barrier_wait at version GLIBC_PRIVATE.
632 * include/pthread.h (__pthread_barrier_init): Declare.
633 (__pthread_barrier_wait): Likewise.
634 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
635 Call __pthread_barrier_wait instead of pthread_barrier_wait.
636 (helper_thread): Likewise.
637 (init_mq_netlink): Call __pthread_barrier_init instead of
638 pthread_barrier_init.
639
640 [BZ #18542]
641 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
642 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
643 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
644 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
645 vswscanf.
646 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
647 Remove variable.
648
649 [BZ #18540]
650 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
651 strong alias of _IO_fflush. Use libc_hidden_def.
652 * libio/iofflush_u.c (fflush_unlocked): Rename to
653 __fflush_unlocked and define as weak alias of __fflush_unlocked.
654 Use libc_hidden_weak.
655 * include/stdio.h (__fflush_unlocked): Declare. Use
656 libc_hidden_proto.
657 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
658 fflush_unlocked.
659 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
660 Remove variable.
661
662 [BZ #18539]
663 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
664 define as weak alias of __addseverity.
665 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
666 Remove variable.
667 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
668 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
669 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
670
671 [BZ #18536]
672 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
673 (__tfind): Likewise.
674 (__tdelete): Likewise.
675 (__twalk): Likewise.
676 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
677 __twalk to GLIBC_PRIVATE.
678 * include/search.h (__tsearch): Use libc_hidden_proto.
679 (__tfind): Likewise.
680 (__tdelete): Likewise.
681 (__twalk): Likewise.
682 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
683 Call __tdelete instead of tdelete.
684 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
685 tfind. Call __tsearch instead of tsearch.
686 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
687 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
688 Remove variable.
689 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
690
691 [BZ #18534]
692 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
693 (dprintf): Define as a weak alias of __dprintf, not a strong
694 alias.
695 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
696 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
697 dprintf.
698 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
699 Remove variable.
700 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
701 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
702
703 [BZ #18533]
704 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
705 not a strong alias.
706 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
707 Remove variable.
708
709 [BZ #18532]
710 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
711 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
712 (in6addr_loopback): Rename to __in6addr_loopback and define as
713 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
714 * include/netinet/in.h (__in6addr_loopback): Declare. Use
715 libc_hidden_proto.
716 (__in6addr_any): Likewise.
717 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
718 in6addr_any.
719 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
720 variable.
721 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
722
723 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
724
725 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
726 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
727 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
728 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
729 redirections for pow.
730 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
731 * sysdeps/x86_64/fpu/Versions: New versions added.
732 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
733 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
734 build of SSE, AVX2 and AVX512 IFUNC versions.
735 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
736 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
737 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
738 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
739 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
740 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
741 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
742 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
743 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
744 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
745 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
746 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
747 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
748 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
749 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
750 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
751 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
752 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
753 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
754 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
755 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
756 * NEWS: Mention addition of x86_64 vector pow.
757
758 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
759 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
760 redirections for expf.
761 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
762 * sysdeps/x86_64/fpu/Versions: New versions added.
763 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
764 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
765 build of SSE, AVX2 and AVX512 IFUNC versions.
766 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
767 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
768 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
769 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
770 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
771 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
772 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
773 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
774 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
775 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
776 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
777 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
778 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
779 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
780 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
781 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
782 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
783 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
784 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
785 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
786 * NEWS: Mention addition of x86_64 vector expf.
787
788 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
789 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
790 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
791 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
792 redirections for exp.
793 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
794 * sysdeps/x86_64/fpu/Versions: New versions added.
795 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
796 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
797 build of SSE, AVX2 and AVX512 IFUNC versions.
798 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
799 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
800 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
801 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
803 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
804 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
805 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
806 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
807 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
808 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
809 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
810 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
811 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
812 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
813 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
814 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
815 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
816 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
817 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
818 * NEWS: Mention addition of x86_64 vector exp.
819
820 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
821 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
822 redirections for logf.
823 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
824 * sysdeps/x86_64/fpu/Versions: New versions added.
825 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
826 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
827 build of SSE, AVX2 and AVX512 IFUNC versions.
828 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
829 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
830 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
831 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
832 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
833 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
834 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
835 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
836 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
837 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
838 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
839 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
840 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
841 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
842 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
843 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
844 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
845 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
846 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
847 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
848 * NEWS: Mention addition of x86_64 vector logf.
849
850 * bits/libm-simd-decl-stubs.h: Added stubs for log.
851 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
852 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
853 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
854 redirections for log.
855 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
856 * sysdeps/x86_64/fpu/Versions: New versions added.
857 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
858 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
859 build of SSE, AVX2 and AVX512 IFUNC versions.
860 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
861 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
862 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
863 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
864 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
865 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
866 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
867 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
868 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
869 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
870 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
871 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
872 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
873 test.
874 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
875 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
876 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
877 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
878 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
879 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
880 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
881 * NEWS: Mention addition of x86_64 vector log.
882
883 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
884
885 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
886 cfi_adjust_cfa_offset argument.
887 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
888 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
889
890 [BZ #18034]
891 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
892 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
893 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
894 ordering using ldar.
895 (_dl_tlsdesc_dynamic): Likewise.
896 (_dl_tlsdesc_return_lazy): Likewise.
897 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
898 relaxed atomics instead of volatile and synchronize with release store.
899 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
900 volatile.
901 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
902
903 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
904
905 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
906 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
907 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
908 * sysdeps/x86_64/fpu/Versions: New versions added.
909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
910 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
911 build of SSE, AVX2 and AVX512 IFUNC versions.
912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
913 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
914 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
915 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
916 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
917 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
918 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
919 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
920 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
921 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
922 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
923 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
924 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
925 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
926 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
927 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
928 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
929 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
930 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
931 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
932 * NEWS: Mention addition of x86_64 vector sinf.
933
934 2015-06-14 Joseph Myers <joseph@codesourcery.com>
935
936 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
937 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
938 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
939 Remove variable.
940 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
941 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
942
943 2015-06-12 Joseph Myers <joseph@codesourcery.com>
944
945 [BZ #18530]
946 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
947 strong alias of _IO_fputs. Use libc_hidden_def.
948 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
949 and define as weak alias of __fputs_unlocked. Use
950 libc_hidden_weak.
951 * include/stdio.h (__fputs_unlocked): Declare. Use
952 libc_hidden_proto.
953 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
954 fputs_unlocked.
955
956 [BZ #18529]
957 * resolv/netdb.h [__USE_POSIX]: Change condition to
958 [__USE_XOPEN2K].
959 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
960 not expect.
961 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
962 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
963 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
964 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
965 [XPG4 || UNIX98] (AI_ALL): Likewise.
966 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
967 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
968 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
969 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
970 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
971 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
972 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
973 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
974 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
975 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
976 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
977 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
978 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
979 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
980 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
981 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
982 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
983 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
984 [XPG4 || UNIX98] (gai_strerror): Likewise.
985 [XPG4 || UNIX98] (getaddrinfo): Likewise.
986 [XPG4 || UNIX98] (getnameinfo): Likewise.
987
988 [BZ #18528]
989 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
990 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
991 __USE_XOPEN2K8].
992 (getgrent): Likewise.
993 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
994 expect.
995 [XPG3 || POSIX2008] (endgrent): Likewise.
996 [XPG3] (setgrent): Likewise.
997 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
998 variable.
999 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1000
1001 [BZ #18527]
1002 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1003 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1004 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1005 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1006 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1007 * include/unistd.h (__getlogin_r): Declare. Use
1008 libc_hidden_proto.
1009 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1010 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1011 variable.
1012 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1013 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1014 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1015
1016 2015-06-12 Martin Sebor <msebor@redhat.com>
1017
1018 [BZ #18512]
1019 * Makerules (check-install-supported): New target.
1020 (install): Add check-install-supported as a dependency.
1021 * manual/install.texi (Installing the C Library): Document
1022 that overriding prefix and exec_prefix is not supported.
1023 Mention DESTDIR.
1024 * INSTALL: Regenerate from the above.
1025
1026 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1027
1028 [BZ #18519]
1029 * posix/Versions (libc): Export __libc_pread at version
1030 GLIBC_PRIVATE.
1031 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1032 instead of pread.
1033 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1034 variable.
1035
1036 [BZ #18522]
1037 * misc/efgcvt_r.c
1038 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1039 (cvt_symbol): Use weak_alias instead of strong_alias.
1040 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1041 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1042 Remove variable.
1043 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1044 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1045
1046 [BZ #18520]
1047 * inet/herrno.c (h_errno): Rename to __h_errno.
1048 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1049 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1050 to __h_errno instead of h_errno.
1051 * nptl/herrno.c (h_errno): Rename to __h_errno.
1052 (__h_errno_location): Refer to __h_errno not h_errno.
1053 * resolv/Versions (h_errno): Rename to __h_errno.
1054 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1055 Remove variable.
1056 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1057
1058 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1059
1060 * configure.ac: More strict check for AVX512 assembler support.
1061 * configure: Regenerated.
1062
1063 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1064 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1065 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1066 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1067 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1068 * sysdeps/x86_64/fpu/Versions: New versions added.
1069 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1070 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1071 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1072 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1073 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1077 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1078 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1079 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1080 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1081 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1082 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1083 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1084 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1085 test.
1086 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1087 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1088 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1089 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1090 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1091 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1092 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1093 * NEWS: Mention addition of x86_64 vector sin.
1094
1095 2015-06-11 Florian Weimer <fweimer@redhat.com>
1096
1097 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1098 comment.
1099
1100 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1101
1102 [BZ #18479]
1103 * nptl/pt-interp.c: New file.
1104 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1105 Add pt-interp.
1106 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1107 $(common-objpfx)runtime-linker.h.
1108
1109 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1110
1111 * Makeconfig (+interp): Remove unused variable.
1112 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1113 only. Depend on $(common-objpfx)runtime-linker.h instead of
1114 $(elf-objpfx)runtime-linker.h.
1115 ($(elf-objpfx)runtime-linker.h): Rename to
1116 $(common-objpfx)runtime-linker.h and move ...
1117 * Makerules [$(build-shared) = yes]: ... here.
1118 * elf/interp.c: Include <runtime-linker.h> instead of
1119 <elf/runtime-linker.h>.
1120
1121 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1122
1123 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1124 (__gettimeofday_syscall): Remove vsyscall fallback.
1125 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1126 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1127 Add syscall fallback function.
1128 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1129 if vDSO is not present.
1130 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1131 fallback function.
1132 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1133 present.
1134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1135 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1136
1137 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1138
1139 [BZ #18497]
1140 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1141 of wcscmp.
1142 (wcscmp): Define as weak alias of WCSCMP.
1143 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1144 wcscoll.
1145 (USE_HIDDEN_DEF): Define.
1146 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1147 __wcscoll. Don't use libc_hidden_weak.
1148 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1149 wcscmp.
1150 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1151 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1152 __GI_wcscmp.
1153 (weak_alias): Undefine and redefine.
1154 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1155 __wcscmp and define as weak alias of __wcscmp.
1156 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1157 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1158 (__wcscoll): Likewise.
1159 (wcscmp): Don't use libc_hidden_proto.
1160 (wcscoll): Likewise.
1161 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1162 wcscoll.
1163 * posix/regexec.c (check_node_accept_bytes): Likewise.
1164 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1165 variable.
1166 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1167 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1168
1169 [BZ #18507]
1170 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1171 __fstatvfs and define as weak alias of __fstatvfs. Use
1172 libc_hidden_weak.
1173 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1174 and define as weak alias of __statvfs. Use libc_hidden_weak.
1175 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1176 Define as alias of __fstatvfs, not fstatvfs.
1177 (fstatvfs64): Likewise.
1178 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1179 Define as alias of __statvfs, not statvfs.
1180 (statvfs64): Likewise.
1181 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1182 Remove variable.
1183
1184 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1185
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1187 (HAVE_GETCPU_VSYSCALL): Define.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1189 (HAVE_GETCPU_VSYSCALL): Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1191 * sysdeps/unix/sysv/linux/sched_getcpu.c
1192 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1193 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1194 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1195 prototype.
1196 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1197 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1200 Define.
1201 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1202 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1205
1206 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1207
1208 * sysdeps/x86_64/fpu/Makefile: New file.
1209 * sysdeps/x86_64/fpu/Versions: New file.
1210 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1211 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1212 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1213 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1214 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1215 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1216 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1217 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1218 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1220 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1222 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1223 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1224 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1225 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1226 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1227 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1228 * sysdeps/x86_64/configure: Regenerated.
1229 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1230 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1231 * manual/install.texi (Configuring and compiling): Document
1232 --disable-mathvec.
1233 * INSTALL: Regenerated.
1234 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1235
1236 * math/Makefile: Added rules for vector tests.
1237 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1238 declaration under condition.
1239 * math/test-double-vlen2.h: New file.
1240 * math/test-double-vlen4.h: New file.
1241 * math/test-double-vlen8.h: New file.
1242 * math/test-vec-loop.h: Added initialization macro.
1243 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1244 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1245 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1246 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1247 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1248 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1249 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1250 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1251 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1252 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1253 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1254
1255 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1256 * sysdeps/x86_64/fpu/Versions: New versions added.
1257 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1258 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1259 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1260 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1261 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1262 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1263 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1264 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1265 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1266 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1267 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1268 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1269 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1270 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1271 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1272 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1273 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1274 * NEWS: Mention addition of x86_64 vector cosf.
1275
1276 * math/Makefile: Added CFLAGS for new tests.
1277 * math/test-float-vlen16.h: New file.
1278 * math/test-float-vlen4.h: New file.
1279 * math/test-float-vlen8.h: New file.
1280 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1281 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1282 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1283 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1284 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1285 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1286 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1287 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1288 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1289 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1290 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1291
1292 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1293
1294 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1295 * locale/programs/ld-ctype.c: Likewise.
1296
1297 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1298
1299 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1300 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1301 bit_ZMM16_31_state): New macro.
1302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1303 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1304
1305 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1306
1307 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1308
1309 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1310
1311 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1312
1313 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #18498]
1316 * libio/memstream.c (open_memstream): Rename to __open_memstream
1317 and define as weak alias of __open_memstream.
1318 * include/stdio.h (__open_memstream): Declare. Use
1319 libc_hidden_proto.
1320 (open_memstream): Don't use libc_hidden_proto.
1321 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1322 open_memstream.
1323 * posix/getopt.c (_getopt_internal_r): Likewise.
1324 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1325 variable.
1326 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1327 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1328 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1329
1330 [BZ #18496]
1331 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1332 instead of wcrtomb.
1333
1334 [BZ #18483]
1335 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1336 [__USE_XOPEN2K8]. Remove redundant #endif.
1337 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1338 Remove redundant #if.
1339 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1340 Remove variable.
1341 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1342 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1343
1344 [BZ #18495]
1345 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1346 (__iswlower): Likewise.
1347 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1348 (__iswlower): Likewise.
1349 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1350 instead of towlower.
1351 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1352 instead of iswlower. Call __towupper instead of towupper.
1353 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1354 instead of iswalnum.
1355
1356 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1357
1358 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1359 errors to stderr.
1360
1361 2015-06-05 Florian Weimer <fweimer@redhat.com>
1362
1363 [BZ #15661]
1364 [BZ #17322]
1365 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1366 Check for overflow properly. Check for O_APPEND. Ignore large
1367 file system block sizes. Add comments about problems.
1368 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1369 * manual/filesys.texi (Storage Allocation): New node.
1370
1371 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1372
1373 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1374 cancellable syscalls.
1375 (SYS_ify): Add guard to no redefine it.
1376 (INLINE_SYSCALL): Likewise.
1377 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1378 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1379 SYSCALL_CANCEL instead.
1380 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1381 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1382 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1383 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1384 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1385 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1386 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1387 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1388 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1389 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1390 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1391 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1392 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1393 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1394 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1395 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1396 Likewise.
1397 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1398 (__libc_pread64): Likewise.
1399 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1400 (__libc_preadv): Likewise.
1401 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1402 (__libc_readv64): Likewise.
1403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1404 (__libc_pwrite): Likewise.
1405 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1406 (__libc_pwrite64): Likewise.
1407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1408 (__libc_pwritev): Likewise.
1409 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1410 (__libc_pwritev64): Likewise.
1411 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1412 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1413 (sync_file_range): Likewise.
1414 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1419 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1420 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1421 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1422 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1423 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1424 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1425 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1427 Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1429 (__libc_read64): Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1431 Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1433 Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1435 Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1437 Likewise.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1439 (__libc_pread64): Likewise.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1441 Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1443 (__libc_pwrite64): Likewise.
1444 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1445 (sync_file_range): Likewise.
1446 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1447 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1448 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1449 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1450 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1451 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1452 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1453 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1454 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1455 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1456 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1457 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1458 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1459 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1460 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1461 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1462 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1463 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1464 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1465 Likewise.
1466 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1467 Likewise.
1468 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1469 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1470 Likewise.
1471 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1472 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1473 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1474 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1475 Likewise.
1476 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1477 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1478 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1480 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1481
1482 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1483
1484 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1485 Include dl-vdso.
1486 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1487 Use VDSO routines for gettimeofday, clock_gettime if
1488 available.
1489 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1490 Declare VDSO symbols.
1491 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1492 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1493 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1494 * sysdeps/unix/sysv/linux/arm/Versions: Add
1495 __vdso_clock_gettime.
1496
1497 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1498
1499 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1500 be an inline implementation regardless of library is built within.
1501 (open_not_cancel_2): Likewise.
1502 (__read_nocancel): Likewise.
1503 (__write_nocancel): Likewise.
1504 (openat_not_cancel): Likewise.
1505 (openat_not_cancel_3): Likewise.
1506 (openat64_not_cancel): Likewise.
1507 (openat64_not_cancel_3): Likewise.
1508 (__close_nocancel): Likewise.
1509 (pause_not_cancel): Likewise.
1510 (nanosleep_not_cancel): Likewise.
1511 (sigsuspend_not_cancel): Likewise.
1512
1513 2015-06-04 Torvald Riegel <triegel@redhat.com>
1514
1515 [BZ #14958]
1516 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1517 wake-up.
1518 (__pthread_rwlock_rdlock_slow): Likewise.
1519 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1520 Likewise.
1521 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1522 Likewise.
1523 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1524 * nptl/tst-rwlock16.c: New file.
1525 * nptl/Makefile (tests): Add new test.
1526
1527 2015-06-04 Torvald Riegel <triegel@redhat.com>
1528
1529 [BZ #18324]
1530 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1531 missing wake-up of readers.
1532 * nptl/tst-rwlock15.c: New file.
1533 * nptl/Makefile (tests): Add new test.
1534
1535 2015-06-03 Roland McGrath <roland@hack.frob.com>
1536
1537 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1538 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1539 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1540 and __nacl_supply_interface_rtld.
1541 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1542 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1543 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1544 Add __nacl_supply_interface_rtld.
1545 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1546
1547 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1548
1549 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1550 isfinite.
1551 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1552 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1553
1554 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1555
1556 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1557 __signbit* with standard C99 macros.
1558 * math/e_exp10l.c: Likewise.
1559 * math/e_exp2l.c: Likewise.
1560 * math/e_scalb.c: Likewise.
1561 * math/e_scalbf.c: Likewise.
1562 * math/e_scalbl.c: Likewise.
1563 * math/s_ldexp.c: Likewise.
1564 * math/s_ldexpf.c: Likewise.
1565 * math/s_ldexpl.c: Likewise.
1566 * math/w_atan2.c: Likewise.
1567 * math/w_atan2f.c: Likewise.
1568 * math/w_atan2l.c: Likewise.
1569 * math/w_cosh.c: Likewise.
1570 * math/w_coshf.c: Likewise.
1571 * math/w_coshl.c: Likewise.
1572 * math/w_exp10.c: Likewise.
1573 * math/w_exp10f.c: Likewise.
1574 * math/w_exp10l.c: Likewise.
1575 * math/w_exp2.c: Likewise.
1576 * math/w_exp2f.c: Likewise.
1577 * math/w_exp2l.c: Likewise.
1578 * math/w_fmod.c: Likewise.
1579 * math/w_fmodf.c: Likewise.
1580 * math/w_fmodl.c: Likewise.
1581 * math/w_hypot.c: Likewise.
1582 * math/w_hypotf.c: Likewise.
1583 * math/w_hypotl.c: Likewise.
1584 * math/w_jnl.c: Likewise.
1585 * math/w_lgamma.c: Likewise.
1586 * math/w_lgamma_r.c: Likewise.
1587 * math/w_lgammaf.c: Likewise.
1588 * math/w_lgammaf_r.c: Likewise.
1589 * math/w_lgammal.c: Likewise.
1590 * math/w_lgammal_r.c: Likewise.
1591 * math/w_pow.c: Likewise.
1592 * math/w_powf.c: Likewise.
1593 * math/w_powl.c: Likewise.
1594 * math/w_remainder.c: Likewise.
1595 * math/w_remainderf.c: Likewise.
1596 * math/w_remainderl.c: Likewise.
1597 * math/w_scalb.c: Likewise.
1598 * math/w_scalbf.c: Likewise.
1599 * math/w_scalbl.c: Likewise.
1600 * math/w_scalbln.c: Likewise.
1601 * math/w_scalblnf.c: Likewise.
1602 * math/w_scalblnl.c: Likewise.
1603 * math/w_sinh.c: Likewise.
1604 * math/w_sinhf.c: Likewise.
1605 * math/w_sinhl.c: Likewise.
1606 * math/w_tgamma.c: Likewise.
1607 * math/w_tgammaf.c: Likewise.
1608 * math/w_tgammal.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1619 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1640 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1641 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1642 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1643 * stdio-common/printf_fp.c: Likewise.
1644 * stdio-common/printf_fphex.c: Likewise.
1645 * stdio-common/printf_size.c: Likewise.
1646
1647 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1648
1649 [BZ #18470]
1650 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1651 strnlen.
1652 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1653 Remove variable.
1654 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1655 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1656 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1657 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1658 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1659 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1660 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1661 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1662 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1663 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1664
1665 [BZ #18468]
1666 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1667 weak alias of __wmemchr. Use libc_hidden_weak.
1668 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
1669 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1670 instead of wmemchr.
1671
1672 2015-06-02 Roland McGrath <roland@hack.frob.com>
1673
1674 [BZ #18383]
1675 * elf/tst-tlsalign-extern.c: New file.
1676 * elf/tst-tlsalign-extern-static.c: New file.
1677 * elf/tst-tlsalign-vars.c: New file.
1678 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1679 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1680 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1681 ($(objpfx)tst-tlsalign-extern-static): Likewise.
1682 (test-xfail-tst-tlsalign-extern-static): New variable.
1683
1684 2015-06-02 Joseph Myers <joseph@codesourcery.com>
1685
1686 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1687 Use variable name _sc_err instead of err.
1688 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1689 instead of ret.
1690 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1691 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1692 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1693 (INLINE_SYSCALL): Likewise.
1694
1695 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1696 * include/string.h (__strnlen): Use libc_hidden_proto.
1697 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1698 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1699 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1700 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1701 (libc_hidden_def): Undefine and redefine.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1703 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1704 __GI_strnlen.
1705 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1706 libc_hidden_def.
1707 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1708
1709 [BZ #18469]
1710 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1711 weak alias of __towlower. Use libc_hidden_weak.
1712 (towupper): Rename to __towupper and define as weak alias of
1713 __towupper. Use libc_hidden_weak.
1714 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1715 (__towupper): Likewise.
1716 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1717 __towlower instead of towlower.
1718
1719 2015-06-02 Roland McGrath <roland@hack.frob.com>
1720
1721 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1722 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1723
1724 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1725
1726 * sysdeps/aarch64/libm-test-ulps: Update.
1727
1728 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1729
1730 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1731 Define.
1732 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1734 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1735 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1736 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1737 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1738 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1739
1740 2015-06-01 Martin Sebor <msebor@redhat.com>
1741
1742 [BZ #18116]
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1744 (__setcontext): Use extended four-operand version of mtsf whenever
1745 possible.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1747 (__novec_swapcontext): Likewise.
1748
1749 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 * benchtests/scripts/compare_bench.py: New file.
1752 * benchtests/scripts/import_bench.py (mean): New function.
1753 (split_list): Likewise.
1754 (do_for_all_timings): Likewise.
1755 (compress_timings): Likewise.
1756
1757 * benchtests/scripts/import_bench.py: New file.
1758 * benchtests/scripts/validate_benchout.py: Import import_bench
1759 instead of jsonschema.
1760 (validate_bench): Remove function.
1761 (main): Use import_bench.
1762
1763 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1764
1765 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1766 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1767
1768 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1769
1770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1771
1772 2015-05-28 Roland McGrath <roland@hack.frob.com>
1773
1774 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1775 set THREAD_SELF->tid to a magic value and futex-wake it.
1776 Pass its address to the thread_exit system call.
1777 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1778 bit is clear.
1779 * sysdeps/nacl/lowlevellock.h: New file.
1780 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1781
1782 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1783 Add TIMEOUT to current time, don't subtract it.
1784
1785 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 [BZ #18422]
1788 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1789 ($(objpfx)tst-audit2.out): Also depend on
1790 $(objpfx)tst-auditmod9b.so.
1791 * elf/tst-audit2.c: Include <dlfcn.h>.
1792 (calloc_called): New.
1793 (calloc): Allow to be called more than once.
1794 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1795
1796 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1797
1798 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1799 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1800
1801 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1802
1803 * stdlib/monetary.h: Fix comment.
1804
1805 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1806
1807 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1808 Avoid using variables in #defines that might cause shadowing.
1809 (INTERNAL_VSYSCALL_CALL): Likewise.
1810
1811 2015-05-26 Roland McGrath <roland@hack.frob.com>
1812
1813 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1814
1815 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1816 * nptl/lll_timedlock_wait.c: ... to this new file.
1817 * nptl/Makefile (libpthread-routines): Add it.
1818 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1819 * nptl/lll_timedwait_tid.c: ... to this new file.
1820 * nptl/Makefile (libpthread-routines): Add it.
1821 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1822 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1823 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1824 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1825 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1826 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1827 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1828 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1829 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1830 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1831
1832 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1833
1834 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1835 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1836 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1838 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1840 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1842 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1843 * sysdeps/unix/sysv/linux/tile/sysdep.h
1844 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1845 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1846 using vDSO syscall macro.
1847
1848 2015-05-26 Andriy Rysin <arysin@gmail.com>
1849
1850 [BZ #17293]
1851 * uk_UA: Fix sorting order for Ukrainian locale
1852
1853 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1854
1855 * stdlib/monetary.h: Fix comment.
1856
1857 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1858
1859 [BZ #18234]
1860 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1861 st_mtim and st_ctim members.
1862 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1863 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1864 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1865 (struct stat64): Likewise.
1866 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1867 (struct stat64): Likewise.
1868 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1869 (struct stat64): Likewise.
1870
1871 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1872
1873 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1874 Define and include sysdep-vdso.h.
1875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1876 Likewise.
1877 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1878 Likewise.
1879 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1880 Define with VDSO_SYMBOL and use PTR_MANGLE.
1881 (__vdso_clock_gettime): Likewise.
1882 (__vdso_clock_getres): Likewise.
1883 (_libc_vdso_platform_setup): Likewise.
1884 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1885 Likewise.
1886 (_libc_vdso_platform_setup): Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1888 Likewise.
1889 (__vdso_clock_gettime): Likewise.
1890 (__vdso_clock_getres): Likewise.
1891 (__vdso_get_tbfreq): Likewise.
1892 (__vdso_getcpu): Likewise.
1893 (__vdso_time): Likewise.
1894 (__vdso_sigtramp_rt64): Likewise.
1895 (__vdso_signtramp32): Likewise.
1896 (__vdso_sigtramp_rt32): Likewise.
1897 (_libc_vdso_platform_setup): Likewise.
1898 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1899 Likewise.
1900 (__vdso_clock_gettime): Likewise.
1901 (__vdso_clock_getres): Likewise.
1902 (_libc_vdso_platform_setup): Likewise.
1903 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1904 Likewise.
1905 (__vdso_clock_gettime): Likewise.
1906 (_libc_vdso_platform_setup): Likewise.
1907 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1908 Likewise.
1909 (__vdso_getcpu): Likewise.
1910 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1911 Use VDSO_SYMBOL macro to define.
1912 (__vdso_clock_gettime): Likewise.
1913 (__vdso_clock_getres): Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1915 Likewise.
1916 (__vdso_clock_gettime): Likewise.
1917 (__vdso_clock_getres): Likewise.
1918 (__vdso_get_tbfreq): Likewise.
1919 (__vdso_getcpu): Likewise.
1920 (__vdso_time): Likewise.
1921 (__vdso_sigtramp_rt64): Likewise.
1922 (__vdso_signtramp32): Likewise.
1923 (__vdso_sigtramp_rt32): Likewise.
1924 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1925 Likewise.
1926 (__vdso_clock_gettime): Likewise.
1927 (__vdso_clock_getres): Likewise.
1928 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1929 Likewise.
1930 (__vdso_clock_gettime): Likewise.
1931 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1932 Likewise.
1933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1934 macro.
1935 (INTERNAL_VSYSCALL): Likewise.
1936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1937 Remove macro.
1938 (INTERNAL_VSYSCALL): Likewise.
1939 (INTERNAL_VSYSCALL_NCS): Likewise.
1940 (INTERNAL_VSYSCALL_CALL): New macro.
1941 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1943 Likewise.
1944 (INTERNAL_VSYSCALL): Likewise.
1945 (INTERNAL_VSYSCALL_NCS): Likewise.
1946 (INTERNAL_VSYSCALL_CALL): New macro.
1947 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1949 (INLINE_VSYSCALL): Remove macro.
1950 (INTERNAL_VSYSCALL): Remove macro.
1951 (INTERNAL_VSYSCALL_NCS): Remove macro.
1952 (INTERNAL_VSYSCALL_CALL): New macro.
1953 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1954 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1955 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1956 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1957 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1959 (INLINE_VSYSCALL): Remove macro.
1960 (INTERNAL_VSYSCALL): Likewise.
1961 (INTERNAL_VSYSCALL_NCS): Likewise.
1962 (INTERNAL_VSYSCALL_CALL): New macro.
1963 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1964 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1965 PTR_DEMANGLE on vDSO pointer.
1966 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1967 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1968 macro.
1969 (INTERNAL_SYSCALL): Likewise.
1970 (INTERNAL_VSYSCALL_NCS): Remove macro.
1971 (INTERNAL_VSYSCALL_CALL): New macro.
1972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1973 Remove macro.
1974 (INTERNAL_VSYSCALL): Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1976 sysdep-vdso.h instead of libc-vdso.h.
1977 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1978 definition.
1979 (INLINE_VSYSCALL): Likewise.
1980 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1981 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1982 definition.
1983 (INLINE_VSYSCALL): Likewise.
1984 (INTERNAL_VSYSCALL): Likewise.
1985 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1986 * sysdeps/unix/sysv/linux/timespec_get.c
1987 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1988 (timespec_get): Use ANSI prototype.
1989 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1990 and definition for Linux.
1991
1992 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1993
1994 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1995 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1996
1997 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1998
1999 [BZ #18410]
2000 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2001 for missing DT_PLTRELSZ.
2002
2003 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2004
2005 Remove obsolete aliases that broke 'locale -a'
2006 [BZ #18412]
2007 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2008 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2009 breaking some applications that use 'locale -a' output.
2010 Change the encoding of this file from Latin-1 to ASCII to avoid
2011 other potential problems with people grepping this file.
2012
2013 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2014
2015 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2016 -fasynchronous-unwind-tables.
2017 (CFLAGS-sendto.c): Likewise.
2018 (CFLAGS-sendmsg.c): Likewise.
2019 (CFLAGS-connect.c): Likewise.
2020 (CFLAGS-recvmsg.c): Likewise.
2021 (CFLAGS-recvfrom.c): Likewise.
2022 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2023 (SOCKETCALL): New macro: non-cancellable socketcall.
2024 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2025 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2026 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2027 * sysdeps/unix/sysv/linux/accept.c: New file.
2028 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2029 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2030 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2031 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2032 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2033 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2034 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2035 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2036 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2037 * sysdeps/unix/sysv/linux/send.c: Likewise.
2038 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2039 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2040 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2041 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2042 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2043 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2044 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2045 prototype.
2046 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2047 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2048 instead of __internal_xxx function.
2049 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2050 prototype.
2051 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2052 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2053 instead of __internal_xxx function.
2054 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2055 prototype.
2056 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2057 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2058 instead of __internal_xxx function.
2059 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2060 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2061 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2062 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2063 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2064 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2065 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2066 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2067 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2068 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2069 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2070 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2071 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2072 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2073 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2074 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2075 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2076 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2077 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2081 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2082 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2083 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2086 * sysdeps/unix/sysv/linux/send.S: Likewise.
2087 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2088 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2089 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2090 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2091 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2092 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2095 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2096 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2097 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2098 socketcall is implemented in GLIBC.
2099
2100 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2101
2102 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2103 (__fma): Ignore uninitialized warnings around packing.
2104 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2105 (__fmaf): Ignore uninitialized warnings around packing.
2106 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2107 (__fmal): Ignore uninitialized warnings around packing.
2108
2109 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2110 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2112 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2113
2114 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2115 switch statement into default case.
2116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2117
2118 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2119 a conditional in forcing "inexact".
2120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2121 Likewise.
2122
2123 2015-05-22 Roland McGrath <roland@hack.frob.com>
2124
2125 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2126 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2127 for each INTERNAL_SYSCALL use.
2128
2129 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2130
2131 [BZ #438]
2132 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2133 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2134 variable.
2135
2136 [BZ #18444]
2137 * string/basename.c (basename): Rename to __basename and define as
2138 weak alias of __basename. Use libc_hidden_weak.
2139 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2140 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2141 __basename instead of basename.
2142 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2143 Remove variable.
2144 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2145
2146 2015-05-18 Florian Weimer <fweimer@redhat.com>
2147
2148 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2149 (_IO_JUMPS_FILE_plus): New.
2150 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2151 _IO_CAST_FIELD_ACCESS.
2152 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2153 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2154 * libio/freopen.c (freopen): Likewise.
2155 * libio/freopen64.c (freopen64): Likewise.
2156 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2157 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2158 * libio/iofwide.c (_IO_fwide): Likewise.
2159 * libio/memstream.c (open_memstream): Likewise.
2160 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2161 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2162 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2163
2164 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2165
2166 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2167 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2168 NADJ.
2169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2170 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2171 NADJ.
2172 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2173 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2174 NADJ.
2175
2176 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2177 (p == 4) case.
2178
2179 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2180 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2181 Remove variable.
2182 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2183 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2184 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2185
2186 2015-05-21 Florian Weimer <fweimer@redhat.com>
2187
2188 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2189 Adjust jump table label generation macros.
2190
2191 2015-05-21 Florian Weimer <fweimer@redhat.com>
2192
2193 * stdio-common/vfprintf.c (vfprintf): Move local variables
2194 args_malloced, specs, specs_malloced, and the code after
2195 do_positional to the printf_positional function.
2196 (printf_positional): New function.
2197
2198 2015-05-21 Florian Weimer <fweimer@redhat.com>
2199
2200 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2201 function.
2202 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2203 STEP4_TABLE, process_arg): Move macro definitions
2204 out of the vfprintf function. (Cosmetic change only.)
2205
2206 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2207
2208 * benchtests/Makefile (stdio-common-bench): Define.
2209 (benchset): Add stdio-common-bench.
2210 * sprintf-inputs: New file.
2211 * sprintf-source.c: New file.
2212
2213 2015-05-21 Andreas Schwab <schwab@suse.de>
2214
2215 [BZ #13028]
2216 [BZ #17053]
2217 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2218 of struct __res_state.
2219 * resolv/res_send.c (__libc_res_nsend): Likewise.
2220 (get_nsaddr): New function.
2221 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2222 statp directly.
2223
2224 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2225
2226 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2227 -D_POSIX_C_SOURCE=199506L.
2228
2229 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2230
2231 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2232 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2233 Do not mention otherwise.
2234 [POSIX] (_XOPEN_VERSION): Do not expect.
2235 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2236 [POSIX] (_POSIX2_C_BIND): Likewise.
2237 [POSIX] (_POSIX2_VERSION): Likewise.
2238 [POSIX] (_XOPEN_XPG2): Likewise.
2239 [POSIX] (_XOPEN_XPG3): Likewise.
2240 [POSIX] (_XOPEN_XPG4): Likewise.
2241 [POSIX] (_XOPEN_UNIX): Likewise.
2242 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2243 [POSIX] (_POSIX_BARRIERS): Likewise.
2244 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2245 [POSIX] (_POSIX_CPUTIME): Likewise.
2246 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2247 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2248 [POSIX] (_POSIX_SHELL): Likewise.
2249 [POSIX] (_POSIX_SPAWN): Likewise.
2250 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2251 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2252 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2253 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2254 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2255 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2256 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2257 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2258 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2259 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2260 [POSIX] (_POSIX2_PBS): Likewise.
2261 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2262 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2263 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2264 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2265 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2266 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2267 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2268 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2269 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2270 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2271 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2272 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2273 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2274 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2275 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2276 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2277 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2278 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2279 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2280 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2281 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2282 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2283 [POSIX] (_SC_2_C_BIND): Likewise.
2284 [POSIX] (_SC_2_C_VERSION): Likewise.
2285 [POSIX] (_SC_2_PBS): Likewise.
2286 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2287 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2288 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2289 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2290 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2291 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2292 [POSIX] (_SC_BARRIERS): Likewise.
2293 [POSIX] (_SC_BASE): Likewise.
2294 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2295 [POSIX] (_SC_DEVICE_IO): Likewise.
2296 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2297 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2298 [POSIX] (_SC_FD_MGMT): Likewise.
2299 [POSIX] (_SC_FIFO): Likewise.
2300 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2301 [POSIX] (_SC_FILE_LOCKING): Likewise.
2302 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2303 [POSIX] (_SC_IOV_MAX): Likewise.
2304 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2305 [POSIX] (_SC_NETWORKING): Likewise.
2306 [POSIX] (_SC_PAGE_SIZE): Likewise.
2307 [POSIX] (_SC_PASS_MAX): Likewise.
2308 [POSIX] (_SC_PIPE): Likewise.
2309 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2310 [POSIX] (_SC_REGEXP): Likewise.
2311 [POSIX] (_SC_SHELL): Likewise.
2312 [POSIX] (_SC_SIGNALS): Likewise.
2313 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2314 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2315 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2316 [POSIX] (_SC_USER_GROUPS): Likewise.
2317 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2318 [POSIX] (_SC_STREAMS): Likewise.
2319 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2320 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2321 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2322 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2323 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2324 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2325 [POSIX] (_PC_FILESIZEBITS): Likewise.
2326 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2327 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2328 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2329 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2330 [POSIX] (uid_t): Likewise.
2331 [POSIX] (gid_t): Likewise.
2332 [POSIX] (off_t): Likewise.
2333 [POSIX] (pid_t): Likewise.
2334 [POSIX] (cuserid): Allow.
2335 (_SC_2_CHAR_TERM): Require constant.
2336 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2337 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2338 variable.
2339
2340 2015-05-20 Roland McGrath <roland@hack.frob.com>
2341
2342 * sysdeps/nacl/pthread-pids.h: New file.
2343 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2344 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2345
2346 * nptl/pthread-pids.h: New file.
2347 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2348 * nptl/nptl-init.c: Include <pthread-pids.h>.
2349 (__pthread_initialize_minimal_internal):
2350 Call __pthread_initialize_pids instead of set_tid_address syscall.
2351
2352 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2353 * sysdeps/posix/usleep.c: ... here.
2354
2355 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2356
2357 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2358 call_pselect6 object.
2359 [$(subdir) = io]: Remove call_sync_file_range object.
2360 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2362 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2363 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2364
2365 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2366
2367 * math/s_cproj.c: Add include "math_private.h".
2368 * math/s_cprojf.c: Likewise.
2369 * math/s_cprojl.c: Likewise.
2370
2371 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2372
2373 [BZ #18244]
2374 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2375 high mantissa bit when testing whether P is a NaN.
2376 * math/libm-test.inc (remainder_test_data): Add more tests.
2377 (remquo_test_data): Likewise.
2378
2379 [BZ #18049]
2380 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2381 below -32, return the argument, with underflow if subnormal.
2382 * math/auto-libm-test-in: Add more tests of atanh.
2383 * math/auto-libm-test-out: Regenerated.
2384
2385 2015-05-19 Roland McGrath <roland@hack.frob.com>
2386
2387 [BZ #18434]
2388 * nptl/tst-sem15.c: New file.
2389 * nptl/Makefile (tests): Add it.
2390 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2391 s/<</>>/ to fix typo in EOVERFLOW check.
2392 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2393
2394 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2395
2396 * manual/strings.texi (envz_remove): Fix typo in safety
2397 annotations.
2398
2399 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2400 Steve Ellcey <sellcey@imgtec.com>
2401
2402 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2403 in order to avoid strict alias warnings.
2404 (iruserok_af): Ditto for ra.
2405
2406 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2407
2408 [BZ #17581]
2409 * malloc/hooks.c
2410 (magicbyte): Convert to a function and avoid returning 0x01.
2411 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2412 (mem2chunk_check): Fix unsigned comparisons to zero.
2413 Hoist defs of sz and magic.
2414
2415 2015-05-19 Richard Henderson <rth@redhat.com>
2416
2417 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2418
2419 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2420
2421 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2422
2423 [BZ #16159]
2424 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2425 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2426 (reused_arena): Find a non-corrupt arena.
2427 (heap_trim): Pass arena to unlink.
2428 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2429 malloc_printerr.
2430 (top_check): Likewise.
2431 (free_check): Likewise.
2432 (realloc_check): Likewise.
2433 * malloc/malloc.c (malloc_printerr): Add arena argument.
2434 (unlink): Likewise.
2435 (munmap_chunk): Adjust.
2436 (ARENA_CORRUPTION_BIT): New macro.
2437 (arena_is_corrupt): Likewise.
2438 (set_arena_corrupt): Likewise.
2439 (sysmalloc): Use mmap if there are no usable arenas.
2440 (_int_malloc): Likewise.
2441 (__libc_malloc): Don't fail if arena_get returns NULL.
2442 (_mid_memalign): Likewise.
2443 (__libc_calloc): Likewise.
2444 (__libc_realloc): Adjust for additional argument to
2445 malloc_printerr.
2446 (_int_free): Likewise.
2447 (malloc_consolidate): Likewise.
2448 (_int_realloc): Likewise.
2449 (_int_memalign): Don't touch corrupt arenas.
2450 * malloc/tst-malloc-backtrace.c: New test case.
2451
2452 * Makefile (summarize-tests): Fix return value on success.
2453
2454 * manual/string.texi (Envz Functions): Add envz_remove.
2455
2456 2015-05-18 Roland McGrath <roland@hack.frob.com>
2457
2458 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2459 (invalid_name): New function, broken out of ...
2460 (__opendirat): ... here. Call it.
2461 (need_isdir_precheck): New function, broken out of ...
2462 (__opendirat): ... here. Call it.
2463 Use __fxstatat64, not __xstatat64.
2464 (opendir_oflags): New function, broken out of ...
2465 (__opendirat): ... here. Call it.
2466 (opendir_tail): New function, broken out of ...
2467 (__opendirat): ... here. Call it.
2468 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2469 opendir_tail, rather than punting to __opendirat.
2470 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2471
2472 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2473
2474 * .gitignore: Ignore generated *.pyc.
2475
2476 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2477
2478 * include/stdio.h: Define __need_wint_t.
2479 * test-skeleton.c: Avoid `for' loop initial declaration.
2480 * nptl/tst-initializers1.c: Use test-skeleton.c.
2481
2482 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2483
2484 [BZ #18418]
2485 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2486
2487 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2488
2489 [BZ #16352]
2490 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2491 (__ieee754_atanh): Force underflow exception for results with
2492 small absolute value.
2493 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2494 (__ieee754_atanhf): Force underflow exception for results with
2495 small absolute value.
2496 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2497 (__ieee754_atanh): Force underflow exception for results with
2498 small absolute value.
2499 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2500 (__ieee754_atanhf): Force underflow exception for results with
2501 small absolute value.
2502 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2503 (__ieee754_atanhl): Force underflow exception for results with
2504 small absolute value.
2505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2506 (__ieee754_atanhl): Force underflow exception for results with
2507 small absolute value.
2508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2509 (__ieee754_atanhl): Force underflow exception for results with
2510 small absolute value.
2511 * math/auto-libm-test-in: Do not allow missing underflow
2512 exceptions from atanh.
2513 * math/auto-libm-test-out: Regenerated.
2514
2515 [BZ #18221]
2516 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2517 2**-28 as threshold for returning x or +/- 1/x.
2518 * math/auto-libm-test-in: Add more tests of tan.
2519 * math/auto-libm-test-out: Regenerated.
2520
2521 [BZ #18220]
2522 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2523 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2524 * math/auto-libm-test-in: Add another test of lgamma.
2525 * math/auto-libm-test-out: Regenerated.
2526
2527 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2528
2529 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2530 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2531 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2532 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2533 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2534 (ADD2A): Use fabs. (SUB2A): Use fabs.
2535 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2538 (log1): Use fabs. (my_log2): Use fabs.
2539 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2540 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2542 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2544 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2545 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2546 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2547 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2548 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2549 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2550
2551 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2552
2553 [BZ #18217]
2554 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2555 as threshold for returning 1 - x.
2556 * math/auto-libm-test-in: Add more tests of erfc.
2557 * math/auto-libm-test-out: Regenerated.
2558
2559 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2560
2561 [BZ #18196]
2562 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2563 threshold for large arguments.
2564 * math/auto-libm-test-in: Add another test of atan.
2565 * math/auto-libm-test-out: Regenerated.
2566
2567 [BZ #16339]
2568 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2569 (__log1p): Force underflow exception for results with small
2570 absolute value.
2571 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2572 (__log1pf): Force underflow exception for results with small
2573 absolute value.
2574 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2575 (__log1p): Force underflow exception for results with small
2576 absolute value.
2577 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2578 (__log1pf): Force underflow exception for results with small
2579 absolute value.
2580 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2581 (__log1pl): Force underflow exception for results with small
2582 absolute value.
2583 * math/auto-libm-test-in: Do not allow missing underflow
2584 exceptions from log1p.
2585 * math/auto-libm-test-out: Regenerated.
2586
2587 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2588 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2589
2590 [BZ #16704]
2591 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2592
2593 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2594
2595 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2596 (libmvec): New variable.
2597 * configure.ac: Added option for mathvec build.
2598 * configure: Regenerated.
2599 * mathvec/Depend: New file.
2600 * mathvec/Makefile: New file.
2601 * shlib-versions: Added libmvec.
2602 * math/Makefile: Added rule for libm.so installation.
2603
2604 * bits/math-vector.h: New file.
2605 * bits/libm-simd-decl-stubs.h: New header.
2606 * math/Makefile (headers): Added new header
2607 libm-simd-decl-stubs.h.
2608 * math/math.h (__MATHCALL_VEC): New macro.
2609
2610 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2611 for conditions in testing functions.
2612 * math/Makefile: Added call of libm-have-vector-test.sh.
2613 * math/libm-test.inc (HAVE_VECTOR): New macros.
2614
2615 * math/libm-test.inc: START refactored.
2616 * math/test-double.c (TEST_MATHVEC): Add define.
2617 * math/test-float.c: Likewise.
2618 * math/test-idouble.c: Likewise.
2619 * math/test-ifloat.c: Likewise.
2620 * math/test-ildoubl.c: Likewise.
2621 * math/test-ldouble.c: Likewise.
2622 * sysdeps/generic/math-tests-arch.h
2623 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2624 architecture check.
2625
2626 * math/test-double.c (FUNC_TEST): New macro.
2627 * math/test-float.c: Likewise.
2628 * math/test-idouble.c: Likewise.
2629 * math/test-ifloat.c: Likewise.
2630 * math/test-ildoubl.c: Likewise.
2631 * math/test-ldouble.c: Likewise.
2632 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2633
2634 2015-05-13 Roland McGrath <roland@hack.frob.com>
2635
2636 * sysdeps/nacl/fdopendir.c: New file.
2637
2638 * dirent/scandir-tail.c: New file.
2639 * dirent/scandir64-tail.c: New file.
2640 * dirent/Makefile (routines): Add them.
2641 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2642 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2643 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2644 [!SCANDIR] (SCANDIR_TAIL): New macro.
2645 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2646 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2647 (SCANDIRAT): Macro removed.
2648 (SCANDIR_TAIL): New macro.
2649 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2650 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2651 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2652 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2653 (READDIR): Macro removed.
2654 (SCANDIR_TAIL): New macro.
2655 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2656 (SCANDIR_TAIL): New macro.
2657
2658 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2659 * dirent/scandir-cancel.c: ... to this new file.
2660 * dirent/Makefile (routines): Add it.
2661 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2662 * sysdeps/unix/sysv/linux/i386/scandir64.c
2663 (SKIP_SCANDIR_CANCEL): Macro removed.
2664 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2665
2666 * dirent/tst-scandir.c: New file.
2667 * dirent/tst-scandir64.c: New file.
2668 * dirent/Makefile (tests): Add them.
2669
2670 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 [BZ #18409]
2673 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2674
2675 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2676
2677 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2678 list.
2679
2680 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
2681
2682 * benchtests/bench-strcoll.c: New benchmark.
2683 * benchtests/Makefile: Generate locales and run benchmark.
2684 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2685 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2686 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2687 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2688 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2689 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2690 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2691 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2692 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2693 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2694 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2695 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2696 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2697 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2698 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2699 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2700 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2701 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2702 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2703 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2704 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2705 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2706 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2707 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2708
2709 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2710
2711 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2712 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2713
2714 2015-05-12 Roland McGrath <roland@hack.frob.com>
2715
2716 * posix/uname-values.h: New file.
2717 * posix/uname.c: Include that instead of <config-name.h>.
2718 * sysdeps/nacl/uname-values.h: New file.
2719 * sysdeps/arm/nacl/uname-values.h: New file.
2720
2721 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2722
2723 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2724 splitting into fields.
2725
2726 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2727
2728 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2729 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2730 * locale/localeinfo.h: Add enum collation_encoding_type.
2731 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2732 * programs/ld-collate.c (collate_output): Add encoding type info.
2733 * string/strcoll_l.c (STRDIFF): New function.
2734 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2735 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2736
2737 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #18397]
2740 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2741 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2742 <fpu_control.h> instead of <math/fpu_control.c>.
2743 * sysdeps/mips/mips32/fpu/Makefile: New file.
2744
2745 2015-05-11 Andreas Schwab <schwab@suse.de>
2746
2747 [BZ #18007]
2748 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2749 nss_endgrent.
2750 (_nss_compat_endgrent): Call nss_endgrent.
2751 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2752 nss_endpwent.
2753 (_nss_compat_endpwent): Call nss_endpwent.
2754 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2755 needent, call nss_setspent only if non-zero.
2756 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2757 (internal_endspent): Don't call nss_endspent.
2758 (_nss_compat_endspent): Call nss_endspent.
2759 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2760 Remove. All uses removed.
2761 (internal_setent): Remove parameter stayopen, add parameter
2762 stream. Use it instead of global variable.
2763 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2764 (internal_endent, internal_getent): Add parameter stream. Use it
2765 instead of global variable.
2766 (CONCAT(_nss_files_end,ENTNAME))
2767 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2768 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2769 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2770 uses removed.
2771 (internal_setent, internal_endent): Add parameter stream. Use it
2772 instead of global variable.
2773 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2774 stream.
2775 (get_next_alias): Add parameter stream.
2776 (_nss_files_getaliasent_r): Pass global stream.
2777 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2778 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2779 (_nss_files_gethostbyname4_r): Pass local stream to
2780 internal_setent, internal_getent and internal_endent. Remove
2781 locking.
2782
2783 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2784
2785 * tst-strfmon1.c (tests): Update expected currency symbol.
2786
2787 2015-05-08 Roland McGrath <roland@hack.frob.com>
2788
2789 * sysdeps/nacl/gethostname.c: New file.
2790
2791 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2792
2793 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2794 and sinh.
2795 * math/auto-libm-test-out: Regenerated.
2796 * sysdeps/i386/fpu/libm-test-ulps: Update.
2797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2798
2799 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2800
2801 [BZ #18125]
2802 * stdlib/tst-setcontext3.c: New file.
2803 * stdlib/tst-setcontext3.sh: New file.
2804 * stdlib/Makefile (tests): Add tst-setcontext3.
2805 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2806 to verify test program created output file.
2807 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2808 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2809 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2810 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2811
2812 2015-05-06 Roland McGrath <roland@hack.frob.com>
2813
2814 [BZ #18383]
2815 * elf/tst-tlsalign.c: New file.
2816 * elf/tst-tlsalign-static.c: New file.
2817 * elf/tst-tlsalign-lib.c: New file.
2818 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2819 (tests-static): Add tst-tlsalign-static.
2820 (modules-names): Add tst-tlsalign-lib.
2821 (test-xfail-tst-tlsalign): New variable.
2822 (test-xfail-tst-tlsalign-static): New variable.
2823
2824 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2825 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2826
2827 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2828
2829 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2830 csqrt, erfc, sin and sincos.
2831 * math/auto-libm-test-out: Regenerated.
2832 * sysdeps/i386/fpu/libm-test-ulps: Update.
2833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834
2835 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2836
2837 * sysdeps/aarch64/libm-test-ulps: Update.
2838
2839 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2840
2841 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2842 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2843 * math/auto-libm-test-out: Regenerated.
2844 * sysdeps/i386/fpu/libm-test-ulps: Update.
2845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2846
2847 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2848
2849 [BZ #18265]
2850 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2851 (wcsncpy): Likewise.
2852
2853 2015-05-05 Florian Weimer <fweimer@redhat.com>
2854
2855 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2856 Assume __ASSUME_FALLOCATE is always true.
2857 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2858 (__posix_fallocate64_l64): Likweise.
2859 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2860 (posix_fallocate): Likewise.
2861 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2862 (__posix_fallocate64_l64): Likewise.
2863 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2864 [!__ASSUME_FALLOCATE]: Add comment.
2865
2866 2015-05-05 Florian Weimer <fweimer@redhat.com>
2867
2868 * sysdeps/unix/sysv/linux/i386/Makefile
2869 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2870 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2871 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2872 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2873 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2874 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2875 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2876
2877 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2878
2879 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2880 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2881 tgamma.
2882 * math/auto-libm-test-out: Regenerated.
2883 * sysdeps/i386/fpu/libm-test-ulps: Update.
2884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2885
2886 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2887
2888 * math/auto-libm-test-in: Add more tests of tgamma.
2889 * math/auto-libm-test-out: Regenerated.
2890 * sysdeps/i386/fpu/libm-test-ulps: Update.
2891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2892
2893 * math/auto-libm-test-in: Add more tests of tanh.
2894 * math/auto-libm-test-out: Regenerated.
2895 * sysdeps/i386/fpu/libm-test-ulps: Update.
2896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2897
2898 * math/auto-libm-test-in: Add more tests of tan.
2899 * math/auto-libm-test-out: Regenerated.
2900 * sysdeps/i386/fpu/libm-test-ulps: Update.
2901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2902
2903 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2904 * math/auto-libm-test-out: Regenerated.
2905 * sysdeps/i386/fpu/libm-test-ulps: Update.
2906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907
2908 * math/auto-libm-test-in: Add another test of pow.
2909 * math/auto-libm-test-out: Regenerated.
2910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2911
2912 * math/auto-libm-test-in: Add more tests of lgamma.
2913 * math/auto-libm-test-out: Regenerated.
2914 * sysdeps/i386/fpu/libm-test-ulps: Update.
2915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2916
2917 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2918 log1p.
2919 * math/auto-libm-test-out: Regenerated.
2920 * sysdeps/i386/fpu/libm-test-ulps: Update.
2921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2922
2923 2015-05-01 Mark Wielaard <mjw@redhat.com>
2924
2925 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2926 Elf64_Chdr structs and ELFCOMPRESS constants.
2927
2928 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2929
2930 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2931 expm1.
2932 * math/auto-libm-test-out: Regenerated.
2933 * sysdeps/i386/fpu/libm-test-ulps: Update.
2934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2935
2936 * math/auto-libm-test-in: Add more tests of erf and erfc.
2937 * math/auto-libm-test-out: Regenerated.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2940
2941 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2942
2943 * config.h.in (HAVE_AARCH64_BE): Add.
2944
2945 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2946
2947 * math/auto-libm-test-in: Add more tests of csqrt.
2948 * math/auto-libm-test-out: Regenerated.
2949 * sysdeps/i386/fpu/libm-test-ulps: Update.
2950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2951
2952 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2953 * math/auto-libm-test-out: Regenerated.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956
2957 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2958
2959 2015-04-29 Roland McGrath <roland@hack.frob.com>
2960
2961 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2962 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2963
2964 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2965 (euidaccess, eaccess): Define as weak aliases.
2966
2967 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2968 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2969 but __suseconds_t is often 'long int' so some sources assume that
2970 type is being used (e.g. they use %ld to print tv_usec).
2971
2972 2015-04-29 Florian Weimer <fweimer@redhat.com>
2973
2974 [BZ #18007]
2975 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2976 (CVE-2014-8121)
2977 * nss/tst-nss-getpwent.c: New file.
2978 * nss/Makefile (tests): Add new test.
2979
2980 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2981
2982 [BZ #18346]
2983 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2984 exponents less than 48 as cases where high part of mantissa needs
2985 examining to determine whether argument is integral.
2986 * math/libm-test.inc (round_test_data): Add more tests.
2987
2988 2015-04-28 Mark Wielaard <mjw@redhat.com>
2989
2990 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2991
2992 2015-04-27 David S. Miller <davem@davemloft.net>
2993
2994 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2995 __tls_get_addr.
2996 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2997
2998 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2999
3000 [BZ#18333]
3001 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3002
3003 2015-04-27 Florian Weimer <fweimer@redhat.com>
3004
3005 [BZ#18333]
3006 * time/tzset.c (parse_tzname): Return error on memory allocation
3007 failure.
3008 * test-skeleton.c (struct temp_name_list): Change type of name
3009 member to non-const.
3010 (add_temp_file): Create a copy of the file name.
3011 (delete_temp_files): Deallocate memory.
3012 (create_temp_file): Add comment.
3013
3014 2015-04-24 Florian Weimer <fweimer@redhat.com>
3015
3016 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3017 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3018
3019 2015-04-24 Roland McGrath <roland@hack.frob.com>
3020
3021 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3022 * sysdeps/arm/configure: Regenerated.
3023
3024 2015-04-24 Florian Weimer <fweimer@redhat.com>
3025
3026 [BZ #17715]
3027 * time/tzfile.c (__tzfile_read): Check for large values of
3028 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3029 * time/tzset.c (__tzstring_len): New function, based on the old
3030 __tzstring function.
3031 (__tzstring): Call __tzstring_len.
3032 (parse_tzname): New helper function extracted from
3033 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3034 the input string.
3035 (parse_offset): New helper function extracted from
3036 __tzset_parse_tz. Replace switch with fallthrough with
3037 initialization before sscanf.
3038 (parse_rule): Likewise.
3039 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3040 new-style function definition.
3041 * timezone/Makefile (tests): Add tst-tzset.
3042 (tst-tzset.out): Dependencies on time zone files.
3043 (tst-tzset-ENV): Set TZDIR.
3044 (testdata/XT%): Copy crafted time zone files.
3045 * timezone/README: Mention crafted time zone files.
3046 * timezone/testdata/XT1, timezone/testdata/XT2,
3047 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3048 files.
3049 * timezone/tst-tzset.c: New test.
3050
3051 2015-04-24 Florian Weimer <fweimer@redhat.com>
3052
3053 * Makeconfig (+gccwarn): Remove -Winline.
3054
3055 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3056
3057 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3058
3059 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3060
3061 * NEWS: Mention sysconf() cache information support for s390.
3062 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3063
3064 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3065
3066 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3068 (__nearbyint): Likewise.
3069 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3070 (copysignl): Likewise.
3071
3072 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3073
3074 [BZ #18287]
3075 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3076 based on padding. (CVE-2015-1781)
3077
3078 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3079
3080 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3081 libc-vdso.h.
3082 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3083 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3084 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3085 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3086 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3087 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3090 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3091 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3092 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3093 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3094 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3095 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3096 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3097 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3098 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3099 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3100 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3101 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3102 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3103 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3104 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3105
3106 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3107
3108 * stdlib/setenv.c (__add_to_environ):
3109 Dump core quickly if setenv (..., NULL, ...) is called.
3110 This time, do it the right way, and pacify GCC with a pragma.
3111
3112 2015-04-17 Roland McGrath <roland@hack.frob.com>
3113
3114 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3115 IMAP->l_prev cannot be null, and #if out the code for the contrary
3116 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3117 believe that NS (&_dl_ns[NSID]) could point outside the array.
3118
3119 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3120 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3121 before using NSID as an index.
3122
3123 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3124
3125 [BZ #17825]
3126 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3127 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3128 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3129
3130 2015-04-17 Roland McGrath <roland@hack.frob.com>
3131
3132 Add preliminary port to Google Native Client on ARM.
3133 * abi-tags (.*-.*-nacl.*): New entry.
3134 * sysdeps/arm/nacl: New directory.
3135 * sysdeps/nacl: New directory.
3136
3137 2015-04-16 David S. Miller <davem@davemloft.net>
3138
3139 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3140 lowlevellock-futex.h
3141
3142 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3143
3144 * sysdeps/tile/configure.ac: New file.
3145 * sysdeps/tile/configure: Regenerated.
3146
3147 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3148
3149 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3150 conditionals for weak_alias and libc_hidden_weak.
3151 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3152 libc_hidden_weak and weak_alias.
3153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3154 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3155 and weak_alias for static one.
3156
3157 2015-04-15 David S. Miller <davem@davemloft.net>
3158
3159 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3160
3161 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3162
3163 [BZ #18206]
3164 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3165 Use signed comparision instead of substraction to avoid
3166 overflow bug.
3167 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3168 Take the sign of ret.
3169 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3170 Do not expect precise return values. Only the sign matters.
3171 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3172 * wcsmbs/test-wcsncmp.c: New File.
3173 * string/test-strncmp.c: Add wcsncmp support.
3174
3175 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3176
3177 [BZ #6792]
3178 * math/w_log1p.c: New file.
3179 * math/w_log1pf.c: Likewise.
3180 * math/w_log1pl.c: Likewise.
3181 * math/Makefile (libm-calls): Add w_log1p.
3182 * math/s_log1pl.c (log1pl): Remove weak_alias.
3183 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3184 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3185 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3186 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3187 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3188 [NO_LONG_DOUBLE] (log1pl): Likewise.
3189 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3190 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3191 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3192 (log1p): Remove long_double_symbol.
3193 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3194 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3195 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3196 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3197 remove weak_alias for corresponding log1p function.
3198 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3199 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3200 * sysdeps/ia64/fpu/w_log1p.c: New file.
3201 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3202 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3203 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3204
3205 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #18247]
3208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3209 decimal exponent by 1.
3210 * stdlib/tst-strtod-round-data: Add more tests.
3211 * stdlib/tst-strtod-round.c (tests): Regenerated.
3212
3213 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3214
3215 * math/auto-libm-test-in: Add more tests of clog and clog10.
3216 * math/auto-libm-test-out: Regenerated.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219
3220 2015-04-09 Roland McGrath <roland@hack.frob.com>
3221
3222 * Makeconfig (module-cppflags): Exclude all .v.i files.
3223 (skip-module-cppflags): Variable removed.
3224
3225 * configure.ac (libc_config_ok): Initialize before reading
3226 preconfigure scripts, not after.
3227 * configure: Regenerated.
3228
3229 * test-skeleton.c (TIMEOUT): Move #define to top level.
3230 (main): Grok environment variable TEST_DIRECT. If set, print
3231 test expectation details into that file and then behave as if
3232 given --direct.
3233
3234 2015-04-09 Florian Weimer <fweimer@redhat.com>
3235
3236 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3237 warning on 32-bit.
3238
3239 2015-04-08 David S. Miller <davem@davemloft.net>
3240
3241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3242
3243 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3244
3245 * math/auto-libm-test-in: Add more tests of atanh.
3246 * math/auto-libm-test-out: Regenerated.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3249
3250 * math/auto-libm-test-in: Add more tests of atan.
3251 * math/auto-libm-test-out: Regenerated.
3252 * sysdeps/i386/fpu/libm-test-ulps: Update.
3253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3254
3255 2015-04-08 Florian Weimer <fweimer@redhat.com>
3256
3257 * elf/pldd.c (main): Rewrite to use struct
3258 scratch_buffer instead of extend_alloca.
3259 * elf/pldd-xx.c (find_maps): Likewise.
3260 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3261 <alloca.h>.
3262 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3263 scratch_buffer instead of extend_alloca.
3264 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3265 grp/compat-initgroups.c.
3266 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3267 Rewrite to use struct scratch_buffer instead of extend_alloca.
3268 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3269 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3270
3271 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3272
3273 * math/auto-libm-test-in: Add more tests of cbrt.
3274 * math/auto-libm-test-out: Regenerated.
3275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3276
3277 * math/auto-libm-test-in: Add more tests of cabs.
3278 * math/auto-libm-test-out: Regenerated.
3279 * sysdeps/i386/fpu/libm-test-ulps: Update.
3280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3281
3282 [BZ #18210]
3283 [BZ #18211]
3284 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3285 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3286 computations.
3287 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3288 clog10.
3289 * math/auto-libm-test-out: Regenerated.
3290 * sysdeps/i386/fpu/libm-test-ulps: Update.
3291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3292
3293 [BZ #18197]
3294 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3295 (atan): Set FE_TONEAREST mode for internal computations.
3296 * math/auto-libm-test-in: Add more tests of atan.
3297 * math/auto-libm-test-out: Regenerated.
3298
3299 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3300
3301 [BZ #17930]
3302 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3303
3304 2015-04-07 Florian Weimer <fweimer@redhat.com>
3305
3306 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3307
3308 2015-04-07 Florian Weimer <fweimer@redhat.com>
3309
3310 * include/scratch_buffer.h: New file.
3311 * malloc/scratch_buffer_grow.c: Likewise.
3312 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3313 * malloc/scratch_buffer_set_array_size.c: Likewise.
3314 * malloc/tst-scratch_buffer.c: Likewise.
3315 * malloc/Makefile (routines): Add scratch_buffer_grow.
3316 (tests): Add test case.
3317 * malloc/Versions (GLIBC_PRIVATE): Export
3318 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3319 __libc_scratch_buffer_set_array_size.
3320
3321 2015-04-06 Richard Henderson <rth@redhat.com>
3322
3323 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3324 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3325
3326 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3327 unsigned int before printing.
3328
3329 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3330
3331 [BZ #17596]
3332 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3333 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3334
3335 2015-04-02 Florian Weimer <fweimer@redhat.com>
3336
3337 * include/libc-internal.h (libc_max_align_t): Define.
3338
3339 2015-04-02 Andreas Schwab <schwab@suse.de>
3340
3341 [BZ #16850]
3342 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3343
3344 2015-04-02 Mel Gorman <mgorman@suse.de>
3345
3346 [BZ #17195]
3347 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3348 as well as the main arena.
3349
3350 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 [BZ #18185]
3353 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3354 sharing L2 cache to 2 for Silvermont/Knights Landing.
3355
3356 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 [BZ #17711]
3359 * config.make.in (have-protected-data): New.
3360 * configure.ac: Check linker support for protected data symbol.
3361 * configure: Regenerated.
3362 * elf/Makefile (modules-names): Add tst-protected1moda and
3363 tst-protected1modb if $(have-protected-data) is yes.
3364 (tests): Add tst-protected1a and tst-protected1b if
3365 $(have-protected-data) is yes.
3366 ($(objpfx)tst-protected1a): New.
3367 ($(objpfx)tst-protected1b): Likewise.
3368 (tst-protected1modb.so-no-z-defs): Likewise.
3369 * elf/tst-protected1a.c: New file.
3370 * elf/tst-protected1b.c: Likewise.
3371 * elf/tst-protected1mod.h: Likewise.
3372 * elf/tst-protected1moda.c: Likewise.
3373 * elf/tst-protected1modb.c: Likewise.
3374
3375 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3376
3377 [BZ #17711]
3378 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3379 indicates it is called from do_lookup_x on relocation against
3380 protected data, skip the data definion in the executable from
3381 copy reloc.
3382 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3383 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3384 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3385 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3386 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3387 otherwise to 0.
3388 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3389 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3390 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3391 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3392 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3393 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3394
3395 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3396
3397 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3398 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3399
3400 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3401
3402 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3403 THREAD_SETMEM_NC.
3404 * sysdeps/x86_64/nptl/tls.h: Ditto.
3405
3406 2015-03-27 Roland McGrath <roland@hack.frob.com>
3407
3408 * dlfcn/tststatic.c (main): Converted to ...
3409 (do_test): ... this.
3410 (TEST_FUNCTION): New macro.
3411 Include test-skeleton.c.
3412
3413 2015-03-26 Alan Modra <amodra@gmail.com>
3414
3415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3416 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3417 zero for undefined weak.
3418 (elf_machine_plt_conflict): Similarly.
3419
3420 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3421
3422 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3423 atanh.
3424 * math/auto-libm-test-out: Regenerated.
3425 * sysdeps/i386/fpu/libm-test-ulps: Update.
3426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3427
3428 * math/auto-libm-test-in: Add another test of asin.
3429 * math/auto-libm-test-out: Regenerated.
3430 * sysdeps/i386/fpu/libm-test-ulps: Update.
3431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3432
3433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3434 Remove macro.
3435 (LLL_EBX_REG): Likewise.
3436 (LLL_ENTER_KERNEL): Likewise.
3437
3438 * math/auto-libm-test-in: Add more tests of asin.
3439 * math/auto-libm-test-out: Regenerated.
3440 * sysdeps/i386/fpu/libm-test-ulps: Update.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442
3443 [BZ #18138]
3444 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3445 libc_do_syscall_args): New structure.
3446 (INTERNAL_SYSCALL_MAIN_0): New macro.
3447 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3448 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3449 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3450 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3451 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3452 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3453 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3454 Replace conditional definitions by conditional definitions of ....
3455 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3456 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3457 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3458 (libpthread-sysdep_routines): Add libc-do-syscall.
3459 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3460 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3461 to __NR_futex not 240.
3462
3463 2015-03-25 Alan Modra <amodra@gmail.com>
3464
3465 * NEWS: Advertise TLS optimization.
3466 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3467 (DT_PPC_NUM): Increment.
3468 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3469 (CHECK_STATIC_TLS): Use here.
3470 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3471 TLS descriptors.
3472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3473 * sysdeps/powerpc/dl-tls.c: New file.
3474 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3475 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3476 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3477 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3481
3482 2015-03-25 Alan Modra <amodra@gmail.com>
3483
3484 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3485 for overlapping .opd entries" to "support...".
3486 * sysdeps/powerpc/powerpc64/configure: Regenerate
3487
3488 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3489
3490 * math/auto-libm-test-in: Add more tests of acos.
3491 * math/auto-libm-test-out: Regenerated.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494
3495 * math/auto-libm-test-in: Add more tests of expm1.
3496 * math/auto-libm-test-out: Regenerated.
3497 * sysdeps/i386/fpu/libm-test-ulps: Update.
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3499
3500 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3501
3502 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3503 * math/auto-libm-test-out: Regenerated.
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506
3507 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
3510 * math/auto-libm-test-in: Add more tests of log2.
3511 * math/auto-libm-test-out: Regenerated.
3512 * sysdeps/i386/fpu/libm-test-ulps: Update.
3513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3514
3515 2015-03-23 Roland McGrath <roland@hack.frob.com>
3516
3517 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3518 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3519 _IO_IS_APPENDING bit in READ_WRITE instead.
3520
3521 2015-03-23 Florian Weimer <fweimer@redhat.com>
3522
3523 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3524 (__determine_cpumask_size): Replace extend_alloca with a
3525 variable-length array. Do not treat res == 0 as an error.
3526
3527 2015-03-23 Florian Weimer <fweimer@redhat.com>
3528
3529 [BZ #18100]
3530 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3531 and integer overflow.
3532 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3533 (main): Add integer overflow tests.
3534 * manual/pattern.texi (Calling Wordexp): Document additional use
3535 for WRDE_SYNTAX.
3536
3537 2015-03-23 Alan Modra <amodra@gmail.com>
3538
3539 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3540 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3541 and false branch of conditional.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3543 Likewise.
3544
3545 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3546
3547 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3548 libc-modules.h
3549 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3550 unused declaration of _hurd_intr_rpc_msg_in_trap.
3551 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3552 defined instead of whether it is non-zero.
3553 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3554 input constraint instead of both input and output constraint. Use ecx
3555 clobber instead of %ecx.
3556 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3557 mutex_unlock): Use a statement expression instead of an expression list.
3558 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3559 type to vm_size_t instead of vm_address_t.
3560 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3561 defined instead of whether it is non-zero.
3562 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3563 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3564 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3565 comparisons with mapaddr.
3566 * nscd/nscd-client.h: Include <time.h>.
3567 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3568 9th parameter to __vm_region instead of int.
3569 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3570 * scripts/check-local-headers.sh (exclude): Add device/,
3571 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3572 cthreads.h.
3573
3574 2015-03-19 Roland McGrath <roland@hack.frob.com>
3575
3576 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3577 to account for alignment padding.
3578 * sysdeps/arm/memmove.S: Likewise.
3579
3580 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3581
3582 * sysdeps/unix/sysv/linux/generic/README: New file.
3583
3584 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3585
3586 [BZ #18138]
3587 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3588 (futex_abstimed_wait)
3589 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3590 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3591 of lll_futex_timed_wait.
3592
3593 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3594
3595 [BZ #17542]
3596 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3597
3598 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3599
3600 [BZ #17090]
3601 [BZ #17620]
3602 [BZ #17621]
3603 [BZ #17628]
3604 * NEWS: Update.
3605 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3606 entries with Static TLS too. Skip entries past the end of the
3607 allocated DTV, from Alan Modra.
3608 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3609 Static TLS DTV entry set up from...
3610 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3611 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3612 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3613 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3614 for Static TLS.
3615 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3616 that the slot we find is associated with the given map before
3617 using its generation count.
3618 * nptl_db/db_info.c: Include ldsodefs.h.
3619 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3620 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3621 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3622 (link_map::l_tls_offset): New struct field.
3623 (dtv_t::counter): Likewise.
3624 (rtld_global): New struct.
3625 (_rtld_global): New rtld variable.
3626 (dl_tls_dtv_slotinfo_list): New rtld global field.
3627 (dtv_slotinfo_list): New struct.
3628 (dtv_slotinfo): Likewise.
3629 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3630 (td_lookup): Rename to...
3631 (td_mod_lookup): ... this. Use new mod parameter instead of
3632 LIBPTHREAD_SO.
3633 * nptl_db/td_thr_tlsbase.c: Include link.h.
3634 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3635 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3636 addresses even if the DTV is out of date or missing them.
3637 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3638 index zero-length arrays.
3639 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3640 (td_lookup): Make it a macro implemented in terms of...
3641 (td_mod_lookup): ... this declaration.
3642 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3643 (DB_MAIN_VARIABLE): Likewise.
3644
3645 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3646
3647 [BZ #18134]
3648 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3649
3650 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3651
3652 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3653
3654 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3655
3656 [BZ #18128]
3657 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3658 (atomic_add, atomic_increment_and_test)
3659 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3660
3661 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3662
3663 * stdlib/setenv.c (__add_to_environ):
3664 Dump core quickly if setenv (..., NULL, ...) is called.
3665
3666 2015-03-13 Roland McGrath <roland@hack.frob.com>
3667
3668 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3669 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3670 all the necessary asm magic in one place.
3671 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3672 using those.
3673
3674 2015-03-13 Carlos O'Donell <carlos@redhat.com>
3675
3676 [BZ #14906]
3677 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3678 traced file mtime. Use consistent log message.
3679 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3680 (register_traced_file): Call install_watches. Always set mtime.
3681 (invalidate_cache): Iterate over all trace files. Call install_watches.
3682 (inotify_check_files): Don't inline. Handle watching parent
3683 directories and configuration file movement in and out.
3684 (handle_inotify_events): New function.
3685 (main_loop_poll): Call handle_inotify_events.
3686 (main_loop_epoll): Likewise.
3687 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3688 (struct traced_file): Use array of inotify fds. Add parent directory,
3689 and basename.
3690 (struct database_dyn): Remove unused file_mtime.
3691 (init_traced_file): New inline function.
3692 (define_traced_file): New macro.
3693 * nss/nss_db/db-init.c: Use define_traced_file.
3694 (_nss_db_init): Use init_traced_file.
3695 * nss/nss_files/files-init.c: Use define_traced_file.
3696 (_nss_files_init): Use init_traced_file.
3697
3698 2015-03-12 Joseph Myers <joseph@codesourcery.com>
3699
3700 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3701 [_LIBC]: Do not include <stdlib.h>.
3702 [!_LIBC] (abort): Remove declaration.
3703 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3704 _FP_STATIC_ASSERT instead of conditionally calling abort.
3705 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3706 (_FP_EXTEND_CNAN): Likewise.
3707 (FP_TRUNC): Likewise.
3708 (__FP_CLZ): Likewise.
3709 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3710
3711 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3712
3713 * manual/string.texi (XPG basename): Fix prototype.
3714
3715 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3716
3717 [BZ #18080]
3718 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3719 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3720 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3721 (__setcontext): Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3723 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3724 Call rt_sigprocmask syscall one time to set new signal mask
3725 and retrieve the current signal mask instead of two calls.
3726 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3727 (__swapcontext): Likewise.
3728 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3729 * stdlib/tst-setcontext2.c: New file.
3730
3731 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3732
3733 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3734
3735 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3736
3737 [BZ #18093]
3738 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3739 the wrong size.
3740
3741 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3742
3743 [BZ #18043]
3744 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3745
3746 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3747
3748 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3749 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3750 Remove define.
3751 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3752 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3753 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3754 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3755 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3756 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3757 define.
3758 * nptl_db/td_symbol_list.c (td_lookup): Remove
3759 HAVE_ASM_GLOBAL_DOT_NAME code.
3760 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3761 HAVE_ASM_GLOBAL_DOT_NAME check.
3762 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3763 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3764 (DOT_LABEL): Remove define.
3765 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3766 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3767 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3768 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3769 (__TLS_GET_ADDR): Likewise.
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3771 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3772
3773 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3774
3775 [BZ #18111]
3776 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3777 (_FPU_SETCW): Initialize cw from fpsr before storing.
3778 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3779 (fesetexceptflag): Rewrite using fpu_control.h.
3780 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3781
3782 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3783
3784 [BZ #18110]
3785 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3786 asms.
3787 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3788
3789 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3790
3791 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3792 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3793 abort.
3794 (_FP_FMA): Likewise.
3795 (_FP_DIV): Likewise.
3796
3797 2015-03-10 Roland McGrath <roland@hack.frob.com>
3798
3799 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3800 with 0 in that case.
3801 * Makefile (summarize-tests): New canned sequence, factored out of
3802 commands for targets tests and xtests. Display summary lines that
3803 don't start with PASS: or XFAIL: rather than ones that do start with
3804 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3805 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3806 do start with ERROR: or FAIL:.
3807 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3808 (except for [$(build-shared) = yes]).
3809 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3810 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3811 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3812 * nptl/Makefile: Revert 2015-03-04 changes.
3813 [$(CXX) empty] (tests-unsupported): New variable.
3814 * debug/Makefile: Likewise.
3815
3816 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3817 gnulib file. Replace __attribute with __attribute__ throughout.
3818
3819 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3820
3821 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3822
3823 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #18104]
3826 * math/auto-libm-test-in: Add another test of pow.
3827 * math/auto-libm-test-out: Regenerated.
3828
3829 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830
3831 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3832 $(config-cflags-nofma).
3833
3834 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3835
3836 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3837 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3838 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3839 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3840 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3841 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3842 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3843 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3844 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3845 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3846 Add comment on closing #endif.
3847
3848 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3849
3850 * posix/wordexp.c (CHAR_IN_SET): New macro.
3851 (parse_param): Use it.
3852
3853 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3854
3855 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3856
3857 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3858
3859 [BZ #18043]
3860 * posix/wordexp.c (parse_param): Fix buffer overflow.
3861 * posix/wordexp-test.c (test_case): Add test case.
3862
3863 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3864
3865 [BZ #18042]
3866 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3867 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3868
3869 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3870
3871 [BZ #18043]
3872 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3873 (do_bz18043): Delete.
3874 (at_page_end): New.
3875 (testit): Refactor to have words at the edge of unreadable page.
3876
3877 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3878
3879 [BZ #16734]
3880 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3881 Cleanup read-only streams as well.
3882 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3883
3884 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3885
3886 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3887 <bits/libc-lockP.h>
3888
3889 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3890
3891 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3892 on [__KERNEL__].
3893 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3894 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3895 * soft-fp/op-common.h (_FP_DECL): Likewise.
3896
3897 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * elf/ifuncdep2.c (global): Replace
3900 __attribute__((visibility("protected"))) with
3901 asm (".protected global").
3902 * elf/ifuncmod1.c (global): Likewise.
3903 * elf/ifuncmod5.c (global): Likewise.
3904
3905 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3906
3907 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3908 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3909
3910 2015-03-06 Roland McGrath <roland@hack.frob.com>
3911
3912 * manual/install.texi (Configuring and compiling):
3913 Document test-wrapper-env-only.
3914 * INSTALL: Regenerated.
3915
3916 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3917
3918 [BZ #18043]
3919 * posix/wordexp.c (parse_param): Fix buffer overflow.
3920 * posix/wordexp-test.c (do_bz18043): Add test case.
3921
3922 2015-03-06 Vincent Bernat <vincent@bernat.im>
3923
3924 * time/tst-strptime2.c (do_test): Ensure failing tests are
3925 reported correctly.
3926 * time/tst-strptime3.c (do_test): Likewise.
3927
3928 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3929
3930 Fix aio_error thread-safety.
3931 * sysdeps/pthread/aio_error.c: New file
3932 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3933 synchronization.
3934
3935 2015-03-06 Florian Weimer <fweimer@redhat.com>
3936
3937 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3938 (group_number, vfprintf): Use it.
3939 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3940 (JUMP, REF): Use it.
3941 (WORK_BUFFER_SIZE): New enum constant.
3942 (process_arg, vfprintf): Use it.
3943
3944 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3945
3946 * manual/errno.texi (Error Messages): Complete example function
3947 by adding missing #define.
3948 (program_invocation_name): Add statement indicating GNU
3949 extension and reference which header file declares the variable.
3950 (program_invocation_short_name): Likewise.
3951
3952 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3953
3954 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3955 compatibility note.
3956
3957 2015-03-05 Roland McGrath <roland@hack.frob.com>
3958
3959 * Makeconfig (test-wrapper-env-only): New variable.
3960 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3961 then use that with $(test-wrapper-env-only) rather than using
3962 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3963
3964 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3965
3966 [BZ #18082]
3967 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3968 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3969 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3970 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3971 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3972 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3973 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3974 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3975 Likewise.
3976 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3977 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3978 Likewise.
3979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3980 Likewise.
3981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3982 Likewise.
3983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3984 Likewise.
3985 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3987 Likewise.
3988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3989 Likewise.
3990 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3991 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3992
3993 2015-03-04 Roland McGrath <roland@hack.frob.com>
3994
3995 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3996 (ETH_ALEN): New macro.
3997 (struct ether_addr): Use it for length of ether_addr_octet.
3998
3999 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4000 (setdb): Don't call __nss_configure_lookup for "rpc".
4001 (do_test): Don't call test_rpc.
4002 (output_rpcent, test_rpc): Functions moved ...
4003 * sunrpc/test-rpcent.c: ... to this new file.
4004 * sunrpc/Makefile (tests): Add it.
4005
4006 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4007 __xpg_sigpause.
4008 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4009 * nptl/tst-signal6.c: Likewise.
4010 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4011 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4012
4013 * configure.ac (libc_cv_cxx_link_ok): New check.
4014 Reset CXX to empty if it fails to link.
4015 * configure: Regenerated.
4016 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4017 bug-atexit3-lib only if $(CXX) is nonempty.
4018 * nptl/Makefile (tests): Likewise for tst-cancel24.
4019 (tests, tests-static): Likewise for tst-cancel24-static.
4020 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4021 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4022 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4023 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4024
4025 2015-03-04 Andreas Schwab <schwab@suse.de>
4026
4027 [BZ #17631]
4028 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4029 for non-GCC compilers.
4030 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4031 Likewise.
4032
4033 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4034
4035 [BZ #17776]
4036 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4037 integer before bitwise and assembly operations.
4038 (feclearexcept): Likewise.
4039 * math/test-fenvinline.c: New file.
4040 * math/Makefile: Add test-fenvinline test.
4041
4042 2015-03-03 Alan Modra <amodra@gmail.com>
4043
4044 [BZ #16512]
4045 * scripts/localplt.awk: Strip off symbol version.
4046 * NEWS: Mention bug fix.
4047
4048 2015-03-02 Roland McGrath <roland@hack.frob.com>
4049
4050 * sysdeps/pthread/timer_routines.c
4051 (timer_free_list, thread_free_list, thread_active_list): Make static.
4052
4053 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4054
4055 [BZ #17779]
4056 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4057 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4058 Undefine.
4059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4060 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4061 Likewise.
4062 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4063 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4064 Likewise.
4065
4066 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4067
4068 [BZ #18036]
4069 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4070 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4071
4072 2015-03-02 Andreas Schwab <schwab@suse.de>
4073
4074 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4075 variable name.
4076
4077 2015-03-02 Florian Weimer <fweimer@redhat.com>
4078
4079 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4080 Return error status.
4081
4082 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4083
4084 [BZ #15969]
4085 * locale/findlocale.c (_nl_find_locale): Introduce const
4086 version of loc_name and drop unsafe type casts.
4087
4088 2015-02-27 Roland McGrath <roland@hack.frob.com>
4089
4090 * dlfcn/tststatic2.c (main): Converted to ...
4091 (do_test): ... this.
4092 (TEST_FUNCTION): New macro.
4093 Include test-skeleton.c.
4094
4095 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 [BZ #17711]
4098 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4099 (tests-pie): Add vismain.
4100 (CFLAGS-vismain.c): New.
4101 * elf/vismain.c: Add comments for PIE requirement.
4102
4103 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4104
4105 [BZ #18046]
4106 [BZ #18047]
4107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4108 0x1p-56L as threshold for just returning the argument.
4109 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4110 0x1p-32L as threshold for just returning the argument.
4111 * math/auto-libm-test-in: Add more tests of atanh.
4112 * math/auto-libm-test-out: Regenerated.
4113 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4115
4116 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4117
4118 * string/bcopy.c (bcopy): Call memmove for performance.
4119
4120 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4121
4122 * string/bzero.c (__bzero): Call memset for performance.
4123
4124 2015-02-27 John David Anglin <dave.anglin@bell.net>
4125
4126 [BZ #18068]
4127 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4128 to 00100000.
4129
4130 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4131
4132 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4133
4134 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4135
4136 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4137 (__kernel_standard): Use CSTR macro when setting exc.name.
4138 * sysdeps/ieee754/Makefile [$(subdir) = math]
4139 (CFLAGS-k_standard.c): Remove variable.
4140
4141 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4142 setting p and q from "else if" to "else".
4143 (qzero): Likewise.
4144 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4145 (qone): Likewise.
4146 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4147 (qzerof): Likewise.
4148 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4149 (qonef): Likewise.
4150 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4151 (qzero): Likewise.
4152 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4153 (qone): Likewise.
4154
4155 [BZ #18038]
4156 [BZ #18039]
4157 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4158 return pi/2 for arguments below 0x1p-113L.
4159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4160 return pi/2 for arguments below 0x1p-106L.
4161 * math/auto-libm-test-in: Add more tests of acos.
4162 * math/auto-libm-test-out: Regenerated.
4163
4164 [BZ #16351]
4165 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4166 (MO): New macro.
4167 (__ieee754_asin): Force underflow exception for results with small
4168 absolute value.
4169 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4170 (MO): New macro.
4171 (__ieee754_asinf): Force underflow exception for results with
4172 small absolute value.
4173 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4174 (__ieee754_asin): Force underflow exception for results with small
4175 absolute value.
4176 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4177 (__ieee754_asinf): Force underflow exception for results with
4178 small absolute value.
4179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4180 (__ieee754_asinl): Force underflow exception for results with
4181 small absolute value.
4182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4183 (__ieee754_asinl): Force underflow exception for results with
4184 small absolute value.
4185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4186 (__ieee754_asinl): Force underflow exception for results with
4187 small absolute value.
4188 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4189 Include <math.h>.
4190 * math/auto-libm-test-in: Do not mark underflow exceptions as
4191 possibly missing for bug 16351.
4192 * math/auto-libm-test-out: Regenerated.
4193
4194 [BZ #18030]
4195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4196 of power of 2 down when low part has opposite sign.
4197 * math/libm-test.inc (logb_test_data): Add more tests.
4198
4199 2015-02-26 Andreas Schwab <schwab@suse.de>
4200
4201 [BZ #18032]
4202 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4203 over collating symbol inside a bracket expression. Minor cleanup.
4204 * posix/tst-fnmatch3.c (do_test): Add test case.
4205
4206 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4207
4208 [BZ #18029]
4209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4210 Adjust exponent of power of 2 down when low part has opposite
4211 sign.
4212 * math/libm-test.inc (ilogb_test_data): Add more tests.
4213
4214 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4215
4216 [BZ #15969]
4217 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4218 the previous change.
4219
4220 [BZ #15969]
4221 * locale/findlocale.c (_nl_find_locale): Retry archive search
4222 after alias expansion.
4223
4224 2015-02-25 Roland McGrath <roland@hack.frob.com>
4225
4226 * iconv/tst-iconv3.c (main): Converted to ...
4227 (do_test): ... this.
4228 (TEST_FUNCTION): New macro.
4229 Include test-skeleton.c.
4230
4231 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4232 (convert): Make function static.
4233 (test_unalign): Likewise. Add const to argument pointee types.
4234 (main): Replace with static function do_test.
4235 Print "Succeeded." only if RET is zero.
4236 (TEST_FUNCTION): New macro.
4237 Include test-skeleton.c.
4238
4239 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4240 returns a null pointer.
4241
4242 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4243
4244 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4245 to __memcpy_ppc only for static builds.
4246
4247 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4248
4249 [BZ #18020]
4250 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4251 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4252 * math/auto-libm-test-in: Add more tests of asinh.
4253 * math/auto-libm-test-out: Regenerated.
4254 * sysdeps/i386/fpu/libm-test-ulps: Update.
4255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4256
4257 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4258
4259 [BZ #15850]
4260 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4261 and ip6_mtuinfo definitions here.
4262 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4263 in this define too. Update comment.
4264
4265 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4266
4267 * elf/sprof.c (load_shobj): Tweak error message to match others.
4268
4269 2015-02-24 Kevin Easton <kevin@guarana.org>
4270
4271 [BZ #16145] (partial fix)
4272 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4273 to reduce lock contention.
4274
4275 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4276
4277 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4278 (struct timex): Update time comment.
4279 (ADJ_SETOFFSET): Define.
4280
4281 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4282
4283 [BZ #18019]
4284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4285 2**56 not 2**28 as threshold for log (2x) formula.
4286 * math/auto-libm-test-in: Add more tests of acosh.
4287 * math/auto-libm-test-out: Regenerated.
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4290
4291 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4292
4293 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4294 parenthesis around the buf assignment.
4295 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4296
4297 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #16783]
4300 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4301 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4302 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4303 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4304 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4305 * math/libm-test.inc (scalb_test_data): Add more tests.
4306
4307 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4308
4309 [BZ #17916]
4310 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4311 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4312
4313 2015-02-24 Eric Rannaud <e@nanocritical.com>
4314
4315 [BZ #17523]
4316 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4317 * io/bits/fcntl2.h (open): Use it.
4318 (openat): Likewise.
4319 * io/open.c (__libc_open): Likewise.
4320 * io/open64.c (__libc_open64): Likewise.
4321 * io/open64_2.c (__open64_2): Likewise.
4322 * io/open_2.c (__open_2): Likewise.
4323 * io/openat.c (__openat): Likewise.
4324 * io/openat64.c (__openat64): Likewise.
4325 * io/openat64_2.c (__openat64_2): Likewise.
4326 * io/openat_2.c (__openat_2): Likewise.
4327 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4328 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4329 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4330 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4331 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4332 (__open_nocancel): Likewise.
4333 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4334 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4335 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4336
4337 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4338
4339 [BZ #14841]
4340 * resolv/gethnamaddr.c (getanswer): Skip logging if
4341 RES_USE_DNSSEC is set.
4342 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4343
4344 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4345
4346 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4347
4348 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4349
4350 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4351 201304L, for Unicode 7.
4352
4353 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4354
4355 [BZ #17836]
4356 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4357 shared library. Add gmon-start.os otherwise.
4358 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4359 $(objpfx)gmon-start.os if builing shared library.
4360 ($(objpfx)g$(static-start-installed-name)): Likewise.
4361
4362 2015-02-23 Andreas Schwab <schwab@suse.de>
4363
4364 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4365
4366 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4367
4368 [BZ #17269]
4369 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4370 (enlarge_userbuf): Likewise.
4371
4372 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4373
4374 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4375 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4376 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4377 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4378
4379 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4380
4381 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4382 expression inside statement expression.
4383
4384 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4385
4386 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4387 <sysdeps/nptl/lowlevellock.h> and remove macros and
4388 functions that are now defined there.
4389 (SYS_futex): Remove.
4390 (lll_compare_and_swap): Remove.
4391 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4392
4393 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4394
4395 [BZ #17999]
4396 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4397 instead of scandirat.
4398 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4399 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4400 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4401 __scandirat.
4402 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4403 (__scandirat): Declare. Use libc_hidden_proto.
4404 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4405 Remove variable.
4406 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4407
4408 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4409
4410 [BZ #15319]
4411 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4412 (MO): New macro.
4413 (__ieee754_atan2): For results with small absolute value, force
4414 underflow exception and remove excess range and precision from
4415 return value.
4416 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4417 (MO): New macro.
4418 (__ieee754_atan2f): For results with small absolute value, force
4419 underflow exception and remove excess range and precision from
4420 return value.
4421 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4422 (MO): New macro.
4423 (__atan): For results with small absolute value, force underflow
4424 exception and remove excess range and precision from return value.
4425 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4426 (MO): New macro.
4427 (__atanf): For results with small absolute value, force underflow
4428 exception and remove excess range and precision from return value.
4429 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4430 <math.h>.
4431 (__ieee754_atan2): Force underflow exception for results with
4432 small absolute value.
4433 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4434 <math_private.h>.
4435 (atan): Force underflow exception for results with small absolute
4436 value.
4437 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4438 (__atanf): Force underflow exception for results with small
4439 absolute value.
4440 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4441 <math.h>.
4442 (__atanl): Force underflow exception for results with small
4443 absolute value.
4444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4445 (__atanl): Force underflow exception for results with small
4446 absolute value.
4447 * sysdeps/x86/fpu/bits/mathinline.h
4448 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4449 (__ieee754_atan2): Only define inline for long double.
4450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4451 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4452 * math/auto-libm-test-in: Do not mark underflow exceptions as
4453 possibly missing for bug 15319. Add more tests of atan2.
4454 * math/auto-libm-test-out: Regenerated.
4455 * math/libm-test.inc (casin_test_data): Do not mark underflow
4456 exceptions as possibly missing for bug 15319.
4457 (casinh_test_data): Likewise.
4458 * sysdeps/i386/fpu/libm-test-ulps: Update.
4459
4460 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4461
4462 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4463 * sysdeps/mips/bits/endian.h: Fix comments.
4464
4465 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4466
4467 [BZ #17996]
4468 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4469 (hdestroy_r): Likewise.
4470 (hsearch_r): Likewise.
4471 (__hcreate_r): Declare and use libc_hidden_proto.
4472 (__hdestroy_r): Likewise.
4473 (__hsearch_r): Likewise.
4474 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4475 (hcreate): Call __hcreate_r instead of hcreate_r.
4476 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4477 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4478 as weak alias of __hcreate_r.
4479 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4480 __hdestroy_r.
4481 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4482 __hsearch_r.
4483 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4484 Remove variable.
4485 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4486 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4487 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4488 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4489
4490 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
4492 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4493 arena_lock into a single arena_get.
4494
4495 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4496
4497 * dl-reloc.c: Inlucde libc-internal.h.
4498 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4499 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4500 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4501 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4502 (grow_heap): Likewise.
4503 * malloc/malloc.c: Include libc-internal.h.
4504 (do_check_malloc): Call powerof2.
4505 (sysmalloc): Use pagesize. Call ALIGN_UP.
4506 (systrim): Use pagesize.
4507 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4508 (__libc_valloc): Use pagesize.
4509 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4510
4511 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4512
4513 [BZ #17991]
4514 * include/sys/resource.h (__getrlimit64): Declare. Use
4515 libc_hidden_proto.
4516 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4517 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4518 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4519 getrlimit64.
4520 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4521 __getrlimit64.
4522 [!getrlimit64] (getrlimit64): Define as weak alias of
4523 __getrlimit64. Use libc_hidden_weak.
4524 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4525 using __getrlimit64 not __new_getrlimit64.
4526 (__GI_getrlimit64): Likewise.
4527 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4528 Likewise.
4529 (__GI_getrlimit64): Likewise.
4530 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4532 (getrlimit): Add __getrlimit64 alias.
4533 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4534 Likewise.
4535 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4536 Remove variable.
4537 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4538 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4539
4540 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4541
4542 * libio/fileops.c: Add missing sys/mman.h
4543 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4544
4545 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4546
4547 * manual/math.texi (Errors in Math Functions): Clarify goals
4548 regarding inexact and underflow exceptions.
4549
4550 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4551
4552 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4553 * sysdeps/mips/memset.S: Ditto.
4554
4555 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4556
4557 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4558
4559 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4560
4561 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4562 (__v1longjmp): Remove versioned symbol.
4563 (__v1siglongjmp): Remove alias and versioned symbol.
4564 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4565 (__v2siglongjmp): Likewise.
4566
4567 2015-02-16 Torvald Riegel <triegel@redhat.com>
4568
4569 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4570
4571 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4572
4573 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4574
4575 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4576
4577 [BZ #17987]
4578 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4579 zero result does not depend on the sign resulting from
4580 subtraction.
4581 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4582 Likewise.
4583 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4584 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4586 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4587 * math/libm-test.inc (remquo_test_data): Add more tests.
4588
4589 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4590
4591 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4592 Problem reported by J William Piggott.
4593
4594 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4595
4596 [BZ #17978]
4597 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4598 products 4 * y and 2 * y where those would overflow.
4599 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4600 Likewise.
4601 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4602 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4603 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4604 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4605 * math/libm-test.inc (remquo_test_data): Add more tests.
4606
4607 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4608
4609 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4610 [defined _COMPILING_NEWLIB].
4611 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4612 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4613
4614 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4615 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4616
4617 2015-02-16 Torvald Riegel <triegel@redhat.com>
4618
4619 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4620 acquired.
4621
4622 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4623
4624 [BZ #17792]
4625 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4626 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4627 HOST_STACK_END_ADDR): Likewise.
4628
4629 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4630
4631 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4632 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4633 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4634
4635 2015-02-13 Roland McGrath <roland@hack.frob.com>
4636
4637 * sysdeps/generic/c++-types.data: New file.
4638 * sysdeps/generic/ld.abilist: New file.
4639 * sysdeps/generic/libBrokenLocale.abilist: New file.
4640 * sysdeps/generic/libanl.abilist: New file.
4641 * sysdeps/generic/libc.abilist: New file.
4642 * sysdeps/generic/libcrypt.abilist: New file.
4643 * sysdeps/generic/libdl.abilist: New file.
4644 * sysdeps/generic/libm.abilist: New file.
4645 * sysdeps/generic/libpthread.abilist: New file.
4646 * sysdeps/generic/libresolv.abilist: New file.
4647 * sysdeps/generic/librt.abilist: New file.
4648
4649 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4650
4651 [BZ #17569]
4652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4653 Compute absolute value of x as modified by fmod, not original
4654 value of x.
4655 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4656 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4657 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4658 RUN_TEST_ffI_f1_mod8.
4659 (remquo_test_data): Add more tests.
4660
4661 2015-02-13 Roland McGrath <roland@hack.frob.com>
4662
4663 * sysdeps/init_array/pt-crti.S: New file.
4664
4665 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4666
4667 [BZ #17967]
4668 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4669 __builtin_fmaf instead of relying on contraction of a * b + c.
4670
4671 2015-02-12 J William Piggott <elseifthen@gmx.com>
4672
4673 [BZ #17969]
4674 * manual/time.texi: correct the zoneinfo path in the TZ Variable
4675 node.
4676
4677 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4678
4679 [BZ #17964]
4680 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4681 __builtin_fma instead of relying on contraction of a * b + c.
4682
4683 2015-02-12 Roland McGrath <roland@hack.frob.com>
4684
4685 * Makeconfig (ASFLAGS): Add -Werror=undef.
4686 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4687 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4688 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4689
4690 * Makeconfig (after-link): New variable.
4691 (+link-pie, +link-pie-tests): Use it.
4692 (+link-static, +link-static-tests): Likewise.
4693 (+link, +link-tests): Likewise.
4694 * Makerules (build-module, build-module-asneeded): Likewise.
4695 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4696 Likewise.
4697 * elf/Makefile ($(objpfx)ld.so): Likewise.
4698
4699 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4700
4701 [BZ #17965]
4702 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4703 both struct timeval and struct timespec.
4704
4705 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4706
4707 [BZ #16560]
4708 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4709 and redefine.
4710 (__ieee754_exp2l): Do not multiply small fractional parts by
4711 M_LN2l.
4712 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4713 small argument.
4714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4715 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4716 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4717 * math/auto-libm-test-in: Add more tests of exp2.
4718 * math/auto-libm-test-out: Regenerated.
4719
4720 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4721
4722 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4723 unaligned path.
4724
4725 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4726
4727 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4728 little endian.
4729
4730 2015-02-12 Andreas Schwab <schwab@suse.de>
4731
4732 [BZ #15790]
4733 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4734 Filter out elision flags from value returned in kind.
4735 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4736 * nptl/tst-pthread-mutexattr.c: New file.
4737
4738 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4739
4740 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4741 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4742 into gnu-gnu, and update comment to refer to abi-tags.
4743
4744 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4745
4746 [BZ #15467]
4747 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4748 (__sincos): Set errno to EDOM for infinite argument.
4749 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4750 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4751 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4752 (__sincosl): Set errno to EDOM for infinite argument.
4753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4754 (__sincosl): Set errno to EDOM for infinite argument.
4755 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4756 (__sincosl): Set errno to EDOM for infinite argument.
4757 * math/libm-test.inc (sincos_test_data): Test errno setting.
4758
4759 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4760
4761 * string/strxfrm_l.c: Remove #define STRCMP.
4762 * string/strcoll_l.c: Remove #define STRLEN.
4763 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4764 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4765
4766 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4767
4768 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4769 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4770 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4771 * sysdeps/mips/mips64/Makefile: ... here.
4772 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4773 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4774 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4775 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4776 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4777 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4778 * sysdeps/mips/mips64/n64/Implies: Likewise.
4779
4780 2015-02-10 Roland McGrath <roland@hack.frob.com>
4781
4782 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4783 <sys/time.h>, <string.h>, and <errno.h>.
4784 (dest_offset, dest_address, value, zero): Remove unused variables.
4785 (ldouble): Remove typedef.
4786 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4787 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4788 1). Fix code style.
4789 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4790 (check): Function removed.
4791 (CHECK): New macro.
4792 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4793 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4794 Don't call set_sigaction_FP and remove_sigaction_FP here.
4795 (ldouble_test): Just use 'long double' as macro argument, no need for
4796 the 'ldouble' typedef.
4797 (do_test): Set up SIGFPE handler at start, using plain signal rather
4798 than sigaction. Fix code style.
4799
4800 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4801
4802 [BZ #17949]
4803 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4804 jump label.
4805
4806 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4807
4808 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4809 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4810
4811 * sysdeps/powerpc/configure.ac: Remove file.
4812 * sysdeps/powerpc/configure: Likewise.
4813
4814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4815 [sysdep_routines]: Remove wordcopy-power6 object.
4816 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4817 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4818 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4819 (__memmove_ppc32): Likewise.
4820 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4821 file.
4822 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4823 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4824 Remove preprocessor.
4825
4826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4827 [sysdep_routines]: Remove wide chars objects.
4828 [wcsmbs]: New rule for wide char objects.
4829
4830 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4831 Remove wordcopy-power6 obejct.
4832 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4833 Use local call for wordcopy and memcpy symbols.
4834 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4835 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4836 implementation for loader.
4837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4838
4839 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4840 Remove wordcopy-power7 object.
4841 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4843 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4844 (_wordcopy_fwd_dest_aligned): Likewise.
4845 (_wordcopy_bwd_aligned): Likewise.
4846 (_wordcopy_bwd_dest_aligned): Likewise.
4847
4848 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4849 Rewrite to call __memmove_ppc instead of include default
4850 implementation.
4851
4852 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4853 Remove wide chars objects.
4854 [wcsmbs]: New rule for wide char objects.
4855
4856 2015-02-09 Andreas Schwab <schwab@suse.de>
4857
4858 [BZ #17912]
4859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4860 in terms of __O_DIRECTORY.
4861
4862 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4863
4864 * time/getdate.c: Include <stdbool.h>.
4865 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4866 call PTR_MANGLE.
4867 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4868 PTR_DEMANGLE.
4869
4870 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4871
4872 Add ersatz _Static_assert on older C hosts
4873 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4874 pre-C11 C platform that is not known to support _Static_assert.
4875
4876 2015-02-07 Richard Braun <rbraun@sceen.net>
4877
4878 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4879 sigstate.
4880 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4881
4882 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4883
4884 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4885 priority against unexistent AIO_PRIO_DELTA_MAX.
4886 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4887 instead of int.
4888 * misc/fchflags.c (fchflags): Likewise.
4889 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4890 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4891 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4892 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4893 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4894 Declare macros.
4895 [__USE_MISC] (chflags, fchflags): Declare functions.
4896 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4897 EINVAL when nfds is greater than FD_SETSIZE.
4898 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4899 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4900 45.
4901 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4902 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4903 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4904 MACH_RCV_TIMED_OUT.
4905 * hurd/hurd/signal.h (_hurd_self_sigstate,
4906 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4907 Explicit casts from void *.
4908 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4909 * abi-tags: Rename gnu-gnu os into gnu.
4910
4911 [BZ #4719]
4912 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4913 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4914 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4915 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4916 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4917 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4918
4919 [BZ #17944]
4920 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4921 duplicates ADDR->sun_path with sockaddr LEN limitation.
4922 * sysdeps/mach/hurd/connect.c: Include <string.h>
4923 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4924 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4925 * sysdeps/mach/hurd/sendto.c: Likewise.
4926 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4927 implementing it by hand.
4928
4929 2015-02-06 Roland McGrath <roland@hack.frob.com>
4930
4931 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4932 Use sfi_breg on ldr.
4933 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4934 Likewise.
4935
4936 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4937 it's defined.
4938 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4939 Test SIGSETXID only if it's defined.
4940
4941 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4942
4943 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4944 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4945
4946 * nptl/tst-align2.c: Moved ...
4947 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4948 * nptl/Makefile (tests): Remove tst-align2.
4949 * sysdeps/unix/sysv/linux/Makefile
4950 [$(subdir) = nptl] (tests): Add tst-align-clone.
4951 * nptl/tst-getpid1.c: Moved ...
4952 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4953 * nptl/tst-getpid2.c: Moved ...
4954 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4955 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4956 * sysdeps/unix/sysv/linux/Makefile
4957 [$(subdir) = nptl] (tests): ... here.
4958 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4959 * sysdeps/unix/sysv/linux/Makefile
4960 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4961
4962 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4963 Drop trailing \n from perror argument. Use return rather than exit.
4964
4965 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4966 on [SA_SIGINFO].
4967 * nptl/tst-cancel21.c (do_test): Likewise.
4968 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4969 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4970 [!SA_SIGINFO]: Make it a stub test.
4971
4972 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4973 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4974
4975 * posix/tst-getlogin.c: Move to ...
4976 * login/tst-getlogin.c: ... here.
4977 * posix/Makefile (tests): Move tst-getlogin to ...
4978 * login/Makefile (tests): ... here.
4979
4980 * libio/tst-atime.c (do_test): Move local variables SV and E
4981 inside [ST_NOATIME] conditional.
4982
4983 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4984
4985 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4986
4987 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4988 (wait_code): New function replaces macro.
4989 Call nanosleep rather than syscall.
4990
4991 * nptl/pt-system.c: Rewritten. Put everything under
4992 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4993 Use IFUNC to redirect when possible.
4994
4995 * nptl/pt-longjmp.c: Rewritten. Put everything under
4996 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4997 Use IFUNC to redirect when possible.
4998
4999 * nptl/pt-fork.c: Rewritten. Put everything under
5000 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5001 Use IFUNC to redirect when possible.
5002 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5003
5004 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5005 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5006 unconditionally nowadays. This included the only reference to
5007 __vdso_clock_gettime that appears outside libc proper.
5008 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5009 Remove version set (containing only __vdso_clock_gettime).
5010 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5011 Add attribute_hidden.
5012 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5013 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5014 libc_hidden_data_def.
5015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5016 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5017
5018 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5019 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5020 setrpcent, and getrpcport to ...
5021 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5022 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5023 getrpcbynumber_r, and getrpcent_r to ...
5024 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5025 * inet/getrpcbyname.c: Moved ...
5026 * sunrpc/getrpcbyname.c: ... here.
5027 * inet/getrpcbyname_r.c: Moved ...
5028 * sunrpc/getrpcbyname_r.c: ... here.
5029 * inet/getrpcbynumber.c: Moved ...
5030 * sunrpc/getrpcbynumber.c: ... here.
5031 * inet/getrpcbynumber_r.c: Moved ...
5032 * sunrpc/getrpcbynumber_r.c: ... here.
5033 * inet/getrpcent.c: Moved ...
5034 * sunrpc/getrpcent.c: ... here.
5035 * inet/getrpcent_r.c: Moved ...
5036 * sunrpc/getrpcent_r.c: ... here.
5037 * inet/Makefile (routines): Move those to ...
5038 * sunrpc/Makefile (routines): ... here.
5039 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5040 the $(subdirs) list.
5041 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5042 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5043 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5044 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5045
5046 * elf/Makefile (routines): Include $(all-dl-routines), not just
5047 $(dl-routines).
5048 (rtld-routines): Likewise. Use = rather than :=.
5049 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5050 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5051 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5052 * sysdeps/arm/Makefile: Likewise.
5053 * sysdeps/i386/Makefile: Likewise.
5054 * sysdeps/x86_64/Makefile: Likewise.
5055 * sysdeps/hppa/Makefile [$(subdir) = elf]
5056 (sysdep_routines, sysdep-rtld-routines): Don't add
5057 $(sysdep-dl-routines) to these.
5058 * sysdeps/ia64/Makefile: Likewise.
5059 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5060 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5061 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5062 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5063 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5064 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5066 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5067 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5068 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5069 these; sysdep-dl-routines alone is enough.
5070
5071 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5072
5073 [BZ #17932]
5074 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5075 where multiplication results in zero and third argument is finite
5076 and nonzero.
5077 * math/auto-libm-test-in: Add more tests of fma.
5078 * math/auto-libm-test-out: Regenerated.
5079
5080 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5081 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5082 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5083 (_FP_CMP_EQ): Likewise.
5084 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5085
5086 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5087 extra argument CHECK_NAN. Redefine as wrapper around
5088 _FP_EXTEND_CNAN.
5089
5090 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5091
5092 * version.h (RELEASE): Set to "stable".
5093 (VERSION): Set to "2.21"
5094 * include/features.h (__GLIBC_MINOR__): Set to 21.
5095
5096 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5097
5098 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5099 Paul Eggert <eggert@cs.ucla.edu>
5100
5101 [BZ #16618]
5102 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5103 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5104 size in bytes. Store needed elements in wpmax. Use needed size
5105 in bytes for extend_alloca.
5106
5107 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5108
5109 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5110 binutls 2.25, and texinfo 5.2.
5111 * INSTALL: Regenerate.
5112 * sysdeps/nios2/configure: Regenerate.
5113 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5114 * manual/contrib.texi: Update.
5115 * po/be.po: Update.
5116 * po/bg.po: Update.
5117 * po/ca.po: Update.
5118 * po/cs.po: Update.
5119 * po/da.po: Update.
5120 * po/de.po: Update.
5121 * po/el.po: Update.
5122 * po/eo.po: Update.
5123 * po/es.po: Update.
5124 * po/fi.po: Update.
5125 * po/fr.po: Update.
5126 * po/gl.po: Update.
5127 * po/hr.po: Update.
5128 * po/hu.po: Update.
5129 * po/ia.po: Update.
5130 * po/id.po: Update.
5131 * po/it.po: Update.
5132 * po/ja.po: Update.
5133 * po/ko.po: Update.
5134 * po/lt.po: Update.
5135 * po/nb.po: Update.
5136 * po/nl.po: Update.
5137 * po/pl.po: Update.
5138 * po/pt_BR.po: Update.
5139 * po/ru.po: Update.
5140 * po/rw.po: Update.
5141 * po/sk.po: Update.
5142 * po/sl.po: Update.
5143 * po/sv.po: Update.
5144 * po/tr.po: Update.
5145 * po/uk.po: Update.
5146 * po/vi.po: Update.
5147 * po/zh_CN.po: Update.
5148 * po/zh_TW.po: Update.
5149
5150 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5151 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5152 * sysdeps/hppa/dl-irel.h: Remove #warning.
5153 * sysdeps/hppa/entry.h: Provide prototype for
5154 __canonicalize_funcptr_for_compare and cast argument.
5155 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5156 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5157 * sysdeps/hppa/sotruss-lib.c: New file.
5158 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5159 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5160 (atomic_compare_and_exchange_bool_acq): Likewise.
5161 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5162 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5163
5164 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5165 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5166 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5167
5168 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5169
5170 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5171 called function in non-PIC case.
5172
5173 2015-01-31 David S. Miller <davem@davemloft.net>
5174
5175 * sysdeps/sparc/sparc32/bits/atomic.h
5176 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5177 unlock not after it.
5178 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5179 volatile register usage warnings from the compiler.
5180
5181 * sysdeps/sparc/nptl/sem_init.c: Delete.
5182 * sysdeps/sparc/nptl/sem_post.c: Delete.
5183 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5184 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5185 * sysdeps/sparc/sparc32/sem_init.c: New file.
5186 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5187 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5188 padding explicitly initialized.
5189 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5190 padding for in-semaphore spinlock.
5191 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5192 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5193 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5194 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5195 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5196 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5197 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5198 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5199 version.
5200 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5201 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5202
5203 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 [BZ #17801]
5206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5207 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5208 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5209 New.
5210 (index_AVX_Fast_Unaligned_Load): Likewise.
5211 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5212 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5213 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5214 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5215 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5216 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5217 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5218 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5219 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5220
5221 2015-01-29 Andreas Schwab <schwab@suse.de>
5222
5223 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5224
5225 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5226
5227 [BZ #17892]
5228 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5229
5230 2015-01-28 Martin Sebor <msebor@redhat.com>
5231
5232 * math/README.libm-test: Clarify. Add "How to read the test output."
5233
5234 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5235
5236 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5237 Define to 0.
5238
5239 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5240
5241 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5242 (__HAVE_64B_ATOMICS): Define to 0.
5243
5244 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5245
5246 [BZ #17885]
5247 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5248 value to set as new flag.
5249
5250 [BZ #16576]
5251 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5252 and use _ARCH_PPCSQ instead.
5253 (__ieee754_sqrt): Likewise.
5254 (__ieee754_sqrtf): Likewise.
5255 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5256 _ARCH_PPCSQ is defined.
5257 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5258 fsqrt instruction.
5259 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5260 _ARCH_PPCSQ is defined.
5261 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5262 fsqrts instruction.
5263 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5264
5265 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5266
5267 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5268 bug (GCC BZ #64739).
5269
5270 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5271
5272 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5273 Mark _retval as used.
5274 (lll_futex_wake_unlock): Likewise.
5275 (lll_futex_timed_wait_requeue_pi): Likewise.
5276
5277 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5278 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5279 register variables.
5280
5281 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5282 libm_hidden_def.
5283
5284 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5285 (__bswap_64): Mark as __always_inline.
5286
5287 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5288
5289 [BZ #15378]
5290 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5291 when none of the search directories exist.
5292
5293 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5294
5295 [BZ #17869]
5296 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5297 power8 in .machine directive.
5298
5299 [BZ #17868]
5300 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5301 set dependency from opd value.
5302
5303 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5304
5305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5306 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5307 architecture.
5308
5309 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5310
5311 [BZ #17870]
5312 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5313 with uint64_t.
5314 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5315 (uint64_t) 1.
5316 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5317 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5318 Replace 1UL with (uint64_t) 1.
5319 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5320 int with uint64_t.
5321
5322 2015-01-23 Roland McGrath <roland@hack.frob.com>
5323
5324 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5325 (if_freenameindex): Likewise.
5326
5327 * resource/getrlimit64.c: Add missing libc_hidden_def.
5328
5329 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5330
5331 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5332 __label__.
5333 (_FP_FMA): Likewise.
5334 (_FP_TO_INT_ROUND): Likewise.
5335 (_FP_FROM_INT): Likewise.
5336
5337 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5338
5339 [BZ #16418]
5340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5341 Make code racy and cancel safe.
5342
5343 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5344
5345 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5346 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5347 attribution.
5348
5349 * pwd/tst-getpw.c: Rewrite.
5350
5351 [BZ #17702]
5352 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5353 (modules-names): Add moddummy1 and moddummy2.
5354 ($(objpfx)tst-rec-dlopen): Define.
5355 * dlfcn/moddummy1.c: New file.
5356 * dlfcn/moddummy2.c: New file.
5357 * dlfcn/tst-rec-dlopen.c: New file.
5358 * elf/dl-cache.c (_dl_load_cache_lookup):
5359 Return char*. Copy result with alloca/strcpy/strdup.
5360 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5361 returns char*. Free cached. If not saving realname
5362 free cached.
5363 * elf/dl-open.c (dl_open_worker): Do not assert that
5364 _r_debug->r_state is RT_CONSISTENT.
5365 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5366 returns char*.
5367
5368 2015-01-21 Torvald Riegel <triegel@redhat.com>
5369 Carlos O'Donell <carlos@redhat.com>
5370
5371 [BZ #12674]
5372 * nptl/sem_waitcommon.c: New file.
5373 * nptl/sem_wait.c: Include sem_waitcommon.c.
5374 (__sem_wait_cleanup, do_futex_wait): Remove.
5375 (__new_sem_wait): Adapt.
5376 (__new_sem_trywait): New function.
5377 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5378 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5379 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5380 (sem_timedwait): Adapt.
5381 * nptl/sem_post.c (__new_sem_post): Adapt.
5382 (futex_wake): New function.
5383 (__old_sem_post): Add release MO fence.
5384 * nptl/sem_open.c (sem_open): Adapt.
5385 * nptl/sem_init.c (__new_sem_init): Adapt.
5386 (futex_private_if_supported): New function.
5387 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5388 (__old_sem_getvalue): Add using previous code.
5389 * sysdeps/nptl/internaltypes.h: Adapt.
5390 * nptl/tst-sem13.c (do_test): Adapt.
5391 * nptl/tst-sem11.c (main): Adapt.
5392 * nptl/sem_trywait.c: Remove.
5393 * nptl/DESIGN-sem.txt: Remove.
5394 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5395 (gen-as-const-headers): Remove structsem.sym.
5396 * nptl/structsem.sym: Remove.
5397 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5398 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5399 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5400 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5401 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5402 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5403 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5404 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5405 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5406 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5407 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5408 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5409 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5410 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5411 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5412 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5413 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5414 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5415 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5416 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5417 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5418 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5419
5420 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5421
5422 * INSTALL: Regenerated.
5423
5424 * po/libc.pot: Regenerated.
5425
5426 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5427 Sandra Loosemore <sandra@codesourcery.com>
5428 Andrew Jenner <andrew@codesourcery.com>
5429 Joseph Myers <joseph@codesourcery.com>
5430 Nathan Sidwell <nathan@codesourcery.com>
5431
5432 * NEWS: Mention new Nios II port.
5433 * sysdeps/nios2/Implies: New file.
5434 * sysdeps/nios2/Makefile: New file.
5435 * sysdeps/nios2/Subdirs: New file.
5436 * sysdeps/nios2/Versions: New file.
5437 * sysdeps/nios2/__longjmp.S: New file.
5438 * sysdeps/nios2/abort-instr.h: New file.
5439 * sysdeps/nios2/backtrace.c: New file.
5440 * sysdeps/nios2/bits/endian.h: New file.
5441 * sysdeps/nios2/bits/fenv.h: New file.
5442 * sysdeps/nios2/bits/link.h: New file.
5443 * sysdeps/nios2/bits/setjmp.h: New file.
5444 * sysdeps/nios2/bsd-_setjmp.S: New file.
5445 * sysdeps/nios2/bsd-setjmp.S: New file.
5446 * sysdeps/nios2/configure: New generated file.
5447 * sysdeps/nios2/configure.ac: New file.
5448 * sysdeps/nios2/crti.S: New file.
5449 * sysdeps/nios2/crtn.S: New file.
5450 * sysdeps/nios2/dl-init.c: New file.
5451 * sysdeps/nios2/dl-machine.h: New file.
5452 * sysdeps/nios2/dl-sysdep.h: New file.
5453 * sysdeps/nios2/dl-tls.h: New file.
5454 * sysdeps/nios2/dl-trampoline.S: New file.
5455 * sysdeps/nios2/gccframe.h: New file.
5456 * sysdeps/nios2/gmp-mparam.h: New file.
5457 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5458 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5459 * sysdeps/nios2/ldsodefs.h: New file.
5460 * sysdeps/nios2/libc-tls.c: New file.
5461 * sysdeps/nios2/libm-test-ulps: New file.
5462 * sysdeps/nios2/machine-gmon.h: New file.
5463 * sysdeps/nios2/math-tests.h: New file.
5464 * sysdeps/nios2/math_private.h: New file.
5465 * sysdeps/nios2/memusage.h: New file.
5466 * sysdeps/nios2/nptl/Makefile: New file.
5467 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5468 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5469 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5470 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5471 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5472 * sysdeps/nios2/nptl/tls.h: New file.
5473 * sysdeps/nios2/preconfigure: New file.
5474 * sysdeps/nios2/s_fma.c: New file.
5475 * sysdeps/nios2/s_fmaf.c: New file.
5476 * sysdeps/nios2/setjmp.S: New file.
5477 * sysdeps/nios2/sfp-machine.h: New file.
5478 * sysdeps/nios2/sotruss-lib.c: New file.
5479 * sysdeps/nios2/stackguard-macros.h: New file.
5480 * sysdeps/nios2/stackinfo.h: New file.
5481 * sysdeps/nios2/start.S: New file.
5482 * sysdeps/nios2/sysdep.h: New file.
5483 * sysdeps/nios2/tls-macros.h: New file.
5484 * sysdeps/nios2/tst-audit.h: New file.
5485 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5486 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5487 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5488 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5489 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5490 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5491 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5492 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5493 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5494 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5495 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5496 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5497 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5498 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5499 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5500 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5501 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5502 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5503 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5504 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5505 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5506 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5507 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5508 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5509 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5510 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5511 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5512 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5513 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5514 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5515 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5516 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5517 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5518 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5519 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5520 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5521 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5522 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5523 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5524 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5525 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5526 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5527 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5528 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5529
5530 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5531
5532 [BZ #17844]
5533 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5534 (getutent): Use weak_alias in non SHARED case
5535 and default_symbol_version in SHARED case.
5536 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5537 (getutent_r, pututline): Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5539 (getutid): Likewise.
5540 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5541 (getutid_r): Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5543 (getutline): Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5545 (getutline_r): Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5547 (updwtmp): Likewise.
5548
5549 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5550
5551 [BZ #17848]
5552 * sysdeps/s390/s390-32/memcmp.S
5553 (memcmp_g5): Rename to __memcmp_g5.
5554 * sysdeps/s390/s390-32/memcpy.S
5555 (memcpy_g5): Rename to __memcpy_g5.
5556 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5557 (memcpy_mvcle) Rename to __memcpy_mvcle.
5558 * sysdeps/s390/s390-32/memset.S
5559 (memset_g5): Rename to __memset_g5.
5560 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5561 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5562 and use prefixed functions.
5563 * sysdeps/s390/s390-32/multiarch/memcmp.S
5564 (memcmp_z196): Rename to __memcmp_z196.
5565 (memcmp_z10): Rename to __memcmp_z10.
5566 (memcmp): Set alias to __memcmp_g5.
5567 (bcmp): Set alias to __memcmp_g5.
5568 * sysdeps/s390/s390-32/multiarch/memcpy.S
5569 (memcpy_z196): Rename to __memcpy_z196.
5570 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5571 (memcpy_z10): Rename to __memcpy_z10.
5572 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5573 (memcpy): Set alias to __memcpy_g5.
5574 * sysdeps/s390/s390-32/multiarch/memset.S
5575 (memset_z196): Rename to __memset_z196.
5576 Jump to __memset_mvcle instead of memset_mvcle.
5577 (memset_z10): Rename to __memset_z10.
5578 Jump to __memset_mvcle instead of memset_mvcle.
5579 (memset_mvcle) Rename to __memset_mvcle.
5580 (memset): Set alias to __memset_g5.
5581 * sysdeps/s390/s390-64/memcmp.S
5582 (memcmp_z900): Rename to __memcmp_z900.
5583 * sysdeps/s390/s390-64/memcpy.S
5584 (memcpy_z900): Rename to __memcpy_z900.
5585 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5586 (memcpy_mvcle) Rename to __memcpy_mvcle.
5587 * sysdeps/s390/s390-64/memset.S
5588 (memset_z900): Rename to __memset_z900.
5589 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5590 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5591 and use prefixed functions.
5592 * sysdeps/s390/s390-64/multiarch/memcmp.S
5593 (memcmp_z196): Rename to __memcmp_z196.
5594 (memcmp_z10): Rename to __memcmp_z10.
5595 (memcmp): Set alias to __memcmp_z900.
5596 (bcmp): Set alias to __memcmp_z900.
5597 * sysdeps/s390/s390-64/multiarch/memcpy.S
5598 (memcpy_z196): Rename to __memcpy_z196.
5599 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5600 (memcpy_z10): Rename to __memcpy_z10.
5601 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5602 (memcpy): Set alias to __memcpy_z900.
5603 * sysdeps/s390/s390-64/multiarch/memset.S
5604 (memset_z196): Rename to __memset_z196.
5605 Jump to __memset_mvcle instead of memset_mvcle.
5606 (memset_z10): Rename to __memset_z10.
5607 Jump to __memset_mvcle instead of memset_mvcle.
5608 (memset_mvcle) Rename to __memset_mvcle.
5609 (memset): Set alias to __memset_z900.
5610
5611 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #17748]
5614 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5615 __fesetenv instead of fesetenv.
5616
5617 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5620 macro.
5621
5622 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5623
5624 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5625 regression on LE.
5626
5627 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5628 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5630 strncmp-power8 object.
5631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5632 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5633 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5634 * NEWS: Update.
5635
5636 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5637 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638
5639 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5640 trailing byte check.
5641
5642 2015-01-13 David S. Miller <davem@davemloft.net>
5643
5644 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5645
5646 2015-01-13 Roland McGrath <roland@hack.frob.com>
5647
5648 * login/logout.c (logout): Use memset rather than bzero.
5649 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5650 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5651 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5652 (_gethtbyaddr): Likewise.
5653 * locale/programs/simple-hash.c (bcopy): Macro removed.
5654
5655 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5656
5657 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5658 Add strcmp-power8 object.
5659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5660 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5661 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5662 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5663 __strcmp_power8 implementation.
5664 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5665 * NEWS: Update.
5666
5667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5668 Add strncpy-power8 and stpncpy-power8 objects.
5669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5671 implementations.
5672 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5673 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5674 __stpncpy_power8 implementation.
5675 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5676 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5677 __strncpy_power8 implementation.
5678 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5679 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5680 * NEWS: Update.
5681
5682 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5683 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5684 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5685
5686 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5687 strncat-power8 object.
5688 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5689 __strcat_power8 implementation.
5690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5691 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5692 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5693 optimized strcat for power8.
5694
5695 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5696 strcpy-power8 and stpcpy-power8 objects.
5697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5698 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5699 implementations.
5700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5701 multiarch stpcpy implementation for POWER8.
5702 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5703 multiarch strcpy implementation for POWER8.
5704 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5705 __strcpy_power8 function.
5706 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5707 stpcpy for POWER8.
5708 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5709 strcpy for POWER8.
5710 * NEWS: Update.
5711
5712 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5713
5714 [BZ #16009]
5715 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5716 weights and rules. Use do_xfrm_cached if data fits in cache,
5717 do_xfrm otherwise. Moved former main loop to...
5718 * (do_xfrm_cached): New function.
5719 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5720 find_idx, find_position and stack_push.
5721 * (find_idx): New function.
5722 * (find_position): Likewise.
5723 * localedata/sort-test.sh: Added test run for do_xfrm.
5724 * localedata/xfrm-test.c (main): Added command line option
5725 -nocache to run the test with strings that are too large for
5726 the STRXFRM cache.
5727
5728 2015-01-13 Torvald Riegel <triegel@redhat.com>
5729
5730 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5731 variable to lll_futex_wake call, not the value itself.
5732
5733 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5734
5735 [BZ #17803]
5736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5737 twom64. Adjust value to 0x1p-64L.
5738 (__scalblnl): Only return standard underflowing result for K <=
5739 -64 not K <= -63; adjust exponent for underflowing result by 64
5740 not 63.
5741 * math/libm-test.inc (scalbn_test_data): Add more tests.
5742 (scalbln_test_data): Likewise.
5743
5744 [BZ #17834]
5745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5746 0x1p63L.
5747 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5748 not HX.
5749 * math/libm-test.inc (scalbn_test_data): Add more tests.
5750 (scalbln_test_data): Likewise.
5751
5752 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5753 Stefani Seibold <stefani@seibold.net>
5754
5755 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5756 (sysdep_routines): Add dl-vdso here, ...
5757 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5758 (sysdep_routines): ... not here.
5759 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5760 fallback when vDSO is not presented.
5761 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5762 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5763 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5764 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5765 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5767 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5768 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5769 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5771 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5772 fallback configurable symbol when vDSO is not available.
5773 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5774 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5775 be able to redefine fallback symbol when vDSO is not available.
5776 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5777 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5778
5779 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5782 (TLS_INIT_TP): Add tm_capable initialization.
5783 (TLS_DEFINE_INIT_TP): Likewise.
5784 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5785 TCB.
5786 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5787 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5788 calculation.
5789 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5790 transactoion is lock elision is built and TCB tm_capable is set.
5791 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5793 (INTERNAL_SYSCALL_NCS): Likewise.
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5795 (INTERNAL_SYSCALL_NCS): Likewise.
5796 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5797
5798 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5799 for powerpc.
5800 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5801 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5802 and remove it for 32 bits case.
5803 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5804 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5805 initialization.
5806 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5807 Disable lock elision with rdlocks if elision is not available.
5808
5809 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5810 (sysdep_routines): Add lock elision objects.
5811 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5812 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5813 [pthread_mutex_t] (__elision): Add field.
5814 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5815 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5816 elision definitions for powerpc.
5817 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5818 implementation of lock elision for powerpc.
5819 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5820 implementation of timed lock elision for powerpc.
5821 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5822 implementation of trylock with lock elision for powerpc.
5823 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5824 implementaion of unlock for lock elision for powerpc.
5825 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5826 automatic enable lock elision for mutexes.
5827 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5828 transaction execution definitions for powerpc.
5829 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5830 definitions.
5831 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5832 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5833 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5835 * NEWS: Update.
5836
5837 2015-01-09 Roland McGrath <roland@hack.frob.com>
5838
5839 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5840 for #include of <shm-directory.h>.
5841
5842 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5843
5844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5845 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5846
5847 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5848
5849 [BZ #17791]
5850 * NEWS: Mention bug fix.
5851 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5852 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5853 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5854
5855 2015-01-09 Torvald Riegel <triegel@redhat.com>
5856
5857 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5858
5859 2015-01-09 Torvald Riegel <triegel@redhat.com>
5860
5861 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5862
5863 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5864
5865 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5866 pointer and cast to uintptr_t.
5867
5868 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5869
5870 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5871 removed.
5872 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5873
5874 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5875
5876 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5877 of 0.
5878
5879 2015-01-08 Roland McGrath <roland@hack.frob.com>
5880
5881 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5882 <nptl/pthreadP.h> instead.
5883 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5884
5885 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5886 already defined.
5887 [__SIGRTMIN] (init): Function removed.
5888 [__SIGRTMIN] (initialized): Variable removed.
5889 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5890 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5891 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5892 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5893 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5894 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5895 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5896 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5897 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5898 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5899 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5900 * sysdeps/nptl/allocrtsig.c: New file.
5901 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5902 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5903 * sysdeps/generic/testrtsig.h: File removed.
5904
5905 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5906 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5907
5908 * nptl/nptl-init.c (pthread_functions): Conditionalize
5909 .ptr__nptl_setxid initialization on [SIGSETXID].
5910
5911 * sysdeps/nptl/sys/procfs.h: New file.
5912 * nptl_db/Makefile (headers): Add it.
5913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5914
5915 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5916 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5917 * nptl/pthread_attr_setaffinity.c: Include it.
5918 * nptl/pthread_setattr_default_np.c: Likewise.
5919 * nptl/check-cpuset.h: New file.
5920
5921 2015-01-08 Richard Henderson <rth@redhat.com>
5922
5923 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5924 (CFLAGS-tst-execstack-prog.c): Likewise.
5925 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5926
5927 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5928 Sandra Loosemore <sandra@codesourcery.com>
5929 Andrew Jenner <andrew@codesourcery.com>
5930 Joseph Myers <joseph@codesourcery.com>
5931 Nathan Sidwell <nathan@codesourcery.com>
5932
5933 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5934 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5935 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5936 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5937 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5938 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5939 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5940 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5941 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5942 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5943 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5944 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5945 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5946 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5947 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5948 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5949 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5950
5951 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952
5953 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5954 timespec struct member in syscall macro.
5955 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5956 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5957 first timeval struct member in syscall macro.
5958 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5959
5960 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5961
5962 [BZ #17748]
5963 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5964 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5965 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5966 __feupdateenv and define as weak alias of __feupdateenv. Use
5967 libm_hidden_weak.
5968 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5969 libm_hidden_def.
5970 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5971 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5972 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5973 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5974 libm_hidden_def.
5975 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5976 __feupdateenv and define as weak alias of __feupdateenv. Use
5977 libm_hidden_weak.
5978 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5979 libm_hidden_def.
5980 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5981 __feupdateenv and define as weak alias of __feupdateenv. Use
5982 libm_hidden_weak.
5983 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5984 libm_hidden_def.
5985 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5986 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5987 (__feupdateenv): Likewise.
5988 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5989 __feupdateenv and define as weak alias of __feupdateenv. Use
5990 libm_hidden_weak.
5991 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5992 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5993 libm_hidden_def.
5994 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5995 function.
5996 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5997 libm_hidden_def.
5998 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5999 __feupdateenv instead of feupdateenv.
6000 (default_libc_feupdateenv_test): Likewise.
6001 (libc_feresetround_ctx): Likewise.
6002
6003 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004
6005 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6006 prototype.
6007
6008 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6009
6010 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6011 COLL_SYM in a couple of places to avoid uninitialized variable
6012 wanings on tilegx gcc 4.8.2.
6013
6014 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6015
6016 * sysdeps/aarch64/strcpy.S: New file.
6017 * sysdeps/aarch64/stpcpy.S: New file.
6018 * NEWS: Updated.
6019
6020 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6021
6022 * sysdeps/aarch64/strrchr.S: New file.
6023 * NEWS: Updated.
6024
6025 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6026
6027 [BZ #17658]
6028 * stdlib/setenv.c: Fix memory leak when setting large,
6029 duplicate string.
6030
6031 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6032
6033 [BZ #17273]
6034 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6035 and tabs from buffer before parsing fstab entry.
6036 * misc/tst-mntent.c (main): Add test for mount entry with
6037 trailing spaces and tabs.
6038
6039 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6040
6041 [BZ #17748]
6042 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6043 * math/fesetround.c (fesetround): Rename to __fesetround and
6044 define as weak alias of __fesetround. Use libm_hidden_weak.
6045 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6046 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6047 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6048 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6049 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6050 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6051 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6052 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6053 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6054 __fesetround_inline.
6055 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6056 __fesetround_inline instead of __fesetround.
6057 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6058 __fesetround and define as weak alias of __fesetround. Use
6059 libm_hidden_weak. Call __fesetround_inline instead of
6060 __fesetround.
6061 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6062 __fesetround and define as weak alias of __fesetround. Use
6063 libm_hidden_weak.
6064 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6065 Likewise.
6066 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6067 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6068 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6069 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6070 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6071 __fesetround and define as weak alias of __fesetround. Use
6072 libm_hidden_weak.
6073 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6074 __fesetround instead of fesetround.
6075 (default_libc_feholdexcept_setround): Likewise.
6076 (libc_feholdsetround_ctx): Likewise.
6077 (libc_feholdsetround_noex_ctx): Likewise.
6078
6079 [BZ #17748]
6080 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6081 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6082 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6083 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6084 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6085 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6086 define as weak alias of __fesetenv. Use libm_hidden_weak.
6087 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6088 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6089 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6090 define as weak alias of __fesetenv. Use libm_hidden_weak.
6091 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6092 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6093 define as weak alias of __fesetenv. Use libm_hidden_weak.
6094 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6095 libm_hidden_def.
6096 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6097 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6098 Likewise.
6099 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6100 define as weak alias of __fesetenv. Use libm_hidden_weak.
6101 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6102 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6103 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6104 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6105 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6106 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6107 __fesetenv instead of fesetenv.
6108 (libc_feresetround_noex_ctx): Likewise.
6109 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6110 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6111 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6112 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6113 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6114 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6115 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6116 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6117 (__feupdateenv): Likewise.
6118 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6119 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6120 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6121 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6122
6123 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6124
6125 [BZ #17806]
6126 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6127 addresses have been freed.
6128
6129 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6130
6131 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6132 and nservall.
6133
6134 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6135
6136 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6137 Clean up check_pf allocation pattern. addresses
6138
6139 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
6141 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6142 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6143 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6144 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6145 * nptl/pthread_join.c (pthread_join): Likewise.
6146 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6147 * sysdeps/posix/waitid.c (__waitid): Likewise.
6148 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6149 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6150 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6151 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6153 Likewise.
6154 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6155 (__libc_pread64): Likewise.
6156 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6157 (__libc_pwrite): Likewise.
6158 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6159 (__libc_pwrite64): Likewsie.
6160 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6161 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6162 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6163 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6164 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6165 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6166 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6168 Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6170 (__libc_pread64): Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6174 (__libc_pwrite64): Likewise.
6175 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6176 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6177 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6178 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6179 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6180 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6181 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6182 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6183 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6184 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6185 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6186 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6187 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6188 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6189 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6190 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6191 Likewise.
6192
6193 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6194
6195 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6196 (CFLAGS-test-double.c): Likewise.
6197 (CFLAGS-test-ldouble.c): Likewise.
6198 (CPPFLAGS-test-ifloat.c): Likewise.
6199 (CPPFLAGS-test-idouble.c): Likewise.
6200 (CPPFLAGS-test-ildoubl.c): Likewise.
6201 (CFLAGS-test-test-fenv.c): Remove variable.
6202 (CFLAGS-test-misc.c): Likewise.
6203
6204 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 [BZ #17797]
6207 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6208 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6209 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6210 CLOCKS_PER_SEC == 1000000.
6211 * time/clocktest.c (main): Replace %ld with %jd and cast to
6212 intmax_t.
6213
6214 2015-01-05 Roland McGrath <roland@hack.frob.com>
6215
6216 * sysdeps/generic/unwind-resume.h: New file.
6217 * sysdeps/gnu/unwind-resume.c: Include it.
6218 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6219 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6220 argument list.
6221 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6222 global rather than static.
6223 (_Unwind_Resume): Update user.
6224 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6225 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6226 rather than static. Add __attribute__ ((cold)).
6227 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6228 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6229 * sysdeps/arm/arm-unwind-resume.S: New file.
6230 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6231 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6232 * sysdeps/arm/Makefile [$(subdir) = csu]
6233 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6234 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6235 Add rt-arm-unwind-resume.
6236 [$(subdir) = nptl]
6237 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6238 Add pt-arm-unwind-resume.
6239 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6240 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6241
6242 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6243
6244 [BZ #17748]
6245 * include/fenv.h (__feholdexcept): Declare. Use
6246 libm_hidden_proto.
6247 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6248 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6249 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6250 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6251 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6252 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6253 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6254 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6255 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6256 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6257 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6258 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6259 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6260 (feholdexcept): Likewise.
6261 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6262 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6263 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6264 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6265 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6266 __feholdexcept instead of feholdexcept.
6267 (default_libc_feholdexcept_setround): Likewise.
6268
6269 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6270
6271 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6272 to avoid using stl/str to align destination.
6273
6274 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6275
6276 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6277
6278 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6279
6280 [BZ #17796]
6281 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6282 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6283 Define as weak alias not strong alias.
6284
6285 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6286
6287 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6288 bltzal with addiupc.
6289 (RTLD_START): Ditto.
6290
6291 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6292
6293 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6294 for __vdso_* functions in declarations.
6295 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6296 definitions.
6297 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6298 INTERNAL_VSYSCALL): Use struct return types to check for error.
6299
6300 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6301 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6302 function with cast from llround().
6303 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6304 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6305 Define.
6306
6307 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #17793]
6310 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6311 Define as weak alias not strong alias.
6312
6313 [BZ #17635]
6314 * ctype/ctype-c99.c: New file. isblank implementation moved from
6315 ...
6316 * ctype/ctype-extn.c: ... here.
6317 (__isblank_l): Move to ...
6318 * ctype/ctype-c99_l.c: ... here. New file.
6319 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6320 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6321 Remove variable.
6322 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6323 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6324 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6325 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6326 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6327
6328 [BZ #17777]
6329 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6330 (posix_fadvise64): Define as weak alias not strong alias.
6331 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6332 (posix_fallocate64): Likewise.
6333 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6334 Remove variable.
6335 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6336 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6337 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6338 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6339 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6340
6341 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6342
6343 [BZ #16191]
6344 * NEWS: Mention bug fix.
6345 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6346 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6347 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6348 (HOST_STACK_END_ADDR): Likewise.
6349
6350 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6351
6352 [BZ #17748]
6353 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6354 * math/fegetround.c (fegetround): Rename to __fegetround and
6355 define as weak alias of __fegetround. Use libm_hidden_weak.
6356 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6357 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6358 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6359 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6360 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6361 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6362 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6363 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6364 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6365 Undefine after rather than before function definition; use
6366 parentheses around function name in definition.
6367 (__fegetround): Also undefine macro after function definition.
6368 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6369 __fegetround and define as weak alias of __fegetround. Use
6370 libm_hidden_weak. Do not undefine as macro.
6371 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6372 Likewise.
6373 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6374 __fegetround and define as weak alias of __fegetround. Use
6375 libm_hidden_weak.
6376 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6377 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6378 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6379 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6380 __fegetround and define as weak alias of __fegetround. Use
6381 libm_hidden_weak.
6382 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6383 __fegetround instead of fegetround.
6384
6385 [BZ #17782]
6386 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6387 Condition macro definition on [__USE_MISC].
6388
6389 [BZ #17781]
6390 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6391 (struct sigaction): Change type of sa_flags field to int.
6392
6393 [BZ #17780]
6394 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6395 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6396 __glibc_reserved0.
6397
6398 * nptl/version.c (banner): Use single year in copyright notice.
6399
6400 * NEWS: Update copyright dates.
6401 * catgets/gencat.c (print_version): Likewise.
6402 * csu/version.c (banner): Likewise.
6403 * debug/catchsegv.sh: Likewise.
6404 * debug/pcprofiledump.c (print_version): Likewise.
6405 * debug/xtrace.sh (do_version): Likewise.
6406 * elf/ldconfig.c (print_version): Likewise.
6407 * elf/ldd.bash.in: Likewise.
6408 * elf/pldd.c (print_version): Likewise.
6409 * elf/sotruss.sh: Likewise.
6410 * elf/sprof.c (print_version): Likewise.
6411 * iconv/iconv_prog.c (print_version): Likewise.
6412 * iconv/iconvconfig.c (print_version): Likewise.
6413 * locale/programs/locale.c (print_version): Likewise.
6414 * locale/programs/localedef.c (print_version): Likewise.
6415 * login/programs/pt_chown.c (print_version): Likewise.
6416 * malloc/memusage.sh (do_version): Likewise.
6417 * malloc/memusagestat.c (print_version): Likewise.
6418 * malloc/mtrace.pl: Likewise.
6419 * manual/libc.texinfo: Likewise.
6420 * nptl/version.c (banner): Likewise.
6421 * nscd/nscd.c (print_version): Likewise.
6422 * nss/getent.c (print_version): Likewise.
6423 * nss/makedb.c (print_version): Likewise.
6424 * posix/getconf.c (main): Likewise.
6425 * scripts/test-installation.pl: Likewise.
6426 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6427
6428 2015-01-02 Will Newton <will.newton@linaro.org>
6429
6430 * sysdeps/arm/armv7/configure: Removed.
6431 * sysdeps/arm/armv7/configure.ac: Likewise.
6432
6433 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6434
6435 * All files with FSF copyright notices: Update copyright dates
6436 using scripts/update-copyrights.
6437 * intl/plural.c: Regenerated.
6438 * locale/programs/charmap-kw.h: Likewise.
6439 * locale/programs/locfile-kw.h: Likewise.
6440
6441 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6442
6443 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6444
6445 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6446
6447 [BZ #17748]
6448 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6449 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6450 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6451 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6452 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6453 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6454 define as weak alias of __fegetenv. Use libm_hidden_weak.
6455 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6456 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6457 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6458 define as weak alias of __fegetenv. Use libm_hidden_weak.
6459 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6460 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6461 define as weak alias of __fegetenv. Use libm_hidden_weak.
6462 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6463 libm_hidden_def.
6464 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6465 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6466 Likewise.
6467 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6468 define as weak alias of __fegetenv. Use libm_hidden_weak.
6469 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6470 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6471 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6472 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6473 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6474 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6475 __fegetenv instead of fegetenv.
6476 (libc_feholdsetround_noex_ctx): Likewise.
6477
6478 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6479
6480 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6481 (Elf_MIPS_ABIFlags_v0): New structure.
6482 (EF_MIPS_FP64): Define.
6483 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6484 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6485 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6486 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6487 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6488 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6489 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6490 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6491 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6492 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6493 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6494 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6495 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6496 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6497 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6498 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6499 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6500 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6501 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6502 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6503 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6504 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6505 field.
6506 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6507 EF_MIPS_FP64.
6508 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6509 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6510 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6511 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6512 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6513 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6514 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6515 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6516 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6517 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6518 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6519 record the current FP ABI extension.
6520 (mips-mode-switch): Define to show if kernel headers support mode
6521 switching.
6522 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6523 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6524 supported SYSV ABI version to 3.
6525 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6526 feature.
6527
6528 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6529 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6530
6531 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6532 path.
6533 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6534
6535 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6536
6537 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6538 __fegetround and redefine to call __fegetround. Remove condition
6539 on [!__NO_MATH_INLINES].
6540 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6541 function.
6542 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6543 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6544 Remove macro.
6545 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6546 instead of <fenv_libc.h>.
6547 (__llrintl): Call fegetround instead of __fegetround.
6548 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6549 instead of <fenv_libc.h>.
6550 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6551 (__lrintl): Call fegetround instead of __fegetround.
6552 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6553 instead of <fenv_libc.h>.
6554 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6555 (__rintl): Call fegetround instead of __fegetround.
6556
6557 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6558
6559 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6560 arrays.
6561
6562 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 [BZ #17775]
6565 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6566 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6567 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6568
6569 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6570
6571 * sysdeps/i386/tls-macros.h: Include <features.h>.
6572 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6573 (TLS_IE): Likewise.
6574 (TLS_LD): Likewise.
6575 (TLS_GD): Likewise.
6576 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6577 define for GCC >= 5.0.
6578
6579 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6580
6581 * math/test-fenv.c (test_single_exception, set_single_exc,
6582 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6583 feexcp_mask_test, feenable_test, fe_single_test): Add
6584 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6585 case where they are not used.
6586 * math/libm-test.inc: Likewise.
6587 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6588 unused in the absence of FP rounding/exception support.
6589 * stdio-common/tst-printf-round.c: Likewise.
6590 * stdlib/tst-strtod-round.c: Likewise.
6591 * stdlib/tst-strtod-underflow.c: Likewise.
6592
6593 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6594
6595 [BZ #17723]
6596 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6597 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6598 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6599 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6600 libm_hidden_weak.
6601 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6602 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6603 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6604 libm_hidden_def.
6605 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6606 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6607 libm_hidden_weak.
6608 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6609 Likewise.
6610 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6611 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6612 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6613 libm_hidden_weak.
6614 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6615 libm_hidden_def.
6616 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6617 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6618 (__feraiseexcept): Likewise.
6619 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6620 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6621 libm_hidden_weak.
6622 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6623 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6624 libm_hidden_def.
6625 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6626 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6627 Use libm_hidden_def.
6628 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6629 libm_hidden_def.
6630 (feraiseexcept): Define as weak not strong alias. Use
6631 libm_hidden_weak.
6632 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6633 New inline function. Factored out of ...
6634 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6635 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6636 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6637 feraiseexcept.
6638 * math/w_acos.c (__acos): Likewise.
6639 * math/w_asin.c (__asin): Likewise.
6640 * math/w_ilogb.c (__ilogb): Likewise.
6641 * math/w_j0.c (y0): Likewise.
6642 * math/w_j1.c (y1): Likewise.
6643 * math/w_jn.c (yn): Likewise.
6644 * math/w_log.c (__log): Likewise.
6645 * math/w_log10.c (__log10): Likewise.
6646 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6647 * sysdeps/aarch64/fpu/math_private.h
6648 (libc_feupdateenv_test_aarch64): Likewise.
6649 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6650 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6651 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6652 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6653 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6654 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6655 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6656 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6657 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6658 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6659
6660 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6661
6662 [BZ #17732]
6663 * io/test-utime.c (main): Replace %ld with %jd and cast to
6664 intmax_t.
6665 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6666 * nptl/tst-mutex5.c: Include <stdint.h>.
6667 (do_test): Replace %ld with %jd and cast to intmax_t.
6668 * posix/tst-regex.c (run_test): Likewise.
6669 (run_test_backwards): Likewise.
6670 * rt/tst-clock.c: Include <stdint.h>.
6671 (clock_test): Replace %ld with %jd and cast to intmax_t.
6672 * rt/tst-cpuclock1.c: Include <stdint.h>.
6673 (do_test): Replace %lu with %ju and cast to uintmax_t.
6674 * rt/tst-cpuclock2.c: Include <stdint.h>.
6675 (do_test): Replace %lu with %ju and cast to uintmax_t.
6676 * rt/tst-mqueue1.c: Include <stdint.h>.
6677 (check_attrs): Replace %ld with %jd and cast to intmax_t.
6678 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6679 intmax_t.
6680 * rt/tst-mqueue4.c (do_test): Likewise.
6681 * rt/tst-timer4.c: Include <stdint.h>.
6682 (check_ts): Replace %ld with %jd and cast to intmax_t.
6683 (do_test): Likewise.
6684 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6685 and cast to intmax_t.
6686 * sysdeps/pthread/tst-timer.c (main): Likewise.
6687 * time/clocktest.c (main): Likewise.
6688 * time/tst-posixtz.c (do_test): Likewise.
6689 * timezone/tst-timezone.c (main): Likewise.
6690
6691 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6692 H.J. Lu <hongjiu.lu@intel.com>
6693
6694 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6695 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6696 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6697 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6698 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6699 version if bit_Fast_Unaligned_Load is set.
6700 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6701 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6702 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6703 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6705 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6707 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6708 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6709 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6710 to 4.
6711 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6712 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6713 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6714 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6715
6716 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6717
6718 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6719 instead of #if to avoid a Wundef warning.
6720 * stdlib/tst-limits.c (do_test): Likewise.
6721
6722 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6723 parallel other exception macros.
6724 (fegetenv): Convert from macro to extern inline so that it applies
6725 retroactively to inline functions already seen by the compiler.
6726 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6727
6728 * posix/Makefile (before-compile): Use $(objpfx) for
6729 posix-conf-vars-def.h.
6730
6731 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6732
6733 * posix/getconf.c (main): Use size_t for type of I.
6734 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6735 NSPEC.
6736
6737 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6738 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6739 * posix/posix-envs.def: Likewise.
6740 * sysdeps/posix/sysconf.c: Likewise.
6741 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6742 (specs): Remove array.
6743 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6744 array.
6745
6746 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6747 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6748 (__sysconf): Use CONF_IS_* macros.
6749
6750 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6751 ($(objpfx)posix-conf-vars-def.h): New target.
6752 * posix/posix-conf-vars.list: New file.
6753 * posix/posix-conf-vars.h: New file.
6754 * posix/confstr.c: Include posix-conf-vars.h.
6755 (confstr): Use CONF_IS_* macros.
6756 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6757 CONF_IS_* macros.
6758 * scripts/gen-posix-conf-vars.awk: New file.
6759
6760 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6761
6762 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6763 fegetround): Add no-op macros to avoid linknamespace issues.
6764
6765 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6766 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6767
6768 * sysdeps/unix/sysv/linux/tile/sysdep.h
6769 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6770 assembly-specific section to avoid a redefinition warning.
6771
6772 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6773 long before casting to pointer to avoid a cast warning.
6774
6775 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6776
6777 * sysdeps/tile/tilegx/Implies: New file.
6778
6779 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6780
6781 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6782
6783 2014-12-23 Florian Weimer <fweimer@redhat.com>
6784
6785 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6786
6787 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6788
6789 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6790 not define.
6791 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6792 <kernel-features.h>.
6793 (__utimes) [__NR_utimes]: Make code unconditional.
6794 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6795 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6796 (__ASSUME_UTIMES): Do not undefine.
6797 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6798 (__ASSUME_UTIMES): Likewise.
6799 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6800 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6801 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6802 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6803
6804 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6805
6806 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6807
6808 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6809
6810 [BZ #17747]
6811 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6812 alias to weak alias for j0l, y0l.
6813 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6814 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6815
6816 [BZ #17746]
6817 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6818 conversion.
6819
6820 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6821
6822 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6823 to zero if not already defined.
6824
6825 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6826
6827 [BZ #17724]
6828 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6829 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6830 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6831 (char *) casts added.
6832 * sysdeps/ieee754/k_standardf.c: New file.
6833 * sysdeps/ieee754/k_standardl.c: Likewise.
6834 * math/Makefile (libm-support): Remove k_standard.
6835 (libm-calls): Add k_standard.
6836
6837 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6838
6839 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6840 Optimize to avoid an unnecessary FPCR read.
6841
6842 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6843
6844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6845 Optimize to reduce FPCR/FPSR accesses.
6846
6847 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6848
6849 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6850 Call libc_fetestexcept_aarch64.
6851
6852 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6853
6854 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6855 Call libc_fesetround_aarch64.
6856
6857 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6858
6859 [BZ #17733]
6860 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6861 (__bind): Do not define as weak alias.
6862 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6863 define.
6864 (__getsockname): Do not define as weak alias.
6865
6866 2014-12-22 Will Newton <will.newton@linaro.org>
6867
6868 * manual/install.texi: Document that we require bison 2.7
6869 or above.
6870 * INSTALL: Regenerate.
6871 * configure.ac: Use AC_CHECK_PROG_VER instead of
6872 AC_PATH_PROG when checking for bison and check for
6873 version 2.7 or above.
6874 * configure: Regenerate.
6875
6876 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6877
6878 [BZ #17745]
6879 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6880 * sysdeps/tile/ffsll.c (ffsll): To here.
6881
6882 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6883
6884 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6885
6886 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6887 if not defined.
6888 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6889 definition.
6890 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6891 hidden ___tls_get_addr.
6892 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6893 hidden __tls_get_addr.
6894 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6895 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6896 Likewise.
6897
6898 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6899
6900 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6901 _dl_init call.
6902
6903 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6904
6905 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6906 from "call _dl_init@PLT".
6907 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6908
6909 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6910
6911 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6912 guarantees.
6913
6914 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6915
6916 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6917
6918 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6919
6920 [BZ #17744]
6921 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6922 strnlen.
6923
6924 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6925
6926 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6927 of multu on MIPSr6.
6928 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6929 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6930 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6931 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6932 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6933
6934 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6935
6936 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6937 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6938 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6939 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6940 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6941 mips32r6/mips64r6.
6942 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6943
6944 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6945
6946 * string/strncat.c (STRNCAT): Simplify implementation.
6947
6948 2014-12-19 David S. Miller <davem@davemloft.net>
6949
6950 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6951 access the quad as both a long double and as a series of 4 words.
6952
6953 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6954 link_map->l_info array access.
6955
6956 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6957
6958 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6959
6960 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6961 * math/atest-exp2.c (TIMEOUT): Likewise.
6962 * math/atest-sincos.c (TIMEOUT): Likewise.
6963
6964 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6965
6966 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6967 -Wno-error with -fno-builtin-lround.
6968
6969 2014-12-19 Torvald Riegel <triegel@redhat.com>
6970
6971 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6972 Contains futex constants and functions moved over from ...
6973 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6974 <lowlevellock-futex.h>.
6975 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6976 (lll_timedwait_tid): Add comments and parentheses around macro
6977 arguments.
6978
6979 2014-12-19 Torvald Riegel <triegel@redhat.com>
6980
6981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6982 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6983 (__lll_private_flag): Remove.
6984 (lll_futex_wait): Likewise.
6985 (lll_futex_timed_wait): Likewise.
6986 (lll_futex_wake): Likewise.
6987 (lll_futex_requeue): Likewise.
6988 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6989 (__lll_timedwait_tid): Spell out argument names.
6990 (lll_timedwait_tid): Add comments and parentheses around macro
6991 arguments.
6992 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6993 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6994
6995 2014-12-19 Torvald Riegel <triegel@redhat.com>
6996
6997 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6998 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6999 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7000 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7001 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7002 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7003 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7004 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7005 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7006 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7007 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7008 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7009 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7010 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7011 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7012 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7013 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7014 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7015 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7016
7017 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 * sysdeps/x86_64/x32/Makefile: New file.
7020
7021 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7022
7023 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7024 1L with (mp_limb_t) 1.
7025
7026 2014-12-17 Roland McGrath <roland@hack.frob.com>
7027
7028 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7029 * nptl/libc_pthread_init.c: ... here.
7030 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7031 * nptl/register-atfork.c: ... here.
7032
7033 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7034 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7035 Use assert_perror to check its return value.
7036 (__gai_create_helper_thread): Likewise.
7037
7038 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7039
7040 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7041
7042 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7043
7044 [BZ #17725]
7045 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7046 __profil_counter.
7047 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7048 Likewise.
7049 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7050 Likewise.
7051 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7052 Likewise.
7053 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7054 (profil_counter): Likewise.
7055 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7056 (profil_counter): Likewise.
7057 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7058 Likewise.
7059 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7060 Likewise.
7061 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7062 (profil_counter): Likewise.
7063 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7064 Likewise.
7065 [!__profil_counter] (profil_counter): Define as weak alias of
7066 __profil_counter.
7067 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7068 (profil_counter): Rename to __profil_counter.
7069 [!__profil_counter] (profil_counter): Define as weak alias of
7070 __profil_counter.
7071 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7072 (profil_counter): Rename to __profil_counter.
7073 [!__profil_counter] (profil_counter): Define as weak alias of
7074 __profil_counter.
7075 * sysdeps/posix/profil.c: Update comment referring to
7076 profil_counter.
7077 (__profil): Use __profil_counter instead of profil_counter.
7078 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7079 __profil_counter. Use __profil_counter_ushort and
7080 __profil_counter_uint in definitions.
7081 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7082 instead of profil_counter_uint and profil_counter_ushort.
7083
7084 [BZ #17722]
7085 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7086 define as weak alias of __inet_makeaddr.
7087 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7088 as weak alias of __inet_addr.
7089 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7090 as weak alias of __inet_pton. Use libc_hidden_weak.
7091 * include/arpa/inet.h (__inet_pton): Declare. Use
7092 libc_hidden_proto.
7093 (inet_makeaddr): Don't use libc_hidden_proto.
7094 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7095 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7096 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7097 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7098 Remove variable.
7099 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7100 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7101
7102 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7103
7104 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7105
7106 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7107
7108 * stdio-common/bug-vfprintf-nargs.c (do_test):
7109 Cast value to intptr_t to avoid format warning
7110 for usage with PRIdPTR printing macro.
7111
7112 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7113
7114 * libio/tst-widetext.c (do_test):
7115 Use format type %td instead of %Zd for ptrdiff_t
7116 in order to avoid format warning.
7117
7118 2014-12-17 Andreas Schwab <schwab@suse.de>
7119
7120 * nscd/mem.c (gc): Add size_t cast to match printf format.
7121
7122 2014-12-16 Roland McGrath <roland@hack.frob.com>
7123
7124 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7125 (init): Apply PTR_MANGLE to pointers before storing them.
7126 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7127 before using them.
7128
7129 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7130
7131 [BZ #17719]
7132 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7133 define as weak alias of __memrchr.
7134 (__memrchr): Do not define as strong alias of memrchr.
7135 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7136 Remove variable.
7137 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7138 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7139 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7140
7141 [BZ #17717]
7142 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7143 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7144 (if_indextoname): Rename to __if_indextoname and define as weak
7145 alias of __if_indextoname. Use libc_hidden_weak.
7146 (if_freenameindex): Rename to __if_freenameindex and define as
7147 weak alias of __if_freenameindex.
7148 (if_nameindex): Rename to __if_nameindex and define as weak alias
7149 of __if_nameindex.
7150 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7151 __if_nametoindex and define as weak alias of __if_nametoindex.
7152 Use libc_hidden_weak.
7153 (if_freenameindex): Rename to __if_freenameindex and define as
7154 weak alias of __if_freenameindex.
7155 (if_nameindex): Rename to __if_nameindex and define as weak alias
7156 of __if_nameindex.
7157 (if_indextoname): Rename to __if_indextoname and define as weak
7158 alias of __if_indextoname. Use libc_hidden_weak.
7159 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7160 __if_nametoindex and define as weak alias of __if_nametoindex.
7161 Use libc_hidden_weak.
7162 (if_freenameindex): Rename to __if_freenameindex and define as
7163 weak alias of __if_freenameindex. Use libc_hidden_weak.
7164 (if_nameindex_netlink): Use __if_freenameindex instead of
7165 if_freenameindex.
7166 (if_nameindex): Rename to __if_nameindex and define as weak alias
7167 of __if_nameindex. Use libc_hidden_weak.
7168 (if_indextoname): Rename to __if_indextoname and define as weak
7169 alias of __if_indextoname. Use libc_hidden_weak.
7170 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7171 libc_hidden_proto.
7172 [!_ISOMAC] (__if_freenameindex): Likewise.
7173 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7174 if_nametoindex.
7175 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7176 variable.
7177 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7178 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7179 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7180 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7181 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7182 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7183 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7184
7185 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7186 Remove variable.
7187 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7188 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7189
7190 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7191
7192 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7193 subscript above bounds'
7194
7195 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7196 bounds.
7197
7198 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7199
7200 * libio/tst-fopenloc.c: Use test-skeleton.c.
7201
7202 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7203 (entry): Rename to ITEM.
7204 (do_test, comp): Adjust.
7205
7206 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7207
7208 2014-12-16 Torvald Riegel <triegel@redhat.com>
7209
7210 * string/tester.c: Include <libc-internal.h>.
7211 (test_memset): Ignore -Wmemset-transposed-args.
7212
7213 2014-12-16 Torvald Riegel <triegel@redhat.com>
7214
7215 * misc/tst-mntent2.c (do_test): Fix warning.
7216
7217 2014-12-16 Torvald Riegel <triegel@redhat.com>
7218
7219 * elf/tst-unique4lib.cc(a): Mark as used.
7220
7221 2014-12-16 Florian Weimer <fweimer@redhat.com>
7222
7223 [BZ #17630]
7224 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7225 names.
7226
7227 2014-12-16 Allan McRae <allan@archlinux.org>
7228
7229 * stdio-common/Makefile (tests): Re-add bug26.
7230
7231 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7232
7233 [BZ #17657]
7234 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7235 static array.
7236
7237 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7238
7239 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7240 (__lll_lock_wait): Likewise.
7241 (__lll_timedlock_wait): Likewise.
7242 (__lll_timedwait_tid): Likewise.
7243 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7244 (__lll_robust_timedlock_wait): Likewise.
7245 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7246 (lll_cond_trylock): Likewise.
7247 (__lll_lock): Likewise.
7248 (__lll_robust_lock): Likewise.
7249 (__lll_cond_lock): Likewise.
7250 (lll_robust_cond_lock): Likewise.
7251 (__lll_timedlock): Likewise.
7252 (__lll_robust_timedlock): Likewise.
7253 (__lll_unlock): Likewise.
7254 (__lll_robust_unlock): Likewise.
7255 (lll_wait_tid): Likewise.
7256 (lll_timedwait_tid): Likewise.
7257
7258 2014-12-15 Torvald Riegel <triegel@redhat.com>
7259
7260 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7261
7262 2014-12-15 Torvald Riegel <triegel@redhat.com>
7263
7264 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7265
7266 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7267
7268 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7269 * stdio-common/tst-sprintf.c: Likewise.
7270
7271 2014-12-15 Torvald Riegel <triegel@redhat.com>
7272
7273 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7274
7275 2014-12-15 Jeff Law <law@redhat.com>
7276
7277 [BZ #16617]
7278 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7279 on the heap. (CVE-2012-3406)
7280 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7281 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7282 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7283
7284 2014-12-15 Will Newton <will.newton@linaro.org>
7285
7286 * manual/install.texi: Bump required version of texinfo
7287 to 4.7 from 4.5.
7288 * INSTALL: Regenerated.
7289 * configure.ac: Check for makeinfo version 4.7 and above.
7290 * configure: Regenerated.
7291
7292 2014-12-12 Roland McGrath <roland@hack.frob.com>
7293
7294 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7295 PREFIX, string constant to insert between directory and name.
7296 * sysdeps/posix/shm_open.c: Update caller.
7297 * sysdeps/posix/shm_unlink.c: Likewise.
7298 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7299 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7300 (SEM_SHM_PREFIX): New macro.
7301 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7302 [$(have-thread-library) = no].
7303 * nptl/Makefile (libpthread-routines): Add shm-directory.
7304 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7305 * sysdeps/nptl/shm-directory.h: New file.
7306 * sysdeps/posix/shm-directory.c
7307 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7308 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7309 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7310 INTERNAL_SYSCALL.
7311 (__where_is_shmfs): Function removed.
7312 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7313 Variables removed.
7314 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7315 Use SHM_GET_NAME.
7316 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7317
7318 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7319 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7320 unconditional for use inside libpthread.
7321 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7322
7323 2014-12-12 Roland McGrath <roland@hack.frob.com>
7324
7325 * nptl/pthread_getaffinity.c: New file.
7326 * nptl/pthread_setaffinity.c: New file.
7327 * nptl/pthread_getname.c: New file.
7328 * nptl/pthread_setname.c: New file.
7329
7330 * nptl/pthread_create.c (START_THREAD_DEFN)
7331 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7332
7333 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7334 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7335
7336 * resolv/res_send.c (send_vc): Disable warning resplen may
7337 be used uninitialized.
7338
7339 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7340
7341 * nptl/tst-mutex6.c
7342 (ATTR_NULL): New define checks ATTR against NULL.
7343 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7344 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7345
7346 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7347
7348 [BZ #17581]
7349 * malloc/hooks.c
7350 (mem2mem_check): Revert my previous change.
7351 (malloc_check_get_size): Revert my previous change.
7352 (mem2chunk_check): Revert my previous change.
7353
7354 2014-12-11 Roland McGrath <roland@hack.frob.com>
7355
7356 * sysdeps/posix/shm-directory.c: New file.
7357 * sysdeps/posix/shm-directory.h: New file.
7358 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7359 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7360 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7361 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7362 Transmute EPERM to EACCES.
7363 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7364 from ...
7365 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7366 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7367
7368 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7369
7370 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7371 pointer and cast to uintptr_t.
7372 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7373 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7374 Add cast to avoid warning.
7375 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7376
7377 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7378
7379 * nptl/semaphore.h: Move to ...
7380 * sysdeps/pthread/semaphore.h: ... here.
7381 * Makefile (installed-headers): Change nptl/semaphore.h to
7382 sysdeps/pthread/semaphore.h.
7383
7384 2014-12-11 Roland McGrath <roland@hack.frob.com>
7385
7386 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7387 generated error format strings.
7388
7389 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7390 -Wformat-extra-args warnings for scanf formats.
7391 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7392 test of zero-length format (duh).
7393 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7394 corner-case scanf format test.
7395 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7396 generated fprintf format string.
7397 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7398 corner-case sprintf format tests.
7399 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7400 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7401 -Wformat-extra-args warnings throughout.
7402 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7403 (CFLAGS-scanf4.c): Likewise.
7404 (CFLAGS-scanf7.c): Likewise.
7405 (CFLAGS-tst-sprintf.c): Likewise.
7406 (CFLAGS-tst-printf.c): Likewise.
7407 (CFLAGS-tst-printfsz.c): Likewise.
7408
7409 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7410
7411 * include/cpio.h: New file.
7412 * include/fmtmsg.h: Likewise.
7413
7414 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7415 corresponding format argument to size_t.
7416 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7417 arguments.
7418 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7419 corresponding format argument to size_t.
7420 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7421 arguments.
7422 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7423 corresponding format argument to size_t.
7424 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7425 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7426 (CFLAGS-tst-mbswcs2.c): Likewise.
7427 (CFLAGS-tst-mbswcs3.c): Likewise.
7428 (CFLAGS-tst-mbswcs4.c): Likewise.
7429 (CFLAGS-tst-mbswcs5.c): Likewise.
7430 (CFLAGS-tst-trans.c): Likewise
7431
7432 2014-12-11 Roland McGrath <roland@hack.frob.com>
7433
7434 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7435 rather than assuming they won't contain any '%'s.
7436
7437 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7438
7439 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7440 inhibit_loop_to_libcall to avoid recursive calls.
7441 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7442 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7443
7444 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7445
7446 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7447 prototype.
7448
7449 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7450
7451 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7452 integer value instead of boolean.
7453
7454 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7455
7456 * malloc/malloc.c: Fix powerof2 check.
7457
7458 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7459
7460 * locale/programs/locfile.h (maybe_swap_uint32):
7461 Remove inline and add unused attribute.
7462
7463 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7464
7465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7466 Truncating assembler expression to a .long expression.
7467
7468 2014-12-11 Andreas Schwab <schwab@suse.de>
7469
7470 * elf/rtld.c (struct map_args): Constify str member.
7471 (do_preload): Constify fname argument.
7472
7473 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7474
7475 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7476 constants definition.
7477
7478 2014-12-11 Andreas Schwab <schwab@suse.de>
7479
7480 [BZ #16657]
7481 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7482 FORCE_ELISION instead of DO_ELISION.
7483 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7484 Remove.
7485 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7486 Likewise.
7487
7488 * iconvdata/gconv-modules: Remove duplicate entry.
7489
7490 2014-12-11 Will Newton <will.newton@linaro.org>
7491
7492 Merge gettext 0.19.3 into intl/.
7493
7494 This involves a number of cosmetic changes to comments
7495 and ANSI function definitions and prototypes throughout
7496 all the files. The gettext copyright header is used but
7497 with the date ranges taken from the glibc copy.
7498
7499 * NEWS: Add gettext merge to 2.21.
7500 * intl/bindtextdom.c: Switch to gettext copyright.
7501 Use ANSI definitions and prototypes.
7502 Use gl_* locking primitives rather than __libc_* ones.
7503 Use __builtin_expect rather than __glibc_likely/unlikely.
7504 * intl/dcgettext.c: Switch to gettext copyright.
7505 Use ANSI definitions and prototypes.
7506 * intl/dcigettext.c: Switch to gettext copyright.
7507 Use ANSI definitions and prototypes.
7508 (INTDIV0_RAISES_SIGFPE): New define.
7509 Use gl_* locking primitives rather than __libc_* ones.
7510 Include eval-plural.h instead of plural-eval.c.
7511 Use __builtin_expect rather than __glibc_likely/unlikely.
7512 * intl/dcngettext.c: Switch to gettext copyright.
7513 Use ANSI definitions and prototypes.
7514 * intl/dgettext.c: Likewise.
7515 * intl/dngettext.c: Likewise.
7516 * intl/plural-eval.c: Renamed to...
7517 * intl/eval-plural.h: ...this.
7518 * intl/explodename.c: Switch to gettext copyright.
7519 Use ANSI definitions and prototypes.
7520 (_nl_explode_name): Use strchr instead of __rawmemchr.
7521 * intl/finddomain.c: Switch to gettext copyright.
7522 Use ANSI definitions and prototypes.
7523 Use gl_* locking primitives rather than __libc_* ones.
7524 (_nl_find_domain): Use malloc rather than alloca for
7525 allocation of temporary locale name.
7526 * intl/gettext.c: Switch to gettext copyright.
7527 Use ANSI definitions and prototypes.
7528 * intl/gettextP.h: Switch to gettext copyright.
7529 Use ANSI definitions and prototypes.
7530 Use gl_* locking primitives rather than __libc_* ones.
7531 * intl/gmo.h: Switch to gettext copyright.
7532 (struct sysdep_string): Move struct segment_pair outside of
7533 struct definition.
7534 * intl/hash-string.c: Use ANSI definitions and prototypes.
7535 * intl/hash-string.h: Switch to gettext copyright.
7536 Use ANSI definitions and prototypes.
7537 * intl/l10nflist.c: Switch to gettext copyright.
7538 Use ANSI definitions and prototypes.
7539 (_nl_normalize_codeset): Avoid integer overflow.
7540 * intl/loadinfo.h: Switch to gettext copyright.
7541 Use ANSI definitions and prototypes.
7542 (LIBINTL_DLL_EXPORTED): New define.
7543 (PATH_SEPARATOR): New define.
7544 * intl/loadmsgcat.c: Switch to gettext copyright.
7545 * intl/localealias.c: Switch to gettext copyright.
7546 Use ANSI definitions and prototypes.
7547 (_nl_expand_alias): Use PATH_SEPARATOR.
7548 * intl/ngettext.c: Switch to gettext copyright.
7549 Use ANSI definitions and prototypes.
7550 * intl/plural-exp.c: Likewise.
7551 * intl/plural-exp.h: Switch to gettext copyright.
7552 Use ANSI definitions and prototypes.
7553 (struct expression): Move definition of enum operator outside
7554 of struct definition.
7555 * intl/plural.c: Regenerate.
7556 * intl/plural.y: Switch to gettext copyright.
7557 Use ANSI definitions and prototypes.
7558 Port to bison 3.0.
7559 * intl/textdomain.c: Switch to gettext copyright.
7560 Use ANSI definitions and prototypes.
7561 Use gl_* locking primitives rather than __libc_* ones.
7562
7563 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7564
7565 * debug/warning-nop.c: Add used atrribute.
7566
7567 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7568
7569 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7570
7571 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7572 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7573 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7574
7575 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7576 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7577
7578 [BZ #17634]
7579 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7580 Undefine after defining function. Define as weak alias of
7581 __wcschr. Use libc_hidden_weak.
7582 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7583 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7584 (libc_hidden_def): Also define __GI___wcschr alias.
7585 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7586 __wcschr and define as weak alias of __wcschr.
7587 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7588 __wcschr.
7589 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7590 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7591 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7592 libc_hidden_weak. Do not use libc_hidden_def.
7593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7594 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7595 __GI___wcschr alias.
7596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7597 [IS_IN (libc)] (wcschr): Define as macro expanding to
7598 __redirect_wcschr.
7599 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7600 [IS_IN (libc)] (__wcschr_power6): Likewise.
7601 [IS_IN (libc)] (__wcschr_power7): Likewise.
7602 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7603 instead of wcschr.
7604 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7605 __libc_wcschr.
7606 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7607 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7608 __wcschr and define as weak alias of __wcschr. Use
7609 libc_hidden_builtin_def.
7610 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7611 as weak alias of __wcschr. Use libc_hidden_weak.
7612 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7613 wcschr.
7614 * time/era.c (_nl_init_era_entries): Likewise.
7615 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7616 variable.
7617 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7618 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7619
7620 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7621
7622 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7623 format for long int variable.
7624
7625 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7626
7627 [BZ #10672]
7628 * manual/search.texi: (Array Sort Function): Remove claim how to make
7629 qsort stable.
7630
7631 2014-12-10 Andreas Schwab <schwab@suse.de>
7632
7633 [BZ #12847]
7634 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7635 user-controlled locks.
7636
7637 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7638
7639 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7640 register.
7641
7642 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7643
7644 * configure.ac (--disable-werror): New configure option.
7645 (enable_werror): New AC_SUBST.
7646 * configure: Regenerated.
7647 * config.make.in (enable-werror): New variable.
7648 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7649 -Wno-error=undef.
7650 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7651 * manual/install.texi (Configuring and compiling): Document
7652 --disable-werror.
7653 * INSTALL: Regenerated.
7654 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7655 (CFLAGS-tst-chk2.c): Likewise.
7656 (CFLAGS-tst-chk3.c): Likewise.
7657 (CFLAGS-tst-chk4.cc): Likewise.
7658 (CFLAGS-tst-chk5.cc): Likewise.
7659 (CFLAGS-tst-chk6.cc): Likewise.
7660 (CFLAGS-tst-lfschk1.c): Likewise.
7661 (CFLAGS-tst-lfschk2.c): Likewise.
7662 (CFLAGS-tst-lfschk3.c): Likewise.
7663 (CFLAGS-tst-lfschk4.cc): Likewise.
7664 (CFLAGS-tst-lfschk5.cc): Likewise.
7665 (CFLAGS-tst-lfschk6.cc): Likewise.
7666
7667 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7668 (main): Disable -Wdeprecated-declarations around calls to
7669 register_printf_function.
7670
7671 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7672 (do_test): Disable -Wdiv-by-zero around some calls to
7673 fwrite_unlocked and fread_unlocked.
7674
7675 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7676 (DIAG_POP_NEEDS_COMMENT): Likewise.
7677 (_DIAG_STR1): Likewise.
7678 (_DIAG_STR): Likewise.
7679 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7680 * stdio-common/bug21.c: Include <libc-internal.h>.
7681 (do_test): Disable -Wformat around call to sscanf.
7682 * stdio-common/scanf14.c: Include <libc-internal.h>.
7683 (main): Disable -Wformat around some calls to scanf functions.
7684
7685 2014-12-09 Torvald Riegel <triegel@redhat.com>
7686
7687 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7688
7689 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690
7691 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7692 stack variable alignment.
7693
7694 2014-12-06 Joseph Myers <joseph@codesourcery.com>
7695
7696 [BZ #17682]
7697 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7698 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7699 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7700 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7701 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7702 __getrlimit instead of getrlimit.
7703 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7704 __gettimeofday instead of gettimeofday.
7705 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7706 Likewise.
7707 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7708 Likewise.
7709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7710 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7711 Remove variable.
7712 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7713 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7714
7715 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7716
7717 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7718 for wide-character tests.
7719
7720 2014-12-04 Roland McGrath <roland@hack.frob.com>
7721
7722 * io/openat64.c: #include <libc-internal.h>
7723 (__openat64): Prototypify. Use ignore_value on MODE.
7724 * io/openat.c: Likewise.
7725 * misc/reboot.c: #include <libc-internal.h>
7726 (reboot): Prototypify. Use ignore_value on HOWTO.
7727 * misc/ptrace.c: #include <libc-internal.h>
7728 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7729
7730 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7731
7732 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7733 XPG4, UNIX98 and XOPEN2K.
7734 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7735 Remove variable.
7736 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7737
7738 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7739
7740 * libio/fileops.c: Use ISO C style for function definitions.
7741 * libio/iofopen.c: Likewise.
7742 * libio/wfileops.c: Likewise.
7743
7744 [BZ #17653]
7745 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7746 offset on EOF.
7747 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7748 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7749 (fgets_func): Function pointer to fgets and fgetws.
7750 (do_ftell_test): Add test to verify ftell value after read
7751 EOF.
7752 (do_test): Set fgets_func.
7753
7754 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7755 O_TRUNC flag for w and w+ modes.
7756 (do_rewind_test): Likewise.
7757 (do_ftell_test): Likewise.
7758 (do_write_test): Likewise.
7759
7760 [BZ #17647]
7761 * libio/fileops.c (do_ftell): Seek only when there are
7762 unflushed writes.
7763 * libio/wfileops.c (do_ftell_wide): Likewise.
7764 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7765 test case.
7766 (do_one_test): Call it.
7767
7768 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7769
7770 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7771 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7772 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7773 Remove variable.
7774 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7775 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7776 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7777
7778 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7779
7780 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7781 Remove variable.
7782 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7783
7784 [BZ #17668]
7785 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7786 as weak alias of __getifaddrs. Use libc_hidden_weak.
7787 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7788 __freeifaddrs. Use libc_hidden_weak.
7789 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7790 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7791 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7792 __freeifaddrs. Use libc_hidden_weak.
7793 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7794 __getifaddrs and define as weak alias of __getifaddrs. Use
7795 libc_hidden_weak.
7796 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7797 __freeifaddrs. Use libc_hidden_weak.
7798 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7799 Remove variable.
7800 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7801 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7802
7803 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7804
7805 [BZ #17601]
7806 * sysdeps/mips/start.S (__start): Use indirect jump to call
7807 __libc_start_main.
7808
7809 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7810
7811 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7812
7813 * nptl/tst-mutex1.c: Include <stdbool.h>.
7814 [!ATTR] (ATTR_NULL): New macro.
7815 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7816 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7817 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7818
7819 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7820 to char *.
7821
7822 [BZ #17665]
7823 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7824 Change conditional to [__USE_MISC].
7825
7826 [BZ #17664]
7827 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7828 fgets_unlocked.
7829 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7830 __fgets_unlocked.
7831 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7832 fgets_unlocked.
7833 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7834 Remove variable.
7835 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7836 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7837 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7838 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7839 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7840 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7841 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7842 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7843 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7844
7845 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7846
7847 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7848
7849 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7850 Remove strpbrk objects.
7851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7852 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7853 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7854 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7855 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7856 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7857
7858 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7859 Remove strcspn objects.
7860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7861 (__libc_ifunc_impl_list): Remove strcspn implementation.
7862 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7863 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7864 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7865 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7866
7867 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7868 Remove strspn objetcs.
7869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7870 (__libc_ifunc_impl_list): Remove strspn implementation.
7871 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7872 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7873 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7874 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7875
7876 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7877
7878 [BZ #17581]
7879 * malloc/hooks.c
7880 (mem2mem_check): Add a terminator to the chain of checking blocks.
7881 (malloc_check_get_size): Use it here.
7882 (mem2chunk_check): Ditto.
7883
7884 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7885
7886 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7887 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7888
7889 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7890
7891 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7892
7893 * nptl/nptl-init.c: Include libc-internal.h.
7894 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7895
7896 * elf/ldconfig.c (search_dir): Expand comment.
7897
7898 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7899
7900 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7901 variable.
7902 (linknamespace-symlist-stdlibs-tests): Likewise.
7903 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7904 instead of $(objpfx)symlist-stdlibs.
7905 (linknamespace-libs-isoc): New variable.
7906 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7907 (linknamespace-libs-ISO): New variable.
7908 (linknamespace-libs-ISO99): Likewise.
7909 (linknamespace-libs-ISO11): Likewise.
7910 (linknamespace-libs-XPG3): Likewise.
7911 (linknamespace-libs-XPG4): Likewise.
7912 (linknamespace-libs-POSIX): Likewise.
7913 (linknamespace-libs-UNIX98): Likewise.
7914 (linknamespace-libs-XOPEN2K): Likewise.
7915 (linknamespace-libs-POSIX2008): Likewise.
7916 (linknamespace-libs-XOPEN2K8): Likewise.
7917 ($(objpfx)symlist-stdlibs): Replace by
7918 $(linknamespace-symlist-stdlibs-tests). Use
7919 $(linknamespace-libs-$*) as set of libraries.
7920 ($(linknamespace-header-tests)): Update dependencies. Use
7921 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7922 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7923 * conform/linknamespace.pl: Remove comment about considering
7924 definitions of symbols from irrelevant libraries.
7925
7926 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7927
7928 [BZ #13862]
7929 * elf/dl-tls.c: Include <atomic.h>.
7930 (oom): Remove #ifdef SHARED/#endif.
7931 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7932 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7933 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7934 big enough.
7935 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7936 * nptl/Makefile (tests): Add tst-stack4.
7937 (modules-names): Add tst-stack4mod.
7938 ($(objpfx)tst-stack4): New.
7939 (tst-stack4mod.sos): Likewise.
7940 ($(objpfx)tst-stack4.out): Likewise.
7941 ($(tst-stack4mod.sos)): Likewise.
7942 (clean): Likewise.
7943 * nptl/tst-stack4.c: New file.
7944 * nptl/tst-stack4mod.c: Likewise.
7945
7946 2014-11-27 J. Brown <jb999@gmx.de>
7947
7948 * sysdeps/x86/bits/string.h: Add recent CPUs.
7949
7950 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7951
7952 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7953 sigblock.
7954
7955 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7956 feof.
7957
7958 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7959 variable.
7960
7961 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7962
7963 * nscd/connections.c: Include libc-internal.h because of macro
7964 usage ignore_value.
7965
7966 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
7968 * string/bits/string3.h (__warn_memset_zero_len): Don't
7969 declare for gcc newer than 5.0.
7970 (memset): Don't test for zero-length __LEN for gcc newer than
7971 5.0.
7972
7973 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7974
7975 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7976 size_t for %zu format.
7977
7978 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7979 difference, not %ju.
7980
7981 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7982
7983 * include/libc-internal.h (ignore_value): New macro.
7984 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7985 with ignore_value.
7986
7987 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7988 definition.
7989
7990 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7991 pthread_cleanup_push to void *.
7992
7993 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7994 Undefine.
7995
7996 [BZ #16619]
7997 [BZ #16740]
7998 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7999 instead of 1L << 52.
8000
8001 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8002 * libio/bug-rewind2.c (do_test): Likewise.
8003
8004 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8005 * debug/test-strcpy_chk-ifunc.c: Likewise.
8006 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8007 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8008 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8009 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8010 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8011 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8012 * Rules [$(multi-arch) = no] (tests): Do not filter out
8013 $(tests-ifunc).
8014 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8015 * debug/Makefile (tests-ifunc): Remove variable.
8016 (tests): Do not add $(tests-ifunc).
8017 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8018 (tests): Do not add $(tests-ifunc).
8019 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8020 [TEST_IFUNC]: Remove conditionals.
8021 * string/test-string.h (TEST_IFUNC): Remove macro.
8022 [TEST_IFUNC]: Remove conditionals.
8023
8024 * string/test-strchr.c [!WIDE] (L): New macro.
8025 [WIDE] (L): Likewise.
8026 (check1): Use CHAR instead of char. Use L on string and character
8027 constants.
8028
8029 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8030
8031 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8032 tests.
8033 * sysdeps/powerpc/bits/atomic.h
8034 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8035 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8036 (atomic_exchange_and_add_acq): Likewise.
8037 (atomic_exchange_and_add_rel): Likewise.
8038 * sysdeps/powerpc/powerpc32/bits/atomic.h
8039 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8040 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8041 * sysdeps/powerpc/powerpc64/bits/atomic.h
8042 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8043 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8044
8045 2014-11-26 Torvald Riegel <triegel@redhat.com>
8046
8047 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8048 Change synchronization of __sched_fifo_min_prio and
8049 __sched_fifo_max_prio.
8050 * nptl/pthread_mutexattr_getprioceiling.c
8051 (pthread_mutexattr_getprioceiling): Likewise.
8052 * nptl/pthread_mutexattr_setprioceiling.c
8053 (pthread_mutexattr_setprioceiling): Likewise.
8054 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8055 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8056 Likewise.
8057
8058 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8059
8060 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8061 void.
8062
8063 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8064
8065 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8066 third argument const.
8067
8068 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8069
8070 fnmatch: work around GCC compiler warning bug with uninit var
8071 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8072 This works around a bug with x86-64 GCC 4.9.2 and earlier
8073 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8074 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8075 used uninitialized in this function [-Wmaybe-uninitialized]".
8076
8077 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8078
8079 * posix/bug-regex31.c (main): Return RES not 0.
8080
8081 2014-11-25 Anton Blanchard <anton@samba.org>
8082
8083 * sysdeps/powerpc/bits/atomic.h
8084 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8085
8086 2014-11-24 Sterling Augustine <saugustine@google.com>
8087
8088 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8089
8090 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8091
8092 [BZ #17608]
8093 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8094
8095 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8096
8097 [BZ #17633]
8098 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8099 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8100 variable.
8101 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8102 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8103
8104 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8105
8106 * string/strncpy.c (strncpy): Improve performance by using memset.
8107
8108 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8109
8110 * string/strcpy.c (strcpy):
8111 Improve performance by using strlen and memcpy.
8112
8113 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8114
8115 * string/strcoll_l.c (get_next_seq): __always_inline.
8116 * string/strcoll_l.c (do_compare): __always_inline.
8117
8118 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8119
8120 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8121 defined.
8122 * include/mqueue.h: Likewise.
8123 * include/stdlib.h: Likewise.
8124
8125 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8126 (get_null_defines): Adjust.
8127 * sunrpc/Makefile: Adjust comment.
8128 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8129 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8130 (CFLAGS-interp.c): Likewise.
8131 (CFLAGS-ldconfig.c): Likewise.
8132 (CPPFLAGS-.os): Likewise.
8133 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8134 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8135 * extra-modules.mk (extra-modules.mk): Likewise.
8136 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8137 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8138 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8139 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8140 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8141 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8142 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8143 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8144 * iconvdata/Makefile (CPPFLAGS): Likewise.
8145 (cpp-srcs-left): Add libof for all iconvdata routines.
8146 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8147 * include/assert.h: Likewise.
8148 * include/ctype.h: Likewise.
8149 * include/errno.h: Likewise.
8150 * include/libc-symbols.h: Likewise.
8151 * include/math.h: Likewise.
8152 * include/netdb.h: Likewise.
8153 * include/resolv.h: Likewise.
8154 * include/stdio.h: Likewise.
8155 * include/stdlib.h: Likewise.
8156 * include/string.h: Likewise.
8157 * include/sys/stat.h: Likewise.
8158 * include/wctype.h: Likewise.
8159 * intl/l10nflist.c: Likewise.
8160 * libidn/idn-stub.c: Likewise.
8161 * libio/libioP.h: Likewise.
8162 * nptl/libc_multiple_threads.c: Likewise.
8163 * nptl/pthreadP.h: Likewise.
8164 * posix/regex_internal.h: Likewise.
8165 * resolv/res_hconf.c: Likewise.
8166 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8167 * sysdeps/arm/memmove.S: Likewise.
8168 * sysdeps/arm/sysdep.h: Likewise.
8169 * sysdeps/generic/_itoa.h: Likewise.
8170 * sysdeps/generic/symbol-hacks.h: Likewise.
8171 * sysdeps/gnu/errlist.awk: Likewise.
8172 * sysdeps/gnu/errlist.c: Likewise.
8173 * sysdeps/i386/i586/memcpy.S: Likewise.
8174 * sysdeps/i386/i586/memset.S: Likewise.
8175 * sysdeps/i386/i686/memcpy.S: Likewise.
8176 * sysdeps/i386/i686/memmove.S: Likewise.
8177 * sysdeps/i386/i686/mempcpy.S: Likewise.
8178 * sysdeps/i386/i686/memset.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8180 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8181 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8185 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8189 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8190 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8191 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8192 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8193 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8196 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8197 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8198 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8199 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8200 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8201 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8202 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8203 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8204 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8206 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8208 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8215 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8216 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8217 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8218 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8219 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8220 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8222 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8225 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8226 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8227 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8228 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8229 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8230 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8231 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8232 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8233 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8234 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8235 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8236 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8237 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8238 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8239 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8240 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8241 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8242 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8243 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8244 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8245 * sysdeps/posix/closedir.c: Likewise.
8246 * sysdeps/posix/opendir.c: Likewise.
8247 * sysdeps/posix/readdir.c: Likewise.
8248 * sysdeps/posix/rewinddir.c: Likewise.
8249 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8250 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8251 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8252 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8253 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8264 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8285 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8286 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8287 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8288 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8289 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8290 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8291 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8293 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8294 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8295 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8296 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8297 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8298 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8299 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8300 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8301 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8302 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8303 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8304 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8305 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8306 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8307 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8308 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8310 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8311 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8312 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8313 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8314 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8315 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8316 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8317 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8318 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8319 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8320 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8321 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8322 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8323 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8325 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8326 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8327 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8328 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8329 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8330 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8331 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8332 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8333 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8335 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8336 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8337 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8338 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8339 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8340 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8341 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8345 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8347 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8348 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8349 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8350 * sysdeps/unix/alpha/sysdep.S: Likewise.
8351 * sysdeps/unix/alpha/sysdep.h: Likewise.
8352 * sysdeps/unix/make-syscalls.sh: Likewise.
8353 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8355 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8356 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8357 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8358 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8359 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8360 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8361 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8362 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8363 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8365 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8366 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8367 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8368 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8369 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8370 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8371 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8372 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8373 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8374 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8375 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8376 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8377 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8378 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8379 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8382 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8385 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8387 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8391 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8392 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8393 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8394 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8396 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8397 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8403 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8404 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8405 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8406 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8407 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8409 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8411 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8412 * sysdeps/x86_64/memcpy.S: Likewise.
8413 * sysdeps/x86_64/memmove.c: Likewise.
8414 * sysdeps/x86_64/memset.S: Likewise.
8415 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8416 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8417 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8418 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8419 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8422 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8423 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8424 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8425 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8426 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8427 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8430 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8431 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8432 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8433 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8434 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8435 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8436 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8439 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8440 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8441 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8442 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8443 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8444 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8445 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8446 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8447 * sysdeps/x86_64/strcmp.S: Likewise.
8448
8449 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8450
8451 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8452 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8453 * elf/rtld-Rules: Likewise.
8454 * elf/setup-vdso.h: Likewise.
8455 * include/assert.h: Likewise.
8456 * include/bits/stdlib-float.h: Likewise.
8457 * include/errno.h: Likewise.
8458 * include/sys/stat.h: Likewise.
8459 * include/unistd.h: Likewise.
8460 * sysdeps/aarch64/setjmp.S: Likewise.
8461 * sysdeps/alpha/setjmp.S: Likewise.
8462 * sysdeps/arm/__longjmp.S: Likewise.
8463 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8464 * sysdeps/arm/setjmp.S: Likewise.
8465 * sysdeps/arm/sysdep.h: Likewise.
8466 * sysdeps/generic/_itoa.h: Likewise.
8467 * sysdeps/generic/dl-sysdep.h: Likewise.
8468 * sysdeps/generic/ldsodefs.h: Likewise.
8469 * sysdeps/i386/dl-tls.h: Likewise.
8470 * sysdeps/i386/setjmp.S: Likewise.
8471 * sysdeps/m68k/setjmp.c: Likewise.
8472 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8473 * sysdeps/mach/hurd/opendir.c: Likewise.
8474 * sysdeps/posix/getcwd.c: Likewise.
8475 * sysdeps/posix/opendir.c: Likewise.
8476 * sysdeps/posix/profil.c: Likewise.
8477 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8479 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8481 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8482 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8483 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8484 * sysdeps/s390/dl-tls.h: Likewise.
8485 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8486 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8487 * sysdeps/sh/sh3/setjmp.S: Likewise.
8488 * sysdeps/sh/sh4/setjmp.S: Likewise.
8489 * sysdeps/unix/alpha/sysdep.h: Likewise.
8490 * sysdeps/unix/arm/sysdep.S: Likewise.
8491 * sysdeps/unix/i386/sysdep.S: Likewise.
8492 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8493 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8494 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8495 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8496 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8497 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8498 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8499 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8500 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8501 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8502 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8503 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8507 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8510 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8515 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8516 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8517 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8519 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8520 * sysdeps/x86_64/setjmp.S: Likewise.
8521
8522 * include/math.h: Use IS_IN instead of IS_IN_libm.
8523 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8535 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8543 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8544 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8545 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8546 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8547 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8548 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8550 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8551 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8552 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8553 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8554 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8555 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8557 Likewise.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8559 Likewise.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8561 Likewise.
8562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8563 Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8565 Likewise.
8566 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8567 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8568 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8569 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8570 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8571 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8578 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8579 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8580 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8582 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8583 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8584 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8585 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8586 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8587 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8588 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8590 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8592 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8593
8594 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8595 * nptl/pthreadP.h: Likewise.
8596 * nptl_db/structs.def: Likewise.
8597 * sysdeps/arm/sysdep.h: Likewise.
8598 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8599 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8600 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8601 * sysdeps/unix/alpha/sysdep.h: Likewise.
8602 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8604 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8605 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8606 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8607 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8609 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8610 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8611 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8612 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8613 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8614 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8615 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8620 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8623 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8624 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8625 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8626 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8627 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8628
8629 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8630 * nptl/pthreadP.h: Likewise.
8631 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8632 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8633 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8634 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8635 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8636 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8637 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8638 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8639 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8640 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8641 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8642 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8644 Likewise.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8646 Likewise.
8647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8649 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8652 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8653 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8654 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8655
8656 * dlfcn/dladdr.c: Use IS_IN.
8657 * dlfcn/dladdr1.c: Likewise.
8658 * dlfcn/dlclose.c: Likewise.
8659 * dlfcn/dlerror.c: Likewise.
8660 * dlfcn/dlinfo.c: Likewise.
8661 * dlfcn/dlmopen.c: Likewise.
8662 * dlfcn/dlopen.c: Likewise.
8663 * dlfcn/dlsym.c: Likewise.
8664 * dlfcn/dlvsym.c: Likewise.
8665
8666 * include/ifaddrs.h: Use IS_IN.
8667 * inet/check_pf.c: Likewise.
8668 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8669 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8670
8671 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8672 IS_IN_ldconfig.
8673 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8674 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8675
8676 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8677 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8678 IS_IN (libc).
8679
8680 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8681
8682 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8683 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8684 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8685 * include/libc-symbols.h (IS_IN_LIB): New macro.
8686 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8687 * include/netdb.h: Likewise.
8688 * include/stap-probe.h: Remove all uses of IN_LIB.
8689
8690 * Makeconfig (module-cppflags-real): Define MODULE_NAME
8691 instead of IN_MODULE.
8692 * include/libc-symbols.h (IN_MODULE): Define using
8693 MODULE_NAME.
8694 (PASTE_NAME, PASTE_NAME1): New macros.
8695 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8696 of IN_LIB.
8697 (STAP_PROBE_ASM): Likewise.
8698
8699 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
8700
8701 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8702 __mach_init in dlopened libc.
8703
8704 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8705
8706 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8707 * sysdeps/arm/preconfigure: Regenerate.
8708
8709 2014-11-21 Roland McGrath <roland@hack.frob.com>
8710
8711 * nptl/pthread_create.c (__pthread_create_2_1): Set
8712 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8713 when copying values from IATTR into PD.
8714
8715 2014-11-21 Will Newton <will.newton@linaro.org>
8716 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8717
8718 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8719 Refactor inline-asm. Also add comment.
8720
8721 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8722 ElfW macro instead of hardcoded Elf64 types.
8723 (la_aarch64_gnu_pltenter): Likewise.
8724 * sysdeps/aarch64/dl-machine.h
8725 (elf_machine_runtime_setup): Use ElfW(Addr).
8726
8727 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8728 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8729 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8730 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8731 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8732 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8733 (R_AARCH64_TLS_DTPMOD): This.
8734 (R_AARCH64_TLS_DTPREL64): Rename to ...
8735 (R_AARCH64_TLS_DTPREL): This.
8736 (R_AARCH64_TLS_TPREL64): Rename to ...
8737 (R_AARCH64_TLS_TPREL): This.
8738 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8739 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8740 R_AARCH64_TLS_TPREL64.
8741 (elf_machine_rela): Likewise.
8742
8743 2014-11-21 Torvald Riegel <triegel@redhat.com>
8744
8745 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8746 by setting it to 0. 64b atomics are not supported currently.
8747
8748 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8749
8750 [BZ #16469]
8751 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8752 search domain names.
8753
8754 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8755
8756 [BZ #16469]
8757 * NEWS: Update.
8758 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8759 trailing dot.
8760 * posix/tst-getaddrinfo5.c: New.
8761 * posix/Makefile (tests): Add it.
8762
8763 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8764
8765 [BZ #14498]
8766 * NEWS: Fixed.
8767 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8768 after parsing line but before break_if_match.
8769 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8770 if there is a protocol mismatch.
8771
8772 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8773
8774 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8775 because the potential race is on the user-supplied stream.
8776
8777 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8778
8779 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8780 string literal if not passed a buffer.
8781 * manual/job.texi (ctermid): Update reasoning, note deviation
8782 from posix, suggest mtasurace when not passed a buffer, for
8783 future non-preliminary safety notes.
8784
8785 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8786
8787 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8788 of not passing it a buffer.
8789 Reported by Peng Haitao.
8790
8791 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8792
8793 * manual/Makefile ($(objpfx)stamp-summary): Require
8794 check-safety.sh to pass.
8795 * manual/check-safety.sh: Wish for verification that every
8796 @deftypefn and @deftypefun is followed by a @safety remark.
8797
8798 2014-11-20 Roland McGrath <roland@hack.frob.com>
8799
8800 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8801
8802 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8803 PTHREAD_CANCEL_ASYNCHRONOUS.
8804 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8805 send SIGCANCEL.
8806
8807 * nptl/default-sched.h: New file.
8808 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8809 * nptl/pthread_create.c: Include it.
8810 (__pthread_create_2_1): Use collect_default_sched instead of making
8811 Linux syscalls here directly.
8812
8813 2014-11-20 Torvald Riegel <triegel@redhat.com>
8814
8815 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8816 __pthread_once): Use C11 atomics.
8817
8818 2014-11-20 Torvald Riegel <triegel@redhat.com>
8819
8820 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8821
8822 2014-11-20 Torvald Riegel <triegel@redhat.com>
8823
8824 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8825 atomic_thread_fence_acquire, atomic_thread_fence_release,
8826 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8827 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8828 atomic_compare_exchange_weak_relaxed,
8829 atomic_compare_exchange_weak_acquire,
8830 atomic_compare_exchange_weak_release,
8831 atomic_exchange_acquire, atomic_exchange_release,
8832 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8833 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8834 atomic_fetch_and_acquire,
8835 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8836
8837 2014-11-20 Torvald Riegel <triegel@redhat.com>
8838
8839 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8840 USE_ATOMIC_COMPILER_BUILTINS): Define.
8841 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8842 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8843 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8845 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8847 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8849 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8851 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8852 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8853 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8855 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8857 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8859 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8860 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8861 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8863 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8865 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8866 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8867 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8868 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8869 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8870 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8871 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8872 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8873 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8874 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8875 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8876 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8877 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8878 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8879 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8881
8882 2014-11-19 Roland McGrath <roland@hack.frob.com>
8883
8884 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8885 the sched_priority value here. It was already checked when the user
8886 called pthread_attr_setschedparam.
8887
8888 * nptl/tst-bad-schedattr.c: New file.
8889 * nptl/Makefile (tests): Add it.
8890
8891 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8892 Florian Weimer <fweimer@redhat.com>
8893 Joseph Myers <joseph@codesourcery.com>
8894 Adam Conrad <adconrad@0c3.net>
8895 Andreas Schwab <schwab@suse.de>
8896 Brooks <bmoses@google.com>
8897
8898 [BZ #17625]
8899 * wordexp-test.c (__dso_handle): Add prototype.
8900 (__register_atfork): Likewise.
8901 (__app_register_atfork): New function.
8902 (registered_forks): New global.
8903 (register_fork): New function.
8904 (test_case): Add 3 new tests for WRDE_CMDSUB.
8905 (main): Call __app_register_atfork.
8906 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8907 fork count is non-zero fail the test.
8908 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8909 is set.
8910 (parse_dollars): Remove check for WRDE_NOCMD.
8911 (parse_dquote): Likewise.
8912
8913 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8914
8915 * Makeconfig (built-modules): List non-library modules to be
8916 built.
8917 (module-cppflags): Include libc-modules.h for
8918 everything except shlib-versions.v.i.
8919 (CPPFLAGS): Use it.
8920 (before-compile): Add libc-modules.h.
8921 ($(common-objpfx)libc-modules.h,
8922 $(common-objpfx)libc-modules.stmp): New targets.
8923 (common-generated): Add libc-modules.h and libc-modules.stmp.
8924 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8925 * include/libc-symbols.h: Don't include libc-modules.h.
8926 * include/libc-modules.h: Remove file.
8927 * scripts/gen-libc-modules.awk: New script to generate
8928 libc-modules.h.
8929 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8930 Depend on libc-modules.stmp.
8931
8932 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8933
8934 * Makeconfig (in-module): Get value of libof set for the
8935 translation unit.
8936 (CPPFLAGS): Use $(in-module).
8937 * Makerules: Don't suffix routine names for nonlib.
8938 * include/libc-modules.h: New file.
8939 * include/libc-symbols.h: Include libc-modules.h
8940 (IS_IN): New macro to replace IS_IN_* macros.
8941 * elf/Makefile: Set libof-* for each routine.
8942 * elf/rtld-Rules: Likewise.
8943 * extra-modules.mk: Likewise.
8944 * iconv/Makefile: Likewise.
8945 * iconvdata/Makefile: Likewise.
8946 * locale/Makefile: Likewise.
8947 * malloc/Makefile: Likewise.
8948 * nss/Makefile: Likewise.
8949 * sysdeps/gnu/Makefile: Likewise.
8950 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8951 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8952 * sysdeps/s390/s390-64/Makefile: Likewise.
8953 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8954 CPPFLAGS for nscd instead of nonlib.
8955
8956 2014-11-18 Roland McGrath <roland@hack.frob.com>
8957
8958 * nptl/createthread.c: New file.
8959
8960 * nptl/createthread.c: Moved ...
8961 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8962
8963 * nptl/createthread.c: Add proper top-line comment.
8964 (do_clone): Folded into ...
8965 (create_thread): ... here. Take new arguments STOPPED_START and
8966 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8967 increment __nptl_threads, do event-reporting logic, do
8968 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8969 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8970 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8971 just send SIGCANCEL.
8972 * nptl/pthread_create.c: Forward-declare create_thread before
8973 including createthread.c.
8974 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8975 declaration, and new macro START_THREAD_SELF to replace argument.
8976 Remove return statement.
8977 (report_thread_creation): New function.
8978 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8979 synchronization logic, and __nptl_nthreads increment here, around
8980 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8981 PD->parent_cancelhandling here, before create_thread. When
8982 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8983 __deallocate_stack, and ENOMEM translation here.
8984
8985 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8986
8987 [BZ #17616]
8988 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8989 (mptwo): Rename to __mptwo.
8990 (__inv): Use __mptwo instead of mptwo.
8991 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8992 (mptwo): Rename to __mptwo.
8993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8994 of mpone and __mptwo instead of mptwo.
8995 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8996 instead of mpone.
8997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8998 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8999 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9000 of mpone and __mptwo instead of mptwo.
9001 (__mpranred): Use __mpone instead of mpone.
9002 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9003 variable.
9004 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9005 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9006 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9007 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9008 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9009 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9010 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9011 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9012 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9013 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9014 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9015 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9016 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9017 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9018 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9019 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9020 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9021 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9022 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9023
9024 2014-11-18 Tom de Vries <tom@codesoucery.com>
9025
9026 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9027 replace BSD Handler xref with BSD Signal Handling.
9028
9029 2014-11-17 Richard Henderson <rth@redhat.com>
9030
9031 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9032 (_FP_PACK_RAW_2): Remove.
9033 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9034 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9035 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9036 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9037 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9038 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9039 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9040 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9041 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9042 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9043 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9044 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9045 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9046 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9047 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9048 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9049
9050 2014-11-14 Roland McGrath <roland@hack.frob.com>
9051
9052 * signal/signal.h [__USE_MISC]
9053 (struct sigvec): Remove type.
9054 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9055 (sigvec): Remove declaration.
9056 * sysdeps/posix/sigvec.c: Moved ...
9057 * signal/sigvec.c: ... here, replacing old file.
9058 (struct sigvec): New type, copied from old signal.h definition.
9059 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9060 (__sigvec): Convert definition to prototype.
9061 (sigvec): Replace weak_alias with compat_symbol.
9062 * signal/Versions (libc: GLIBC_2.21): New version set.
9063 * include/signal.h: Remove __sigvec declaration.
9064 * sysdeps/unix/bsd/sigvec.c: Remove file.
9065 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9066 * manual/signal.texi (BSD Handler): Remove subsection.
9067 Move siginterrupt up to ...
9068 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9069 (Blocking in BSD): Fold subsection into its parent.
9070 * NEWS: Mention sigvec removal.
9071
9072 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9073
9074 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9075 (DLA_FMS): Make definition conditional only on [__FMA4__].
9076 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9077 definition.
9078
9079 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9080 Make definition conditional only on [PROF].
9081 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9082 definition.
9083 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9084 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9085
9086 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9087 !__GNUC__].
9088 * include/signal.h (__sigpause): Move declaration above call to
9089 libc_hidden_proto.
9090 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9091 variable.
9092 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9093 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9094
9095 2014-11-14 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9098 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9099
9100 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9101
9102 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9103 * configure: Regenerated.
9104 * manual/install.texi (Tools for Compilation): Document a
9105 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9106 compiler verified to work.
9107 * INSTALL: Regenerated.
9108
9109 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9110 redeclare with asm name.
9111 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9112 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9113 including <string.h>.
9114 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9115 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9116 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9117 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9118 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9120 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9121
9122 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9123
9124 * stdlib/strtol.c (__strtol): Use prototype definition.
9125
9126 [BZ #17594]
9127 * stdlib/strtol.c (SYM__): New macro.
9128 (SYM__1): Likewise.
9129 (__strtol): Likewise.
9130 (strtol): Rename to __strtol and define as weak alias of
9131 __strtol. Use libc_hidden_weak.
9132
9133 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9134
9135 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9136 Use numbered labels in inline assembly.
9137
9138 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9139
9140 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9141 Add setjmp LIBC_PROBE.
9142 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9143 Likewise.
9144 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9145 Add longjmp, longjmp_target LIBC_PROBE.
9146 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9147 Likewise.
9148
9149 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9150
9151 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9152 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9153 to get rid of unused variable warning.
9154
9155 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9156
9157 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9158 Check for unwind_backtrace == NULL only in SHARED case.
9159 (__backchain_backtrace): Compile only in SHARED case.
9160 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9161 Likewise.
9162 (__backchain_backtrace): Declare as static.
9163
9164 2014-11-12 Roland McGrath <roland@hack.frob.com>
9165
9166 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9167 (__libc_multiple_threads_ptr): Variable moved ...
9168 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9169
9170 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9171
9172 * conform/GlibcConform.pm: New file.
9173 * conform/conformtest.pl: Use GlibcConform module.
9174 * conform/linknamespace.pl: New file.
9175 * conform/list-header-symbols.pl: Likewise.
9176 * conform/Makefile (linknamespace-symlists-base): New variable.
9177 (linknamespace-symlists-tests): Likewise.
9178 (linknamespace-header-base): Likewise.
9179 (linknamespace-header-tests): Likewise.
9180 (tests-special): Add new tests.
9181 ($(linknamespace-symlists-tests)): New rule.
9182 (linknamespace-libs): New variable.
9183 ($(objpfx)symlist-stdlibs): New rule.
9184 ($(linknamespace-header-tests)): Likewise.
9185 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9186 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9187 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9188 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9189 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9190 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9191 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9192 (test-xfail-ISO/math.h/linknamespace): Likewise.
9193 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9194 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9195 (test-xfail-ISO/time.h/linknamespace): Likewise.
9196 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9197 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9198 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9199 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9200 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9201 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9202 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9203 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9204 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9205 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9206 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9207 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9208 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9209 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9210 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9211 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9212 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9213 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9214 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9215 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9216 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9217 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9218 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9219 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9220 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9221 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9222 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9223 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9224 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9225 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9226 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9227 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9228 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9229 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9230 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9231 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9232 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9233 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9234 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9235 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9236 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9237 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9238 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9239 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9240 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9241 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9242 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9243 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9244 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9245 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9246 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9247 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9248 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9249 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9250 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9251 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9252 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9253 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9254 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9255 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9256 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9257 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9258 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9259 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9260 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9261 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9262 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9263 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9264 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9265 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9266 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9267 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9268 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9269 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9270 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9271 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9272 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9273 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9274 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9275 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9276 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9277 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9278 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9279 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9280 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9281 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9282 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9283 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9284 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9285 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9286 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9287 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9288 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9289 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9290 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9291 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9292 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9293 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9294 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9295 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9296 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9297 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9298 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9299 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9300 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9301 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9302 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9303 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9304 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9305 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9306 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9307 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9308 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9309 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9310 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9311 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9312 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9313 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9314 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9315 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9316 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9317 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9318 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9319 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9320 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9321 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9322 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9323 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9324 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9325 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9326 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9327 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9328 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9329 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9330 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9331 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9332 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9333 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9334 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9335 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9336 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9337 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9338 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9339 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9340 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9341 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9342 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9343 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9344 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9345 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9346
9347 [BZ #17589]
9348 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9349 of fgets_unlocked.
9350
9351 [BZ #17585]
9352 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9353 (memmem): Rename to __memmem and define as weak alias of
9354 __memmem. Use libc_hidden_weak.
9355 (__memmem): Use libc_hidden_def.
9356 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9357 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9358 memmem.
9359
9360 [BZ #17582]
9361 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9362 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9363 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9364 and define as weak alias of __fgets_unlocked. Use
9365 libc_hidden_weak.
9366 (__fgets_unlocked): Use libc_hidden_def.
9367 * include/stdio.h (__fgets_unlocked): Declare. Use
9368 libc_hidden_proto.
9369 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9370 __fgets_unlocked instead of fgets_unlocked.
9371 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9372 (GET_NPROCS_CONF_PARSER): Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9374 (GET_NPROCS_CONF_PARSER): Likewise.
9375
9376 [BZ #17574]
9377 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9378 weak alias of __wmemset. Use libc_hidden_weak.
9379 (__wmemset): Use libc_hidden_def.
9380 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9381 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9382 of wmemset.
9383
9384 [BZ #17573]
9385 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9386 with asm name __mempcpy.
9387 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9388
9389 [BZ #17572]
9390 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9391 and define as weak alias of __rawmemchr.
9392 (__rawmemchr): Do not define as strong alias of rawmemchr.
9393
9394 [BZ #17571]
9395 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9396 alias of __qsort_r.
9397 (qsort): Call __qsort_r instead of qsort_r.
9398 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9399 (__qsort_r): Declare. Call libc_hidden_proto.
9400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9401 instead of qsort_r.
9402 * nscd/gai.c (__qsort_r): Define to qsort_r.
9403 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9404 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9405 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9406
9407 [BZ #17570]
9408 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9409 define as weak alias of __malloc_info.
9410
9411 [BZ #17584]
9412 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9413 as weak alias of __rewinddir. Don't use libc_hidden_def.
9414 (__rewinddir): Use libc_hidden_def.
9415 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9416 as weak alias of __rewinddir. Don't use libc_hidden_def.
9417 (__rewinddir): Use libc_hidden_def.
9418 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9419 weak alias of __rewinddir. Don't use libc_hidden_def.
9420 (__rewinddir): Use libc_hidden_def.
9421 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9422 (__rewinddir): Use libc_hidden_proto.
9423 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9424 rewinddir.
9425 (__getcwd): Use __rewinddir instead of rewinddir.
9426
9427 [BZ #17583]
9428 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9429 alias of __fileno. Use libc_hidden_weak.
9430 (__fileno): Use libc_hidden_def.
9431 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9432 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9433 alias of __ftello.
9434 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9435 __ftello.
9436 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9437 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9438 libc_hidden_def.
9439 (fread_unlocked): Don't use libc_hidden_ver.
9440 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9441 and define as weak alias of __fread_unlocked. Don't use
9442 libc_hidden_def.
9443 (__fread_unlocked): Use libc_hidden_def.
9444 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9445 (ftello): Don't use libc_hidden_proto.
9446 (__ftello): Declare. Use libc_hidden_proto.
9447 (fread_unlocked): Don't use libc_hidden_proto.
9448 (__fread_unlocked): Declare. Use libc_hidden_proto.
9449 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9450 and __ftello instead of fileno, fread_unlocked and ftello.
9451
9452 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9453
9454 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9455 GOT12.
9456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9457 Likewise.
9458 (_dl_start_user): Likewise.
9459 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9460
9461 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9462 Siddhesh Poyarekar <siddhesh@redhat.com>
9463
9464 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9465 Move argv and envp down instead of moving argc up.
9466 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9467
9468 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9469
9470 [BZ #17506]
9471 * test-skeleton.c (main): Return successful if one of
9472 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9473 * string/tst-strcoll-overflow.c: Define expected status.
9474
9475 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9476
9477 [BZ #17475]
9478 * locale/iso-639.def: Define Bhili and Tulu language codes.
9479
9480 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9481
9482 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9483
9484 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9485
9486 [BZ #17555]
9487 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9488
9489 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9490
9491 * configure.ac: Updated check of minimal required version to
9492 2.22.
9493 * manual/install.texi (Tools for Compilation): Updated version
9494 number.
9495 * configure: Regenerated.
9496 * INSTALL: Likewise.
9497
9498 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9499
9500 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9501 __tls_get_addr.
9502
9503 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9504
9505 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9506 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9507 (__waitpid): Don't define as alias. Use libc_hidden_def not
9508 libc_hidden_weak.
9509 (waitpid): Define as alias of __waitpid.
9510 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9511 __waitpid.
9512 (__waitpid): Don't define as alias. Use libc_hidden_def not
9513 libc_hidden_weak.
9514 (waitpid): Define as alias of __waitpid.
9515 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9516 __libc_waitpid alias.
9517 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9518 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9519 Likewise.
9520 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9522 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9523 alias.
9524 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9525 __waitpid.
9526 (__waitpid): Don't define as alias. Use libc_hidden_def not
9527 libc_hidden_weak.
9528 (waitpid): Define as alias of __waitpid.
9529
9530 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9531
9532 * manual/llio.texi: Add comment that write safety has been
9533 fixed in Linux.
9534
9535 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9536 (localplt-build-dso): Add elf/ld.so.
9537 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9538 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9539 and free for ld.so.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9541 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9543 Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9545 Likewise.
9546 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9547 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9548 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9549 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9550 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9551 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9552 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9553 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9554 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9555 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9556 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9557
9558 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9559
9560 [BZ #14132]
9561 * include/libc-symbols.h (INTUSE): Remove macro.
9562 (INTDEF): Likewise.
9563 (INTVARDEF): Likewise.
9564 (_INTVARDEF): Likewise.
9565 (INTDEF2): Likewise.
9566 (INTVARDEF2): Likewise.
9567 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9568 rtld_hidden_def instead of INTVARDEF.
9569 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9570 (_dl_starting_up_internal): Remove declaration.
9571 (_dl_starting_up): Use rtld_hidden_proto.
9572 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9573 declaration.
9574 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9575 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9576 _dl_starting_up.
9577 * elf/dl-writev.h (_dl_writev): Likewise.
9578 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9579 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9580 _dl_starting_up_internal.
9581
9582 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9583
9584 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9585 test-skeleton.c.
9586
9587 2014-11-05 Will Newton <will.newton@linaro.org>
9588
9589 * benchtests/Makefile: (bench-malloc): Add malloc thread
9590 scalability benchmark.
9591 * benchtests/bench-malloc-threads.c: New file.
9592
9593 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9594
9595 * sysdeps/aarch64/strchrnul.S: New file.
9596
9597 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598
9599 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9600 definition.
9601 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9602 Likwise.
9603 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9604 Likewise.
9605 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9606 Likewise.
9607 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9608 Likewise.
9609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9610 Likewise.
9611
9612 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9613
9614 * catgets/test-gencat.c: Use test-skeleton.c.
9615 * catgets/tst-catgets.c: Likewise.
9616 * csu/tst-empty.c: Likewise.
9617 * elf/tst-audit2.c: Likewise.
9618 * elf/tst-global1.c: Likewise.
9619 * elf/tst-pathopt.c: Likewise.
9620 * elf/tst-piemod1.c: Likewise.
9621 * elf/tst-tls10.c: Likewise.
9622 * elf/tst-tls11.c: Likewise.
9623 * elf/tst-tls12.c: Likewise.
9624 * gnulib/tst-gcc.c: Likewise.
9625 * iconvdata/tst-e2big.c: Likewise.
9626 * iconvdata/tst-loading.c: Likewise.
9627 * iconv/tst-iconv1.c: Likewise.
9628 * iconv/tst-iconv2.c: Likewise.
9629 * inet/test-inet6_opt.c: Likewise.
9630 * inet/tst-gethnm.c: Likewise.
9631 * inet/tst-network.c: Likewise.
9632 * inet/tst-ntoa.c: Likewise.
9633 * intl/tst-codeset.c: Likewise.
9634 * intl/tst-gettext2.c: Likewise.
9635 * intl/tst-gettext3.c: Likewise.
9636 * intl/tst-ngettext.c: Likewise.
9637 * intl/tst-translit.c: Likewise.
9638 * io/test-stat.c: Likewise.
9639 * libio/test-fmemopen.c: Likewise.
9640 * libio/tst-freopen.c: Likewise.
9641 * libio/tst-sscanf.c: Likewise.
9642 * libio/tst-ungetwc1.c: Likewise.
9643 * libio/tst-ungetwc2.c: Likewise.
9644 * libio/tst-widetext.c: Likewise.
9645 * localedata/tst-ctype.c: Likewise.
9646 * localedata/tst-digits.c: Likewise.
9647 * localedata/tst-leaks.c: Likewise.
9648 * localedata/tst-mbswcs1.c: Likewise.
9649 * localedata/tst-mbswcs2.c: Likewise.
9650 * localedata/tst-mbswcs3.c: Likewise.
9651 * localedata/tst-mbswcs4.c: Likewise.
9652 * localedata/tst-mbswcs5.c: Likewise.
9653 * localedata/tst-setlocale.c: Likewise.
9654 * localedata/tst-trans.c: Likewise.
9655 * localedata/tst-wctype.c: Likewise.
9656 * localedata/tst-xlocale1.c: Likewise.
9657 * login/tst-grantpt.c: Likewise.
9658 * malloc/tst-calloc.c: Likewise.
9659 * malloc/tst-malloc.c: Likewise.
9660 * malloc/tst-mallocstate.c: Likewise.
9661 * malloc/tst-mcheck.c: Likewise.
9662 * malloc/tst-mtrace.c: Likewise.
9663 * malloc/tst-obstack.c: Likewise.
9664 * math/atest-exp2.c: Likewise.
9665 * math/atest-exp.c: Likewise.
9666 * math/atest-sincos.c: Likewise.
9667 * math/test-matherr.c: Likewise.
9668 * math/test-misc.c: Likewise.
9669 * math/test-powl.c: Likewise.
9670 * math/tst-definitions.c: Likewise.
9671 * misc/tst-dirname.c: Likewise.
9672 * misc/tst-efgcvt.c: Likewise.
9673 * misc/tst-fdset.c: Likewise.
9674 * misc/tst-hsearch.c: Likewise.
9675 * misc/tst-mntent2.c: Likewise.
9676 * nptl/tst-sem7.c: Likewise.
9677 * nptl/tst-sem8.c: Likewise.
9678 * nptl/tst-sem9.c: Likewise.
9679 * nss/test-netdb.c: Likewise.
9680 * posix/tst-fnmatch.c: Likewise.
9681 * posix/tst-getlogin.c: Likewise.
9682 * posix/tst-gnuglob.c: Likewise.
9683 * posix/tst-mmap.c: Likewise.
9684 * pwd/tst-getpw.c: Likewise.
9685 * resolv/tst-inet_ntop.c: Likewise.
9686 * rt/tst-timer.c: Likewise.
9687 * stdio-common/test-fseek.c: Likewise.
9688 * stdio-common/test-popen.c: Likewise.
9689 * stdio-common/test-vfprintf.c: Likewise.
9690 * stdio-common/tst-cookie.c: Likewise.
9691 * stdio-common/tst-fileno.c: Likewise.
9692 * stdio-common/tst-gets.c: Likewise.
9693 * stdio-common/tst-obprintf.c: Likewise.
9694 * stdio-common/tst-perror.c: Likewise.
9695 * stdio-common/tst-sprintf2.c: Likewise.
9696 * stdio-common/tst-sprintf3.c: Likewise.
9697 * stdio-common/tst-sprintf.c: Likewise.
9698 * stdio-common/tst-swprintf.c: Likewise.
9699 * stdio-common/tst-tmpnam.c: Likewise.
9700 * stdio-common/tst-unbputc.c: Likewise.
9701 * stdio-common/tst-wc-printf.c: Likewise.
9702 * stdlib/tst-environ.c: Likewise.
9703 * stdlib/tst-fmtmsg.c: Likewise.
9704 * stdlib/tst-limits.c: Likewise.
9705 * stdlib/tst-rand48-2.c: Likewise.
9706 * stdlib/tst-rand48.c: Likewise.
9707 * stdlib/tst-random2.c: Likewise.
9708 * stdlib/tst-random.c: Likewise.
9709 * stdlib/tst-strtol.c: Likewise.
9710 * stdlib/tst-strtoll.c: Likewise.
9711 * stdlib/tst-tls-atexit.c: Likewise.
9712 * stdlib/tst-xpg-basename.c: Likewise.
9713 * string/test-ffs.c: Likewise.
9714 * string/tst-bswap.c: Likewise.
9715 * string/tst-inlcall.c: Likewise.
9716 * string/tst-strtok.c: Likewise.
9717 * string/tst-strxfrm.c: Likewise.
9718 * sysdeps/x86_64/tst-audit10.c: Likewise.
9719 * sysdeps/x86_64/tst-audit3.c: Likewise.
9720 * sysdeps/x86_64/tst-audit4.c: Likewise.
9721 * sysdeps/x86_64/tst-audit5.c: Likewise.
9722 * time/tst-ftime_l.c: Likewise.
9723 * time/tst-getdate.c: Likewise.
9724 * time/tst-mktime3.c: Likewise.
9725 * time/tst-mktime.c: Likewise.
9726 * time/tst-posixtz.c: Likewise.
9727 * time/tst-strptime2.c: Likewise.
9728 * time/tst-strptime3.c: Likewise.
9729 * wcsmbs/tst-btowc.c: Likewise.
9730 * wcsmbs/tst-mbrtowc.c: Likewise.
9731 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9732 * wcsmbs/tst-wchar-h.c: Likewise.
9733 * wcsmbs/tst-wcpncpy.c: Likewise.
9734 * wcsmbs/tst-wcrtomb.c: Likewise.
9735 * wcsmbs/tst-wcsnlen.c: Likewise.
9736 * wcsmbs/tst-wcstof.c: Likewise.
9737
9738 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #14132]
9741 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9742 INTDEF.
9743 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9744 declaration.
9745 (_dl_mcount): Use rtld_hidden_proto.
9746 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9747 _dl_mcount.
9748 * elf/rtld.c (_rtld_global_ro): Likewise.
9749
9750 [BZ #14132]
9751 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9752 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9753 of _dl_init_internal.
9754 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9755 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9756 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9757 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9758 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9759 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9760 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9761 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9762 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9763 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9764 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9765 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9766 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9767 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9768 * sysdeps/tile/dl-start.S (_start): Likewise.
9769 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9770 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9771
9772 [BZ #14132]
9773 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9774 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9775 (rtld_progname): Make macro definition unconditional.
9776 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9777 INTDEF.
9778 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9779 (dl_main): Likewise.
9780 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9781 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9782 instead of _dl_argv_internal.
9783 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9784 __GI__dl_argv instead of INTUSE(_dl_argv).
9785 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9786 __GI__dl_argv instead of _dl_argv_internal.
9787
9788 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9789 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9790 macro.
9791 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9792 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9793 New macro.
9794 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9795 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9796 macro.
9797 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9798 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9799
9800 2014-11-04 Andreas Schwab <schwab@suse.de>
9801
9802 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9803
9804 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9805
9806 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9807 mtvsrd instruction in binary form.
9808
9809 2014-11-03 Andreas Schwab <schwab@suse.de>
9810
9811 [BZ #17522]
9812 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9813 for less than MB_LEN_MAX use a local buffer of that size.
9814 * libio/tst-fputws.c: New file.
9815 * libio/Makefile (tests): Add tst-fputws.
9816
9817 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9818
9819 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9820 the size of the fpu_fr.fpu_dregs[] array.
9821
9822 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9823
9824 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9825 (__nanosleep): Do not define as alias.
9826 (nanosleep): Define as alias of __nanosleep.
9827 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9828 __libc_nanosleep name.
9829
9830 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9831
9832 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9833 install.texi in comment.
9834
9835 2014-10-31 Torvald Riegel <triegel@redhat.com>
9836
9837 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9838 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9839 ... add here and use lwsync or sync ...
9840 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9841 ... and add here using lwsync.
9842
9843 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9844
9845 * elf/dl-machine-reject-phdr.h: New file.
9846 * elf/dl-load.c: #include that.
9847 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9848 if that returned true.
9849
9850 2014-10-31 Roland McGrath <roland@hack.frob.com>
9851
9852 [BZ #17496]
9853 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9854 gen-as-const-headers chunk. Add a big scare comment after the last
9855 safe place to touch before-compile.
9856
9857 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9858
9859 * manual/install.texi (Tools for Compilation): Update autoconf
9860 version requirements.
9861 * INSTALL: Regenerated.
9862
9863 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9864 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9865 (__libc_pselect): Likewise.
9866
9867 [BZ #14138]
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9872
9873 2014-10-31 Torvald Riegel <triegel@redhat.com>
9874
9875 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9876 correct barrier instruction.
9877 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9878 Likewise.
9879 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9880 Likewise.
9881
9882 2014-10-30 Roland McGrath <roland@hack.frob.com>
9883
9884 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9885 after defining inlines. Instead, just use parens to defeat macro
9886 expansion of __isctype in its declaration.
9887
9888 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9889
9890 * include/sys/uio.h (__libc_readv): Remove declaration.
9891 (__libc_writev): Likewise.
9892 * misc/readv.c (__libc_readv): Rename to __readv.
9893 (__readv): Do not define as alias.
9894 (readv): Define as alias of __readv.
9895 * misc/writev.c (__libc_writev): Rename to __writev.
9896 (__writev): Do not define as alias.
9897 (writev): Define as alias of __writev.
9898 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9899 (__readv): Do not define as alias.
9900 (readv): Define unconditionally as alias of __readv.
9901 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9902 (__writev): Do not define as alias.
9903 (writev): Define unconditionally as alias of __writev.
9904 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9905 name.
9906 (writev): Do not define __libc_writev name.
9907
9908 2014-10-30 Roland McGrath <roland@hack.frob.com>
9909
9910 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9911 (convert_charseq): New function, broken out of ...
9912 (use_from_charmap): ... here. Call it.
9913 (use_to_charmap): Use convert_charseq and free instead of duplicating
9914 its code with a variable-length stack struct.
9915
9916 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9917
9918 * include/fcntl.h (__libc_creat): Remove declaration.
9919 * io/creat.c (__libc_creat): Rename to creat.
9920 (creat): Do not define as alias.
9921 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9922 of creat instead of __libc_creat.
9923 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9924 to creat.
9925 (creat): Do not define as alias.
9926 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9927 __libc_creat.
9928 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9929 __libc_creat name.
9930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9931 Likewise.
9932
9933 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9934
9935 * manual/llio.texi: Add comments discussing why write() may be
9936 considered MT-unsafe on Linux.
9937
9938 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9939
9940 * dl-load.c (local_strdup): Remove.
9941 (expand_dynamic_string_token): Use __strdup.
9942 (decompose_rpath): Likewise.
9943 (_dl_map_object): Likewise.
9944
9945 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9946
9947 [BZ #14132]
9948 * sysdeps/generic/unwind-dw2-fde.c
9949 (__register_frame_info_bases_internal): Do not declare.
9950 (__register_frame_info_table_bases_internal): Likewise.
9951 (__deregister_frame_info_bases_internal): Likewise.
9952 (__register_frame_info_bases): Declare and use hidden_proto before
9953 definition. Use hidden_def instead of INTDEF.
9954 (__register_frame_info_table_bases): Likewise.
9955 (__deregister_frame_info_bases): Likewise.
9956 (__register_frame_info): Do not use INTUSE.
9957 (__register_frame): Likewise.
9958 (__register_frame_info_table): Likewise.
9959 (__register_frame_table): Likewise.
9960 (__deregister_frame_info): Likewise.
9961 (__deregister_frame): Likewise.
9962
9963 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9964
9965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9966 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9967 not undefine.
9968 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9969 Likewise.
9970 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9971 Likewise.
9972
9973 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #14138]
9976 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9977 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9978 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9979 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9980 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9981 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9982 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9984 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9985 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9986 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9987 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9988 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9989 syscall.
9990 (setfsuid): Likewise.
9991 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9992 (setfsuid): Likewise.
9993 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9994 (setfsuid): Likewise.
9995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9996 Likewise.
9997 (setfsuid): Likewise.
9998 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9999 (setfsuid): Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10001 Likewise.
10002 (setfsuid): Likewise.
10003
10004 2014-10-27 Andreas Schwab <schwab@suse.de>
10005
10006 [BZ #17501]
10007 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10008 check for Slow_SSE4_2 feature bit.
10009 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10010 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10011 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10012 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10013
10014 2014-10-24 Roland McGrath <roland@hack.frob.com>
10015
10016 * configure.ac: Validate compiler version with a empirical test of
10017 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10018 $CC -v output.
10019 * configure: Regenerated.
10020
10021 * inet/htons.c (htons): Prototypify.
10022 * inet/htonl.c (htonl): Likewise.
10023
10024 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10025
10026 * string/strncat.c (strncat): Improve performance by using strlen.
10027
10028 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10029
10030 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10031
10032 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10033
10034 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10035 Call libc_fetestexcept_aarch64.
10036
10037 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10038
10039 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10040 Call libc_feholdexcept_aarch64.
10041
10042 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10043
10044 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10045 Call get_rounding_mode.
10046
10047 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10048
10049 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10050 Simplify logic.
10051
10052 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10053
10054 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10055 Simplify logic.
10056
10057 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10058
10059 [BZ #14138]
10060 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10061 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10062 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10063 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10064 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10065 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10066 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10067 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10068 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10069 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10070 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10071 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10072 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10073 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10074 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10075 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10076 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10077 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10078 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10079 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10080 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10081 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10082 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10083 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10084 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10085 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10086 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10087 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10088 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10089 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10090 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10091 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10092 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10093 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10094 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10095 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10097 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10098 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10099 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10100 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10101 syscall.
10102 (geteuid): Likewise.
10103 (getgid): Likewise.
10104 (getuid): Likewise.
10105 (getresgid): Likewise.
10106 (getresuid): Likewise.
10107 (getgroups): Likewise.
10108 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10109 (geteuid): Likewise.
10110 (getgid): Likewise.
10111 (getuid): Likewise.
10112 (getresgid): Likewise.
10113 (getresuid): Likewise.
10114 (getgroups): Likewise.
10115 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10116 (geteuid): Likewise.
10117 (getgid): Likewise.
10118 (getuid): Likewise.
10119 (getresgid): Likewise.
10120 (getresuid): Likewise.
10121 (getgroups): Likewise.
10122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10123 Likewise.
10124 (geteuid): Likewise.
10125 (getgid): Likewise.
10126 (getuid): Likewise.
10127 (getresgid): Likewise.
10128 (getresuid): Likewise.
10129 (getgroups): Likewise.
10130 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10131 (geteuid): Likewise.
10132 (getgid): Likewise.
10133 (getuid): Likewise.
10134 (getresgid): Likewise.
10135 (getresuid): Likewise.
10136 (getgroups): Likewise.
10137 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10138 Likewise.
10139 (geteuid): Likewise.
10140 (getgid): Likewise.
10141 (getuid): Likewise.
10142 (getgroups): Likewise.
10143
10144 [BZ #14138]
10145 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10146 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10147 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10149 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10150 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10151 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10152 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10153 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10154 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10155 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10158 __chown.
10159 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10160 (lchown): Likewise.
10161 (fchown): Likewise.
10162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10163 Likewise.
10164 (lchown): Likewise.
10165 (fchown): Likewise.
10166 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10167 (lchown): Likewise.
10168 (fchown): Likewise.
10169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10170 Likewise.
10171 (lchown): Likewise.
10172 (fchown): Likewise.
10173
10174 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10175
10176 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10177 Simplify logic.
10178
10179 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10180
10181 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10182 Cleanup logic.
10183
10184 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10185
10186 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10187 Remove unused include.
10188
10189 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10190
10191 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10192 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10193 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10194 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10195
10196 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10197 Helge Deller <deller@gmx.de>
10198
10199 [BZ #17508]
10200 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10201 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10202 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10203
10204 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10205
10206 [BZ #14132]
10207 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10208 Remove macro definition.
10209 (__ashrdi3_v_glibc20): Likewise.
10210 (__lshrdi3_v_glibc20): Likewise.
10211 (__cmpdi2_v_glibc20): Likewise.
10212 (__ucmpdi2_v_glibc20): Likewise.
10213 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10214 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10215 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10216 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10217 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10218 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10219
10220 2014-10-22 Roland McGrath <roland@hack.frob.com>
10221
10222 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10223 old GNU extension [0] syntax.
10224 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10225 alloca rather than an array member with variable length.
10226 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10227 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10228 (parse_opt): ... here. Likewise use alloca there.
10229 Validate the -i argument before checking for rootness.
10230 (send_shutdown): New function, broken out of ...
10231 (parse_opt): ... here.
10232
10233 2014-10-22 Roland McGrath <roland@hack.frob.com>
10234
10235 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10236 macro to get at the _rt_local_ro field.
10237 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10238 ([PIC] case) or _dl_hwcap ([!PIC] case).
10239 * sysdeps/arm/setjmp.S: Likewise.
10240
10241 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10242 * sysdeps/arm/configure.ac: New check to define it.
10243 * sysdeps/arm/configure: Regenerated.
10244 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10245 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10246 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10247 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10248 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10249 Use move/movt pair instead of a load.
10250 (LDST_GLOBAL): Macro removed.
10251 (LDR_GLOBAL): New macro replaces it.
10252 (LDR_HIDDEN): New macro.
10253 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10254 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10255
10256 * setjmp/tst-setjmp-static.c: New file.
10257 * setjmp/Makefile (tests): Add it.
10258 (tests-static): New variable.
10259
10260 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10261
10262 [BZ #17485]
10263 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10264
10265 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #14132]
10268 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10269
10270 2014-10-21 Roland McGrath <roland@hack.frob.com>
10271
10272 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10273
10274 2014-10-20 Roland McGrath <roland@hack.frob.com>
10275
10276 * io/fts.c (dirent_not_directory): New function.
10277 (fts_build): Call it.
10278
10279 2014-10-20 Roland McGrath <roland@hack.frob.com>
10280
10281 * nptl/version.c (__nptl_main): Use normal __write rather than
10282 INTERNAL_SYSCALL.
10283 (banner): Update copyright years.
10284
10285 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10286 gettimeofday.
10287 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10288 * nptl/pthread_cond_timedwait.c: Likewise.
10289 * nptl/pthread_mutex_timedlock.c: Likewise.
10290 * nptl/sem_timedwait.c: Likewise.
10291
10292 * sysdeps/nptl/bits/libc-lock.h
10293 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10294 (__libc_lock_init_recursive): Return void, not 0.
10295 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10296 (__libc_rwlock_init): Likewise.
10297 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10298
10299 2014-10-20 Torvald Riegel <triegel@redhat.com>
10300
10301 [BZ #15215]
10302 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10303 (__pthread_once_slow): ... here.
10304 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10305 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10306
10307 2014-10-20 Torvald Riegel <triegel@redhat.com>
10308
10309 [BZ #15215]
10310 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10311 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10312 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10313 * nptl/pthread_once.c (__pthread_once): Likewise.
10314 Update comments.
10315
10316 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #14138]
10319 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10320 name.
10321 (writev): Use __libc_writev as strong name.
10322 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10323 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10324
10325 2014-10-17 Roland McGrath <roland@hack.frob.com>
10326
10327 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10328
10329 * sysdeps/i386/nptl/tls.h
10330 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10331 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10332 New macros.
10333 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10334 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10335 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10336 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10337 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10338 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10339
10340 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10341 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10342 on [__NR_futex].
10343 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10344 broken out of ...
10345 (__pthread_mutex_init): ... here. Call it.
10346 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10347 Conditionalize PI cases on [__NR_futex].
10348 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10349 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10350 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10351
10352 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10353 conditional on [SIGSETXID].
10354 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10355 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10356 is defined. Likewise for SIGSETXID.
10357 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10358 Conditionalize definitions on [SIGSETXID].
10359 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10360 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10361 unblocking on [SIGCANCEL].
10362
10363 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10364 [__NR_set_robust_list].
10365
10366 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10367
10368 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10369 (do_compare): Likewise.
10370
10371 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10372
10373 [BZ #15884]
10374 * string/strcoll_l.c: Don't include stdio.h.
10375 (coll_seq): Remove members idxarr and rulearr.
10376 (get_next_seq_cached): Remove function.
10377 (get_next_seq): Likewise.
10378 (get_next_seq_nocache): Rename to get_next_seq.
10379 (do_compare): Remove function.
10380 (do_compare_nocache): Rename to do_compare.
10381 (STRCOLL): Remove weight and rules cache.
10382
10383 2014-10-16 Roland McGrath <roland@hack.frob.com>
10384
10385 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10386 * sysdeps/arm/sfp-machine.h: ... to here.
10387 * sysdeps/arm/Implies: Remove arm/soft-fp.
10388
10389 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10390
10391 * conform/data/sys/utsname.h-data (*_t): Allow.
10392 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10393 [POSIX] (WEXITED): Do not expect constant.
10394 [POSIX] (WSTOPPED): Likewise.
10395 [POSIX] (WNOHANG): Likewise.
10396 [POSIX] (WNOWAIT): Likewise.
10397 [POSIX] (siginfo_t): Do not expect type or elements.
10398 [POSIX] (pid_t): Do not expect type.
10399 [POSIX] (signal.h): Do not allow header.
10400 [POSIX] (sys/resource.h): Likewise.
10401 [POSIX] (si_*): Do not allow pattern.
10402 [POSIX] (W*): Likewise.
10403 [POSIX] (P_*): Likewise.
10404 [POSIX] (BUS_*): Likewise.
10405 [POSIX] (CLD_*): Likewise.
10406 [POSIX] (FPE_*): Likewise.
10407 [POSIX] (ILL_*): Likewise.
10408 [POSIX] (POLL_*): Likewise.
10409 [POSIX] (SEGV_*): Likewise.
10410 [POSIX] (SI_*): Likewise.
10411 [POSIX] (TRAP_*): Likewise.
10412 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10413 variable.
10414
10415 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10416
10417 [BZ #12926]
10418 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10419 infinite loop when __recvmsg returns 0.
10420
10421 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10422
10423 * CANCEL-FCT-WAIVE: Remove file.
10424 * CANCEL-FILE-WAIVE: Likewise.
10425
10426 [BZ #14132]
10427 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10428 instead of INTVARDEF.
10429 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10430 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10431 rtld_hidden_data_def instead of INTVARDEF.
10432 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10433 * elf/dl-deps.c (expand_dst): Likewise.
10434 * elf/dl-load.c (_dl_dst_count): Likewise.
10435 (_dl_dst_substitute): Likewise.
10436 (decompose_rpath): Likewise.
10437 (_dl_init_paths): Likewise.
10438 (open_path): Likewise.
10439 (_dl_map_object): Likewise.
10440 * elf/rtld.c (dl_main): Likewise.
10441 (process_dl_audit): Likewise.
10442 (process_envvars): Likewise.
10443 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10444 Remove declaration.
10445 (__libc_enable_secure): Use rtld_hidden_proto.
10446
10447 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10448
10449 * elf/dl-load.c
10450 (add_path): New function broken out of _dl_rtld_di_serinfo.
10451 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10452
10453 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10454
10455 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10456 parentheses around macro arguments.
10457 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10460 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10461 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10463 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10464 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10465 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10468 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10469 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10470 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10471 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10472 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10473 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10474 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10475 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10476 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10478 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10479 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10481 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10482 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10483 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10486 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10487 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10488 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10489 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10490 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10491 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10492 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10493 Likewise.
10494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10495 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10496 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10501 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10502 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10503 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10504 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10505 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10506 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10507 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10511 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10515 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10516 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10517 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10519 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10520 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10521 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10522 (_FP_FRAC_SRS_1): Likewise.
10523 (_FP_FRAC_CLZ_1): Likewise.
10524 (_FP_MUL_MEAT_1_imm): Likewise.
10525 (_FP_MUL_MEAT_1_wide): Likewise.
10526 (_FP_MUL_MEAT_1_hard): Likewise.
10527 (_FP_SQRT_MEAT_1): Likewise.
10528 (_FP_FRAC_ASSEMBLE_1): Likewise.
10529 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10530 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10531 (__FP_CLZ_2): Likewise.
10532 (_FP_MUL_MEAT_2_wide): Likewise.
10533 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10534 (_FP_MUL_MEAT_2_gmp): Likewise.
10535 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10536 (_FP_SQRT_MEAT_2): Likewise.
10537 (_FP_FRAC_ASSEMBLE_2): Likewise.
10538 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10539 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10540 (_FP_FRAC_CLZ_4): Likewise.
10541 (_FP_MUL_MEAT_4_wide): Likewise.
10542 (_FP_MUL_MEAT_4_gmp): Likewise.
10543 (_FP_SQRT_MEAT_4): Likewise.
10544 (_FP_FRAC_ASSEMBLE_4): Likewise.
10545 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10546 * soft-fp/op-common.h (_FP_CMP): Likewise.
10547 (_FP_CMP_EQ): Likewise.
10548 (_FP_CMP_UNORD): Likewise.
10549 (_FP_TO_INT): Likewise.
10550 (_FP_FROM_INT): Likewise.
10551 [!__FP_CLZ] (__FP_CLZ): Likewise.
10552 (_FP_DIV_HELP_imm): Likewise.
10553 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10554 Likewise.
10555 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10556 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10557 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10558 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10559 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10562 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10563 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10566 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10567 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10568 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10570 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10571 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10572 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10574 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10575 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10576 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10577 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10580 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10581 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10584 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10585 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10586 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10588 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10589 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10590 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10591 (FP_UNPACK_RAW_SP): Likewise.
10592 (FP_PACK_RAW_S): Likewise.
10593 (FP_PACK_RAW_SP): Likewise.
10594 (FP_UNPACK_S): Likewise.
10595 (FP_UNPACK_SP): Likewise.
10596 (FP_UNPACK_SEMIRAW_S): Likewise.
10597 (FP_UNPACK_SEMIRAW_SP): Likewise.
10598 (FP_PACK_S): Likewise.
10599 (FP_PACK_SP): Likewise.
10600 (FP_PACK_SEMIRAW_S): Likewise.
10601 (FP_PACK_SEMIRAW_SP): Likewise.
10602 (_FP_SQRT_MEAT_S): Likewise.
10603 (FP_CMP_S): Likewise.
10604 (FP_CMP_EQ_S): Likewise.
10605 (FP_CMP_UNORD_S): Likewise.
10606 (FP_TO_INT_S): Likewise.
10607 (FP_FROM_INT_S): Likewise.
10608
10609 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10610
10611 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10612 (FP_EX_INVALID_IMZ): Likewise.
10613 (FP_EX_INVALID_IMZ_FMA): Likewise.
10614 (FP_EX_INVALID_ISI): Likewise.
10615 (FP_EX_INVALID_ZDZ): Likewise.
10616 (FP_EX_INVALID_IDI): Likewise.
10617 (FP_EX_INVALID_SQRT): Likewise.
10618 (FP_EX_INVALID_CVI): Likewise.
10619 (FP_EX_INVALID_VC): Likewise.
10620 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10621 "invalid" exceptions.
10622 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10623 (_FP_ADD_INTERNAL): Likewise.
10624 (_FP_MUL): Likewise.
10625 (_FP_FMA): Likewise.
10626 (_FP_DIV): Likewise.
10627 (_FP_CMP_CHECK_NAN): Likewise.
10628 (_FP_SQRT): Likewise.
10629 (_FP_TO_INT): Likewise.
10630 (FP_EXTEND): Likewise.
10631
10632 2014-10-09 Allan McRae <allan@archlinux.org>
10633
10634 * po/fr.po: Update French translation from translation project.
10635
10636 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10637
10638 [BZ #14132]
10639 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10640 of INTDEF.
10641 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10642 (__cxa_atexit): Use libc_hidden_proto.
10643 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10644
10645 [BZ #14132]
10646 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10647 declaration.
10648 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10649 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10650 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10651 [!_ISOMAC] (__iswctype_internal): Likewise.
10652 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10653 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10654 alias.
10655 (fcntl): Remove __fcntl_internal alias.
10656 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10657 __connect_internal alias.
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10659 Likewise.
10660
10661 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10662 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10663 FP_DENORM_ZERO.
10664 (_FP_CHECK_FLUSH_ZERO): New macro.
10665 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10666 (_FP_CMP): Likewise.
10667 (_FP_CMP_EQ): Likewise.
10668 (_FP_TO_INT): Do not set inexact for subnormal arguments if
10669 FP_DENORM_ZERO.
10670 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10671 (FP_TRUNC): Likewise.
10672
10673 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10674 treated as invalid conversion, not as normal exponent.
10675
10676 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10677 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
10678 (_FP_CMP_EQ): Likewise.
10679 (_FP_CMP_UNORD): Likewise.
10680 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10681 (FP_CMP_EQ_D): Likewise.
10682 (FP_CMP_UNORD_D): Likewise.
10683 * soft-fp/extended.h (FP_CMP_E): Likewise.
10684 (FP_CMP_EQ_E): Likewise.
10685 (FP_CMP_UNORD_E): Likewise.
10686 * soft-fp/quad.h (FP_CMP_Q): Likewise.
10687 (FP_CMP_EQ_Q): Likewise.
10688 (FP_CMP_UNORD_Q): Likewise.
10689 * soft-fp/single.h (FP_CMP_S): Likewise.
10690 (FP_CMP_EQ_S): Likewise.
10691 (FP_CMP_UNORD_S): Likewise.
10692 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10693 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10694 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10695 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10696 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10697 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10698 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10699 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10700 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10701 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10702 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10703 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10704 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10705 to FP_CMP_Q.
10706 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10707 FP_CMP_Q.
10708 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10709 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10710 FP_CMP_EQ_Q.
10711 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10712 FP_CMP_Q.
10713 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10714 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10715 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10716 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10717 FP_CMP_EQ_Q.
10718 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10719 FP_CMP_Q.
10720 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10721 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10722 FP_CMP_EQ_Q.
10723 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10724 FP_CMP_Q.
10725 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10726 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10727 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10728 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10729 FP_CMP_EQ_Q.
10730
10731 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10732 a subnormal result, set the underflow exception if trapping on
10733 underflow is enabled.
10734 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10735 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10736 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10737 redefine to 0.
10738 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10739 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10740 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10741 * soft-fp/extendxftf2.c (__extendxftf2): Use
10742 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10743
10744 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10745 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10746 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10747 FP_HANDLE_EXCEPTIONS.
10748 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10749 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10750 FP_HANDLE_EXCEPTIONS.
10751 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10752 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10753 FP_HANDLE_EXCEPTIONS.
10754 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10755 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10756 FP_HANDLE_EXCEPTIONS.
10757
10758 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10759
10760 [BZ #14132]
10761 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10762 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10763 use INTUSE.
10764 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10765 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10766 Remove alias.
10767 (__adjtimex): Define using libc_hidden_ver.
10768 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10769 Remove declaration.
10770 (ntp_gettime): Call __adjtimex directly.
10771 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10772 Remove declaration.
10773 (ntp_gettimex): Call __adjtimex directly.
10774 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10775 __adjtimex_internal alias.
10776
10777 2014-10-08 Roland McGrath <roland@hack.frob.com>
10778
10779 [BZ #17460]
10780 * nscd/nscd.c (more_help): Rewrite list of tables collection
10781 using xstrdup and asprintf.
10782
10783 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10784
10785 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10786 Roland McGrath <roland@hack.frob.com>
10787
10788 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10789 (do_lookup_unique): ... local function 'enter' here; update callers.
10790
10791 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10792
10793 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10794 compat_symbol calls on [SHARED].
10795 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10796 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10797 Remove.
10798 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10799 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10800 (oldsetrlimit): Remove.
10801 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10803 (lchown): New syscall entry.
10804 (oldsetrlimit): Remove.
10805 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10806 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10807 (oldsetrlimit): Remove.
10808 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10809
10810 [BZ #14138]
10811 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10812 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10813 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10814 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10816 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10817 (fchown): Likewise.
10818 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10819 (fchown): Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10821 Likewise.
10822
10823 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10824
10825 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10826 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10827 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10828 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10829 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10830 Likewise.
10831 (__old_sem_post): Likewise.
10832
10833 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10834
10835 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10836 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10837 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10838 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10839 Use INLINE_VSYSCALL macro.
10840 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10841 __vdso_clock_gettime.
10842 * sysdeps/unix/sysv/linux/tile/init-first.c
10843 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10844 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10845 __vdso_clock_gettime.
10846
10847 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10848 to set up frame more cleanly.
10849
10850 * sysdeps/tile/memcmp.c: New file.
10851
10852 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10853
10854 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10855 * sysdeps/tile/tilegx/strcasestr.c: New file.
10856 * sysdeps/tile/tilegx/strnlen.c: New file.
10857 * sysdeps/tile/tilegx/strstr.c: New file.
10858
10859 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10860
10861 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10862
10863 * nptl/tst-setuid3.c: Write errors to stdout.
10864
10865 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10866
10867 * elf/dl-deps.c
10868 (preload): New functions broken out of _dl_map_object_deps.
10869 (_dl_map_object_deps): Remove a nested function. Update call sites.
10870
10871 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10872
10873 [BZ #14138]
10874 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10875 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10876
10877 2014-10-01 Steve Ellcey <sellcey@mips.com>
10878
10879 * sysdeps/mips/strcmp.S: New.
10880
10881 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10882
10883 [BZ #14138]
10884 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10885 (linkat): Likewise.
10886 (mkdirat): Likewise.
10887 (readlinkat): Likewise.
10888 (renameat): Likewise.
10889 (symlinkat): Likewise.
10890 (unlinkat): Likewise.
10891 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10892 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10893 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10894 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10895 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10896 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10897 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10898
10899 2014-09-30 Will Newton <will.newton@linaro.org>
10900
10901 * math/math.h: Define long double math functions if
10902 _LIBC_TEST is defined.
10903 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10904
10905 * localedata/Makefile: Move assignment to tests-special
10906 into an ifdef testing run-built-tests.
10907 * timezone/Makefile: Likewise.
10908
10909 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10912 with $(BASH) not $(SHELL).
10913
10914 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10915 Matthew LeGendre <legendre1@llnl.gov>
10916
10917 [BZ #17411]
10918 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10919 l_reloc_result.
10920
10921 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10922
10923 * stdio-common/printf_fp.c
10924 (hack_digit): New function, broken out of ...
10925 (__printf_fp): ... local function here. Update call sites.
10926 hack_digit now takes an additional parameter that is a pointer
10927 to a struct of the referenced locals. Those locals moved inside
10928 the struct and references updated.
10929
10930 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10931
10932 * aclocal.m4: Require autoconf 2.69.
10933 * configure: Regenerated.
10934 * sysdeps/aarch64/configure: Likewise.
10935 * sysdeps/alpha/configure: Likewise.
10936 * sysdeps/arm/armv7/configure: Likewise.
10937 * sysdeps/arm/configure: Likewise.
10938 * sysdeps/ia64/configure: Likewise.
10939 * sysdeps/mach/configure: Likewise.
10940 * sysdeps/mips/configure: Likewise.
10941 * sysdeps/s390/configure: Likewise.
10942 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10944
10945 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10946 file.
10947 * sysdeps/ia64/configure.ac: Likewise.
10948
10949 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10950
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10952 specify symbol version for ld.so. Do not include entry for
10953 libpthread.
10954 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10955 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10956 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10957
10958 [BZ #14171]
10959 * Makeconfig [$(build-shared) = yes]
10960 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10961 makefiles.
10962 [$(build-shared) = yes && $(soversions.mk-done) = t]
10963 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10964 [$(build-shared) = yes && $(soversions.mk-done) = t]
10965 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10966 to Makerules.
10967 [$(build-shared) = yes && $(soversions.mk-done) = t]
10968 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10969 here.
10970 [$(build-shared) = yes && $(soversions.mk-done) = t]
10971 (common-generated): Don't append gnu/lib-names.h and
10972 gnu/lib-names.stmp here.
10973 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10974 (lib-names-h-abi): New variable.
10975 [$(build-shared) = yes && $(soversions.mk-done) = t]
10976 (lib-names-stmp-abi): Likewise.
10977 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10978 abi-variants] (before-compile): Append
10979 $(common-objpfx)$(lib-names-h-abi).
10980 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10981 abi-variants] (common-generated): Append gnu/lib-names.h.
10982 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10983 abi-variants] (install-others-nosubdir): Depend on
10984 $(inst_includedir)/$(lib-names-h-abi).
10985 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10986 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10987 [$(build-shared) = yes && $(soversions.mk-done) = t]
10988 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10989 [$(build-shared) = yes && $(soversions.mk-done) = t]
10990 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10991 [$(build-shared) = yes && $(soversions.mk-done) = t]
10992 (common-generated): Append $(lib-names-h-abi) and
10993 $(lib-names-stmp-abi).
10994 * scripts/lib-names.awk: Do not handle multi being set.
10995 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10996 Remove variable.
10997 (abi-lp64_be-ld-soname): Likewise.
10998 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10999 Likewise.
11000 (abi-hard-ld-soname): Likewise.
11001 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11002 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11003 Remove variable.
11004 (abi-o32_hard-ld-soname): Likewise.
11005 (abi-o32_soft_2008-ld-soname): Likewise.
11006 (abi-o32_hard_2008-ld-soname): Likewise.
11007 (abi-n32_soft-ld-soname): Likewise.
11008 (abi-n32_hard-ld-soname): Likewise.
11009 (abi-n32_soft_2008-ld-soname): Likewise.
11010 (abi-n32_hard_2008-ld-soname): Likewise.
11011 (abi-n64_soft-ld-soname): Likewise.
11012 (abi-n64_hard-ld-soname): Likewise.
11013 (abi-n64_soft_2008-ld-soname): Likewise.
11014 (abi-n64_hard_2008-ld-soname): Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11016 Likewise.
11017 (abi-64-v2-ld-soname): Likewise.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11019 ld.so entries.
11020 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11021 variable.
11022 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11023 entry.
11024 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11025 variable.
11026 (abi-64-ld-soname): Likewise.
11027 (abi-x32-ld-soname): Likewise.
11028 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11029 entry.
11030 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11031
11032 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11033
11034 [BZ #14138]
11035 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11036 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11037 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11039 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11040 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11041 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11042 syscall entry for GLIBC_2.2 symbol version.
11043 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11044 Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11046 (setrlimit): Likewise.
11047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11048 Likewise.
11049
11050 2014-09-23 Will Newton <will.newton@linaro.org>
11051
11052 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11053 _LINUX_ARM_SYSDEP_H include guard too.
11054 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11055 define.
11056
11057 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11058
11059 * sysdeps/unix/sysv/linux/eventfd.c:
11060 Make first argument unsigned.
11061 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11063
11064 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11065
11066 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11067 * socket/sys/socket.h: Likewise
11068 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11069
11070 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11071
11072 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11073
11074 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11075
11076 * time/tst-ftime.c: New test.
11077 * time/Makefile (tests): Add tst-ftime.
11078
11079 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11080
11081 * soft-fp/extended.h: Fix comment formatting.
11082 * soft-fp/op-1.h: Likewise.
11083 * soft-fp/op-2.h: Likewise.
11084 * soft-fp/op-4.h: Likewise.
11085 * soft-fp/op-8.h: Likewise.
11086 * soft-fp/op-common.h: Likewise.
11087 * soft-fp/soft-fp.h: Likewise.
11088
11089 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11090
11091 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11092
11093 [BZ #6652]
11094 * Makeconfig (soversions-default-setname): Remove variable.
11095 ($(common-objpfx)soversions.i): Don't pass default_setname to
11096 soversions.awk.
11097 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11098 oldest_abi to abi-versions.awk.
11099 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11100 * config.make.in (oldest-abi): Remove variable.
11101 * configure.ac (--enable-oldest-abi): Remove configure option.
11102 * configure: Regenerated.
11103 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11104 text.
11105 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11106 * scripts/soversions.awk: Do not handle default_setname variable.
11107 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11108 variable.
11109 * sysdeps/mach/hurd/configure: Regenerated.
11110 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11111 variable.
11112 * sysdeps/unix/sysv/linux/configure: Regenerated.
11113
11114 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11115
11116 * elf/Makefile (CFLAGS-interp.c): Remove.
11117 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11118 path string.
11119 * elf/interp.c: Include generated runtime-linker.h
11120
11121 * Makerules (lib%.so): Don't include $(+interp) in
11122 prerequisites.
11123 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11124 * dlfcn/eval.c: Remove file.
11125
11126 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11127 macros.
11128
11129 [BZ #17266]
11130 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11131 4.2 and newer.
11132
11133 [BZ #17370]
11134 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11135
11136 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11137 Jakub Jelinek <jakub@redhat.com>
11138
11139 [BZ #17266]
11140 * libio/stdio.h: Check definition of __fortify_function
11141 instead of __extern_always_inline to include bits/stdio2.h.
11142 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11143 check if __extern_always_inline is defined.
11144 [__USE_MISC || __USE_XOPEN]: Likewise.
11145 [__USE_ISOC99] Likewise.
11146 * misc/sys/cdefs.h (__fortify_function): Define only if
11147 __extern_always_inline is defined.
11148 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11149 __extern_always_inline and __extern_inline only for g++-4.3
11150 and newer or a compatible gcc.
11151
11152 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11153
11154 [BZ #17371]
11155 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11156 last change to handle zero prefix length.
11157
11158 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
11160 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11161 _SC_REGEX_VERSION.
11162
11163 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11164 _POSIX_RAW_SOCKETS.
11165
11166 2014-09-13 Allan McRae <allan@archlinux.org>
11167
11168 * po/ru.po: Update Russian translation from translation project.
11169
11170 2014-09-12 Roland McGrath <roland@hack.frob.com>
11171
11172 * locale/programs/locale.c (show_locale_vars): Inline local function
11173 into its sole call site. Clean up some style nits.
11174 (print_item): New function, broken out of ...
11175 (show_info): ... local function here. Clean up style nits.
11176
11177 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11178 out of ...
11179 (set_class_defaults): ... local function set_default here.
11180 Define set_default as a macro locally to pass constant parameters.
11181 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11182 rather than a shared local.
11183
11184 * stdlib/rpmatch.c (try): New function, broken out of ...
11185 (rpmatch): ... local function here. Also, prototypify definition.
11186
11187 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11188
11189 * scripts/soversions.awk: Do not handle configuration names.
11190 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11191 vendor and os variables to soversions.awk.
11192 * configure.ac: Do not modify gnu-* host_os.
11193 * configure: Regenerated
11194 * shlib-versions: Remove first column with configuration names.
11195 * nptl/shlib-versions: Likewise.
11196 * nptl_db/shlib-versions: Likewise.
11197 * sysdeps/hppa/shlib-versions: Likewise.
11198 * sysdeps/m68k/shlib-versions: Likewise.
11199 * sysdeps/mach/hurd/shlib-versions: Likewise.
11200 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11201 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11202 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11203 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11204 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11205 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11206 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11207 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11209 Likewise.
11210 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11211 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11212 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11214 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11215 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11216 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11217 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11218
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11220 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11222 Regenerated.
11223 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11225 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11226
11227 * shlib-versions: Remove OS-specific entries. Moved to files in
11228 sysdeps.
11229 * sysdeps/mach/hurd/shlib-versions: New file.
11230 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11231
11232 * nptl/shlib-versions: Remove architecture-specific entries.
11233 Moved to files in sysdeps.
11234 * shlib-versions: Likewise.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11236 file.
11237 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11238 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11239 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11240 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11241
11242 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11243 (UDP_NO_CHECK6_RX): Likewise.
11244
11245 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11246
11247 * sysdeps/posix/sysconf.c (__sysconf): Spell
11248 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11249
11250 2014-08-12 Florian Weimer <fweimer@redhat.com>
11251
11252 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11253 loading.
11254 * iconv/Versions (__gconv_transliterate): Export for use from
11255 gconv modules.
11256 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11257 (struct __gconv_trans_data, __gconv_trans_fct,
11258 __gconv_trans_context_fct, __gconv_trans_query_fct,
11259 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11260 definitions.
11261 (struct __gconv_step_data): Remove __trans member.
11262 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11263 longer hidden. Remove unused trans_data argument.
11264 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11265 (__gconv_translit_find): Remove declaration.
11266 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11267 prototype.
11268 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11269 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11270 trans_data argument. Add hidden definition.
11271 (__gconv_translit_find): Remove.
11272 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11273 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11274 * iconv/skeleton.c: Remove transliteration initialization.
11275 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11276 __gconv_step_data initialization.
11277 * libio/iofwide.c (__libio_translit_): Remove.
11278 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11279 * wcsmbs/btowc.c (__btowc): Likewise.
11280 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11281 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11282 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11283 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11284 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11285 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11286 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11287 * wcsmbs/wctob.c (wctob): Likewise.
11288
11289 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11290
11291 [BZ #16194]
11292 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11293 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11294 register usage.
11295 * sysdeps/x86/Makefile: Adjust.
11296
11297 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11298 Roland McGrath <roland@hack.frob.com>
11299
11300 * locale/weight.h: Add include guard.
11301 (findidx): Make static rather than auto; take new parameters
11302 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11303 * locale/weightwc.h: Likewise.
11304 * posix/fnmatch_loop.c
11305 (FCT): Change type of EXTRA from int32_t to wint_t.
11306 Don't include either header inside the function.
11307 Call FINDIDX rather than findidx, and pass new arguments.
11308 #undef FINDIDX at the end of the file.
11309 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11310 FINDIDX before including fnmatch_loop.c for the non-wide version.
11311 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11312 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11313 for the wide version.
11314 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11315 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11316 Pass new arguments to findidx.
11317 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11318 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11319 Don't #include it inside the function. Pass new arguments to findidx.
11320 * posix/regex_internal.h
11321 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11322 (re_string_elem_size_at): Don't #include it inside the function.
11323 Pass new arguments to findidx.
11324 * string/strcoll_l.c: #include WEIGHT_H at top level.
11325 (get_next_seq): Don't #include it inside the function.
11326 Pass new arguments to findidx.
11327 (get_next_seq_nocache): Likewise.
11328 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11329 (STRXFRM): Don't #include it inside the function.
11330 Pass new arguments to findidx.
11331
11332 2014-09-11 Florian Weimer <fweimer@redhat.com>
11333
11334 [BZ #17344]
11335 * malloc/malloc.c (unlink): Turn asserts into a call to
11336 malloc_printerr.
11337
11338 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11339
11340 [BZ #17370]
11341 * libio/wfileops (do_ftell_wide): Free OUT.
11342
11343 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11344
11345 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11346
11347 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11348
11349 [BZ #17363]
11350 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11351 group if the current group is empty.
11352
11353 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
11355 * benchtests/bench-memset.c (test_main): Add more test from size
11356 from 32 to 512 bytes.
11357 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11358 Add POWER8 memset object.
11359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11360 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11361 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11362 implementation.
11363 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11364 Likewise.
11365 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11366 multiarch POWER8 memset optimization.
11367 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11368 POWER8 memset optimization.
11369
11370 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11371 Remove bzero multiarch objects.
11372 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11373 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11374 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11375 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11376 Remove define.
11377 [__bzero]: Redefine to specific name.
11378 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11379 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11380 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11381 define.
11382 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11383 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11384
11385 2014-09-10 Florian Weimer <fweimer@redhat.com>
11386
11387 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11388 warnings into errors.
11389
11390 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11391 __cxa_thread_atexit_impl prototype.
11392
11393 2014-09-09 Steve Ellcey <sellcey@mips.com>
11394
11395 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11396 Fix capitalization of error message.
11397
11398 2014-09-09 Steve Ellcey <sellcey@mips.com>
11399
11400 * sysdeps/mips/preconfigure: Modify ABI tests.
11401
11402 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11403
11404 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11405
11406 2014-09-07 Roland McGrath <roland@hack.frob.com>
11407 Carlos O'Donell <carlos@systemhalted.org>
11408
11409 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11410 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11411 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11412 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11413 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11414 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11415 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11416 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11417 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11418 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11419 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11420 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11421 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11422 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11423 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11424 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11425 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11426 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11427 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11428 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11430 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11431 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11432 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11433 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11434 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11435 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11436 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11437 Deconditionalize the code that was previously under [RESET_PID].
11438 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11439 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11440 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11441 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11442 include sysdep.h.
11443
11444 2014-09-08 Allan McRae <allan@archlinux.org>
11445
11446 * version.h (RELEASE): Set to "development".
11447 (VERSION): Set to "2.20.90"
11448
11449 2014-09-07 Allan McRae <allan@archlinux.org
11450
11451 * version.h (RELEASE): Set to "stable".
11452 (VERSION): Set to "2.20"
11453 * include/features.h (__GLIBC_MINOR__): Set to 20.
11454
11455 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11456 Liebler.
11457
11458 * po/ko.po: Update Korean translation from translation project.
11459
11460 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11461
11462 [BZ #17354]
11463 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11464 macro for handling signed relocations.
11465
11466 2014-09-03 Florian Weimer <fweimer@redhat.com>
11467
11468 [BZ #17325]
11469 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11470 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11471 assert.
11472 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11473 * iconvdata/ibm935.c (BODY): Likewise.
11474 * iconvdata/ibm937.c (BODY): Likewise.
11475 * iconvdata/ibm939.c (BODY): Likewise.
11476 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11477 assert.
11478 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11479 script.
11480 * iconvdata/run-iconv-test.sh: New test loop for checking for
11481 decoder crashers.
11482
11483 2014-09-02 Khem Raj <raj.khem@gmail.com>
11484
11485 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11486 libm_hidden_ver.
11487
11488 2014-09-01 Allan McRae <allan@archlinux.org>
11489
11490 * po/eo.po: Update Esperanto translation from translation project.
11491
11492 * po/ca.po: Update Catalan translation from translation project.
11493
11494 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11495
11496 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11497 __proc_dostop call.
11498
11499 2014-08-27 Mark Wielaard <mjw@redhat.com>
11500
11501 [BZ #17319]
11502 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11503 to call set_thread_area instead of hand written asm.
11504 (__NR_set_thread_area): Removed define.
11505 (TLS_FLAG_WRITABLE): Likewise.
11506 (__ASSUME_SET_THREAD_AREA): Remove check.
11507 (TLS_EBX_ARG): Remove define.
11508 (TLS_LOAD_EBX): Likewise.
11509
11510 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11511
11512 Simplify atomicity of socket creation in bind.
11513
11514 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11515 looking up the name after linking the file.
11516
11517 2014-08-27 Allan McRae <allan@archlinux.org>
11518
11519 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11520
11521 2014-08-26 Florian Weimer <fweimer@redhat.com>
11522
11523 [BZ #17187]
11524 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11525 trans_compare, open_translit, __gconv_translit_find):
11526 Remove module loading code.
11527
11528 2014-08-26 Allan McRae <allan@archlinux.org>
11529
11530 * po/vi.po: Update Vietnamese translation from translation project.
11531
11532 * po/uk.po: Update Ukrainian translation from translation project.
11533
11534 * po/fr.po: Update French translation from translation project.
11535
11536 * po/ru.po: Update Russian translation from translation project.
11537
11538 * po/pl.po: Update Polish translation from translation project.
11539
11540 * po/cs.po: Update Czech translation from translation project.
11541
11542 * po/de.po: Update German translation from translation project.
11543
11544 * po/bg.po: Update Bulgarian translation from translation project.
11545
11546 * po/sv.po: Update Sweedish translation from translation project.
11547
11548 * po/nl.po: Update Dutch translation from translation project.
11549
11550 * po/es.po: Update Spanish translation from translation project.
11551
11552 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11553
11554 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11555
11556 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11557 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11558 (CPPFLAGS-iconvconfig): Likewise.
11559 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11560
11561 * include/libc-symbols.h: Remove unnecessary check for
11562 NOT_IN_libc.
11563 * nptl/pthreadP.h: Likewise.
11564 * sysdeps/aarch64/setjmp.S: Likewise.
11565 * sysdeps/alpha/setjmp.S: Likewise.
11566 * sysdeps/arm/sysdep.h: Likewise.
11567 * sysdeps/i386/setjmp.S: Likewise.
11568 * sysdeps/m68k/setjmp.c: Likewise.
11569 * sysdeps/posix/getcwd.c: Likewise.
11570 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11571 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11572 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11573 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11574 * sysdeps/sh/sh3/setjmp.S: Likewise.
11575 * sysdeps/sh/sh4/setjmp.S: Likewise.
11576 * sysdeps/unix/alpha/sysdep.h: Likewise.
11577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11579 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11580 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11583 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11585 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11587 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11588 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11590 * sysdeps/x86_64/setjmp.S: Likewise.
11591
11592 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11593
11594 [BZ #17263]
11595 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11596 <stdint.h>.
11597 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11598 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11599
11600 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
11602 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11603
11604 [BZ #17262]
11605 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11606 and __x86_64__ when disabling x87 inline functions.
11607
11608 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11609
11610 [BZ #17259]
11611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11612 asm statement with __cpuid_count.
11613
11614 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11615
11616 * configure.ac: Change __ehdr_start code to dereference the struct.
11617 Run readelf on the output to look for relocations.
11618 * configure: Regenerated.
11619
11620 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11621
11622 [BZ #17261]
11623 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11624 value to 0.
11625 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11626
11627 2014-08-12 Roland McGrath <roland@hack.frob.com>
11628
11629 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11630
11631 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11632
11633 [BZ #16892]
11634 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11635 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11636
11637 2014-08-12 Sean Anderson <seanga2@gmail.com>
11638
11639 * malloc/malloc.c: Fix typo in comment.
11640
11641 2014-08-09 Allan McRae <allan@archlinux.org>
11642
11643 * Regenerate libc.po.
11644
11645 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11646
11647 * intl/tst-gettext2.sh: Check every lang file for creation.
11648
11649 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11650
11651 * sysdeps/aarch64/fpu/math_private.h
11652 (libc_feholdsetround_noex_aarch64_ctx): New function.
11653
11654 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11655
11656 * sysdeps/arm/armv6/strcpy.S (strcpy):
11657 Fix performance issue in misaligned cases.
11658
11659 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11660
11661 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11662 Move definition from termios.h.
11663 (struct termio): Likewise.
11664 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11665 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11666 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11667 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11668 Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11670 Move definition to ioctl-types.h
11671 (struct termio): Likewise.
11672 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11673 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11674 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11675 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11676 Likewise.
11677
11678 2014-08-05 Richard Henderson <rth@redhat.com>
11679
11680 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11681 exceptions.
11682 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11683 Add fraiseexcpt.
11684 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11685 Use __feraiseexcept.
11686 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11687 Protect libm symbols with IS_IN_libm.
11688
11689 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11690
11691 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
11692
11693 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11694
11695 2014-08-04 Will Newton <will.newton@linaro.org>
11696
11697 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11698 file.
11699
11700 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11701
11702 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11703 variants for each function.
11704
11705 2014-08-04 Roland McGrath <roland@hack.frob.com>
11706
11707 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11708 appended ...
11709 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11710 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11711 appended ...
11712 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11713 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11714 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11715 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11716 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11717 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11718 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11719 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11720 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11721 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11722 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11723 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11724 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11725 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11726 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11728 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11729 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11730 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11731 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11732 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11733 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11734 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11735 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11736 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11737 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11738 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11739 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11740 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11741 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11742 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11743 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11744 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11745 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11746 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11747 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11748 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11749 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11750 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11751 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11752 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11753 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11754 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11755 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11756 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11758 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11760 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11762 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11763 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11764 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11765 Update #include.
11766 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11767 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11768
11769 2014-08-04 Roland McGrath <roland@hack.frob.com>
11770
11771 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11772 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11773 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11774 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11775 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11776 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11777
11778 2014-08-04 Roland McGrath <roland@hack.frob.com>
11779
11780 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11781 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11782 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11783 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11784
11785 2014-08-04 Roland McGrath <roland@hack.frob.com>
11786
11787 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11788 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11789 (__libc_vfork): Define function under this name.
11790 (__vfork): Define as an alias.
11791 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11792 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11793
11794 2014-08-04 Roland McGrath <roland@hack.frob.com>
11795
11796 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11797 that was previously under [RESET_PID].
11798 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11799
11800 2014-08-04 Andreas Schwab <schwab@suse.de>
11801
11802 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11803
11804 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11805
11806 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11807 (main): Likewise.
11808
11809 2014-08-01 Roland McGrath <roland@hack.frob.com>
11810
11811 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11812
11813 2014-08-01 Richard Henderon <rth@redhat.com>
11814
11815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11816 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11817 typo in exact zero test.
11818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11821
11822 2014-08-01 Roland McGrath <roland@hack.frob.com>
11823
11824 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11825 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11826 * sysdeps/arm/sysdep.h: ... here.
11827 [!__ASSEMBLER__]: Include <stdint.h>.
11828
11829 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
11831 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11832 (HAVE_WCTYPE_H): Likewise.
11833 (HAVE_ISWCTYPE): Likewise.
11834 (ENABLE_NLS): Likewise.
11835 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11836 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11837
11838 * posix/regex_internal.c: Check if DEBUG is defined and is
11839 set.
11840
11841 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11842 (HAVE_MBSRTOWCS): Likewise.
11843 * posix/fnmatch.c: Include string.h unconditionally.
11844
11845 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11846
11847 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11848 reversal.
11849
11850 2014-07-31 Roland McGrath <roland@hack.frob.com>
11851
11852 * sysdeps/generic/safe-fatal.h: New file.
11853 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11854 * nptl/forward.c: Include it.
11855 (__pthread_unwind): Use __safe_fatal as default action, rather
11856 than a bogus use of INTERNAL_SYSCALL that could never work.
11857
11858 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11859 * configure.ac (libc_cv_builtin_trap): New test.
11860 * configure: Regenerated.
11861 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11862 (ABORT_INSTRUCTION): Define using __builtin_trap.
11863
11864 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11865 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11866 * sysdeps/nptl/nptl-signals.h: New file.
11867 * nptl/pthreadP.h: Include <nptl-signals.h>.
11868
11869 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11870
11871 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11872 (ONE_DIRECTION): Define.
11873 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11874 (ONE_DIRECTION): Define.
11875 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11876 (ONE_DIRECTION): Define.
11877
11878 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11879
11880 * sysdeps/s390/Makefile: Delete file.
11881 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11882 * sysdeps/s390/__longjmp.c: Delete file.
11883 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11884 Remove fields __flags and __reserved.
11885 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11886 and add versioning.
11887 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11888 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11889 * sysdeps/s390/rtld-setjmp.S: Likewise.
11890 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11891 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11892 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11893 * sysdeps/s390/s390-32/setjmp.S: ... here.
11894 Add versioning.
11895 (__sigsetjmp): Remove setting __flags field.
11896 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11897 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11898 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11899 * sysdeps/s390/s390-64/setjmp.S: ... here.
11900 Add versioning.
11901 (__sigsetjmp): Remove setting __flags field.
11902 * sysdeps/s390/setjmp.S: Delete file.
11903 * sysdeps/s390/sigjmp.c: Likewise.
11904 * sysdeps/s390/v1-longjmp.c: Likewise.
11905 * sysdeps/s390/v1-setjmp.h: Likewise.
11906 * sysdeps/s390/v1-sigjmp.c: Likewise.
11907 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11908 Remove v1-longjmp_chk.
11909 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11910 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11911 Include debug/longjmp_chk.c and add versioning.
11912 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11913 Include nptl/pt-longjmp.c and add versioning.
11914 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11915 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11916 Include __longjmp.c.
11917 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11918 Move to ...
11919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11920 (__getcontext): Remove setting __flags field.
11921 Add versioning.
11922 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11923 Don't restore upper high grps.
11924 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11925 Likewise.
11926 (__swapcontext): Remove setting uc_flags field.
11927 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11928 Delete file.
11929 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11930 Include __longjmp.c.
11931 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11932 Move to ...
11933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11934 (__getcontext): Remove setting __flags field.
11935 Add versioning.
11936 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11937 (__swapcontext): Remove setting uc_flags field.
11938 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11940 Remove fields uc_high_gprs and __reserved.
11941 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11942 New file with reverted content.
11943 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11944 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11945 Regenerated.
11946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11947 Regenerated.
11948
11949 2014-07-31 Andreas Schwab <schwab@suse.de>
11950
11951 * config.h.in (HAVE_IFUNC): Define to 0.
11952 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11953 definedness.
11954
11955 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11956
11957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11958 memmove-avx-unaligned, memcpy-avx-unaligned and
11959 mempcpy-avx-unaligned.
11960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11961 Add tests for AVX memcpy functions.
11962 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11963 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11964 memcpy_chk.
11965 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11966 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11967 memmove_chk.
11968 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11969 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11970 mempcpy_chk.
11971 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11972 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11973 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11974
11975 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11976
11977 [BZ #17213]
11978 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11979 powerpc64le.
11980
11981 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11982
11983 [BZ #16839]
11984 * manual/llio.texi: Add section about open file description locks.
11985 * manual/examples/ofdlocks.c: Example of open file description
11986 lock usage.
11987 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11988 F_OFD_SETLK, and F_OFD_SETLKW.
11989
11990 2014-07-23 Allan McRae <allan@archlinux.org>
11991
11992 * po/es.po: Update Spanish translation from translation project.
11993
11994 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11995
11996 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11997
11998 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11999
12000 [BZ #17078]
12001 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12002 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12003 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12004
12005 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12006
12007 [BZ #17088]
12008 * math/fesetenv.c (__fesetenv)
12009 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12010 * math/feupdateenv.c (__feupdateenv)
12011 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12012
12013 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12014 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12015 (__ASSUME_SOCKETCALL): Do not define.
12016
12017 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12018 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12019 (__ASSUME_SOCKETCALL): Do not define.
12020 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12021 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12022 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12023 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12024 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12025 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12026 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12027 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12028
12029 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12030 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12031 (__ASSUME_SOCKETCALL): Do not define.
12032 (__ASSUME_IPC64): Define unconditionally.
12033 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12034 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12035 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12036 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12037 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12038 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12039 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12040 Likewise.
12041
12042 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12043 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12044 (__ASSUME_SOCKETCALL): Do not define.
12045 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12046 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12047 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12048 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12049 (__ASSUME_REQUEUE_PI): Define unconditionally.
12050 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12051 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12052 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12053 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12054 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12055 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12056
12057 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12058 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12059 (__ASSUME_SOCKETCALL): Do not define.
12060 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12061 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12062 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12063 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12064 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12065 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12066
12067 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12068 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12069 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12070 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12071 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12072 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12073 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12074 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12075 (__ASSUME_GETCPU_SYSCALL): Likewise.
12076
12077 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12078 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12079 cases for individual architectures.
12080 * sysdeps/gnu/configure: Regenerated.
12081 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12082 LIBC_SLIBDIR_RTLDDIR.
12083 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12084 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12085 LIBC_SLIBDIR_RTLDDIR.
12086 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12088 LIBC_SLIBDIR_RTLDDIR.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12090 Regenerated.
12091 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12092 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12093 file.
12094 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12095 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12096 file.
12097 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12098 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12099 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12100 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12101
12102 * sysdeps/aarch64/shlib-versions: Move to ...
12103 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12104 * sysdeps/alpha/shlib-versions: Move to ...
12105 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12106 * sysdeps/arm/shlib-versions: Move to ...
12107 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12108 * sysdeps/hppa/shlib-versions: Move all contents except for
12109 libgcc_s entry to ...
12110 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12111 entry from ...
12112 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12113 * sysdeps/ia64/shlib-versions: Move to ...
12114 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12115 entry from ...
12116 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12117 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12118 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12119 * sysdeps/microblaze/shlib-versions: Move to ...
12120 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12121 * sysdeps/mips/shlib-versions: Move to ...
12122 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12123 entry from ...
12124 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12125 * sysdeps/tile/shlib-versions: Move to ...
12126 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12127 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12128 from ...
12129 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12130 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12131 entry from ...
12132 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12133
12134 2014-07-17 Will Newton <will.newton@linaro.org>
12135
12136 * sysdeps/arm/bits/atomic.h
12137 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12138 (__arch_compare_and_exchange_bool_16_int): Likewise.
12139 (__arch_compare_and_exchange_bool_64_int): Likewise.
12140
12141 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12142 into an #else block.
12143
12144 2014-07-16 Roland McGrath <roland@hack.frob.com>
12145
12146 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12147 just Linux configurations. Test empirically that the compiler sets
12148 __ARM_EABI__, rather than using the tuple to decide.
12149 * sysdeps/arm/preconfigure: Regenerated.
12150 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12151 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12152 contents appended ...
12153 * sysdeps/arm/configure.ac: ... here.
12154 * sysdeps/arm/configure: Regenerated.
12155
12156 2014-07-15 Roland McGrath <roland@hack.frob.com>
12157
12158 * nptl/pthread_kill.c: New file.
12159 * nptl/pthread_sigmask.c: New file.
12160 * nptl/pthread_sigqueue.c: New file.
12161
12162 * sysdeps/nptl/lowlevellock.h: New file.
12163 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12164 * sysdeps/nptl/lowlevellock-futex.h: New file.
12165
12166 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12167 Remove dead declarations.
12168
12169 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12170
12171 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12172 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12173 config-cflags-avx2.
12174 * sysdeps/x86_64/configure.ac: Likewise.
12175 * sysdeps/i386/configure: Regenerated.
12176 * sysdeps/x86_64/configure: Likewise.
12177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12178 memset-avx2 only if config-cflags-avx2 is yes.
12179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12180 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12181 defined.
12182 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12183 only if HAVE_AVX2_SUPPORT is defined.
12184 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12185
12186 2014-07-14 Alan Modra <amodra@gmail.com>
12187
12188 [BZ #17153]
12189 * elf/elf.h (DT_PPC64_NUM): Correct value.
12190 * NEWS: Add to fixed bug list.
12191
12192 2014-07-13 Jim Meyering <meyering@fb.com>
12193
12194 [BZ 17150]
12195 regex: don't deref NULL upon heap allocation failure
12196 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12197 failure in one more place.
12198 To trigger the segfault, configure grep -with-included-regex,
12199 build it, and run these commands:
12200 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12201
12202 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12203
12204 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12205
12206 2014-07-11 Richard Henderson <rth@redhat.com>
12207
12208 * sysdeps/aarch64/libm-test-ulps: Update.
12209
12210 2014-07-10 Florian Weimer <fweimer@redhat.com>
12211
12212 [BZ #17135]
12213 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12214 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12215 (__nptl_setxid): Initialize error member. Call
12216 __nptl_setxid_error.
12217 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12218 * nptl/descr.h (struct xid_command): Add error member.
12219 * nptl/tst-setuid3.c: New file.
12220 * nptl/Makefile (tests): Add it.
12221
12222 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223
12224 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12225 New define.
12226 (__lll_trylock): Use __lll_base_trylock.
12227 (__lll_cond_trylock): Likewise.
12228
12229 2014-07-10 Roland McGrath <roland@hack.frob.com>
12230
12231 * nptl/pthread_create.c (start_thread): Use atomic_or and
12232 lll_futex_wake directly rather than lll_robust_dead.
12233 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12234 (lll_robust_dead): Macro removed.
12235 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12236 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12237 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12238 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12239 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12240 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12241 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12242 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12245 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12246 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12248 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12250
12251 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12252 Use atomic_compare_and_exchange_val_acq directly rather than
12253 lll_robust_trylock.
12254 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12255 (__lll_robust_trylock, lll_robust_trylock): Removed.
12256 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12257 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12258 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12259 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12260 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12261 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12262 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12263 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12265 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12266 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12267 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12268 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12269 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12270
12271 2014-07-02 Florian Weimer <fweimer@redhat.com>
12272
12273 * manual/locale.texi (Locale Names): New section documenting
12274 locale name syntax. Adjust menu and node chaining accordingly.
12275 (Choosing Locale): Reference Locale Names, Locale Categories.
12276 Mention setting LC_ALL=C. Reflect that name syntax is now
12277 documented.
12278 (Locale Categories): New section title. Reference Locale Names.
12279 LC_ALL is an environment variable, but not a category.
12280 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12281 description, now in Locale Name. Reference that section. Locale
12282 name syntax is now documented.
12283
12284 2014-07-02 Florian Weimer <fweimer@redhat.com>
12285
12286 [BZ #17137]
12287 * locale/findlocale.c (name_present, valid_locale_name): New
12288 functions.
12289 (_nl_find_locale): Use the loc_name variable to store name
12290 candidates. Call name_present and valid_locale_name to check and
12291 validate locale names. Return an error if the locale is invalid.
12292
12293 2014-07-02 Florian Weimer <fweimer@redhat.com>
12294
12295 * locale/setlocale.c (setlocale): Use strdup for allocating
12296 composite name copy.
12297
12298 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12299
12300 Sync up with gnulib.
12301 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12302 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12303 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12304 and _GL_ARG_NONNULL.
12305 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12306 [!_LIBC]: Include code for Windows and Cygwin.
12307 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12308 Include prototype for int strerror_r.
12309 [!_LIBC] (is_open): New function.
12310 (flush_stdout): New function.
12311 (print_errno_message): Use it.
12312 (error): Likewise.
12313 (error_at_line): Likewise.
12314 (error_tail) Add function attribute macros. Use
12315 __builtin_expect.
12316
12317 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12318
12319 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12320
12321 * io/ftw.c: Include sys/param.h unconditionally.
12322
12323 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12324
12325 [BZ #17125]
12326 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12327 libc_freeres_ptr.
12328 (freecache): New function to free CACHE on exit.
12329
12330 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12331 initialization.
12332
12333 2014-07-09 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12336
12337 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12338 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12339 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12340 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12341 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12342 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12343 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12344 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12345 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12346 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12347 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12348 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12349 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12350
12351 2014-07-09 Andreas Schwab <schwab@suse.de>
12352
12353 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12354 output.
12355 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12356 (do_test): Likewise.
12357
12358 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12359
12360 2014-07-09 Will Newton <will.newton@linaro.org>
12361
12362 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12363 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12364 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12365 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12366 * sysdeps/hppa/start.S (_start): Likewise.
12367
12368 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12369
12370 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12371
12372 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12373 defined.
12374
12375 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12376
12377 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12378 after checking that it is non-NULL.
12379
12380 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12381
12382 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12383
12384 * sysdeps/powerpc/memmove.c: Remove file.
12385 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12386 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12388 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12390 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12391 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12392 string memmove instead of removed powerpc one.
12393
12394 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12395 [weak_alias]: Fix compiler warning due trailing data.
12396 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12397 [weak_alias]: Likewise.
12398 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12399 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12400
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12402 (__libc_ifunc_impl_list): Add memmove functions.
12403
12404 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12405
12406 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12407 Remove code.
12408 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12409 Likewise
12410 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12411 Likewise
12412 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12413 Likewise
12414 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12415 Likewise
12416 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12417 Likewise
12418 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12419 Likewise
12420 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12421 Likewise
12422 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12423 Likewise
12424 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12425 Likewise
12426 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12427 Likewise
12428 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12429 Likewise
12430 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12431 Likewise
12432 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12433 Likewise
12434 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12435 Likewise
12436 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12437 Likewise
12438 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12439 Likewise
12440
12441 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12442
12443 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12444 to avoid alignment traps in non-cacheable memory.
12445 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12446
12447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12448 multiarch objects.
12449 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12450 file: multiarch power7 memmove.
12451 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12452 multiarch default memmove.
12453 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12454 multiarch memove for powerpc32/power4.
12455
12456 * string/bcopy.c: Use full path to include memmove.c.
12457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12458 multiarch objects.
12459 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12460 bcopy for powerpc64.
12461 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12462 bcopy for powerpc64.
12463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12464 and memmove implementations.
12465 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12466 optimized multiarch memmove for POWER7/powerpc64.
12467 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12468 default multiarch memmove for powerpc64.
12469 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12470 multiarch for powerpc64.
12471 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12472 for POWER7/powerpc64.
12473 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12474 memmove for POWER7/powerpc64.
12475
12476 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12477 glibc default one.
12478
12479 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12480 __ELF_NATIVE_CLASS equal to 64.
12481
12482 2014-07-07 Roland McGrath <roland@hack.frob.com>
12483
12484 * sysdeps/nptl/lowlevellock.h: File removed.
12485
12486 * NEWS: NPTL is no longer an add-on!
12487 * nptl/internaltypes.h: Moved ...
12488 * sysdeps/nptl/internaltypes.h: ... here.
12489 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12490 * sysdeps/nptl/fork.c: Likewise.
12491 * sysdeps/nptl/gai_misc.h: Likewise.
12492 * sysdeps/nptl/librt-cancellation.c: Likewise.
12493 * sysdeps/nptl/jmp-unwind.c: Likewise.
12494 * sysdeps/nptl/setxid.h: Likewise.
12495 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12496 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12497 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12498 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12499 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12500 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12501 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12502 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12503 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12504 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12505 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12506 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12507 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12508 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12509 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12510 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12511 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12512 * nptl/Makeconfig: Moved ...
12513 * sysdeps/nptl/Makeconfig: ... here.
12514 * nptl/configure: File removed.
12515 * nptl/ANNOUNCE: File removed.
12516 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12517 * sysdeps/unix/sysv/linux/configure: Regenerated.
12518
12519 * nptl/Makefile (routines): Add libc_pthread_init,
12520 libc_multiple_threads, register-atfork and unregister-atfork.
12521 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12522 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12523 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12524 pthread-pi-defines.sym, structsem.sym.
12525 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12526 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12527 [$(subdir) = nptl] (tests): Add tst-setgetname.
12528 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12529 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12530 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12531 [!LIBC_SIGACTION]: Remove aliases.
12532 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12533 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12534 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12535 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12536 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12537 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12538 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12539 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12541 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12542 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12543 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12544 __libc_allocate_rtsig_private.
12545 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12546 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12547 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12548 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12549 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12550 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12551 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12552 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12553 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12554 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12555 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12556 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12557 * nptl/internaltypes.h: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12559 * sysdeps/nptl/jmp-unwind.c: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12561 * nptl/libc-lowlevellock.c: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12563 * nptl/libc_multiple_threads.c: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12565 * nptl/libc_pthread_init.c: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12567 * nptl/lowlevelbarrier.sym: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12569 * nptl/lowlevelcond.sym: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12571 * nptl/lowlevellock.c: ... here.
12572 * nptl/lowlevellock.h: Moved ...
12573 * sysdeps/nptl/lowlevellock.h: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12575 * nptl/lowlevelrobustlock.c: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12577 * nptl/lowlevelrobustlock.sym: ... here.
12578 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12579 * nptl/lowlevelrwlock.sym: ... here.
12580 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12581 * nptl/pt-fork.c: ... here.
12582 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12583 * nptl/pthread-pi-defines.sym: ... here.
12584 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12585 * nptl/pthread_attr_getaffinity.c: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12587 * nptl/pthread_attr_setaffinity.c: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12589 * nptl/pthread_mutex_cond_lock.c: ... here.
12590 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12591 Update #include.
12592 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12593 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12594 * nptl/pthread_once.c: ... here, replacing old file.
12595 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12596 * nptl/pthread_yield.c: ... here.
12597 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12598 * nptl/register-atfork.c: ... here.
12599 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12600 * nptl/sem_post.c: ... here.
12601 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12602 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12603 * nptl/sem_timedwait.c: ... here.
12604 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12605 * nptl/sem_trywait.c: ... here.
12606 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12607 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12608 * nptl/sem_wait.c: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12610 * nptl/structsem.sym: ... here.
12611 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12612 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12613 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12614 * nptl/unregister-atfork.c: ... here.
12615 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12616 * nptl/unwindbuf.sym: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12618 * sysdeps/nptl/fork.c: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12620 * sysdeps/nptl/fork.h: ... here.
12621 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12622 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12623 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12624 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12625 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12626 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12627 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12628 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12629 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12630 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12631 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12632 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12633 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12634 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12635 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12636 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12637 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12638 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12639 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12640 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12641 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12642 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12643 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12644 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12645 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12646 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12647 * sysdeps/unix/sysv/linux/raise.c: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12649 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12650 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12651 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12652 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12653 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12654 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12655 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12656 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12657 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12658 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12659 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12660 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12661 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12662 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12663
12664 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12665
12666 * sysdeps/generic/memcopy.h: Add comment for
12667 MEMCPY_OK_FOR_FWD_MEMMOVE.
12668
12669 2014-07-04 Will Newton <will.newton@linaro.org>
12670
12671 * string/memchr.c: Merge from gnulib.
12672 [_LIBC]: Remove conditionals.
12673 (__ptr_t): Remove define.
12674 (LONG_MAX_32_BITS): Likewise.
12675 (LONG_MAX): Likewise.
12676 (MEMCHR): Use ANSI prototype and optimize algorithm.
12677
12678 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12679
12680 2014-07-03 Roland McGrath <roland@hack.frob.com>
12681
12682 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12683 (lll_futex_timed_wait_bitset): Fix syscall argument count.
12684
12685 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12686 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12687 in a bare environment with no <stdlib.h> installed.
12688 * sysdeps/nptl/configure: Regenerated.
12689
12690 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12691
12692 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12693 AC_EGREP_CPP for kernel header checks, so they only succeed if
12694 including <linux/version.h> actually works right.
12695 * sysdeps/unix/sysv/linux/configure: Regenerated.
12696
12697 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12698 value so it's not diagnosed as unused.
12699
12700 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12701 thing) with "ifeq ($(subdir),rt)".
12702
12703 2014-07-03 Richard Henderson <rth@redhat.com>
12704
12705 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12706 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12707 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12708
12709 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12710 (math_force_eval): New.
12711
12712 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12713 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12714
12715 * sysdeps/alpha/fpu/s_round.c: Remove file.
12716 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12717
12718 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12719 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12720 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12721 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12722 (_dl_start, print_statistics): Likewise.
12723 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12724 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12725
12726 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12727 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12728 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12729 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12730 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12731 (HP_SMALL_TIMING_AVAIL): Define.
12732 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12733 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12734 (HP_SMALL_TIMING_AVAIL): Define.
12735 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12736 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12737
12738 * sysdeps/aarch64/hp-timing.h: New file.
12739
12740 * sysdeps/generic/hp-timing.h: Remove dead comment.
12741 * sysdeps/generic/hp-timing-common.h: New file.
12742 * sysdeps/alpha/hp-timing.h: Include it.
12743 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12744 * sysdeps/i386/i686/hp-timing.h: Likewise.
12745 * sysdeps/ia64/hp-timing.h: Likewise.
12746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12747 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12748 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12749 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12750 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12751 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12752 (hp_timing_t): New.
12753
12754 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12755 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12756 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12757 * elf/rtld.c (_dl_start_final): Likewise.
12758 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12759 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12760 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12761 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12762 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12763 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12764 (HP_TIMING_DIFF_INIT): Remove.
12765 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12766 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12767 (HP_TIMING_DIFF_INIT): Remove.
12768 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12769 * sysdeps/i386/i686/hp-timing.c: Remove file.
12770 * sysdeps/x86_64/hp-timing.c: Remove file.
12771 * sysdeps/ia64/hp-timing.c: Remove file.
12772 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12773 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12774 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12775 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12776
12777 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12778 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12779 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12780 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12782 (HP_TIMING_ACCUM): Remove.
12783 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12784 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12785 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12786
12787 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12788 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12789 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12790 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12792 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12793 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12794 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12795
12796 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12797
12798 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12799
12800 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12801
12802 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12803
12804 Sync up with gettext.
12805 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12806 [_MSC_VER]: Include malloc.h
12807 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12808 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12809 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12810 TEMP_FAILURE_RETRY. Cast return of alloca.
12811 [!_LIBC] Call gl_rwlock_init.
12812 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12813
12814 2014-07-02 Roland McGrath <roland@hack.frob.com>
12815
12816 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12817 before checking its value.
12818
12819 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12820
12821 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12822
12823 * debug/memcpy_chk.c: Don't include pagecopy.h.
12824 * debug/mempcpy_chk.c: Likewise.
12825 * string/memcpy.c: Likewise.
12826 * string/memmove.c: Likewise.
12827 * sysdeps/powerpc/memmove.c: Likewise.
12828 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12829 definition of PAGE_COPY_FWD_MAYBE here...
12830 * sysdeps/generic/pagecopy.h: ... from here.
12831 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12832
12833 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12834 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12835
12836 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12838 optimizations.
12839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12840 (__libc_ifunc_impl_list): Likewise.
12841 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12842 multiarch strcat for PPC64.
12843 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12844 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12845
12846 2014-07-02 Roland McGrath <roland@hack.frob.com>
12847
12848 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12849
12850 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12851
12852 * intl/loadmsgcat.c: Remove declaration of
12853 get_sysdep_segment_value.
12854 (get_sysdep_segment_value): Use ISO C style.
12855 (_nl_load_domain): Use ISO C style. Get rid of redundant
12856 semicolon. Fix typo and formatting in comment.
12857 (_nl_unload_domain): Use ISO C style.
12858
12859 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12860
12861 2014-07-02 Will Newton <will.newton@linaro.org>
12862
12863 * malloc/obstack.c: Merge from gnulib master.
12864 [HAVE_CONFIG_H]: Remove conditional code.
12865 [!_LIBC]: Include config.h.
12866 [!ELIDE_CODE]: Don't include inttypes.h, include
12867 stdint.h unconditionally.
12868 (print_and_abort): Mark as _Noreturn.
12869 (_obstack_allocated_p): Mark as __attribute_pure__.
12870 (obstack_free): Rename to __obstack_free.
12871 [!__attribute__]: Remove conditional code.
12872 * malloc/obstack.h: Merge from gnulib master.
12873 [__cplusplus]: Move conditional down.
12874 [!__attribute_pure__]: Define __attribute_pure__ here
12875 if it is not already defined.
12876 (_obstack_memory_used): Mark as __attribute_pure__.
12877 [!__obstack_free]: Define as obstack_free.
12878 [__GNUC__]: Remove check for ancient NeXT gcc.
12879
12880 2014-07-02 Will Newton <will.newton@linaro.org>
12881 Paul Eggert <eggert@cs.ucla.edu>
12882
12883 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12884
12885 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12886
12887 * resolv/gethnamaddr.c: Add comment warning that the file is
12888 not maintained.
12889
12890 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12891
12892 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12893 entries.
12894
12895 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12896 entry for aio_cancel and aio_cancel64.
12897 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12898 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12899 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12900 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12901 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12902 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12903 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12904 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12905 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12906 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12907 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12908 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12909 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12910
12911 2014-07-01 Roland McGrath <roland@hack.frob.com>
12912
12913 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12914 * nptl/pthread_mutex_lock.c: Likewise.
12915 * nptl/pthread_mutex_timedlock.c: Likewise.
12916 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12917
12918 2014-07-01 Richard henderson <rth@redhat.com>
12919
12920 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12921 (__isnan, __isnanl): Remove.
12922 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12923
12924 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12925
12926 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12927
12928 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12929
12930 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12931
12932 * resolv/nss_dns/dns-host.c (getanswer_r)
12933 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12934
12935 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12936
12937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12938 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12939 undefine.
12940 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12941 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12942
12943 2014-07-01 Roland McGrath <roland@hack.frob.com>
12944
12945 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12946 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12947
12948 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12949 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12950
12951 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12952 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12953 ... here.
12954 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12955 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12956
12957 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12958 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12959 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12960 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12961
12962 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12963 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12964 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12965 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12967 Moved ...
12968 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12969 ... here.
12970 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12971 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12972 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12973 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12974 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12975 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12976 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12977 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12978 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12979 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12980 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12981 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12982 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12983 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12984 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12985 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12986 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12987 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12988 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12989 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12990 ... here.
12991 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12992 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12993 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12994 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12995 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12996 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12997 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12998 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12999
13000 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13001
13002 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13003 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13004 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13005 Add sysdep.
13006
13007 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13008
13009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13010
13011 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13012
13013 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13014 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13015
13016 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13017
13018 * sysdeps/arm/libm-test-ulps: Regenerated.
13019
13020 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13021 Roland McGrath <roland@hack.frob.com>
13022
13023 * test-skeleton.c (signal_handler): Kill the whole process group
13024 before killing the child individually.
13025 (main): Report any failure on `setpgid'.
13026
13027 2014-06-30 Roland McGrath <roland@hack.frob.com>
13028
13029 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13030 from _TLS_H to _ARM_NPTL_TLS_H.
13031 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13032 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13033
13034 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13035
13036 [BZ #16539]
13037 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13038 (__expm1l): Return argument unchanged when small but not
13039 subnormal.
13040
13041 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13042 include macro name.
13043 (_FP_UNPACK_RAW_1_P): Likewise.
13044 (_FP_PACK_RAW_1): Likewise.
13045 (_FP_PACK_RAW_1_P): Likewise.
13046 (_FP_MUL_MEAT_1_wide): Likewise.
13047 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13048 (_FP_MUL_MEAT_1_hard): Likewise.
13049 (_FP_DIV_MEAT_1_imm): Likewise.
13050 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13051 (_FP_DIV_MEAT_1_udiv): Likewise.
13052 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13053 (_FP_UNPACK_RAW_2): Likewise.
13054 (_FP_UNPACK_RAW_2_P): Likewise.
13055 (_FP_PACK_RAW_2): Likewise.
13056 (_FP_PACK_RAW_2_P): Likewise.
13057 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13058 (_FP_MUL_MEAT_2_wide): Likewise.
13059 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13060 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13061 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13062 (_FP_MUL_MEAT_2_gmp): Likewise.
13063 (_FP_DIV_MEAT_2_udiv): Likewise.
13064 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13065 (_FP_FRAC_SRL_4): Likewise.
13066 (_FP_FRAC_SRST_4): Likewise.
13067 (_FP_FRAC_SRS_4): Likewise.
13068 (_FP_UNPACK_RAW_4): Likewise.
13069 (_FP_UNPACK_RAW_4_P): Likewise.
13070 (_FP_PACK_RAW_4): Likewise.
13071 (_FP_PACK_RAW_4_P): Likewise.
13072 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13073 (_FP_MUL_MEAT_4_wide): Likewise.
13074 (_FP_MUL_MEAT_4_gmp): Likewise.
13075 (umul_ppppmnnn): Likewise.
13076 (_FP_DIV_MEAT_4_udiv): Likewise.
13077 (__FP_FRAC_ADD_4): Likewise.
13078 (__FP_FRAC_SUB_3): Likewise.
13079 (__FP_FRAC_SUB_4): Likewise.
13080 (__FP_FRAC_DEC_3): Likewise.
13081 (__FP_FRAC_DEC_4): Likewise.
13082 (__FP_FRAC_ADDI_4): Likewise.
13083 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13084 (_FP_FRAC_SRL_8): Likewise.
13085 (_FP_FRAC_SRS_8): Likewise.
13086
13087 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13088 include macro name.
13089 (FP_UNPACK_RAW_EP): Likewise.
13090 (FP_PACK_RAW_E): Likewise.
13091 (FP_PACK_RAW_EP): Likewise.
13092 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13093 (_FP_ISSIGNAN): Likewise.
13094 (_FP_ADD_INTERNAL): Likewise.
13095 (_FP_FMA): Likewise.
13096 (_FP_CMP): Likewise.
13097 (_FP_SQRT): Likewise.
13098 (_FP_TO_INT): Likewise.
13099 (_FP_FROM_INT): Likewise.
13100 (FP_EXTEND): Likewise.
13101 (_FP_DIV_MEAT_N_loop): Likewise.
13102
13103 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13104
13105 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13106 throughout.
13107
13108 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13109
13110 [BZ #17097]
13111 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13112 result with correct sign in case of exponents that produce
13113 overflow except for X very close to 1.
13114
13115 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13116
13117 mktime: merge #if/#ifdef usage from glibc
13118 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13119 as that works with both Glibc's and Gnulib's style.
13120 See thread starting at Siddhesh Poyarekar's bug report at:
13121 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13122
13123 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13124
13125 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13126 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13127 * sysdeps/tile/tilegx/memmove.c: Remove file.
13128
13129 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13130
13131 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13132 abi-name definition.
13133 * scripts/soversions.awk: Do not handle or generate ABI lines.
13134 * shlib-versions: Remove ABI entries.
13135 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13136 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13137
13138 2014-06-27 Roland McGrath <roland@hack.frob.com>
13139
13140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13141 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13142 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13143 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13145 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13147 Moved ...
13148 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13149 ... here.
13150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13151 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13153 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13155 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13157 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13159 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13161 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13163 Moved ...
13164 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13168 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13170 Moved ...
13171 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13173 Moved ...
13174 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13178 Moved ...
13179 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13180 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13181 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13183 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13185 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13187 Moved ...
13188 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13192 Moved ...
13193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13195 Moved ...
13196 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13198 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13200 Moved ...
13201 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13202 ... here.
13203 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13204 Identical file removed.
13205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13206 Moved ...
13207 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13209 Identical file removed.
13210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13213 Moved ...
13214 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13215 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13216 Identical file removed.
13217 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13218 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13220 Identical file removed.
13221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13222 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13223 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13224 Identical file removed.
13225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13226 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13227 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13228 Identical file removed.
13229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13230 Moved ...
13231 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13232 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13233 Identical file removed.
13234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13235 Moved ...
13236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13238 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13239 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13240 Identical file removed.
13241 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13242 Moved ...
13243 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13244 ... here.
13245 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13246 Identical file removed.
13247 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13248 Moved ...
13249 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13250 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13251 Identical file removed.
13252 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13253 Moved ...
13254 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13260 Moved ...
13261 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13262 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13263 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13264
13265 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13266 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13267 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13268 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13269 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13270
13271 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13272
13273 [BZ #17092]
13274 * nscd/nscd.c (monitor_child): Return exit status of child
13275 instead of return value from wait syscall.
13276
13277 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13278
13279 * configure.ac (libc_commonpagesize): Remove variable.
13280 (libc_relro_required): Likewise.
13281 (libc_cv_z_relro): Remove configure test.
13282 * configure: Regenerated.
13283 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13284 variable.
13285 (libc_relro_required): Likewise.
13286 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13287 (libc_relro_required): Likewise.
13288 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13289 (libc_relro_required): Likewise.
13290 * sysdeps/arm/preconfigure: Regenerated.
13291 * sysdeps/ia64/preconfigure: Remove file.
13292 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13293 variable.
13294 (libc_relro_required): Likewise.
13295
13296 [BZ #16561]
13297 [BZ #16562]
13298 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13299 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13300 recompute overflowing results in original rounding mode.
13301 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13302 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13303 recompute overflowing results in original rounding mode.
13304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13305 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13306 recompute overflowing results in original rounding mode.
13307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13308 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13309 recompute overflowing results in original rounding mode.
13310 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13311 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13312 recompute overflowing results in original rounding mode.
13313 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13314 (libc_feholdsetround_ctx): New macro.
13315 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13316 * sysdeps/i386/fpu/libm-test-ulps: Update.
13317 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13318
13319 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13320
13321 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13322 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13323 corresponding .cpsetup call.
13324
13325 2014-06-26 Roland McGrath <roland@hack.frob.com>
13326
13327 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13328 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13329 * sysdeps/arm/Makefile [$(subdir) = csu]
13330 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13331 (static-only-routines): Add aeabi_read_tp here.
13332 (shared-only-routines): Add libc-aeabi_read_tp here.
13333 (CFLAGS-libc-start.c): Add -fexceptions here.
13334 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13335 (sysdep_routines, static-only-routines, shared-only-routines):
13336 Don't add to these here.
13337 (CFLAGS-libc-start.c): Likewise.
13338
13339 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13340 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13341 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13342 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13343 * sysdeps/arm/Makefile [$(subdir) = rt]
13344 (librt-sysdep_routines, librt-shared-only-routines):
13345 Append rt-aeabi_unwind_cpp_pr1 here.
13346 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13347 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13348 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13349 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13350 Append nptl-aeabi_unwind_cpp_pr1 here.
13351 (tests): Filter out tst-cleanupx4 here.
13352 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13353 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13354 Don't do those here.
13355
13356 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13357
13358 * scripts/list-sources.sh: Do not handle ports specially.
13359
13360 2014-06-26 Roland McGrath <roland@hack.frob.com>
13361
13362 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13363 * sysdeps/arm/feupdateenv.c: Likewise.
13364
13365 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13366
13367 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13368
13369 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13370 trailing whitespace removed.
13371 * scripts/config.guess: Update to version 2014-03-23.
13372 * scripts/config.sub: Update to version 2014-05-01
13373 * scripts/install-sh: Update to version 2013-12-25.23.
13374 * scripts/move-if-change: Update from gnulib.
13375
13376 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13377
13378 * debug/memmove_chk.c: Remove pagecopy.h include.
13379
13380 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13381
13382 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13383 identical to gnulib mktime.
13384
13385 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13386
13387 * configure.ac: Do not test for machine being rs6000. Do not test
13388 for powerpc*-*soft.
13389 * configure: Regenerated.
13390
13391 [BZ #11505]
13392 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13393 test.
13394 * configure: Regenerated.
13395 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13396 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13397 Remove configure test.
13398 * sysdeps/arm/configure: Regenerated.
13399 * sysdeps/nptl/configure.ac: Do not check
13400 libc_cv_asm_cfi_directives.
13401 * sysdeps/nptl/configure: Regenerated.
13402 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13403 * sysdeps/x86_64/nptl/configure: Remove generated file.
13404 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13405 unconditional.
13406 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13407
13408 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13409
13410 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13411 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13412 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13413 it is defined.
13414
13415 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13416 instead of whether it is defined.
13417 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13418 * sysdeps/hppa/dl-machine.h: Likewise.
13419 * sysdeps/ia64/dl-machine.h: Likewise.
13420 * sysdeps/m68k/dl-machine.h: Likewise.
13421 * sysdeps/microblaze/dl-machine.h: Likewise.
13422 * sysdeps/mips/dl-machine.: Likewise.
13423 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13424 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13425 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13426 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13427 * sysdeps/sh/dl-machine.h: Likewise.
13428 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13430 * sysdeps/tile/dl-machine.h: Likewise.
13431 * sysdeps/x86_64/dl-machine.h: Likewise.
13432
13433 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13434 code.
13435 (verify_persistent_db): Likewise.
13436
13437 2014-06-26 Roland McGrath <roland@hack.frob.com>
13438
13439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13440 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13444 Moved ...
13445 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13446 ... here.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13450 Identical file removed.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13456 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13460 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13462 Moved ...
13463 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13465 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13467 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13469 Moved ...
13470 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13472 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13474 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13476 Identical file removed.
13477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13478 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13480 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13482 Moved ...
13483 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13484 ... here.
13485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13486 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13488 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13492 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13494 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13496 Moved ...
13497 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13499 Moved ...
13500 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13502 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13504 Moved ...
13505 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13507 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13508
13509 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13510 folded into ...
13511 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13512 * sysdeps/unix/sysv/linux/s390/Versions
13513 (libpthread: GLIBC_2.19): New version set.
13514 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13515 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13516 (librt: GLIBC_2.3.3): New version set.
13517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13518 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13519 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13521 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13522 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13523 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13525 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13526 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13527 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13528 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13529 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13530 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13531 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13533 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13535 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13537 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13538 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13539 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13541 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13543 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13545 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13547 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13548 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13553 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13555 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13557 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13559 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13562
13563 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13564 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13565 (__libc_vfork): Define the function under this name.
13566 [!NOT_IN_libc] (__vfork): Make this an alias.
13567 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13569 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13570 (__libc_vfork): Define the function under this name.
13571 [!NOT_IN_libc] (__vfork): Make this an alias.
13572 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13573 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13574 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13577 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13578
13579 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13580 code that was previously under [RESET_PID].
13581 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13582 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13584
13585 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13586 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13587 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13588 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13589 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13590 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13591 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13592 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13593 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13594 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13595 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13596 Moved ...
13597 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13598 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13599 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13600 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13601 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13602 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13603 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13604 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13605 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13606 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13607 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13608 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13609 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13610 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13611 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13612 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13613 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13614 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13615 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13616 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13617 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13618 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13619 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13620 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13621 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13622 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13623 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13625 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13626
13627 2014-06-25 Roland McGrath <roland@hack.frob.com>
13628
13629 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13630 that was previously under [RESET_PID].
13631 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13632
13633 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13634
13635 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13636 not undefine and redefine.
13637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13638 [O_CLOEXEC]: Make code unconditional.
13639 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13640 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13641 <kernel-features.h>.
13642 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13643 conditional variable definition.
13644 (shm_open) [O_CLOEXEC]: Make code unconditional.
13645 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13646 code.
13647
13648 * configure.ac (USE_REGPARMS): Don't define here.
13649 * configure: Regenerated.
13650 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13651 * sysdeps/i386/configure: Regenerated.
13652
13653 * nptl/createthread.c: Don't include kernel-features.h.
13654 * nptl/pthread_cancel.c: Likewise.
13655 * nptl/pthread_condattr_setclock.c: Likewise.
13656 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13657 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13658 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13659 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13660 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13661 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13663 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13665 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13666 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13667 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13668 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13669 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13670 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13671 * nscd/gai.c: Likewise.
13672 * nss/nss_db/db-open.c: Likewise.
13673 * sysdeps/generic/ldsodefs.h: Likewise.
13674 * sysdeps/sh/nptl/tls.h: Likewise.
13675 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13676 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13677 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13678 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13679 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13680 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13681 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13682 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13684 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13685 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13686 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13687 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13688 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13689 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13690 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13691 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13692 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13693 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13694 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13695 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13697 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13698 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13699 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13703 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13704 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13705 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13706 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13707 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13708 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13710 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13711 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13712 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13713 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13714 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13715 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13716 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13717 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13718 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13719 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13720 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13721 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13722 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13723 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13724 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13725 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13726 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13727 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13728 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13729 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13730 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13731 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13755 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13756 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13757 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13758 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13759 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13760 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13761 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13762 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13763 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13764 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13765 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13766 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13767 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13768 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13769 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13770 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13771 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13772 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13773 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13774 * sysdeps/unix/sysv/linux/system.c: Likewise.
13775 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13776 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13777 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13778 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13779 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13781 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13782
13783 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13784 * configure: Regenerated.
13785 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13786
13787 * configure.ac (base_machine): Do not set specially for particular
13788 machines here.
13789 * configure: Regenerated.
13790 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13791 settings from configure.ac.
13792 * sysdeps/i386/preconfigure: New file.
13793 * sysdeps/s390/preconfigure: Likewise.
13794 * sysdeps/sh/preconfigure: Likewise.
13795 * sysdeps/sparc/preconfigure: Likewise.
13796
13797 2014-06-25 Roland McGrath <roland@hack.frob.com>
13798
13799 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13800 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13801 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13802 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13803 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13804 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13805 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13806 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13807 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13808 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13809 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13810 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13811 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13812 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13813 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13816 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13817 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13818
13819 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13820 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13821 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13822 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13823 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13824 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13825 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13826 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13827 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13828 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13829 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13830 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13831 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13832 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13833 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13834 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13835 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13836 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13837 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13838 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13840 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13841 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13842 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13844 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13846 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13848 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13849 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13850 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13852 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13853 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13854 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13856 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13857
13858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13859 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13863 Moved ...
13864 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13865 ... here.
13866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13867 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13869 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13871 Moved ...
13872 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13874 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13876 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13878 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13880 Moved ...
13881 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13883 Moved ...
13884 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13888 Moved ...
13889 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13891 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13893 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13895 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13897 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13899 Moved ...
13900 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13901 ... here.
13902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13903 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13907 Moved ...
13908 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13910 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13912 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13914 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13916 Moved ...
13917 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13919 Moved ...
13920 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13922 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13924 Moved ...
13925 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13927 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13929 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13930
13931 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13932
13933 * timezone/checktab.awk: Update from tzcode 2014e.
13934 * timezone/private.h: Likewise.
13935 * timezone/tzfile.h: Likewise.
13936 * timezone/zdump.c: Likewise.
13937 * timezone/zic.c: Likewise.
13938
13939 * sysdeps/unix/sysv/linux/kernel-features.h
13940 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13942 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13943 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13944 Remove conditional code.
13945
13946 2014-06-25 Will Newton <will.newton@linaro.org>
13947
13948 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13949 (_dl_arm_cap_flags): Add HWCAP2 values.
13950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13951 (_DL_HWCAP_COUNT): Increase to 37.
13952 (_DL_HWCAP_LAST): New define.
13953 (_DL_HWCAP2_LAST): New define.
13954 (_dl_procinfo): Add support for printing
13955 AT_HWCAP2 entries.
13956 (_dl_string_hwcap): Use _dl_hwcap_string.
13957
13958 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13959
13960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13961
13962 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13963
13964 * README: Do not mention ports directory.
13965
13966 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13967 Remove macro.
13968 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13969 <kernel-features.h>.
13970 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13971 conditional variable definition.
13972 (__futimes): Update comment.
13973 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13974 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13975
13976 [BZ #16560]
13977 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13978 arguments close to 0.
13979 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13980 Likewise.
13981 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13982 Likewise.
13983 * math/auto-libm-test-in: Add more tests of exp10.
13984 * math/auto-libm-test-out: Regenerated.
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13986
13987 * sysdeps/unix/sysv/linux/kernel-features.h
13988 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13989 * sysdeps/unix/sysv/linux/readv.c: Do not include
13990 <kernel-features.h>.
13991 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13992 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13993 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13994 unconditional.
13995 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13996 conditional code.
13997 * sysdeps/unix/sysv/linux/writev.c: Do not include
13998 <kernel-features.h>.
13999 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14000 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14001 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14002 unconditional.
14003 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14004 conditional code.
14005
14006 2014-06-25 Will Newton <will.newton@linaro.org>
14007
14008 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14009 comment changes throughout the file. Remove checks
14010 for HAVE_*_H definitions that are not required.
14011 (__gen_tempname): Call abort if an unknown kind value is
14012 passed.
14013
14014 2014-06-25 Andreas Schwab <schwab@suse.de>
14015
14016 [BZ #17086]
14017 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14018 scalbln, scalblnf, scalblnl in libc.
14019
14020 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14021
14022 [BZ #17086]
14023 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14024 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14025 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14026
14027 2014-06-24 Roland McGrath <roland@hack.frob.com>
14028
14029 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14030 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14031 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14032 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14033 Update #include.
14034 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14035 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14036 Update #include.
14037 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14038 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14039 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14040 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14041 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14042 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14043 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14044 * sysdeps/x86/bits/semaphore.h: ... here.
14045 * sysdeps/x86/nptl/elide.h: Moved ...
14046 * sysdeps/x86/elide.h: ... here.
14047 * sysdeps/x86_64/nptl/Implies: File removed.
14048 * sysdeps/i386/nptl/Implies: File removed.
14049
14050 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14051
14052 [BZ #16539]
14053 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14054 return the argument for normal arguments with exponent below -64.
14055 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14056 Likewise.
14057 * math/auto-libm-test-in: Add another test of expm1.
14058 * math/auto-libm-test-out: Regenerated.
14059
14060 [BZ #16287]
14061 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14062 calling __erfcl for arguments at least 16.
14063 * math/auto-libm-test-in: Add more tests of erf.
14064 * math/auto-libm-test-out: Regenerated.
14065
14066 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14067 individual architectures.
14068 * sysdeps/unix/sysv/linux/configure: Regenerated.
14069 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14070 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14071 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14072 (ldd_rewrite_script): Define variable.
14073 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14075 file.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14077 generated file.
14078 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14079 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14080 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14081 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14082 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14083 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14084 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14085 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14086
14087 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14088
14089 [BZ #17084]
14090 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14091 Rename member __data.d to __data.__elision_data.
14092
14093 2014-06-24 Wilco <wdijkstr@arm.com>
14094
14095 * NEWS: Add 16918 to fixed bug list.
14096
14097 2014-06-24 Wilco <wdijkstr@arm.com>
14098
14099 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14100
14101 2014-06-24 Wilco <wdijkstr@arm.com>
14102
14103 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14104 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14105 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14106 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14107 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14108 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14109 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14110 Use _FPU_MASK_RM.
14111
14112 2014-06-24 Wilco <wdijkstr@arm.com>
14113
14114 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14115
14116 2014-06-24 Wilco <wdijkstr@arm.com>
14117
14118 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14119 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14120 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14121 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14122
14123 2014-06-24 Wilco <wdijkstr@arm.com>
14124
14125 [BZ #16918]
14126 * sysdeps/arm/feupdateenv.c (feupdateenv):
14127 Rewrite to reduce FPSCR accesses and fix return value.
14128
14129 2014-06-24 Wilco <wdijkstr@arm.com>
14130
14131 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14132 Optimize to avoid unnecessary FPSCR writes.
14133 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14134 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14135 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14136 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14137
14138 2014-06-24 Wilco <wdijkstr@arm.com>
14139
14140 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14141 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14142 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14143 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14144 Call libc_fetestexcept_vfp.
14145 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14146 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14147 __SOFTFP__ ifdef so that they can be built for softfp.
14148
14149 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14150
14151 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14152 argument type signed char.
14153
14154 * Makerules (check-abi): Dump diff of symlist if the test
14155 fails.
14156
14157 2014-06-23 Roland McGrath <roland@hack.frob.com>
14158
14159 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14160 using abort.
14161
14162 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14163 Remove unused variable ST.
14164
14165 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14166
14167 [BZ #16354]
14168 [BZ #17061]
14169 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14170 small arguments before calling __expm1.
14171 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14172 small arguments before calling __expm1f.
14173 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14174 small arguments before calling __expm1l.
14175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14176 Likewise.
14177 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14178 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14179 spurious underflow for some cosh tests.
14180 * math/auto-libm-test-out: Regenerated.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182
14183 [BZ #17050]
14184 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14185 (__ieee754_y1): Set errno if return value overflows.
14186 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14187 (__ieee754_y1f): Set errno if return value overflows.
14188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14189 (__ieee754_y1l): Set errno if return value overflows.
14190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14191 (__ieee754_y1l): Set errno if return value overflows.
14192 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14193 * math/auto-libm-test-out: Regenerated.
14194
14195 * math/gen-auto-libm-tests.c: Document use of
14196 ignore-zero-inf-sign.
14197 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14198 (input_flags): Add ignore-zero-inf-sign.
14199 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14200 * math/gen-libm-test.pl (generate_testfile): Handle
14201 ignore-zero-inf-sign.
14202 * math/auto-libm-test-in: Mark some cpow tests with
14203 ignore-zero-inf-sign and some with xfail-rounding.
14204 * math/auto-libm-test-out: Regenerated.
14205 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14208
14209 [BZ #16315]
14210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14211 overflowing or underflowing operations take place with sign of
14212 result.
14213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14216 (__ieee754_pow): Recompute overflowing and underflowing results in
14217 original rounding mode.
14218 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14219 (__powl_helper): Allow negative argument X and scale negated value
14220 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14221 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14222 overflowing or underflowing operations take place with sign of
14223 result.
14224 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14225 Include <math.h>.
14226 * math/auto-libm-test-in: Add more tests of pow.
14227 * math/auto-libm-test-out: Regenerated.
14228 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14229 (pow_tonearest_test_data): Remove.
14230 (pow_test_tonearest): Likewise.
14231 (pow_towardzero_test_data): Likewise.
14232 (pow_test_towardzero): Likewise.
14233 (pow_downward_test_data): Likewise.
14234 (pow_test_downward): Likewise.
14235 (pow_upward_test_data): Likewise.
14236 (pow_test_upward): Likewise.
14237 (main): Don't call removed functions.
14238 * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
14241 2014-06-23 Roland McGrath <roland@hack.frob.com>
14242
14243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14244 Moved ...
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14247 Moved ...
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14250 Moved ...
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14253 Moved ...
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14256 File removed.
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14258 File removed.
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14260 File removed.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14262 File removed.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14264 File removed.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14266 File removed.
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14268 File removed.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14270 File removed.
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14272 File removed.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14274 File removed.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14276 File removed.
14277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14278 File removed.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14280 Moved ...
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14283 Moved ...
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14285 ... here.
14286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14287 Moved ...
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14290 Moved ...
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14293 Moved ...
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14296 Moved ...
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14299 Moved ...
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14302 Moved ...
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14305 Moved ...
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14309 ... here.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14311 Moved ...
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14314 Moved ...
14315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14316 ... here.
14317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14318 Moved ...
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14320 ... here.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14322 Moved ...
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14324 ... here.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14326 Moved ...
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14329 Moved ...
14330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14334 Moved ...
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14336 ... here.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14338 Moved ...
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14340 ... here.
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14342 Moved ...
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14345 Moved ...
14346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14348 Moved ...
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14351 Moved ...
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14354 Moved ...
14355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14356 ... here.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14358 Moved ...
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14361 Moved ...
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14364 Moved ...
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14367 Moved ...
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14372 Moved ...
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14375 Moved ...
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14378 Moved ...
14379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14380 ... here.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14382 Moved ...
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14384 ... here.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14386 Moved ...
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14388 ... here.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14390 Moved ...
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14393 Moved ...
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14396 Moved ...
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14399 Moved ...
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14401 ... here.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14403 Moved ...
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14405 ... here.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14407 Moved ...
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14409 ... here.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14411 Moved ...
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14414 Moved ...
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14416
14417 2014-06-23 Will Newton <will.newton@linaro.org>
14418 Wilco <wdijkstr@arm.com>
14419
14420 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14421 implementation. Include get-rounding-mode.h.
14422 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14423 [!libc_feholdsetround_noex_ctx]: Define
14424 libc_feholdsetround_noex_ctx.
14425 [!libc_feholdsetround_noexf_ctx]: Define
14426 libc_feholdsetround_noexf_ctx.
14427 [!libc_feholdsetround_noexl_ctx]: Define
14428 libc_feholdsetround_noexl_ctx.
14429 (libc_feholdsetround_ctx): New function.
14430 (libc_feresetround_ctx): New function.
14431 (libc_feholdsetround_noex_ctx): New function.
14432 (libc_feresetround_noex_ctx): New function.
14433
14434 2014-06-23 Roland McGrath <roland@hack.frob.com>
14435
14436 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14437 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14438 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14439 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14440 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14441 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14442
14443 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14444 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14446 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14447 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14448 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14450 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14452 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14454 Moved ...
14455 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14456 ... here.
14457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14458 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14460 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14462 Moved ...
14463 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14465 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14469 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14471 Moved ...
14472 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14474 Moved ...
14475 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14477 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14479 Moved ...
14480 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14482 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14483 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14484 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14485 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14486 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14487 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14488 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14490 Moved ...
14491 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14492 ... here.
14493 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14494 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14496 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14498 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14500 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14502 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14504 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14506 Moved ...
14507 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14508 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14509 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14511 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14513 Moved ...
14514 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14516 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14517 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14519
14520 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14521 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14522 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14523 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14524 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14525 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14526 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14527 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14529 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14530 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14531 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14532 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14533 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14534 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14535 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14536 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14537 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14538 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14539 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14540 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14541 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14542 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14543 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14544 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14545 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14546 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14547 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14548
14549 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14550
14551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14552 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14553 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14554 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14555 (IPV6_PMTUDISC_INTERFACE): Likewise.
14556 (IPV6_PMTUDISC_OMIT): Likewise.
14557
14558 2014-06-23 Andreas Schwab <schwab@suse.de>
14559
14560 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14561 Remove unused errout label.
14562
14563 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14564
14565 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14566 macro: hardware supports Vector Crypto instructions.
14567
14568 2014-06-23 Will Newton <will.newton@linaro.org>
14569
14570 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14571 rather than __builtin_expect.
14572
14573 * elf/dl-lookup.c (undefined_msg): Remove variable.
14574 (_dl_lookup_symbol_x): Replace undefined_msg with string
14575 literal.
14576
14577 * elf/dl-lookup.c (do_lookup_unique): New function.
14578 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14579 to a separate function.
14580
14581 2014-06-23 Andreas Schwab <schwab@suse.de>
14582
14583 [BZ #17079]
14584 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14585 before reading the next line.
14586
14587 2014-06-23 Will Newton <will.newton@linaro.org>
14588
14589 * test-skeleton.c (signal_handler): Use printf and %m
14590 rather than perror. Use printf rather than fprintf to
14591 stderr. Use puts rather than fputs to stderr.
14592 (main): Likewise.
14593
14594 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14595
14596 * nscd/nscd.c (thread_info_t): Remove typedef.
14597 (thread_info): Remove variable.
14598
14599 2014-06-21 Allan McRae <allan@archlinux.org>
14600
14601 * NEWS: Mention CVE-2014-4043.
14602
14603 2014-06-20 Roland McGrath <roland@hack.frob.com>
14604
14605 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14606 * nptl/smp.h: ... here.
14607
14608 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14609
14610 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14611 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14612 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14613 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14614
14615 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14616 * nptl/stack-aliasing.h: New file.
14617 * sysdeps/i386/i686/stack-aliasing.h: New file.
14618 * sysdeps/i386/i686/nptl/Makefile: File removed.
14619 * sysdeps/x86_64/stack-aliasing.h: New file.
14620 * sysdeps/x86_64/nptl/Makefile
14621 (CFLAGS-pthread_create.c): Variable removed.
14622
14623 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14624 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14625 old file.
14626 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14627 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14628 old file.
14629
14630 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14631
14632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14633 (__ASSUME_SIGFRAME_V2): Remove macro.
14634 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14635 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14636 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14637 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14638 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14639 Declare as function. Remove conditional macro definitions.
14640 (__default_rt_sa_restorer): Likewise.
14641 (__default_sa_restorer_v1): Remove declaration.
14642 (__default_sa_restorer_v2): Likewise.
14643 (__default_rt_sa_restorer_v1): Likewise.
14644 (__default_rt_sa_restorer_v2): Likewise.
14645 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14646 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14647 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14648
14649 2014-06-20 Roland McGrath <roland@hack.frob.com>
14650
14651 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14652 (libpthread-routines): Add sysdep.
14653 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14654 * sysdeps/unix/sysv/linux/sparc/Versions
14655 (libpthread: GLIBC_2.3.3): New version set.
14656 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14657 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14658 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14659 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14660 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14661 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14662 Moved ...
14663 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14664 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14665 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14666 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14667 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14668 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14669 * sysdeps/sparc/nptl/sem_init.c: ... here.
14670 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14671 * sysdeps/sparc/nptl/sem_post.c: ... here.
14672 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14673 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14674 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14675 * sysdeps/sparc/nptl/sem_wait.c: ... here.
14676 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14677 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14678 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14679 (libpthread-routines): Add cpu_relax.
14680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14681 File removed.
14682 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14683 (librt: GLIBC_2.3.3): New version set.
14684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14685 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14687 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14690 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14692 Moved ...
14693 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14695 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14697 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14699 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14701 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14703 Moved ...
14704 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14705 Update #include.
14706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14707 Moved ...
14708 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14709 Update #include.
14710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14711 Moved ...
14712 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14713 Update #include.
14714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14715 Moved ...
14716 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14717 Update #include.
14718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14719 Moved ...
14720 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14721 Update #include.
14722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14723 Moved ...
14724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14725 Update #include.
14726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14727 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14733 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14737 Moved ...
14738 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14742 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14743
14744 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14745
14746 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14747 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14748 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14749 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14750 * nscd/nscd.c: Likewise.
14751 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14752 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14753 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14754 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14755
14756 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14757 <kernel-features.h>.
14758 (init_mq_netlink): Remove conditional have_sock_cloexec
14759 definitions. Remove code conditional on have_sock_cloexec < 0.
14760 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14761 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14762 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14763 <kernel-features.h>.
14764 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14765 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14766
14767 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14768
14769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14770 Add tests for memset_chk and memset.
14771
14772 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14773 with AVX2_Usable.
14774
14775 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14776
14777 [BZ #16046]
14778 * elf/tst-dl-iter-static.c: New file.
14779 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14780
14781 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14782 error.
14783
14784 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14785
14786 * sysdeps/unix/sysv/linux/kernel-features.h
14787 (__ASSUME_F_GETOWN_EX): Remove macro.
14788 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14789 <kernel-features.h>.
14790 (miss_F_GETOWN_EX): Remove variable or macro.
14791 (do_fcntl): Do not check miss_F_GETOWN_EX.
14792 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14793
14794 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14795 Remove macro.
14796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14797 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14798 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14799
14800 * sysdeps/unix/sysv/linux/kernel-features.h
14801 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14802 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14803 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14804 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14805
14806 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14807
14808 [BZ #17075]
14809 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14810 Fix calculation of the symbol's value.
14811 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14812 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14813 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14814 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14815 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14816 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14817 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14818 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14819 (modules-names): Add `tst-armtlsdescmod',
14820 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14821 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14822 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14823 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14824 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14825 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14826 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14827 ($(objpfx)tst-armtlsdescloc): New dependency.
14828 ($(objpfx)tst-armtlsdescextnow): Likewise.
14829 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14830 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14831 TLS scheme support.
14832 * sysdeps/arm/configure: Regenerate.
14833
14834 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14835
14836 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14837 (__atfct_seterrno_2): Likewise.
14838 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14839 <kernel-features.h>.
14840 (__ASSUME_ATFCTS): Do not undefine and redefine.
14841 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14842 (__have_atfcts): Remove conditional definition.
14843 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14844 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14845 unreachable if [__ASSUME_ATFCTS].
14846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14847 not undefine and redefine.
14848 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14849 <kernel-features.h>.
14850 (faccessat) [__NR_faccessat]: Make code unconditional.
14851 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14852 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14853 <kernel-features.h>.
14854 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14855 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14856 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14857 <kernel-features.h>.
14858 (fchownat) [__NR_fchownat]: Make code unconditional.
14859 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14860 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14861 <kernel-features.h>.
14862 (futimesat) [__NR_futimesat]: Make code unconditional.
14863 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14864 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14865 <kernel-features.h>.
14866 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14867 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14868 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14869 <kernel-features.h>.
14870 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14871 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14873 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14874 <kernel-features.h>.
14875 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14876 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14877 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14878 <kernel-features.h>.
14879 (linkat) [__NR_linkat]: Make code unconditional.
14880 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14881 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14882 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14883 <kernel-features.h>.
14884 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14885 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14886 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14887 <kernel-features.h>.
14888 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14889 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14890 * sysdeps/unix/sysv/linux/openat.c: Do not include
14891 <kernel-features.h>.
14892 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14893 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14894 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14895 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14896 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14897 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14898 <kernel-features.h>.
14899 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14900 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14901 result of INLINE_SYSCALL directly, not via int variable.
14902 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14903 <kernel-features.h>.
14904 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14905 (renameat) [__NR_renameat]: Make code unconditional.
14906 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14908 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14909 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14910 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14911 (__ASSUME_ATFCTS): Do not undefine and redefine.
14912 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14913 <kernel-features.h>.
14914 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14915 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14916 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14917 <kernel-features.h>.
14918 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14919 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14920 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14921 (__ASSUME_ATFCTS): Do not undefine and redefine.
14922 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14923 <kernel-features.h>.
14924 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14925 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14926 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14927 <kernel-features.h>.
14928 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14929 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14930
14931 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14934
14935 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14936
14937 [BZ #17069]
14938 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14939 constructed tree before returning error.
14940 * posix/bug-regexp36.c: Expand test case.
14941
14942 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14943
14944 [BZ #6803]
14945 * math/libm-test.inc (scalbln_test_date):
14946 Add errno expectations.
14947 * math/w_scalblnf.c: New File.
14948 Add wrapper which checks for setting errno to ERANGE.
14949 Add weak_alias for corresponding scalbln function.
14950 * math/w_scalbln.c: Likewise.
14951 * math/w_scalblnl.c: Likewise.
14952 * math/Makefile (libm-calls): Add w_scalbln.
14953 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14954 Remove weak_alias for corresponding scalbln function.
14955 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14959 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14960 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14961 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14962 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14963 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14964 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14965 Remove long_double_symbol for scalblnl function in libm, libc.
14966 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14967 Add wrapper which checks for setting errno to ERANGE.
14968 Add long_double_symbol for scalblnl function in libm, libc.
14969 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14970 Remove long_double_symbol for scalblnl in libm.
14971 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14972 Add wrapper which checks for setting errno to ERANGE.
14973 Add long_double_symbol for scalblnl function in libm.
14974 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14975 Do not use wrapper because of own implementation.
14976
14977 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14978
14979 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14980 3 bytes for __pad1 for x32.
14981 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14982
14983 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14984 H.J. Lu <hongjiu.lu@intel.com>
14985
14986 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14987 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14988 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14989 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14990 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14991
14992 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14993
14994 [BZ #17069]
14995 * posix/regcomp.c (parse_expression): Deallocate partially
14996 constructed tree before returning error.
14997 * posix/Makefile.c (tests): Add bug-regex36.
14998 (generated): Add bug-regex36.mtrace.
14999 (tests-special): Add $(objpfx)bug-regex36-mem.out
15000 (bug-regex36-ENV): New variable.
15001 ($(objpfx)bug-regex36-mem.out): New rule.
15002 * posix/bug-regex36.c: New file.
15003
15004 2014-06-19 Will Newton <will.newton@linaro.org>
15005
15006 * malloc/malloc.c (systrim): If extra is zero then return
15007 early.
15008
15009 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15010
15011 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15012
15013 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15014
15015 * sysdeps/aarch64/strchr.S: New file.
15016
15017 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15018
15019 [BZ #17022]
15020 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15021 from arguments -2 or below.
15022 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15023 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15024
15025 2014-06-18 Andreas Schwab <schwab@suse.de>
15026
15027 [BZ #17062]
15028 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15029 of a bracket expr not to run off the end of the string.
15030 * posix/Makefile (tests): Add tst-fnmatch3.
15031 * posix/tst-fnmatch3.c: New file.
15032
15033 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15034
15035 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15036 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15037 [$(cross-compiling) = no]: Likewise.
15038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15039 [$(cross-compiling) = no]: Likewise.
15040
15041 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15042
15043 [BZ #17031]
15044 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15045 double, adjusted for any remainder from the high double.
15046 * math/libm-test.inc (nearbyint): Add tests.
15047 (rint): Likewise.
15048
15049 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15050
15051 * nptl/sysdeps/powerpc/Makefile: Moved ...
15052 * sysdeps/powerpc/nptl/Makefile: ... here.
15053 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15054 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15055 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15056 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15057 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15058 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15059 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15060 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15061 * nptl/sysdeps/powerpc/tls.h: Moved ...
15062 * sysdeps/powerpc/nptl/tls.h: ... here.
15063
15064 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15065
15066 [BZ #16681]
15067 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15068 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15069 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15070 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15071 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15072 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15073 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15074 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15075 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15076
15077 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15078
15079 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15080
15081 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15082
15083 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15084 defined operator.
15085
15086 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15087 $TIMEOUTFACTOR.
15088
15089 2014-06-16 Florian Weimer <fweimer@redhat.com>
15090
15091 [BZ #17058]
15092 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15093 non-executed part of the test.
15094
15095 2014-06-16 Andreas Schwab <schwab@suse.de>
15096
15097 * string/bits/string2.h (strdup, strndup): Update feature guard.
15098
15099 2014-06-14 David S. Miller <davem@davemloft.net>
15100
15101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15102
15103 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15104
15105 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15106 that was previously under [RESET_PID].
15107 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15108
15109 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15110 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15111 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15112 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15113 (__libc_vfork): New strong alias.
15114 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15115
15116 2014-06-14 Andi Kleen <ak@linux.intel.com>
15117
15118 * sysdeps/generic/elide.h: New file.
15119
15120 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15121
15122 * Makefile (installed-headers): Adjust path of pthread.h header.
15123
15124 2014-06-13 Roland McGrath <roland@hack.frob.com>
15125
15126 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15127 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15128 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15129 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15130
15131 * nptl/sysdeps/s390/Makefile: Moved ...
15132 * sysdeps/s390/nptl/Makefile: ... here.
15133 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15134 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15135 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15136 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15137 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15138 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15139 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15140 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15141 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15142 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15143 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15144 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15145 * nptl/sysdeps/s390/tls.h: Moved ...
15146 * sysdeps/s390/nptl/tls.h: ... here.
15147
15148 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15149 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15150
15151 2014-06-13 David S. Miller <davem@davemloft.net>
15152
15153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15156 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15160 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15161 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15162 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15163 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15164 Remove RESET_PID cpp guards.
15165 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15166 Remove RESET_PID cpp guards.
15167 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15168
15169 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15170
15171 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15172 __sp to uintptr_t.
15173
15174 2014-06-13 Andi Kleen <ak@linux.intel.com>
15175
15176 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15181 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15186 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15187 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15190 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15191 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15196
15197 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15198 (pthread_rwlock_rdlock): Add elision.
15199 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15200 (pthread_rwlock_wrlock): Add elision.
15201 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15202 (pthread_rwlock_trywrlock): Add elision.
15203 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15204 (pthread_rwlock_tryrdlock): Add elision.
15205 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15206 (pthread_rwlock_tryrdlock): Add elision unlock.
15207 * nptl/sysdeps/pthread/pthread.h:
15208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15209 (PTHREAD_RWLOCK_INITIALIZER,
15210 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15211 Handle new elision field.
15212 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15213 * sysdeps/arm/nptl/bits/pthreadtypes.h
15214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15215 * sysdeps/sh/nptl/bits/pthreadtypes.h
15216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15217 * sysdeps/tile/nptl/bits/pthreadtypes.h
15218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15219 * sysdeps/a/nptl/bits/pthreadtypes.h
15220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15221 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15223 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15225 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15227 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15229 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15231 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15233 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15235 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15237 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15238 (elision_init): Set try_xbegin to zero when no RTM.
15239 * sysdeps/x86/nptl/bits/pthreadtypes.h
15240 (pthread_rwlock_t): Change __pad1 to __rwelision.
15241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15242
15243 2014-06-13 Andi Kleen <ak@linux.intel.com>
15244
15245 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15246 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15247 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15248 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15249
15250 2014-06-13 Meador Inge <meadori@codesourcery.com>
15251
15252 [BZ #16996]
15253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15254 that the cached result has been set before returning it.
15255
15256 2014-06-12 Roland McGrath <roland@hack.frob.com>
15257
15258 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15259 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15260 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15261 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15262 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15263 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15264
15265 * nptl/sysdeps/sparc/Makefile: Moved ...
15266 * sysdeps/sparc/nptl/Makefile: ... here.
15267 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15268 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15269 * nptl/sysdeps/sparc/tls.h: Moved ...
15270 * sysdeps/sparc/nptl/tls.h: ... here.
15271 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15272 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15273 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15274 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15275 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15276 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15277 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15278 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15280 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15281 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15282 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15283 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15284 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15285 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15286 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15287 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15288 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15289 Update #include.
15290 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15291 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15292 Update #include.
15293 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15295 Update #include.
15296 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15297 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15298 Update #include.
15299
15300 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15301
15302 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15303 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15304
15305 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15306 (struct list_links): Type removed.
15307 (struct thread_node, struct timer_node): Replace struct list_links
15308 with struct list_head.
15309 (list_unlink_ip): Likewise.
15310 * sysdeps/pthread/timer_routines.c
15311 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15312 (list_append, list_insbefore): Likewise.
15313 (list_init): Function removed.
15314 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15315 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15316 * sysdeps/pthread/Makefile: ... here, new file.
15317
15318 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15319 * sysdeps/nptl/Implies: ... here.
15320 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15321 * nptl/sysdeps/pthread/list.h: Moved ...
15322 * include/list.h: ... here.
15323 * nptl/sysdeps/pthread/createthread.c: Moved ...
15324 * nptl/createthread.c: ... here.
15325 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15326 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15327 * nptl/pt-longjmp.c: ... here.
15328 * nptl/sysdeps/pthread/Makefile: Moved ...
15329 * sysdeps/nptl/Makefile: ... here.
15330 * nptl/sysdeps/pthread/Subdirs: Moved ...
15331 * sysdeps/nptl/Subdirs: ... here.
15332 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15333 * sysdeps/nptl/aio_misc.h: ... here.
15334 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15335 * sysdeps/nptl/bits/libc-lock.h: ... here.
15336 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15337 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15338 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15339 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15340 * nptl/sysdeps/pthread/configure: Moved ...
15341 * sysdeps/nptl/configure: ... here.
15342 * nptl/sysdeps/pthread/configure.ac: Moved ...
15343 * sysdeps/nptl/configure.ac: ... here.
15344 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15345 * sysdeps/nptl/gai_misc.h: ... here.
15346 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15347 * sysdeps/nptl/librt-cancellation.c: ... here.
15348 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15349 * sysdeps/nptl/malloc-machine.h: ... here.
15350 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15351 * sysdeps/nptl/pthread-functions.h: ... here.
15352 * nptl/sysdeps/pthread/pthread.h: Moved ...
15353 * sysdeps/nptl/pthread.h: ... here.
15354 * nptl/sysdeps/pthread/setxid.h: Moved ...
15355 * sysdeps/nptl/setxid.h: ... here.
15356 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15357 * sysdeps/nptl/sigfillset.c: ... here.
15358 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15359 * sysdeps/nptl/tcb-offsets.h: ... here.
15360 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15361 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15362 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15363 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15364 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15365 * sysdeps/pthread/allocalim.h: ... here.
15366 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15367 * sysdeps/pthread/bits/sigthread.h: ... here.
15368 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15369 * sysdeps/pthread/flockfile.c: ... here.
15370 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15371 * sysdeps/pthread/ftrylockfile.c: ... here.
15372 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15373 * sysdeps/pthread/funlockfile.c: ... here.
15374 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15375 * sysdeps/pthread/posix-timer.h: ... here.
15376 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15377 * sysdeps/pthread/timer_create.c: ... here.
15378 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15379 * sysdeps/pthread/timer_delete.c: ... here.
15380 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15381 * sysdeps/pthread/timer_getoverr.c: ... here.
15382 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15383 * sysdeps/pthread/timer_gettime.c: ... here.
15384 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15385 * sysdeps/pthread/timer_routines.c: ... here.
15386 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15387 * sysdeps/pthread/timer_settime.c: ... here.
15388 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15389 * sysdeps/pthread/tst-timer.c: ... here.
15390 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15391 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15392
15393 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15394 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15395
15396 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15397 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15398 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15399 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15400 Update #include target.
15401 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15402 * sysdeps/i386/i686/nptl/Makefile: ... here.
15403 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15404 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15405 Update #include target.
15406 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15407 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15408 * nptl/sysdeps/i386/Makefile: Moved ...
15409 * sysdeps/i386/nptl/Makefile: ... here.
15410 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15411 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15412 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15413 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15414 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15415 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15416 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15417 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15418 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15419 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15420 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15421 * nptl/sysdeps/i386/tls.h: Moved ...
15422 * sysdeps/i386/nptl/tls.h: ... here.
15423
15424 * sysdeps/sh/Makefile [$(subdir) = csu]
15425 (gen-as-const-headers): Add tcb-offsets.sym.
15426 * nptl/sysdeps/sh/Makefile: File removed.
15427 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15428 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15429 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15430 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15431 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15432 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15433 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15434 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15435 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15436 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15437 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15438 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15439 * nptl/sysdeps/sh/tls.h: Moved ...
15440 * sysdeps/sh/nptl/tls.h: ... here.
15441 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15442 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15443 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15444 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15445 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15446 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15447 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15448 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15449 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15450 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15451 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15452 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15454 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15456 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15458 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15460 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15462 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15464 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15466 Moved ...
15467 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15468 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15469 Moved ...
15470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15475 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15476 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15477 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15478 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15479 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15480 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15481 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15482 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15483 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15484 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15485 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15486 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15487 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15488 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15489
15490 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15491
15492 * posix/spawn_faction_addopen.c: Include string.h.
15493
15494 2014-06-11 Roland McGrath <roland@hack.frob.com>
15495
15496 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15497 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15498 * nptl/sysdeps/x86_64/Makefile: Moved ...
15499 * sysdeps/x86_64/nptl/Makefile: ... here.
15500 * nptl/sysdeps/x86_64/configure: Moved ...
15501 * sysdeps/x86_64/nptl/configure: ... here.
15502 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15503 * sysdeps/x86_64/nptl/configure.ac: ... here.
15504 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15505 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15506 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15507 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15508 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15509 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15510 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15511 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15512 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15513 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15514 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15515 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15516 * nptl/sysdeps/x86_64/tls.h: Moved ...
15517 * sysdeps/x86_64/nptl/tls.h: ... here.
15518 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15519 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15520 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15521 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15522
15523 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15524
15525 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15526
15527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15528
15529 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15530
15531 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15532 type.
15533 [POSIX] (off_t): Likewise.
15534 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15535 [POSIX] (S_ISBLK): Require macro.
15536 [POSIX] (S_ISCHR): Likewise.
15537 [POSIX] (S_ISDIR): Likewise.
15538 [POSIX] (S_ISFIFO): Likewise.
15539 [POSIX] (S_ISREG): Likewise.
15540 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15541 optional-macro.
15542 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15543 type.
15544 [POSIX] (time_t): Likewise.
15545 [POSIX] (timer_t): Likewise.
15546
15547 2014-06-11 Florian Weimer <fweimer@redhat.com>
15548
15549 [BZ #17048]
15550 * posix/spawn_int.h (struct __spawn_action): Make the path string
15551 non-const to support deallocation.
15552 * posix/spawn_faction_addopen.c
15553 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15554 * posix/spawn_faction_destroy.c
15555 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15556 path in all spawn_do_open actions.
15557 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15558 posix_spawn_file_actions_addopen.
15559
15560 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15561
15562 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15563 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15564 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15565 conditional code always true.
15566 (__libc_vfork): New alias.
15567
15568 2014-06-11 Roland McGrath <roland@hack.frob.com>
15569
15570 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15571 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15572
15573 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15574
15575 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15576 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15577
15578 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15579 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15580
15581 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15582 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15583
15584 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15585
15586 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15587 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15588 multiarch strcmp for PPC64.
15589 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15592 multiarch optimizations.
15593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15594 (__libc_ifunc_impl_list): Likewise.
15595
15596 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15597
15598 * benchtests/scripts/validate_benchout.py: New script.
15599 * benchtests/Makefile (bench-func): Call it.
15600 * benchtests/scripts/benchout.schema.json: New file.
15601
15602 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15603
15604 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15605 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15606 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15607 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15608 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15609 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15610 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15611 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15612 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15613 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15614 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15615 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15616 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15617 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15618 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15619 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15621 Moved ...
15622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15623 ... here.
15624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15625 Moved ...
15626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15628 Moved ...
15629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15630 ... here.
15631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15632 Moved ...
15633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15634 ... here.
15635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15636 Moved ...
15637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15639 Moved ...
15640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15641 ... here.
15642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15643 Moved ...
15644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15645 ... here.
15646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15647 Moved ...
15648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15650 Moved ...
15651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15652 ... here.
15653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15654 Moved ...
15655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15656 ... here.
15657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15658 Moved ...
15659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15660 ... here.
15661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15662 Moved ...
15663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15665 Moved ...
15666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15667 ... here.
15668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15669 Moved ...
15670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15671 ... here.
15672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15673 Moved ...
15674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15675 ... here.
15676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15677 Moved ...
15678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15680 Moved ...
15681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15682 ... here.
15683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15684 Moved ...
15685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15686 ... here.
15687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15688 Moved ...
15689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15691 Moved ...
15692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15693 ... here.
15694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15695 Moved ...
15696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15698 Moved ...
15699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15701 Moved ...
15702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15703 ... here.
15704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15705 Moved ...
15706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15707 ... here.
15708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15709 Moved ...
15710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15711 ... here.
15712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15713 Moved ...
15714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15716 Moved ...
15717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15718 ... here.
15719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15720 Moved ...
15721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15722 ... here.
15723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15724 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15726 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15728 Moved ...
15729 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15730 ... here.
15731 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15732 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15734 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15736 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15738 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15740 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15742 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15744 Moved ...
15745 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15747 Moved ...
15748 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15750 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15752 Moved ...
15753 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15755 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15756 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15757 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15758 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15759 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15760
15761 2014-06-10 Wilco <wdijkstr@arm.com>
15762
15763 * math/test-fenv-return.c: New file.
15764 * math/Makefile: Add new test test-fenv-return.
15765
15766 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15767
15768 [BZ #17042]
15769 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15770 when x - 1 is zero.
15771 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15772 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15773 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15774 0.0L for an argument of 1.0L.
15775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15776 Likewise.
15777 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15778 value when x - 1 is zero.
15779 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15780 * sysdeps/i386/fpu/libm-test-ulps: Update.
15781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15782
15783 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15784
15785 [BZ #15119]
15786 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15787
15788 2014-06-09 Roland McGrath <roland@hack.frob.com>
15789
15790 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15791 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15792
15793 2014-06-09 Roland McGrath <roland@hack.frob.com>
15794
15795 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15796 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15797
15798 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15799 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15800
15801 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15802 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15803
15804 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15805 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15806
15807 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15808 if not already defined.
15809 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15810 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15811 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15812 (TLS_INIT_TP): Use it.
15813 (TLS_DEFINE_INIT_TP): New macro.
15814 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15815
15816 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15817
15818 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15819 constant.
15820 [POSIX] (IXANY): Likewise.
15821 [POSIX] (OLCUC): Likewise.
15822 [POSIX || POSIX2008] (CBAUD): Do not allow.
15823 [POSIX || POSIX2008] (DEFECHO): Likewise.
15824 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15825 [POSIX || POSIX2008] (ECHOKE): Likewise.
15826 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15827 [POSIX || POSIX2008] (EXTA): Likewise.
15828 [POSIX || POSIX2008] (EXTB): Likewise.
15829 [POSIX || POSIX2008] (FLUSHO): Likewise.
15830 [POSIX || POSIX2008] (LOBLK): Likewise.
15831 [POSIX || POSIX2008] (PENDIN): Likewise.
15832 [POSIX || POSIX2008] (SWTCH): Likewise.
15833 [POSIX || POSIX2008] (VDISCARD): Likewise.
15834 [POSIX || POSIX2008] (VDSUSP): Likewise.
15835 [POSIX || POSIX2008] (VLNEXT): Likewise.
15836 [POSIX || POSIX2008] (VREPRINT): Likewise.
15837 [POSIX || POSIX2008] (VSTATUS): Likewise.
15838 [POSIX || POSIX2008] (VWERASE): Likewise.
15839 (B*): Change to B[0123456789]*.
15840 * conform/data/time.h-data [POSIX || UNIX98]
15841 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15842 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15843 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15844 [POSIX] (tm_*): Do not allow.
15845
15846 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15847
15848 * Makefile (install): Don't set LANGUAGE.
15849 * Makefile.in (install): Likewise.
15850 * assert/Makefile (test-assert-ENV): Remove variable.
15851 (test-assert-perr-ENV): Likewise.
15852 * elf/Makefile (neededtest4-ENV): Likewise.
15853 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15854 [$(cross-compiling) = no]: Don't set LANGUAGE.
15855 * io/ftwtest-sh (LANG): Remove variable.
15856 * libio/Makefile (tst-widetext-ENV): Likewise.
15857 * manual/install.texi (Running make install): Don't refer to
15858 environment settings for make install.
15859 * INSTALL: Regenerated.
15860 * nptl/tst-tls6.sh: Don't set LANG.
15861 * posix/globtest.sh (LANG): Remove variable.
15862 * string/Makefile (tester-ENV): Likewise.
15863 (inl-tester-ENV): Likewise.
15864 (noinl-tester-ENV): Likewise.
15865 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15866 [$(cross-compiling) = no]: Don't set LANGUAGE.
15867 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15868 without explicit environment settings.
15869
15870 2014-06-06 Roland McGrath <roland@hack.frob.com>
15871
15872 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15873 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15874 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15875 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15876
15877 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15878
15879 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15880 other files in the crypt directory.
15881 * crypt/crypt.c: Remove duplicate includes.
15882 * crypt/crypt-entry.c: Likewise.
15883 * crypt/crypt_util.c: Likewise.
15884
15885 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15886
15887 * Makeconfig (run-program-env): New variable.
15888 (run-program-prefix-before-env): Likewise.
15889 (run-program-prefix-after-env): Likewise.
15890 (run-program-prefix): Define in terms of new variables.
15891 (built-program-cmd-before-env): New variable.
15892 (built-program-cmd-after-env): Likewise.
15893 (built-program-cmd): Define in terms of new variables.
15894 (test-program-prefix-before-env): New variable.
15895 (test-program-prefix-after-env): Likewise.
15896 (test-program-prefix): Define in terms of new variables.
15897 (test-program-cmd-before-env): New variable.
15898 (test-program-cmd-after-env): Likewise.
15899 (test-program-cmd): Define in terms of new variables.
15900 * Rules (make-test-out): Use $(run-program-env).
15901 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15902 (help): Do not mention environment variables. Mention
15903 --timeoutfactor option.
15904 (timeoutfactor): New variable.
15905 (blacklist_exports): Remove function.
15906 (exports): Remove variable.
15907 (command): Do not include ${exports}.
15908 * manual/install.texi (Configuring and compiling): Do not mention
15909 test wrappers preserving environment variables. Mention that last
15910 assignment to a variable must take precedence.
15911 * INSTALL: Regenerated.
15912 * benchtests/Makefile (run-bench): Use $(run-program-env).
15913 * catgets/Makefile ($(objpfx)test1.cat): Use
15914 $(built-program-cmd-before-env), $(run-program-env) and
15915 $(built-program-cmd-after-env).
15916 ($(objpfx)test2.cat): Do not specify environment variables
15917 explicitly.
15918 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15919 $(run-program-env) and $(built-program-cmd-after-env).
15920 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15921 $(run-program-env) and $(test-program-cmd-after-env).
15922 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15923 explicitly.
15924 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15925 run_program_env and test_program_cmd_after_env arguments.
15926 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15927 * elf/tst-pathopt.sh: Use run_program_env argument.
15928 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15929 $(test-wrapper-env) and $(run-program-env).
15930 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15931 run_program_env arguments.
15932 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15933 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15934 $(test-program-prefix-before-env), $(run-program-env) and
15935 $(test-program-prefix-after-env).
15936 ($(objpfx)tst-gettext2.out): Likewise.
15937 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15938 run_program_env and test_program_prefix_after_env arguments.
15939 * intl/tst-gettext2.sh: Likewise.
15940 * intl/tst-gettext4.sh: Do not set environment variables
15941 explicitly.
15942 * intl/tst-gettext6.sh: Likewise.
15943 * intl/tst-translit.sh: Likewise.
15944 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15945 $(test-program-prefix-before-env), $(run-program-env) and
15946 $(test-program-prefix-after-env).
15947 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15948 run_program_env and test_program_prefix_after_env arguments.
15949 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15950 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15951 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15952 explicitly with each use of ${test_wrapper_env}.
15953 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15954 $(test-program-prefix-before-env), $(run-program-env) and
15955 $(test-program-prefix-after-env).
15956 * posix/tst-getconf.sh: Do not set environment variables
15957 explicitly.
15958 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15959 run_program_env and test_program_prefix_after_env arguments.
15960 * stdio-common/tst-printf.sh: Do not set environment variables
15961 explicitly.
15962 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15963 $(test-program-prefix-before-env), $(run-program-env) and
15964 $(test-program-prefix-after-env).
15965 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15966 run_program_env and test_program_prefix_after_env arguments.
15967 Split $test calls into $test_pre and $test.
15968 * timezone/Makefile (build-testdata): Use
15969 $(built-program-cmd-before-env), $(run-program-env) and
15970 $(built-program-cmd-after-env).
15971
15972 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15973
15974 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15975 strlen for non SHARED builds.
15976
15977 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15978
15979 * nptl/allocatestack.c (check_list): Inlined function...
15980 (__reclaim_stacks): ... here.
15981
15982 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15983
15984 [BZ #15698]
15985 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15986 memory overrun.
15987
15988 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15989
15990 * Rules (make-test-out): Include
15991 LOCPATH=$(common-objpfx)localedata in default environment.
15992 * debug/Makefile (tst-chk1-ENV): Remove variable.
15993 (tst-chk2-ENV): Likewise.
15994 (tst-chk3-ENV): Likewise.
15995 (tst-chk4-ENV): Likewise.
15996 (tst-chk5-ENV): Likewise.
15997 (tst-chk6-ENV): Likewise.
15998 (tst-lfschk1-ENV): Likewise.
15999 (tst-lfschk2-ENV): Likewise.
16000 (tst-lfschk3-ENV): Likewise.
16001 (tst-lfschk4-ENV): Likewise.
16002 (tst-lfschk5-ENV): Likewise.
16003 (tst-lfschk6-ENV): Likewise.
16004 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16005 (tst-iconv7-ENV): Likewise.
16006 * intl/Makefile (LOCPATH-ENV): Likewise.
16007 (tst-codeset-ENV): Likewise.
16008 (tst-gettext3-ENV): Likewise.
16009 (tst-gettext5-ENV): Likewise.
16010 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16011 (tst-fopenloc-ENV): Likewise.
16012 (tst-fgetws-ENV): Remove variable.
16013 (tst-ungetwc1-ENV): Likewise.
16014 (tst-ungetwc2-ENV): Likewise.
16015 (bug-ungetwc2-ENV): Likewise.
16016 (tst-swscanf-ENV): Likewise.
16017 (bug-ftell-ENV): Likewise.
16018 (tst-fgetwc-ENV): Likewise.
16019 (tst-fseek-ENV): Likewise.
16020 (tst-ftell-partial-wide-ENV): Likewise.
16021 (tst-ftell-active-handler-ENV): Likewise.
16022 (tst-ftell-append-ENV): Likewise.
16023 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16024 (tst-regexloc-ENV): Likewise.
16025 (bug-regex1-ENV): Likewise.
16026 (tst-regex-ENV): Likewise.
16027 (tst-regex2-ENV): Likewise.
16028 (bug-regex5-ENV): Likewise.
16029 (bug-regex6-ENV): Likewise.
16030 (bug-regex17-ENV): Likewise.
16031 (bug-regex18-ENV): Likewise.
16032 (bug-regex19-ENV): Likewise.
16033 (bug-regex20-ENV): Likewise.
16034 (bug-regex22-ENV): Likewise.
16035 (bug-regex23-ENV): Likewise.
16036 (bug-regex25-ENV): Likewise.
16037 (bug-regex26-ENV): Likewise.
16038 (bug-regex30-ENV): Likewise.
16039 (bug-regex32-ENV): Likewise.
16040 (bug-regex33-ENV): Likewise.
16041 (bug-regex34-ENV): Likewise.
16042 (bug-regex35-ENV): Likewise.
16043 (tst-rxspencer-ENV): Likewise.
16044 (tst-rxspencer-no-utf8-ENV): Likewise.
16045 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16046 (tst-sscanf-ENV): Likewise.
16047 (tst-swprintf-ENV): Likewise.
16048 (tst-swscanf-ENV): Likewise.
16049 (test-vfprintf-ENV): Likewise.
16050 (scanf13-ENV): Likewise.
16051 (bug14-ENV): Likewise.
16052 (tst-grouping-ENV): Likewise.
16053 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16054 (tst-strtod3-ENV): Likewise.
16055 (tst-strtod4-ENV): Likewise.
16056 (tst-strtod5-ENV): Likewise.
16057 (testmb2-ENV): Likewise./
16058 * string/Makefile (tst-strxfrm-ENV): Likewise.
16059 (tst-strxfrm2-ENV): Likewise.
16060 (bug-strcoll1-ENV): Likewise.
16061 (test-strcasecmp-ENV): Likewise.
16062 (test-strncasecmp-ENV): Likewise.
16063 * time/Makefile (tst-strptime-ENV): Likewise.
16064 (tst-ftime_l-ENV): Likewise.
16065 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16066 (tst-mbrtowc-ENV): Likewise.
16067 (tst-wcrtomb-ENV): Likewise.
16068 (tst-mbrtowc2-ENV): Likewise.
16069 (tst-c16c32-1-ENV): Likewise.
16070 (tst-mbsnrtowcs-ENV): Likewise.
16071
16072 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16073
16074 * manual/resource.texi (How to get information about the memory
16075 subsystem?): Fix typo.
16076 Reported by Peon de la Parra Ivan <peon@keba.com>
16077
16078 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16079
16080 [BZ #16882]
16081 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16082 (pthread_spin_lock): Branch out of spin loop to proper location.
16083 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16084 (pthread_spin_lock): Likewise.
16085
16086 * nptl/tst-spin4.c: New test.
16087 * nptl/Makefile (tests): Add tst-spin4.
16088
16089 2014-06-03 Andreas Schwab <schwab@suse.de>
16090
16091 [BZ #15946]
16092 * resolv/res_send.c (send_dg): Reload file descriptor after
16093 calling reopen.
16094
16095 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16096
16097 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16098
16099 2014-06-03 Richard Henderson <rth@redhat.com>
16100
16101 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16102 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16103 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16104 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16105 in the SAVE_PID block.
16106 (__libc_vfork): New alias.
16107 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16108
16109 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16110 child in registers, not on the stack. Remove RESET_PID conditionals.
16111 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16112
16113 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16114
16115 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16116
16117 2014-06-03 Wilco <wdijkstr@arm.com>
16118
16119 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16120 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16121 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16122 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16123 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16124 Likewise.
16125
16126 2014-06-03 Wilco <wdijkstr@arm.com>
16127
16128 * sysdeps/aarch64/fpu/math_private.h
16129 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16130 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16131 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16132 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16133 Fix declarations.
16134
16135 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16136
16137 * crypt/crypt-private.h: Include ufc-crypt.h.
16138 (__b64_from_24bit): Declare extern.
16139 * crypt/crypt_util.c(__b64_from_24bit): New function.
16140 (b64t): New static const variable.
16141 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16142 (b64t): Remove variable.
16143 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16144 * crypt/sha256-crypt.c: Include crypt-private.h.
16145 (b64t): Remove variable.
16146 (__sha256_crypt_r): Remove b64_from_24bit and replace
16147 with __b64_from_24bit.
16148 * crypt/sha512-crypt.c: Likewise.
16149
16150 2014-06-02 Roland McGrath <roland@hack.frob.com>
16151
16152 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16153 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16154 Label the code __libc_vfork rather than __vfork.
16155 [!NOT_IN_libc] (vfork): Define as weak alias.
16156 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16157 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16158 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16159
16160 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16161
16162 * malloc/malloc.c (malloc_info): Fix format specifier for
16163 n_mmaps.
16164
16165 2014-06-02 Wilco <wdijkstr@arm.com>
16166
16167 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16168 FPCR write.
16169
16170 2014-06-02 Wilco <wdijkstr@arm.com>
16171
16172 [BZ #17009]
16173 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16174 Rewrite to reduce FPCR/FPSR accesses.
16175
16176 2014-06-01 David S. Miller <davem@davemloft.net>
16177
16178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16179
16180 2014-05-31 David S. Miller <davem@davemloft.net>
16181
16182 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16183 to occur in round to nearest mode when |x| >= 2.0
16184
16185 2014-05-30 Richard Henderson <rth@twiddle.net>
16186
16187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16188 (PSEUDO_RET_NOERRNO): Remove.
16189 (ret): Don't redefine.
16190 (ret_NOERRNO): Define in terms of ret.
16191 (ret_ERRVAL): Likewise.
16192
16193 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16194 use of PSEUDO_RET; perform the error check directly.
16195
16196 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16197
16198 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16199 with __int128_t.
16200
16201 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16202
16203 * malloc/malloc (malloc_info): Fix formatting.
16204
16205 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16206 Roland McGrath <roland@hack.frob.com>
16207
16208 * malloc/malloc (malloc_info): Also print mmapped statistics.
16209
16210 2014-05-30 Roland McGrath <roland@hack.frob.com>
16211
16212 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16213 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16214
16215 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16216
16217 * malloc/malloc.c (malloc_info): Inline mi_arena.
16218
16219 2014-05-29 Richard Henderson <rth@twiddle.net>
16220
16221 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16222 Remove comma before expanding ASM_ARGS_##nr.
16223 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16224 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16225 of ASM_ARGS_##nr.
16226 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16227 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16228 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16229 (ASM_ARGS_1): Add leading comma.
16230
16231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16232 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16233 to __errno_location.
16234 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16235 Remove the expected plt for __errno_location.
16236
16237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16238 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16239 call to __read_tp.
16240
16241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16242 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16243 it and break it down.
16244 (DOCARGS_0, DOCARGS_1): Do nothing.
16245 (DOCARGS_2): Update to store into the new stack frame.
16246 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16247 (UNDOCARGS_1): Update to restore from the new stack frame.
16248 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16249 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16250
16251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16252 (SINGLE_THREAD_P): New parameter for result regno.
16253 (PSEUDO): Update to match; use cbz instead of beq.
16254
16255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16256 Use ENTRY to define the _nocancel entry point. Share the syscall
16257 and syscall error check paths with the cancel path.
16258 (PSEUDO_END): New.
16259
16260 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16261 whitespace; tabs before and after asm mnemonics.
16262
16263 2014-05-29 Eric Wong <normalperson@yhbt.net>
16264
16265 [BZ #15132]
16266 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16267 Call fstat64 or stat64 internally, depending on arguments passed.
16268 Replace stat buffer argument with file descriptor argument.
16269 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16270 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16271 Pass fd to __internal_statvfs instead of calling fstat64.
16272 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16273 Pass fd to __internal_statvfs64 instead of calling fstat64.
16274 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16275 Pass -1 to __internal_statvfs instead of calling stat64.
16276 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16277 Pass -1 to __internal_statvfs64 instead of calling stat64.
16278
16279 2014-05-28 Roland McGrath <roland@hack.frob.com>
16280
16281 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16282 that was previously under [RESET_PID].
16283 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16284
16285 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16286 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16287
16288 2014-05-27 Roland McGrath <roland@hack.frob.com>
16289
16290 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16291
16292 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16293 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16294
16295 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16296
16297 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16298
16299 2014-05-27 Andreas Schwab <schwab@suse.de>
16300
16301 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16302 TLS_INIT_TP macro.
16303 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16304 * elf/rtld.c (init_tls, dl_main): Likewise.
16305 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16306 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16307 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16308 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16309 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16310 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16311 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16312 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16313 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16314 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16315 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16316 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16317 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16318 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16319 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16320 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16321 * sysdeps/generic/tls.h: Update description.
16322
16323 2014-05-27 Will Newton <will.newton@linaro.org>
16324
16325 [BZ #16990]
16326 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16327 and restore r2 rather than just restoring.
16328
16329 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 [BZ #16724]
16332 * libio/tst-ftell-append.c: New test case.
16333 * libio/Makefile (tests): Add test case.
16334 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16335 append mode.
16336 * libio/wfileops.c (do_ftell_wide): Likewise.
16337
16338 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16339
16340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16341
16342 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16343 ...
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16346 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16347 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16348 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16349 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16350 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16351 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16353 Moved ...
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16356 Moved ...
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16358 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16359 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16360 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16361 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16362 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16363 ...
16364 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16365 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16366 Moved ...
16367 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16368 here.
16369 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16370 ...
16371 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16372 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16373 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16374
16375 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16376 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16378 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16379
16380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16381 merge into ...
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16384 ...
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16387 ...
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16390 Moved ...
16391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16392 here.
16393 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16394 Moved ...
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16397 Moved ...
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16399
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16401 conditional [RESET_PID].
16402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16404 removed.
16405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16406 removed.
16407
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16409 <tcb-offsets.h>.
16410 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16411 (__libc_vfork): New strong alias.
16412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16413 removed.
16414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16415 Removed.
16416
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16418 <tcb-offsets.h>.
16419 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16420 (__libc_vfork): New strong alias.
16421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16422 removed.
16423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16424 removed.
16425
16426 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16427
16428 * malloc/malloc.c (mi_arena): New function.
16429 (malloc_info): Remove nested function mi_arena. Call non-nosted
16430 function mi_arena.
16431
16432 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16433
16434 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16435 by insrwi.
16436 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16437 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16438 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16439 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16441 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16443
16444 2014-05-26 Andreas Schwab <schwab@suse.de>
16445
16446 [BZ #16984]
16447 * locale/programs/repertoire.c (repertoire_read): Add slash
16448 between I18NPATH element and file name.
16449 * locale/programs/locfile.c (locfile_read): Likewise.
16450
16451 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16452
16453 * nptl/pthread_mutexattr_settype.c
16454 (__pthread_mutexattr_settype):
16455 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16456
16457 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16458
16459 * nptl/tst-mutex5 (do_test):
16460 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16461
16462 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16463
16464 * benchtests/README: Document 'init' directive.
16465 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16466 BENCH_INIT.
16467 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16468 (parse_file): Recognize 'init' directive.
16469
16470 2014-05-26 Kyle McMartin <kyle@redhat.com>
16471
16472 [BZ #16796]
16473 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16474 alignment of struct pthread.
16475
16476 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16477
16478 [BZ #16878]
16479 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16480 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16481 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16482 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16483
16484 2014-05-25 Richard Henderson <rth@twiddle.net>
16485
16486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16487 (SINGLE_THREAD_P_PIC): Remove.
16488 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16489 (SINGLE_THREAD_P_PIC): Remove.
16490
16491 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16492 branch to syscall error ...
16493 (PSEUDO): ... here.
16494 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16495 from __local_syscall_error to .Lsyscall_error.
16496 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16497 (SYSCALL_ERROR): Update label name.
16498
16499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16500 Do not use DOARGS/UNDOARGS.
16501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16502 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16503 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16504 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16505 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16506
16507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16508 block comment.
16509
16510 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16511 define if !NOT_IN_libc.
16512 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16513 define with non-default symbol versions.
16514
16515 2014-05-23 Richard Henderson <rth@twiddle.net>
16516
16517 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16518 (vfork, __vfork): Define via compat_symbol.
16519
16520 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16521 [!HAVE_IFUNC] (vfork_compat): Remove.
16522 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16523
16524 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16525
16526 [BZ #16978]
16527 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16528 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16529 variable.
16530
16531 2014-05-23 Richard Henderson <rth@twiddle.net>
16532
16533 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16534 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16535 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16536 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16537
16538 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16539 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16540 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16541 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16542 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16543 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16544 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16545 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16546 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16547 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16548 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16549 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16550 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16551 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16552 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16553 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16554 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16555 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16556 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16557 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16558 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16559 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16560 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16561 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16562 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16564 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16565 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16566 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16567 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16568 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16569 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16570 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16571 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16572 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16573 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16574 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16575 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16576 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16577 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16578 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16579 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16580 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16581 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16582 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16583 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16584 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16585 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16587 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16589 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16591 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16593 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16594
16595 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16596 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16597 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16598 before exiting on error.
16599 (__libc_vfork): New strong alias.
16600 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16601 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16602
16603 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16604 that was previously under [RESET_PID].
16605 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16606
16607 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16608
16609 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16610
16611 [BZ #16977]
16612 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16613 value when x - 1 is zero.
16614 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16615 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16616 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16617 0.0L for an argument of 1.0L.
16618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16619 Likewise.
16620 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16621 value when x - 1 is zero.
16622 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16623 * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625
16626 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16627
16628 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16629 alphasort and versionsort.
16630
16631 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16632
16633 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16634 macro.
16635 [copysignf]: Likewise.
16636
16637 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 * crypt/md5-crypt.c: Fix formatting.
16640
16641 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16642
16643 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16644 (b64_from_24bit): New function.
16645
16646 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16647
16648 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16649 libc_hidden_builtin_def to ifunc.
16650 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16651 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16652
16653 2014-05-21 Roland McGrath <roland@hack.frob.com>
16654
16655 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16656 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16657
16658 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16659
16660 * nscd/Depend (linuxthreads): Remove.
16661 (nptl): Add.
16662 * resolv/Depend (linuxthreads): Remove.
16663 * rt/Depend (linuxthreads): Remove.
16664
16665 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16666 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16667 $(common-objpfx)elf/.
16668 (link-libc-before-gnulib): Likewise.
16669 (elfobjdir): Remove variable.
16670 * Makefile (install): Use $(elf-objpfx) instead of
16671 $(common-objpfx)elf/.
16672 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16673 $(elfobjdir)/.
16674 (link-libc-deps): Likewise.
16675 ($(common-objpfx)libc.so): Likewise.
16676 ($(common-objpfx)linkobj/libc.so): Likewise.
16677 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16678 instead of $(common-objpfx)elf/.
16679 (symbolic-link-list): Likewise.
16680 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16681 [$(cross-compiling) = no]: Likewise.
16682 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16683 $(elfobjdir)/.
16684 (static-gnulib-arch): Likewise.
16685 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16686 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16687 $(common-objpfx)elf/.
16688
16689 2014-05-21 Richard Henderson <rth@redhat.com>
16690
16691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16692 (SINGLE_THREAD_P): Use the correct width load. Fold
16693 into the ldr offset.
16694
16695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16696 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16697
16698 2014-05-20 Joseph Myers <joseph@codesourcery.com>
16699
16700 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16701 (libgcc_s_resume): Use __attribute_used__.
16702 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16703 Likewise.
16704
16705 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16706
16707 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16708 optimization when used with float constants.
16709
16710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16711
16712 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16713
16714 [BZ #16915]
16715 * locale/nl_langinfo_l.c: Make direct reference to every
16716 _nl_current_CATEGORY symbol.
16717 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16718 (tests-static): Add tst-langinfo-static.
16719 (tests-special): Add tst-langinfo-static.out.
16720 ($(objpfx)tst-langinfo.out): Redirect output.
16721 ($(objpfx)tst-langinfo-static.out): New.
16722 * localedata/tst-langinfo.sh: Send output to stdout.
16723 * localedata/tst-langinfo-static.c: New file.
16724
16725 [BZ #16965]
16726 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16727 when the shift amount is modulo the limb size.
16728
16729 2014-05-20 Richard Henderson <rth@redhat.com>
16730
16731 [BZ #16967]
16732 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16733 Change type of sa_flags from unsigned int to int.
16734
16735 [BZ #16966]
16736 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16737
16738 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16739
16740 2014-05-20 Will Newton <will.newton@linaro.org>
16741
16742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16743 Test the return value of the system call in the nocancel case.
16744
16745 2014-05-20 Will Newton <will.newton@linaro.org>
16746 Yvan Roux <yvan.roux@linaro.org>
16747
16748 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16749 #include of asm/ptrace.h.
16750 (PTRACE_GET_THREAD_AREA): Remove #undef.
16751 (PTRACE_GETHBPREGS): Likewise.
16752 (PTRACE_SETHBPREGS): Likewise.
16753 (struct user_regs_struct): New structure.
16754 (struct user_fpsimd_struct): New structure.
16755 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16756 #include of asm/ptrace.h and second #include of sys/user.h.
16757 (PTRACE_GET_THREAD_AREA): Remove #undef.
16758 (PTRACE_GETHBPREGS): Likewise.
16759 (PTRACE_SETHBPREGS): Likewise.
16760 (ELF_NGREG): Use new struct user_regs_struct.
16761 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16762
16763 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16764
16765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16767
16768 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16769
16770 [BZ #16958]
16771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16772 membar to avoid block loads/stores to overlap previous stores.
16773
16774 2014-05-17 Richard Henderson <rth@redhat.com>
16775
16776 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16777 Create the __##syscall_name##_nocancel entry point.
16778 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16779 Remove; let the sysdep-cancel.h code create it.
16780
16781 2014-05-17 David S. Miller <davem@davemloft.net>
16782
16783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16784 Protect with __USE_GNU.
16785 (TIOCSET_TEMPT): Likewise.
16786 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16787 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16788 these are already provided in bits/ioctl-types.h
16789
16790 2014-05-16 Roland McGrath <roland@hack.frob.com>
16791
16792 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16793 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16794
16795 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16796 Use wait4 regardless of [__NR_waitpid].
16797
16798 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16799
16800 PR libgcc/60166
16801 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16802 (_FP_NANSIGN_Q): Set the quiet bit.
16803
16804 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16805
16806 * benchtests/Makefile
16807 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16808 not $(common-objpfx)math/libm.so.
16809 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16810 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16811 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16812 $(common-objpfx)dlfcn/libdl.so.
16813 ($(objpfx)tst-audit8): Depend on $(libm), not
16814 $(common-objpfx)math/libm.so.
16815 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16816 not $(common-objpfx)dlfcn/libdl.so.
16817 * math/Makefile
16818 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16819 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16820 [$(build-shared) = yes].
16821 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16822 $(common-objpfx)nptl/libpthread.so.
16823 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16824 $(common-objpfx)math/libm.so$(libm.so-version) or
16825 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16826 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16827 $(common-objpfx)dlfcn/libdl.so.
16828 * setjmp/Makefile (link-libm): Remove variable.
16829 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16830 * stdio-common/Makefile (link-libm): Remove variable.
16831 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16832 * stdlib/Makefile (link-libm): Remove variable.
16833 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16834 ($(objpfx)tst-strtod-round): Likewise.
16835 ($(objpfx)tst-tininess): Likewise.
16836 ($(objpfx)tst-strtod-underflow): Likewise.
16837 ($(objpfx)tst-strtod6): Likewise.
16838 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16839 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16840 $(common-objpfx)dlfcn/libdl.so.
16841
16842 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16843
16844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16845 BSD terminal modes definitions.
16846
16847 2014-05-16 Roland McGrath <roland@hack.frob.com>
16848
16849 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16850 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16851
16852 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16853 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16854 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16855 Don't do #include_next.
16856 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16857 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16858 Don't do #include_next.
16859 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16860 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16861 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16862 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16863
16864 2014-05-16 Allan McRae <allan@archlinux.org>
16865
16866 * po/sv.po: Update Swedish translation from translation project.
16867
16868 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16869 in sed expression.
16870
16871 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16872
16873 [BZ #16917]
16874 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16875 errno if the TIOCGPTN ioctl fails with an error different than
16876 EINVAL.
16877 * login/tst-ptsname.c: New file.
16878 * login/Makefile (tests): Add tst-ptsname.
16879
16880 [BZ #16943]
16881 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16882 and prlimit64.
16883
16884 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16885
16886 [BZ #16849]
16887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16888 herrno to return EAI_AGAIN.
16889
16890 2014-05-14 Roland McGrath <roland@hack.frob.com>
16891
16892 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16893 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16894 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16895 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16896 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16897 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16901 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16903 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16904 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16905 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16906 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16907 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16908 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16909 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16910 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16911 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16912 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16913 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16914 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16915 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16916 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16917 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16918 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16919 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16920 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16921 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16923 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16925 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16927 Moved ...
16928 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16930 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16932 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16934 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16936 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16938 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16940 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16942 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16944 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16946 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16948 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16950 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16952 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16954 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16956 Moved ...
16957 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16959 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16961 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16963 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16965 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16967 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16969 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16971 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16973 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16975 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16977 Moved ...
16978 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16980 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16981
16982 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16983 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16984 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16985 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16986 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16987 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16988 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16989 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16990 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16991 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16992 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16993 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16994 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16995 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16996 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16997 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16998 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16999 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17000 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17001 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17002 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17003 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17004 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17005 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17006 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17007 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17008 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17009 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17010 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17011 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17012 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17013
17014 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17015 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17016
17017 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17018 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17019 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17021 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17023 Moved ...
17024 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17025 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17026 Moved ...
17027 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17028 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17029 Moved ...
17030 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17032 Moved ...
17033 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17034 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17035 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17037 Moved ...
17038 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17039 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17040 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17041 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17042 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17043 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17044 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17046 Moved ...
17047 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17048 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17049 Moved ...
17050 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17051 ... here.
17052 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17053 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17054 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17055 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17057 Moved ...
17058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17059 ... here.
17060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17061 Moved ...
17062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17063 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17064 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17066 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17068 Moved ...
17069 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17070 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17071 Moved ...
17072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17073 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17074 Moved ...
17075 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17077 Moved ...
17078 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17079 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17080 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17082 Moved ...
17083 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17084 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17085 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17086 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17088 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17089 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17091 Moved ...
17092 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17093 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17094 Moved ...
17095 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17096 ... here.
17097 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17098 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17099 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17100 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17102 Moved ...
17103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17104 ... here.
17105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17106 Moved ...
17107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17108 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17109 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17110 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17111 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17112 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17115 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17116 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17117 Moved ...
17118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17119 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17120 Moved ...
17121 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17122 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17123 Moved ...
17124 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17126 Moved ...
17127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17128 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17129 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17130 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17131 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17133 Moved ...
17134 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17135 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17136 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17137 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17138 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17139 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17140 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17142 Moved ...
17143 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17144 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17145 Moved ...
17146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17147 ... here.
17148 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17149 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17150 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17151 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17152 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17153 Moved ...
17154 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17155 ... here.
17156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17157 Moved ...
17158 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17159 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17160 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17161 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17162 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17163 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17164 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17165 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17166 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17167 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17168 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17169
17170 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17171 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17172
17173 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17174 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17175
17176 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17177 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17178 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17179 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17180 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17181 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17182 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17183 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17184 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17185 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17187 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17188 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17189 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17190 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17192 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17194 Moved ...
17195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17199 Moved ...
17200 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17202 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17204 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17206 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17208 Moved ...
17209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17211 Moved ...
17212 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17218 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17219 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17220 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17221 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17222 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17223 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17224 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17225 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17226 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17227 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17228 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17229
17230 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17231 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17232 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17233 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17234 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17235
17236 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17237 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17238 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17239 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17240 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17241 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17242 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17243 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17244 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17245 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17246
17247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17249
17250 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17251 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17252 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17253 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17254 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17255 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17256 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17257 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17258 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17259 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17260 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17261 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17263 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17265 Update #include.
17266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17267 Likewise.
17268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17269 Likewise.
17270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17271 Likewise.
17272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17273 Likewise.
17274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17275 Likewise.
17276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17277 Likewise.
17278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17279 Likewise.
17280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17281 Likewise.
17282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17283 Likewise.
17284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17289 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17290 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17294 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17295 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17299
17300 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17301 that was previously under [RESET_PID].
17302 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17303 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17304 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17305
17306 * sysdeps/i386/nptl/Implies: New file.
17307 * sysdeps/x86_64/nptl/Implies: New file.
17308 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17309 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17310 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17311 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17312
17313 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17314 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17315 (__libc_vfork): New strong alias.
17316 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17317 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17318
17319 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17320 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17321 (__libc_vfork): New strong alias.
17322 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17323 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17324
17325 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17326 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17327 (__libc_vfork): New strong alias.
17328 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17329 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17330 * nptl/pt-vfork.c: New file.
17331 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17332 (libpthread: GLIBC_2.20): New version set (empty).
17333
17334 2014-05-14 Will Newton <will.newton@linaro.org>
17335
17336 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17337 rather than #if.
17338
17339 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17340
17341 [BZ #16564]
17342 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17343 arguments with exponent 65 or above.
17344 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17345 arguments 0x1p113L or above.
17346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17347 to arguments 0x1p107L or above.
17348 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17349 positive arguments with exponent 65 or above.
17350 * math/auto-libm-test-in: Add more tests of log1p.
17351 * math/auto-libm-test-out: Regenerated.
17352
17353 [BZ #16928]
17354 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17355 non-finite arguments is +0.
17356 * math/s_cacosf.c (__cacosf): Likewise.
17357 * math/s_cacosl.c (__cacosl): Likewise.
17358 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17359 * sysdeps/i386/fpu/libm-test-ulps: Update.
17360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17361
17362 [BZ #16927]
17363 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17364 value.
17365 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17366 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17367 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17368 for explicit high bit of mantissa when testing for argument equal
17369 to 1.
17370 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17371 * sysdeps/i386/fpu/libm-test-ulps: Update.
17372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373
17374 [BZ #16516]
17375 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17376 (__erf): Scale by 16 instead of 8 in potentially underflowing
17377 case. Ensure exception if result actually underflows.
17378 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17379 (__erff): Scale by 16 instead of 8 in potentially underflowing
17380 case. Ensure exception if result actually underflows.
17381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17382 (efx8): Remove variable.
17383 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17384 case. Ensure exception if result actually underflows.
17385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17386 (efx8): Remove variable.
17387 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17388 case. Ensure exception if result actually underflows.
17389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17390 (efx8): Remove variable.
17391 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17392 case. Ensure exception if result actually underflows.
17393 * math/auto-libm-test-in: Add more tests of erf.
17394 * math/auto-libm-test-out: Regenerated.
17395
17396 2014-05-14 Andreas Schwab <schwab@suse.de>
17397
17398 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17399 Remove code conditionalized on USE___THREAD.
17400
17401 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17402 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17403 not definedness.
17404
17405 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17406
17407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17408 Define unconditionally.
17409 (__ASSUME_O_CLOEXEC): Likewise.
17410 (__ASSUME_SOCK_CLOEXEC): Likewise.
17411 (__ASSUME_IN_NONBLOCK): Likewise.
17412 (__ASSUME_PIPE2): Likewise.
17413 (__ASSUME_EVENTFD2): Likewise.
17414 (__ASSUME_SIGNALFD4): Likewise.
17415 (__ASSUME_DUP3): Likewise.
17416 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17417 (__ASSUME_DUP3): Do not define.
17418 (__ASSUME_EVENTFD2): Likewise.
17419 (__ASSUME_IN_NONBLOCK): Likewise.
17420 (__ASSUME_O_CLOEXEC): Likewise.
17421 (__ASSUME_PIPE2): Likewise.
17422 (__ASSUME_SIGNALFD4): Likewise.
17423 (__ASSUME_SOCK_CLOEXEC): Likewise.
17424 (__ASSUME_UTIMES): Undefine.
17425 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17426 (__ASSUME_UTIMES): Do not define.
17427 (__ASSUME_O_CLOEXEC): Likewise.
17428 (__ASSUME_SOCK_CLOEXEC): Likewise.
17429 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17430 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17431 0x020621].
17432 (__ASSUME_PIPE2): Likewise.
17433 (__ASSUME_EVENTFD2): Likewise.
17434 (__ASSUME_SIGNALFD4): Likewise.
17435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17436 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17437 Do not define.
17438 (__ASSUME_EVENTFD2): Likewise.
17439 (__ASSUME_SIGNALFD4): Likewise.
17440 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17441 (__ASSUME_32BITUIDS): Likewise.
17442 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17443 (__ASSUME_IPC64): Likewise.
17444 (__ASSUME_ST_INO_64_BIT): Likewise.
17445 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17446 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17447 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17448 (__ASSUME_UTIMES): Do not define.
17449 (__ASSUME_PSELECT): Likewise.
17450 (__ASSUME_PPOLL): Likewise.
17451 (__ASSUME_O_CLOEXEC): Likewise.
17452 (__ASSUME_SOCK_CLOEXEC): Likewise.
17453 (__ASSUME_IN_NONBLOCK): Likewise.
17454 (__ASSUME_PIPE2): Likewise.
17455 (__ASSUME_EVENTFD2): Likewise.
17456 (__ASSUME_SIGNALFD4): Likewise.
17457 (__ASSUME_DUP3): Likewise.
17458 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17459 (__ASSUME_UTIMES): Likewise.
17460 (__ASSUME_O_CLOEXEC): Likewise.
17461 (__ASSUME_SOCK_CLOEXEC): Likewise.
17462 (__ASSUME_IN_NONBLOCK): Likewise.
17463 (__ASSUME_PIPE2): Likewise.
17464 (__ASSUME_EVENTFD2): Likewise.
17465 (__ASSUME_SIGNALFD4): Likewise.
17466 (__ASSUME_DUP3): Likewise.
17467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17468 (__ASSUME_UTIMES): Likewise.
17469 (__ASSUME_O_CLOEXEC): Likewise.
17470 (__ASSUME_SOCK_CLOEXEC): Likewise.
17471 (__ASSUME_IN_NONBLOCK): Likewise.
17472 (__ASSUME_PIPE2): Likewise.
17473 (__ASSUME_EVENTFD2): Likewise.
17474 (__ASSUME_SIGNALFD4): Likewise.
17475 (__ASSUME_DUP3): Likewise.
17476 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17477 Likewise.
17478 (__ASSUME_UTIMES): Likewise.
17479 (__ASSUME_EVENTFD2): Likewise.
17480 (__ASSUME_SIGNALFD4): Likewise.
17481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17482 (__ASSUME_O_CLOEXEC): Likewise.
17483 (__ASSUME_SOCK_CLOEXEC): Likewise.
17484 (__ASSUME_IN_NONBLOCK): Likewise.
17485 (__ASSUME_PIPE2): Likewise.
17486 (__ASSUME_EVENTFD2): Likewise.
17487 (__ASSUME_SIGNALFD4): Likewise.
17488 (__ASSUME_DUP3): Likewise.
17489 (__ASSUME_UTIMES): Undefine.
17490
17491 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17492 feclearexcept. Remove symbol versioning code.
17493 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17494 symbol versioning code.
17495 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17496 symbol versioning code.
17497 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17498 feupdateenv. Remove symbol versioning code.
17499 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17500 fegetexceptflag. Remove symbol versioning code.
17501 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17502 fesetexceptflag. Remove symbol versioning code.
17503 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17504 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17505 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17506 (__posix_fadvise64_l32): Remove prototype.
17507 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17508 code.
17509
17510 2014-05-13 Roland McGrath <roland@hack.frob.com>
17511
17512 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17513 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17514 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17515 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17516
17517 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17518
17519 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17520 current working directory
17521
17522 2014-05-13 Roland McGrath <roland@hack.frob.com>
17523
17524 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17525 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17526 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17527 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17528 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17529 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17530 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17531 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17532 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17533 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17534 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17535 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17536 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17537 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17538 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17539 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17540 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17541 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17542 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17543 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17544 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17545 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17546 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17547 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17548 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17549 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17550 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17551 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17552 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17553 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17554 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17555 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17556 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17557 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17558 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17559 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17560 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17561 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17562 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17563 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17564 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17565 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17566
17567 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17568 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17569
17570 * sysdeps/unix/sysv/linux/arm/Makefile
17571 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17572 Add rt-aeabi_unwind_cpp_pr1.
17573 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17574 Add nptl-aeabi_unwind_cpp_pr1.
17575 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17576 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17577 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17578 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17579 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17580 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17581
17582 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17583 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17584 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17585 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17586
17587 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17588 Deconditionalize the code that was previously under [RESET_PID].
17589 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17590
17591 * sysdeps/generic/exit-thread.h: New file.
17592 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17593 * include/unistd.h (__exit_thread): Remove declaration.
17594 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17595 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17596 * csu/libc-start.c: Include <exit-thread.h>.
17597 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17598 * nptl/pthread_create.c: Include <exit-thread.h>.
17599 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17600 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17601 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17602 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17603 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17604 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17605 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17606 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17607 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17608 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17609 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17610 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17611 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17612 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17613 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17614 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17615 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17616
17617 2014-05-13 Andreas Schwab <schwab@suse.de>
17618
17619 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17620
17621 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17622
17623 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17624 (__ASSUME_UTIMES): Do not condition on kernel version.
17625 (__ASSUME_PSELECT): Define unconditionally.
17626 (__ASSUME_PPOLL): Likewise.
17627 (__ASSUME_ATFCTS): Likewise.
17628 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17629 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17630 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17631 (__ASSUME_UTIMENSAT): Define unconditionally.
17632 (__ASSUME_PRIVATE_FUTEX): Likewise.
17633 (__ASSUME_FALLOCATE): Likewise.
17634 (__ASSUME_O_CLOEXEC): Likewise.
17635 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17636 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17637 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17638 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17639 (__ASSUME_IN_NONBLOCK): Likewise.
17640 (__ASSUME_PIPE2): Likewise.
17641 (__ASSUME_EVENTFD2): Likewise.
17642 (__ASSUME_SIGNALFD4): Likewise.
17643 (__ASSUME_DUP3): Likewise.
17644 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17645 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17646 (__ASSUME_AT_RANDOM): Likewise.
17647 (__ASSUME_PREADV): Likewise.
17648 (__ASSUME_PWRITEV): Likewise.
17649 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17650 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17651 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17652 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17653 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17654 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17655 (__ASSUME_O_CLOEXEC): Define unconditionally.
17656 (__ASSUME_PSELECT): Do not undefine conditionally.
17657 (__ASSUME_PPOLL): Likewise.
17658 (__ASSUME_ATFCTS): Likewise.
17659 (__ASSUME_SET_ROBUST_LIST): Likewise.
17660 (__ASSUME_UTIMENSAT): Likewise.
17661 (__ASSUME_FDATASYNC): Define unconditionally.
17662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17663 (__ASSUME_SIGFRAME_V2): Likewise.
17664 )__ASSUME_EVENTFD2): Likewise.
17665 (__ASSUME_SIGNALFD4): Likewise.
17666 (__ASSUME_PSELECT): Do not undefine conditionally.
17667 (__ASSUME_PPOLL): Likewise.
17668 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17669 (__ASSUME_PSELECT): Define unconditionally.
17670 (__ASSUME_PPOLL): Likewise.
17671 (__ASSUME_O_CLOEXEC): Likewise.
17672 (__ASSUME_SOCK_CLOEXEC): Likewise.
17673 (__ASSUME_IN_NONBLOCK): Likewise.
17674 (__ASSUME_PIPE2): Likewise.
17675 (__ASSUME_EVENTFD2): Likewise.
17676 (__ASSUME_SIGNALFD4): Likewise.
17677 (__ASSUME_DUP3): Likewise.
17678 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17679 (__ASSUME_O_CLOEXEC): Likewise.
17680 (__ASSUME_SOCK_CLOEXEC): Likewise.
17681 (__ASSUME_IN_NONBLOCK): Likewise.
17682 (__ASSUME_PIPE2): Likewise.
17683 (__ASSUME_EVENTFD2): Likewise.
17684 (__ASSUME_SIGNALFD4): Likewise.
17685 (__ASSUME_DUP3): Likewise.
17686 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17687 (__ASSUME_EVENTFD2): Likewise.
17688 (__ASSUME_SIGNALFD4): Likewise.
17689 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17690
17691 2014-05-12 Andreas Schwab <schwab@suse.de>
17692
17693 [BZ #16932]
17694 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17695 (_nss_nis_gethostbyname4_r): Return error if item length is larger
17696 than maximum RPC packet size.
17697 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17698 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17699 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17700 (_nss_nis_getservbyport_r): Likewise.
17701
17702 2014-05-12 Will Newton <will.newton@linaro.org>
17703
17704 * malloc/Makefile (tests): Add tst-mallopt.
17705 * malloc/tst-mallopt.c: New file.
17706
17707 2014-05-09 Roland McGrath <roland@hack.frob.com>
17708
17709 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17710 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17711
17712 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17713
17714 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17715 (tst-tlsmod6.so): Likewise.
17716
17717 2014-05-09 Roland McGrath <roland@hack.frob.com>
17718
17719 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17720
17721 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17722
17723 [BZ #16064]
17724 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17725 and <dl-procinfo.h>.
17726 (__fegetenv): Save SSE state in envp->__eip if supported.
17727 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17728 envp->__eip if supported.
17729 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17730 and <dl-procinfo.h>.
17731 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17732 __data_offset and __data_selector in environment to 0. Set SSE
17733 state if supported.
17734 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17735 test-fenv-sse.
17736 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17737 -mfpmath=sse.
17738 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17739
17740 2014-05-09 Will Newton <will.newton@linaro.org>
17741
17742 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17743 and libc_relro_required for ARM.
17744 * sysdeps/arm/preconfigure: Regenerate.
17745
17746 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17747 Stefan Liebler <stli@linux.vnet.ibm.com>
17748
17749 * config.make.in (enable-lock-elision): New Makefile variable.
17750 * configure.ac: Likewise.
17751 * configure: Regenerate.
17752 * sysdeps/s390/configure.ac:
17753 Add check for gcc transactions support.
17754 * sysdeps/s390/configure: Regenerate.
17755 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17756 Build elision files if enabled.
17757 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17758 Add lock elision support for s390.
17759 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17760 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17761 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17762 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17763 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17764 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17765 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17766 Likewise.
17767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17768 Likewise.
17769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17770 Likewise.
17771 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17772 Likewise.
17773 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17774 (__lll_timedlock_elision, __lll_lock_elision)
17775 (__lll_unlock_elision, __lll_trylock_elision)
17776 (lll_timedlock_elision, lll_lock_elision)
17777 (lll_unlock_elision, lll_trylock_elision): Add.
17778 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17779 (pthread_mutex_t): Add lock elision support for s390.
17780
17781 2014-05-14 Wilco <wdijkstr@arm.com>
17782
17783 * sysdeps/arm/fclrexcpt.c: Cleanup.
17784 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17785 * sysdeps/arm/feenablxcpt.c: Cleanup.
17786 * sysdeps/arm/fegetenv.c: Cleanup.
17787 * sysdeps/arm/fegetexcept.c: Cleanup.
17788 * sysdeps/arm/fegetround.c: Cleanup.
17789 * sysdeps/arm/feholdexcpt.c: Cleanup.
17790 * sysdeps/arm/fesetenv.c: Cleanup.
17791 * sysdeps/arm/fesetround.c: Cleanup.
17792 * sysdeps/arm/feupdateenv.c: Cleanup.
17793 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17794 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17795 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17796 * sysdeps/arm/ftestexcept.c: Cleanup.
17797 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17798 * sysdeps/arm/setfpucw.c: Cleanup.
17799
17800 2014-05-09 Will Newton <will.newton@linaro.org>
17801
17802 * sysdeps/arm/armv7/strcmp.S: New file.
17803 * NEWS: Mention addition of ARMv7 optimized strcmp.
17804
17805 2014-05-08 Roland McGrath <roland@hack.frob.com>
17806
17807 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17808 look for %.ac rather than %.in.
17809
17810 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17811 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17812 * sysdeps/mach/hurd/configure: Regenerated.
17813 * sysdeps/unix/sysv/linux/configure: Regenerated.
17814
17815 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17816
17817 2014-05-07 Steve Ellcey <sellcey@mips.com>
17818
17819 [BZ# 16922]
17820 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17821 (LONG_SUB): Ditto.
17822 (PTR_SUB): Ditto.
17823
17824 2014-05-07 Andreas Schwab <schwab@suse.de>
17825
17826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17827 when skipping over non-matching result from nscd.
17828
17829 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17830
17831 [BZ #16876]
17832 * nptl/sockperf.c (client): Check socket return value.
17833
17834 [BZ #16877]
17835 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17836 nscd security class.
17837
17838 2014-05-06 Roland McGrath <roland@hack.frob.com>
17839
17840 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17841 * sysdeps/arm/unwind.h: ... here.
17842
17843 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17844
17845 [BZ# 16916]
17846 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17847 Define.
17848
17849 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17850
17851 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17852 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17853 multiarch strncpy for PPC64.
17854 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17855 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17857 multiarch optimizations.
17858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17859 (__libc_ifunc_impl_list): Likewise.
17860 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17861 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17862 multiarch stpncpy for PPC64.
17863 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17864 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17865
17866 2014-05-06 Andreas Schwab <schwab@suse.de>
17867
17868 [BZ #16912]
17869 * gmon/mcount.c (_MCOUNT_DECL): Use
17870 atomic_compare_and_exchange_bool_acq instead of
17871 catomic_compare_and_exchange_bool_acq.
17872
17873 2014-05-05 Roland McGrath <roland@hack.frob.com>
17874
17875 * elf/Makefile (others, install-bin): Remove pldd.
17876 (pldd-modules): Variable removed.
17877 ($(objpfx)pldd): Target removed.
17878 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17879 (others, install-bin): Append pldd here.
17880 ($(objpfx)pldd): New target.
17881
17882 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17883 to 0, so the first #if test emitted later doesn't see it undefined.
17884 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17885 * sysdeps/gnu/errlist.c: Regenerated.
17886
17887 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17888
17889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17890 [libc_hidden_builtin_def]: Define to empty value.
17891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17892 [libc_hidden_builtin_def]: Likewise.
17893 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17894 [libc_hidden_builtin_def]: Likewise.
17895 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17896 [libc_hidden_builtin_def]: Likewise.
17897 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17898 __redirect_memcpy and define ifunc as default hidden symbol.
17899 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17900 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17901
17902 2014-05-04 Adam Conrad <adconrad@0c3.net>
17903
17904 * locale/iso-4217.def: Reintroduce XDR currency.
17905
17906 2014-05-04 Allan McRae <allan@archlinux.org>
17907
17908 * po/eo.po: Update Esperanto translation from translation project.
17909
17910 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17911
17912 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17913 and FEATURE_INDEX_MAX to 1.
17914 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17915
17916 2014-05-01 Steve Ellcey <sellcey@mips.com>
17917
17918 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17919 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17920 * iconvdata/big5.c (ONE_DIRECTION): Define.
17921 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17922 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17923 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17924 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17925 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17926 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17927 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17928 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17929 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17930 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17931 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17932 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17933 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17934 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17935 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17936 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17937 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17938 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17939 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17940 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17941 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17942 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17943 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17944 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17945 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17946 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17947 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17948 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17949 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17950 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17951 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17952 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17953 * iconvdata/johab.c (ONE_DIRECTION): Define.
17954 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17955 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17956 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17957 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17958 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17959 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17960 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17961 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17962 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17963 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17964
17965 2014-05-01 Roland McGrath <roland@hack.frob.com>
17966
17967 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17968 (_IO_JUMPS_OFFSET): Define to 0.
17969
17970 * nptl/sysdeps/pthread/bits/libc-lock.h
17971 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17972 (__libc_lock_define_initialized_recursive): Always define using
17973 initializer. Modern compilers treat uninitialized (implicit zero) and
17974 explicit zero initializers the same (i.e. put the datum in bss).
17975
17976 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * nscd/nscd-client.h: Include <string.h>.
17979
17980 2014-05-01 David S. Miller <davem@davemloft.net>
17981
17982 [BZ #16885]
17983 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17984 multiple zero bytes exist at the end of a string.
17985 Reported by Aurelien Jarno <aurelien@aurel32.net>
17986
17987 * string/test-strcmp.c (check): Add explicit test for situations where
17988 there are multiple zero bytes after the first.
17989
17990 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17991
17992 [BZ #16890]
17993 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17994 when compiling wprintf.
17995 * stdio-common/tstdiomisc.c (t3): New function.
17996 (main): Call it.
17997
17998 2014-05-01 Steve Ellcey <sellcey@mips.com>
17999
18000 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18001 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18002 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18003 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18004
18005 2014-05-01 Steve Ellcey <sellcey@mips.com>
18006
18007 * stdlib/longlong.h: Updated from GCC.
18008
18009 2014-05-01 Will Newton <will.newton@linaro.org>
18010 Bernard Ogden <bernie.ogden@linaro.org>
18011
18012 * NEWS: Update fixed bug list.
18013
18014 [BZ #15119]
18015 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18016
18017 2014-04-30 David S. Miller <davem@davemloft.net>
18018
18019 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18020 (libc_feholdexcept_setround_sparc_ctx): New function.
18021 (libc_fesetenv_sparc_ctx): Likewise.
18022 (libc_feupdateenv_sparc_ctx): Likewise.
18023 (libc_feholdsetround_sparc_ctx): Likewise.
18024 (libc_feholdexcept_setround_ctx): Define.
18025 (libc_feholdexcept_setroundf_ctx): Likewise.
18026 (libc_feholdexcept_setroundl_ctx): Likewise.
18027 (libc_fesetenv_ctx): Likewise.
18028 (libc_fesetenvf_ctx): Likewise.
18029 (libc_fesetenvl_ctx): Likewise.
18030 (libc_feupdateenv_ctx): Likewise.
18031 (libc_feupdateenvf_ctx): Likewise.
18032 (libc_feupdateenvl_ctx): Likewise.
18033 (libc_feresetround_ctx): Likewise.
18034 (libc_feresetroundf_ctx): Likewise.
18035 (libc_feresetroundl_ctx): Likewise.
18036 (libc_feholdsetround_ctx): Likewise.
18037 (libc_feholdsetroundf_ctx): Likewise.
18038 (libc_feholdsetroundl_ctx): Likewise.
18039
18040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18041 with __USE_GNU instead of XOPEN cpp guards.
18042
18043 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18044 0.
18045
18046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18047 with XOPEN cpp guards.
18048
18049 2014-04-30 Julian Brown <julian@codesourcery.com>
18050
18051 [BZ #16888]
18052 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18053 handling.
18054
18055 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18056
18057 [BZ #9894]
18058 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18059 Change to 2.6.32.
18060 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18061 * sysdeps/unix/sysv/linux/configure: Regenerated.
18062 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18063 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18064 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18065 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18066 * README: Update reference to required Linux kernel version.
18067 * manual/install.texi (Linux): Update reference to required Linux
18068 kernel headers version.
18069 * INSTALL: Regenerated.
18070
18071 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18072 header inclusion.
18073 [POSIX] (limits.h): Likewise.
18074 [POSIX] (math.h): Likewise.
18075 [POSIX] (sys/wait.h): Likewise.
18076 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18077 function.
18078 [POSIX] (stddef.h): Do not allow header inclusion.
18079
18080 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18081
18082 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18083
18084 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18085
18086 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18087 Return immediately after lll_futex_wake.
18088
18089 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18090
18091 [BZ #16791]
18092 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18093 structure.
18094 (datahead_init_pos): Call datahead_init_common early.
18095 (datahead_init_neg): Likewise.
18096
18097 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18098 datahead_init_neg): New functions.
18099 * nscd/aicache.c (addhstaiX): Use them.
18100 * nscd/grpcache.c (cache_addgr): Likewise.
18101 * nscd/hstcache.c (cache_addhst): Likewise.
18102 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18103 * nscd/netgroupcache.c (do_notfound): Likewise.
18104 (addgetnetgrentX): Likewise.
18105 (addinnetgrX): Likewise.
18106 * nscd/pwdcache.c (cache_addpw): Likewise.
18107 * nscd/servicescache.c (cache_addserv): Likewise.
18108
18109 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18110 Atsushi Onoe <atsushi@onoe.org>
18111
18112 [BZ #14308]
18113 [BZ #12994]
18114 [BZ #13651]
18115 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18116 one response is valid.
18117 * resolv/res_send.c (send_dg): Check for validity of other
18118 response if the current response is a referral.
18119
18120 2014-04-29 Steve Ellcey <sellcey@mips.com>
18121
18122 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18123
18124 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18125
18126 [BZ #16823]
18127 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18128 Always divide by positive zero when computing -Inf result.
18129 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18130 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18131
18132 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18133
18134 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18135 FPSCR if value do not change.
18136 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18137 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18138 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18139 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18140 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18141 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18142 function.
18143
18144 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18145
18146 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18147 * sysdeps/unix/sysv/linux/hppa: Move directory from
18148 ports/systeps/unix/sysv/linux/hppa.
18149 * README: Update listing for hppa-*-linux-gnu.
18150
18151 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18152
18153 [BZ #16754]
18154 * manual/stdio.texi (Hook functions): Fix types of stream hook
18155 functions.
18156 [BZ #16854]
18157 * socket/sys/socket.h: Fix typo in comment.
18158
18159 2014-04-28 Wilco <wdijkstr@arm.com>
18160
18161 * sysdeps/arm/fenv_private.h: New file.
18162 * sysdeps/arm/math_private.h: New file.
18163 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18164
18165 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18168 with __int128_t.
18169 (La_x86_64_retval): Likewise.
18170
18171 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18172
18173 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18174 fpsr if value didn't change.
18175 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18176 to fpcr if value didn't change.
18177 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18179 fpsr or fpcr if value didn't change.
18180 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18181 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18182 fpcr if value didn't change.
18183 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18184 to fpsr if value didn't change.
18185
18186 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18187
18188 * nptl/tst-sem3.c: Use test-skeleton.c
18189 (main): Rename to do_test. Use return instead of
18190 exit.
18191 * nptl/tst-sem4.c: Use test-skeleton.c
18192 (main): Rename to do_test.
18193
18194 2014-04-22 David S. Miller <davem@davemloft.net>
18195
18196 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18197 (struct sigaction): New struct member __glibc_reserved0, change
18198 type of sa_flags to int.
18199
18200 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18201
18202 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18203 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18204
18205 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18206
18207 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18208 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18209
18210 2014-04-22 Will Newton <will.newton@linaro.org>
18211 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18212
18213 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18214 (__longjmp): Add longjmp and longjmp_target SystemTap
18215 probes.
18216 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18217 (__sigsetjmp): Add setjmp SystemTap probe.
18218
18219 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18220
18221 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18222 match manual order.
18223
18224 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18225
18226 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18227
18228 * sysdeps/powerpc/fpu/fenv_private.h
18229 (libc_feholdexcept_setroundl_ctx): Define to
18230 libc_feholdexcept_setround_ppc_ctx.
18231 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18232 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18233 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18234 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18235
18236 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18237
18238 * sysdeps/aarch64/math-tests.h: New file.
18239
18240 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18241
18242 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18243 New.
18244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18245 Check and set bit_AVX2_Usable.
18246 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18247 macro.
18248 (bit_AVX2): Likewise.
18249 (index_AVX2_Usable): Likewise.
18250 (CPUID_AVX2): Likewise.
18251 (HAS_AVX2): Likewise.
18252
18253 2014-04-17 Will Newton <will.newton@linaro.org>
18254
18255 * manual/setjmp.texi (System V contexts): Add note that
18256 calling setcontext on a context created by a call to a
18257 signal handler is undefined. Update text to note that
18258 setcontext from a signal handler is possible but not
18259 recommended.
18260
18261 [BZ #16629]
18262 * stdlib/tst-setcontext.c: Include signal.h.
18263 (main): Check that the signal stack before and
18264 after swapcontext is the same.
18265
18266 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18267 Re-implement to restore registers in user code and avoid
18268 rt_sigreturn system call.
18269
18270 2014-04-17 Wilco <wdijkstr@arm.com>
18271
18272 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18273 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18274 * math/test-fenv.c: Skip exception trap tests on targets which only
18275 support non-stop mode.
18276
18277 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18278 Wilco Dijkstra <wilco.dijkstra@arm.com>
18279
18280 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18281 (libc_feholdsetround_aarch64_ctx)
18282 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18283 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18284 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18285 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18286 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18287 (libc_feresetround_noexl_ctx): Define.
18288
18289 2014-04-16 Richard Henderson <rth@redhat.com>
18290
18291 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18292
18293 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18294 unwind tables.
18295
18296 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18297 const from the non-libc, non-ldso copy.
18298
18299 * sysdeps/alpha/libm-test-ulps: Regenerate.
18300
18301 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18302 Wilco Dijkstra <wilco.dijkstra@arm.com>
18303
18304 * sysdeps/aarch64/fpu/math_private.h: New file.
18305
18306 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18307
18308 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18309
18310 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18311
18312 [BZ #16275]
18313 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18314 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18316 Intel MPX bound registers before _dl_profile_fixup.
18317 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18318 registers after _dl_profile_fixup. Save and restore bound
18319 registers bnd0/bnd1 when calling _dl_call_pltexit.
18320 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18321 (LR_BND_OFFSET): Likewise.
18322 (LRV_BND0_OFFSET): Likewise.
18323 (LRV_BND1_OFFSET): Likewise.
18324
18325 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18326
18327 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18328 to...
18329 * sysdeps/mach/hurd/i386/tls.h: ... here.
18330 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18331 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18332 fields.
18333
18334 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18335
18336 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18337
18338 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18339
18340 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18341
18342 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18343
18344 [BZ #14770]
18345 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18346 * sysdeps/s390/configure: Regenerate.
18347
18348 [BZ #16824]
18349 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18350 Set round-to-nearest internally to reduce error accumulation.
18351
18352 2014-04-16 Alan Modra <amodra@gmail.com>
18353
18354 [BZ #16740]
18355 [BZ #16619]
18356 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18357 * math/libm-test.inc (frexp_test_data): Add tests.
18358 * NEWS: Update fixed bug list.
18359
18360 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
18362 * benchtests/Makefile: Depend on libraries in build directory.
18363 (bench-math): Separate out math tests.
18364 (bench-pthread): Separate out pthread tests.
18365 (bench): Include math and pthread tests.
18366
18367 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18368
18369 [BZ #16831]
18370 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18371 _dl_debug_initialize.
18372
18373 * configure.ac: Remove SELinux header check.
18374 * configure: Regenerate.
18375 * nscd/selinux.c (perms): Array of const char* to permission names.
18376 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18377 default policy. Call string_to_security_class and string_to_av_perm to
18378 translate strings. Enforce default policy and call avs_has_perm with
18379 results of translated strings.
18380
18381 2014-04-13 David S. Miller <davem@davemloft.net>
18382
18383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18384
18385 2014-04-12 Allan McRae <allan@archlinux.org>
18386
18387 [BZ #16838]
18388 * manual/string.texi (Collation Functions): Fix qsort argument
18389 order in example.
18390 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18391
18392 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18393
18394 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18395 Make the test a no-op if there are no exceptions defined.
18396
18397 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18398
18399 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18400 enable-hardcoded-path-in-tests
18401
18402 2014-04-11 Will Newton <will.newton@linaro.org>
18403
18404 * benchtests/Makefile (extra-objs): Add json-lib.o.
18405 (bench-func): Tidy up JSON output.
18406 * benchtests/bench-skeleton.c: Include json-lib.h.
18407 (main): Use JSON library functions to do output of
18408 benchmark results.
18409 * benchtests/bench-timing-type.c (main): Output the
18410 timing type simply, leaving formatting to the user.
18411 * benchtests/json-lib.c: New file.
18412 * benchtests/json-lib.h: Likewise.
18413
18414 2014-04-11 Torvald Riegel <triegel@redhat.com>
18415
18416 [BZ #15215]
18417 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18418 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18419 memory barriers. Add comments.
18420 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18421 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18422 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18423 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18424 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18425 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18426
18427 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18428
18429 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18430 * sysdeps/s390/s390-64/configure.ac: ... this ...
18431 * sysdeps/s390/configure.ac: ... to here.
18432 * sysdeps/s390/s390-32/configure: Delete file.
18433 * sysdeps/s390/s390-64/configure: Delete file.
18434 * sysdeps/s390/configure: Regenerate.
18435
18436 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18437
18438 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18439
18440 2014-04-11 Will Newton <will.newton@linaro.org>
18441
18442 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18443 to zero if it is not defined elsewhere. (mtrim): Test
18444 the value of MALLOC_DEBUG with #if rather than #ifdef.
18445
18446 2014-04-10 Torvald Riegel <triegel@redhat.com>
18447
18448 * benchtests/pthread_once-inputs: New file.
18449 * benchtests/pthread_once-source.c: New file.
18450 * benchtests/README: Update documentation.
18451
18452 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18453 H.J. Lu <hongjiu.lu@intel.com>
18454
18455 [BZ #16275]
18456 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18457 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18458 * sysdeps/x86_64/configure: Regenerated.
18459 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18460 macro.
18461 (REGISTER_SAVE_RAX): Likewise.
18462 (REGISTER_SAVE_RCX): Likewise.
18463 (REGISTER_SAVE_RDX): Likewise.
18464 (REGISTER_SAVE_RSI): Likewise.
18465 (REGISTER_SAVE_RDI): Likewise.
18466 (REGISTER_SAVE_R8): Likewise.
18467 (REGISTER_SAVE_R9): Likewise.
18468 (REGISTER_SAVE_BND0): Likewise.
18469 (REGISTER_SAVE_BND1): Likewise.
18470 (REGISTER_SAVE_BND2): Likewise.
18471 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18472 bound registers when calling _dl_fixup.
18473
18474 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18475
18476 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18477 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18478 of its definition.
18479 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18480 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18481 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18482 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18483 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18484 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18485 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18486
18487 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18488
18489 [BZ #15514]
18490 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18491 pathconf(_PC_NAME_MAX).
18492
18493 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18494
18495 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18496 Remove macro usage.
18497 (__PTHREAD_SPINS): Move definition to ...
18498 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18499 (__PTHREAD_SPINS): ... here.
18500 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18501 (__PTHREAD_SPIN): Likewise.
18502 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18503 (__PTHREAD_SPIN): Likewise.
18504 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18505 (__PTHREAD_SPIN): Likewise.
18506 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18507 (__PTHREAD_SPIN): Likewise.
18508 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18509 (__PTHREAD_SPIN): Likewise.
18510 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18511 (__PTHREAD_SPIN): Likewise.
18512 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18513 (__PTHREAD_SPIN): Likewise.
18514 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18515 (__PTHREAD_SPIN): Likewise.
18516 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18517 (__PTHREAD_SPIN): Likewise.
18518 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18519 (__PTHREAD_SPIN): Likewise.
18520 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18521 (__PTHREAD_SPIN): Likewise.
18522 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18523 (__PTHREAD_SPIN): Likewise.
18524
18525 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18526 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18527 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18528 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18529 imply folder.
18530 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18531 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18532 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18533 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18534 correct imply path.
18535 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18536 strlen symbol for non multi-arch builds.
18537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18538 missing hidden_def and weak_alias.
18539
18540 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18541
18542 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18543
18544 2014-04-07 Will Newton <will.newton@linaro.org>
18545
18546 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18547 and contents. [!_LIBC] Remove #ifndef and contents.
18548 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18549 * string/memccpy.c (__memccpy): Use ANSI prototype.
18550 * string/memfrob.c (memfrob): Likewise.
18551 * string/strcoll.c (STRCOLL): Likewise.
18552 * string/strlen.c (strlen): Likewise.
18553 * string/strtok.c (STRTOK): Likewise.
18554 * string/strcat.c: Remove unused #include of memcopy.h.
18555 (strcat): Use ANSI prototype.
18556 * string/strchr.c: Remove unused #include of memcopy.h.
18557 (strchr): Use ANSI prototype.
18558 * string/strcmp.c: Remove unused #include of memcopy.h.
18559 (strcmp): Use ANSI prototype.
18560 * string/strcpy.c: Remove unused #include of memcopy.h.
18561 (strcpy): Use ANSI prototype.
18562
18563 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18564
18565 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18566 * config.make.in (config-extra-cppflags): Set it from
18567 libc_extra_cppflags.
18568 * configure.ac (libc_extra_cflags): Make it accumulate over
18569 configure fragments.
18570 (libc_extra_cppflags): New flag.
18571 * configure. Regenerate.
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18573 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18574 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18576
18577 [BZ #16815]
18578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18579 result for FE_DOWNWARD rounding mode.
18580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18581 Likewise.
18582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18583
18584 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18585
18586 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18587 in function argument name.
18588
18589 2014-04-03 David Svoboda <svoboda@cert.org>
18590
18591 [BZ #5666]
18592 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18593 explicitly.
18594
18595 2014-04-03 Roland McGrath <roland@hack.frob.com>
18596
18597 * elf/dl-unmap-segments.h: New file.
18598 * sysdeps/generic/ldsodefs.h
18599 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18600 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18601 * elf/dl-fptr.c: Likewise.
18602 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18603 * sysdeps/aarch64/tlsdesc.c: Likewise.
18604 * sysdeps/arm/tlsdesc.c: Likewise.
18605 * sysdeps/i386/tlsdesc.c: Likewise.
18606 * sysdeps/tile/dl-runtime.c: Likewise.
18607 * sysdeps/x86_64/tlsdesc.c: Likewise.
18608 * elf/dl-load.h: New file.
18609 * elf/dl-load.c: Include it.
18610 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18611 Macros moved to dl-load.h.
18612 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18613 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18614 Use _dl_unmap_segments in place of __munmap.
18615 Break out segment-mapping loop into ...
18616 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18617
18618 2014-04-03 Will Newton <will.newton@linaro.org>
18619
18620 * elf/dl-lookup.c (do_lookup_x): Remove comment
18621 referring to nested function and move variable
18622 declarations down to before first use.
18623
18624 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18625
18626 [BZ #16799]
18627 [BZ #16800]
18628 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18629 with 0 numerator.
18630 * math/s_catanf.c (__catanf): Likewise.
18631 * math/s_catanh.c (__catanh): Likewise.
18632 * math/s_catanhf.c (__catanhf): Likewise.
18633 * math/s_catanhl.c (__catanhl): Likewise.
18634 * math/s_catanl.c (__catanl): Likewise.
18635 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18636 by positive zero when computing -Inf result.
18637 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18638 (catanh_test): Likewise.
18639 * sysdeps/i386/fpu/libm-test-ulps: Update.
18640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18641
18642 [BZ #16789]
18643 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18644 instead of using underflowing value in computing result.
18645 * math/s_clog10.c (__clog10): Likewise.
18646 * math/s_clog10f.c (__clog10f): Likewise.
18647 * math/s_clog10l.c (__clog10l): Likewise.
18648 * math/s_clogf.c (__clogf): Likewise.
18649 * math/s_clogl.c (__clogl): Likewise.
18650 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18651 (clog10_test): Likewise.
18652 * sysdeps/i386/fpu/libm-test-ulps: Update.
18653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18654
18655 2014-04-02 Alan Modra <amodra@gmail.com>
18656
18657 [BZ #16739]
18658 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18659 output when value is near a power of two. Use int64_t for lx and
18660 remove casts. Use decimal rather than hex exponent constants.
18661 Don't use long double multiplication when double will suffice.
18662 * math/libm-test.inc (nextafter_test_data): Add tests.
18663 * NEWS: Add 16739 and 16786 to bug list.
18664
18665 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18666
18667 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18668
18669 2014-04-01 Will Newton <will.newton@linaro.org>
18670
18671 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18672 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
18673
18674 2014-04-01 Florian Weimer <fweimer@redhat.com>
18675
18676 [BZ #13347]
18677 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18678 * nptl/tst-setuid2.c: New file.
18679 * nptl/Makefile (xtests): Add tst-setuid2.
18680
18681 2014-04-01 Alan Modra <amodra@gmail.com>
18682
18683 [BZ #16786]
18684 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18685
18686 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18687
18688 [BZ #6803]
18689 [BZ #6804]
18690 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18691 set errno as appropriate.
18692 * math/w_scalbf.c (__scalbf): Likewise.
18693 * math/w_scalbl.c (__scalbl): Likewise.
18694 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18695 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18696 * math/libm-test.inc (scalb_test_data): Add errno expectations.
18697 Add more NaN tests.
18698
18699 [BZ #16349]
18700 * math/w_atan2.c: Include <errno.h>.
18701 (__atan2): Set errno for result underflowing to zero.
18702 * math/w_atan2f.c: Include <errno.h>.
18703 (__atan2f): Set errno for result underflowing to zero.
18704 * math/w_atan2l.c: Include <errno.h>.
18705 (__atan2l): Set errno for result underflowing to zero.
18706 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18707 tests.
18708 * math/auto-libm-test-out: Regenerated.
18709
18710 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18711
18712 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18713 Encode instruction correctly in little endian.
18714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18715 Likewise.
18716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18717 Likewise.
18718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18719 Likewise.
18720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18721 Likewise.
18722
18723 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18724
18725 [BZ #9894]
18726 * sysdeps/unix/sysv/linux/kernel-features.h
18727 [__sparc__ && !__arch64__ && !__sparc_v9__]
18728 (__ASSUME_SET_ROBUST_LIST): Do not define.
18729 [__sparc__ && !__arch64__ && !__sparc_v9__]
18730 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18731 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18732 Likewise.
18733 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18734 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18735 (__ASSUME_REQUEUE_PI): Likewise.
18736 (__ASSUME_SET_ROBUST_LIST): Likewise.
18737 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18738 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18739 Undefine.
18740 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18741 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18742 Likewise.
18743 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18744 Likewise.
18745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18746 Likewise.
18747 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18748 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18749 Undefine.
18750 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18751 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18752 Likewise.
18753
18754 [BZ #16648]
18755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18756 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18757 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18758
18759 2014-03-31 Will Newton <will.newton@linaro.org>
18760
18761 * benchtests/Makefile (bench): Add ffs and ffsll to list
18762 of tests.
18763 * benchtests/ffs-inputs: New file.
18764 * benchtests/ffsll-inputs: Likewise.
18765
18766 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18767
18768 [BZ #16770]
18769 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18770 too large before casting to int.
18771 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18772 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18773 * math/libm-test.inc (scalb_test_data): Add more tests.
18774
18775 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18776
18777 * benchtests/Makefile (DETAILED_OPT): New make option.
18778 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18779 set.
18780 * benchtests/bench-skeleton.c: Include stdbool.h.
18781 (main): Store and print timings per input.
18782 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18783 member to each argument value.
18784 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18785 (_print_arg_data): Initialize per-input timing to 0.
18786
18787 * benchtests/Makefile (timing-type): New binary.
18788 (bench-clean): Also remove bench-timing-type.
18789 (bench): New target for timing-type.
18790 (bench-func): Print output in JSON format.
18791 * benchtests/bench-skeleton.c (main): Print output in JSON
18792 format.
18793 * benchtests/bench-timing-type.c: New file.
18794 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18795 (TIMING_PRINT_STATS): Remove.
18796 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18797 name separately.
18798
18799 * benchtests/bench-modf.c: Remove.
18800 * benchtests/modf-inputs: New inputs file.
18801
18802 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18803
18804 [BZ #16362]
18805 * math/s_clog10.c (M_PI_LOG10E): New macro.
18806 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18807 imaginary parts are 0.
18808 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18809 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18810 imaginary parts are 0.
18811 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18812 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18813 imaginary parts are 0.
18814 * math/libm-test.inc (clog10_test_data): Update expected results
18815 for when real and imaginary parts are 0.
18816
18817 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18818
18819 * elf/dl-load.c: Finish conversion of __builtin_expect into
18820 __glibc_{un}likely.
18821
18822 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18823
18824 [BZ #16348]
18825 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18826 1+x for argument with exponent below -67.
18827 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18828 Likewise.
18829 * math/auto-libm-test-in: Add more tests of exp.
18830 * math/auto-libm-test-out: Regenerated.
18831
18832 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18833
18834 [BZ #16759]
18835 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18836 (nscd_getnetgrent): Use it.
18837
18838 [BZ #16760]
18839 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18840 of stpcpy.
18841
18842 2014-03-27 Andi Kleen <ak@linux.intel.com>
18843
18844 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18845 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18846 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18847 (lll_robust_unlock): Remove out of line section. Use cfi
18848 intrinsics.
18849 (LLL_STUB_UNWIND_INFO*): Remove.
18850 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18851 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18852 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18853 (lll_robust_unlock): Remove out of line section. Use cfi
18854 intrinsics.
18855 (LLL_STUB_UNWIND_INFO*): Remove.
18856
18857 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18858
18859 [BZ #16758]
18860 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18861 blank values.
18862
18863 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18864
18865 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18866
18867 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18868
18869 [BZ #16198]
18870 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18871 fnstenv.
18872 * math/test-fenv-preserve.c: New file.
18873 * math/Makefile (tests): Add test-fenv-preserve.
18874
18875 2014-03-26 Will Newton <will.newton@linaro.org>
18876
18877 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18878
18879 2014-03-25 Roland McGrath <roland@hack.frob.com>
18880
18881 * scripts/versionlist.awk: Partition the version sets and emit all
18882 GLIBC_* (sorted) before all others (sorted).
18883
18884 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18885
18886 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18887 GLIBC_2.2.5 version.
18888
18889 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18890
18891 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18892 calls.
18893
18894 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18895 previous change.
18896
18897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18898
18899 2014-03-25 Andreas Schwab <schwab@suse.de>
18900
18901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18902 label to be used after in6ailist is initialized.
18903
18904 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905
18906 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18907 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18908
18909 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18910
18911 [BZ #16357]
18912 [BZ #16599]
18913 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18914 min_plus_half.
18915 (fp_formats): Update initializers.
18916 (init_fp_formats): Initialize new field.
18917 (output_for_one_input_case): Allow underflow for results up to
18918 min_plus_half.
18919 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18920 * math/auto-libm-test-in: Don't mark some underflows from asin and
18921 atanh as spurious.
18922 * math/auto-libm-test-out: Regenerated.
18923 * sysdeps/i386/fpu/libm-test-ulps: Update.
18924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925
18926 2014-03-25 Andreas Schwab <schwab@suse.de>
18927
18928 * libio/Makefile (tst-ftell-partial-wide-ENV)
18929 (tst-ftell-active-handler-ENV): Define.
18930
18931 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18932
18933 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18934
18935 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18936
18937 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18938
18939 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18940
18941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18942 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18943 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18944
18945 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18946
18947 [BZ #16634]
18948 * elf/dl-load.c (open_verify): Add mode parameter.
18949 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18950 (open_path): Change from boolean 'secure' to complete flag 'mode'
18951 (_dl_map_object): Adjust.
18952 * elf/Makefile (tests): Add tst-dlopen-aout.
18953 * elf/tst-dlopen-aout.c: New test.
18954
18955 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18956
18957 [BZ #16714]
18958 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18959 (struct stat): Rename member pad0 to __glibc_reserved0.
18960
18961 [BZ #16712]
18962 * sysdeps/s390/s390-32/bits/wordsize.h
18963 (__WORDSIZE32_SIZE_ULONG): New define.
18964 * sysdeps/s390/s390-64/bits/wordsize.h
18965 (__WORDSIZE32_SIZE_ULONG): Likewise.
18966 * sysdeps/generic/stdint.h (SIZE_MAX):
18967 Define as UL if __WORDSIZE32_SIZE_ULONG.
18968
18969 [BZ #16713]
18970 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18971 (__glibc_reserved0): New variable.
18972 (sa_flags): Change type to int.
18973
18974 * posix/Makefile (before-compile): Use += before-compile instead
18975 of a :=.
18976
18977 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18978 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18979
18980 2014-03-20 Andreas Schwab <schwab@suse.de>
18981
18982 [BZ #16743]
18983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18984 non-matching result from nscd.
18985
18986 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18987
18988 * scripts/bench.py: Moved to ...
18989 * benchtests/scripts/bench.py: ... here.
18990 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18991
18992 2014-03-24 Andreas Schwab <schwab@suse.de>
18993
18994 [BZ #16002]
18995 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18996 alloca_account and account alloca use for struct in6ailist.
18997
18998 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18999
19000 [BZ #16284]
19001 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19002 rounding mode to recompute results that overflow to infinity or
19003 underflow to zero.
19004 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19005 bug 16284.
19006 * math/auto-libm-test-out: Regenerated.
19007 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19008 (ccosh_test): Likewise.
19009 (csin_test_data): Use plus_oflow.
19010 (csin_test): Use ALL_RM_TEST.
19011 (csinh_test_data): Use plus_oflow.
19012 (csinh_test): Use ALL_RM_TEST.
19013 * sysdeps/i386/fpu/libm-test-ulps: Update.
19014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015
19016 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19017
19018 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19019 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19020 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19021
19022 [BZ #16731]
19023 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19024 when x - 1 is zero.
19025 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19026 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19027 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19029 argument is 1.
19030 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19031 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19032 zero.
19033 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19034 * sysdeps/i386/fpu/libm-test-ulps: Update.
19035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19036
19037 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19038
19039 * scripts/bench.pl: Remove file.
19040 * scripts/bench.py: New benchmark script.
19041 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19042 * benchtests/README: Mention python dependency.
19043 * scripts/pylintrc: New file.
19044 * scripts/pylint: New file.
19045
19046 * bits/mathdef.h: Use #ifdef instead of #if.
19047 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19048 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19049 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19050 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19051 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19052 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19053
19054 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19055 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19056
19057 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19059 and strpbrk-ppc64 objects.
19060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19061 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19062 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19063 multiarch strpbrk for POWER7.
19064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19065 multiarch strpbrk for PPC64.
19066 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19067 ifunc selector.
19068 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19069 strpbrk for POWER7.
19070
19071 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19072
19073 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19074 (atan_test): Likewise.
19075 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19076 (atanh_test): Use ALL_RM_TEST.
19077 (atan2_test_data): Likewise.
19078 (cabs_test): Likewise.
19079 (cacosh_test): Likewise.
19080 (carg_test): Likewise.
19081 (casin_test): Likewise.
19082 (casinh_test): Likewise.
19083 (cbrt_test): Likewise.
19084 (csqrt_test): Likewise.
19085 (erf_test): Likewise.
19086 (erfc_test): Likewise.
19087 (pow10_test): Likewise.
19088 (exp2_test): Likewise.
19089 (hypot_test): Likewise.
19090 (j0_test): Likewise.
19091 (j1_test): Likewise.
19092 (lgamma_test): Likewise.
19093 (gamma_test): Likewise.
19094 (sincos_test): Likewise.
19095 (tanh_test): Likewise.
19096 (y0_test): Likewise.
19097 (y1_test): Likewise.
19098 * sysdeps/i386/fpu/libm-test-ulps: Update.
19099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100
19101 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19102
19103 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19105 and strcspn-ppc64 objects.
19106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19107 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19108 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19109 multiarch strcspn for POWER7.
19110 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19111 multiarch strcspn for PPC64.
19112 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19113 ifunc selector.
19114 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19115 strcspn for POWER7.
19116
19117 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19118
19119 * math/gen-libm-test.pl (generate_testfile): Expect only function
19120 name as argument to AUTO_TESTS_* and pass results for all rounding
19121 modes to parse_args.
19122 (parse_auto_input): Separate inputs of automatic tests from
19123 outputs before storing in %auto_tests.
19124 * math/libm-test.inc (acos_test_data): Update call to
19125 AUTO_TESTS_f_f.
19126 (acos_test): Use ALL_RM_TEST.
19127 (acos_tonearest_test_data): Remove.
19128 (acos_test_tonearest): Likewise.
19129 (acos_towardzero_test_data): Likewise.
19130 (acos_test_towardzero): Likewise.
19131 (acos_downward_test_data): Likewise.
19132 (acos_test_downward): Likewise.
19133 (acos_upward_test_data): Likewise.
19134 (acos_test_upward): Likewise.
19135 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19136 (asin_test_data): Likewise.
19137 (asin_test): Use ALL_RM_TEST.
19138 (asin_tonearest_test_data): Remove.
19139 (asin_test_tonearest): Likewise.
19140 (asin_towardzero_test_data): Likewise.
19141 (asin_test_towardzero): Likewise.
19142 (asin_downward_test_data): Likewise.
19143 (asin_test_downward): Likewise.
19144 (asin_upward_test_data): Likewise.
19145 (asin_test_upward): Likewise.
19146 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19147 (atan_test_data): Likewise.
19148 (atanh_test_data): Likewise.
19149 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19150 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19151 (carg_test_data): Likewise.
19152 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19153 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19154 (ccosh_test_data): Likewise.
19155 (cexp_test_data): Likewise.
19156 (clog_test_data): Likewise.
19157 (clog10_test_data): Likewise.
19158 (cos_test_data): Update call to AUTO_TESTS_f_f.
19159 (cos_test): Use ALL_RM_TEST.
19160 (cos_tonearest_test_data): Remove.
19161 (cos_test_tonearest): Likewise.
19162 (cos_towardzero_test_data): Likewise.
19163 (cos_test_towardzero): Likewise.
19164 (cos_downward_test_data): Likewise.
19165 (cos_test_downward): Likewise.
19166 (cos_upward_test_data): Likewise.
19167 (cos_test_upward): Likewise.
19168 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19169 (cosh_test): Use ALL_RM_TEST.
19170 (cosh_tonearest_test_data): Remove.
19171 (cosh_test_tonearest): Likewise.
19172 (cosh_towardzero_test_data): Likewise.
19173 (cosh_test_towardzero): Likewise.
19174 (cosh_downward_test_data): Likewise.
19175 (cosh_test_downward): Likewise.
19176 (cosh_upward_test_data): Likewise.
19177 (cosh_test_upward): Likewise.
19178 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19179 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19180 (ctan_test_data): Likewise.
19181 (ctan_test): Use ALL_RM_TEST.
19182 (ctan_tonearest_test_data): Remove.
19183 (ctan_test_tonearest): Likewise.
19184 (ctan_towardzero_test_data): Likewise.
19185 (ctan_test_towardzero): Likewise.
19186 (ctan_downward_test_data): Likewise.
19187 (ctan_test_downward): Likewise.
19188 (ctan_upward_test_data): Likewise.
19189 (ctan_test_upward): Likewise.
19190 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19191 (ctanh_test): Use ALL_RM_TEST.
19192 (ctanh_tonearest_test_data): Remove.
19193 (ctanh_test_tonearest): Likewise.
19194 (ctanh_towardzero_test_data): Likewise.
19195 (ctanh_test_towardzero): Likewise.
19196 (ctanh_downward_test_data): Likewise.
19197 (ctanh_test_downward): Likewise.
19198 (ctanh_upward_test_data): Likewise.
19199 (ctanh_test_upward): Likewise.
19200 (erf_test_data): Update call to AUTO_TESTS_f_f.
19201 (erfc_test_data): Likewise.
19202 (exp_test_data): Likewise.
19203 (exp_test): Use ALL_RM_TEST.
19204 (exp_tonearest_test_data): Remove.
19205 (exp_test_tonearest): Likewise.
19206 (exp_towardzero_test_data): Likewise.
19207 (exp_test_towardzero): Likewise.
19208 (exp_downward_test_data): Likewise.
19209 (exp_test_downward): Likewise.
19210 (exp_upward_test_data): Likewise.
19211 (exp_test_upward): Likewise.
19212 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19213 (exp10_test): Use ALL_RM_TEST.
19214 (exp10_tonearest_test_data): Remove.
19215 (exp10_test_tonearest): Likewise.
19216 (exp10_towardzero_test_data): Likewise.
19217 (exp10_test_towardzero): Likewise.
19218 (exp10_downward_test_data): Likewise.
19219 (exp10_test_downward): Likewise.
19220 (exp10_upward_test_data): Likewise.
19221 (exp10_test_upward): Likewise.
19222 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19223 (expm1_test_data): Likewise.
19224 (expm1_test): Use ALL_RM_TEST.
19225 (expm1_tonearest_test_data): Remove.
19226 (expm1_test_tonearest): Likewise.
19227 (expm1_towardzero_test_data): Likewise.
19228 (expm1_test_towardzero): Likewise.
19229 (expm1_downward_test_data): Likewise.
19230 (expm1_test_downward): Likewise.
19231 (expm1_upward_test_data): Likewise.
19232 (expm1_test_upward): Likewise.
19233 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19234 (fma_test): Use ALL_RM_TEST.
19235 (fma_towardzero_test_data): Remove.
19236 (fma_test_towardzero): Likewise.
19237 (fma_downward_test_data): Likewise.
19238 (fma_test_downward): Likewise.
19239 (fma_upward_test_data): Likewise.
19240 (fma_test_upward): Likewise.
19241 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19242 (j0_test_data): Update call to AUTO_TESTS_f_f.
19243 (j1_test_data): Likewise.
19244 (jn_test_data): Update call to AUTO_TESTS_if_f.
19245 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19246 (log_test_data): Update call to AUTO_TESTS_f_f.
19247 (log10_test_data): Likewise.
19248 (log1p_test_data): Likewise.
19249 (log2_test_data): Likewise.
19250 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19251 (pow_tonearest_test_data): Likewise.
19252 (sin_test_data): Update call to AUTO_TESTS_f_f.
19253 (sin_test): Use ALL_RM_TEST.
19254 (sin_tonearest_test_data): Remove.
19255 (sin_test_tonearest): Likewise.
19256 (sin_towardzero_test_data): Likewise.
19257 (sin_test_towardzero): Likewise.
19258 (sin_downward_test_data): Likewise.
19259 (sin_test_downward): Likewise.
19260 (sin_upward_test_data): Likewise.
19261 (sin_test_upward): Likewise.
19262 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19263 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19264 (sinh_test): Use ALL_RM_TEST.
19265 (sinh_tonearest_test_data): Remove.
19266 (sinh_test_tonearest): Likewise.
19267 (sinh_towardzero_test_data): Likewise.
19268 (sinh_test_towardzero): Likewise.
19269 (sinh_downward_test_data): Likewise.
19270 (sinh_test_downward): Likewise.
19271 (sinh_upward_test_data): Likewise.
19272 (sinh_test_upward): Likewise.
19273 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19274 (sqrt_test): Use ALL_RM_TEST.
19275 (sqrt_tonearest_test_data): Remove.
19276 (sqrt_test_tonearest): Likewise.
19277 (sqrt_towardzero_test_data): Likewise.
19278 (sqrt_test_towardzero): Likewise.
19279 (sqrt_downward_test_data): Likewise.
19280 (sqrt_test_downward): Likewise.
19281 (sqrt_upward_test_data): Likewise.
19282 (sqrt_test_upward): Likewise.
19283 (tan_test_data): Update call to AUTO_TESTS_f_f.
19284 (tan_test): Use ALL_RM_TEST.
19285 (tan_tonearest_test_data): Remove.
19286 (tan_test_tonearest): Likewise.
19287 (tan_towardzero_test_data): Likewise.
19288 (tan_test_towardzero): Likewise.
19289 (tan_downward_test_data): Likewise.
19290 (tan_test_downward): Likewise.
19291 (tan_upward_test_data): Likewise.
19292 (tan_test_upward): Likewise.
19293 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19294 (tgamma_test_data): Likewise.
19295 (y0_test_data): Likewise.
19296 (y1_test_data): Likewise.
19297 (yn_test_data): Update call to AUTO_TESTS_if_f.
19298 (main): Do not call removed functions.
19299
19300 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19301
19302 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19303 (ldexp_test_data): Remove.
19304 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19305 scalbn_test_data.
19306 (scalb_test): Use ALL_RM_TEST.
19307
19308 2014-03-19 Andreas Schwab <schwab@suse.de>
19309
19310 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19311
19312 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19313
19314 [BZ #16649]
19315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19316 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19317 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19319 (__ASSUME_PREADV): Undefine.
19320 (__ASSUME_PWRITEV): Likewise.
19321
19322 2014-03-18 Roland McGrath <roland@hack.frob.com>
19323
19324 * bits/mman-linux.h: Add comment about non-Linux use.
19325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19326 bits/mman-linux.h resting place.
19327
19328 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19329 * bits/mman-linux.h: ... here.
19330
19331 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19332
19333 * conform/conformtest.pl: Add standard definition when calling C
19334 preprocessor on data files.
19335 (checknamespace): Remove unused variable.
19336
19337 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19338
19339 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19340 minus_oflow, plus_uflow and minus_uflow in expected results.
19341 * math/libm-test.inc (scalbn_test_data): Add more tests of
19342 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19343 minus_uflow.
19344 (scalbn_test): Use ALL_RM_TEST.
19345 (scalbln_test_data): Add more tests of negative arguments. Use
19346 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19347 (scalbln_test): Use ALL_RM_TEST.
19348
19349 2014-03-18 Roland McGrath <roland@hack.frob.com>
19350
19351 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19352
19353 2014-03-18 Will Newton <will.newton@linaro.org>
19354
19355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19356 inaccurate comment.
19357
19358 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19359
19360 * Makerules [!subdir] (check-abi): Exit with error status if a
19361 test failed.
19362
19363 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19364
19365 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19366 for rint. Include results for all rounding modes.
19367 (nearbyint_test): Use ALL_RM_TEST.
19368 (rint_test_data): Include all tests used for nearbyint.
19369
19370 2014-03-17 Will Newton <will.newton@linaro.org>
19371
19372 * nptl/sysdeps/pthread/pthread.h: Revert previous
19373 change.
19374
19375 * sysdeps/generic/ldsodefs.h: Revert previous
19376 change.
19377
19378 * libio/genops.c: Revert previous change.
19379 * libio/libioP.h: Likewise.
19380 * stdio-common/vfprintf.c: Likewise.
19381
19382 * sysdeps/generic/math_private.h: Revert previous
19383 change.
19384
19385 * sysdeps/generic/math_private.h: Check whether
19386 HAVE_RM_CTX is defined with #ifdef rather
19387 than #if.
19388
19389 * argp/argp-fmtstream.h: Check whether
19390 __STRICT_ANSI__ is defined with #ifdef rather
19391 than #if.
19392 * argp/argp.h: Likewise.
19393
19394 * libio/genops.c: Check whether
19395 _IO_JUMPS_OFFSET is defined with #ifdef rather
19396 than #if.
19397 * libio/libioP.h: Likewise.
19398 * stdio-common/vfprintf.c: Likewise.
19399
19400 * sysdeps/generic/ldsodefs.h: Check whether
19401 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19402 than #if.
19403
19404 * nptl/sysdeps/pthread/pthread.h: Check
19405 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19406 its value.
19407
19408 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19409
19410 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19411 setting O_APPEND.
19412 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19413 test case.
19414
19415 [BZ #16680]
19416 * libio/fileops.c (_IO_file_open): Seek to end of file but
19417 don't cache the offset.
19418 (get_file_offset): Remove function.
19419 (do_ftell): Use cached offset when available.
19420 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19421 don't cache the offset.
19422 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19423 case.
19424 (do_one_test): Call it.
19425 (do_ftell_test): Fix up expected old offset for a+ mode.
19426 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19427 available.
19428
19429 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19430 up test status with function return status.
19431 (do_write_test): Likewise.
19432 (do_append_test): Likewise.
19433
19434 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19435 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19436 Remove.
19437
19438 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19439
19440 * math/gen-libm-test.pl (parse_args): Handle results specified for
19441 each rounding mode separately.
19442 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19443 tests and results from lrint_tonearest_test_data,
19444 lrint_towardzero_test_data, lrint_downward_test_data and
19445 lrint_upward_test_data.
19446 (lrint_test): Use ALL_RM_TEST.
19447 (lrint_tonearest_test_data): Remove.
19448 (lrint_test_tonearest): Likewise.
19449 (lrint_towardzero_test_data): Likewise.
19450 (lrint_test_towardzero): Likewise.
19451 (lrint_downward_test_data): Likewise.
19452 (lrint_test_downward): Likewise.
19453 (lrint_upward_test_data): Likewise.
19454 (lrint_test_upward): Likewise.
19455 (llrint_test_data): Merge in per-rounding-mode tests and results
19456 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19457 llrint_downward_test_data and llrint_upward_test_data.
19458 (llrint_test): Use ALL_RM_TEST.
19459 (llrint_tonearest_test_data): Remove.
19460 (llrint_test_tonearest): Likewise.
19461 (llrint_towardzero_test_data): Likewise.
19462 (llrint_test_towardzero): Likewise.
19463 (llrint_downward_test_data): Likewise.
19464 (llrint_test_downward): Likewise.
19465 (llrint_upward_test_data): Likewise.
19466 (llrint_test_upward): Likewise.
19467 (rint_test_data): Merge in per-rounding-mode tests and results
19468 from rint_tonearest_test_data, rint_towardzero_test_data,
19469 rint_downward_test_data and rint_upward_test_data. Add
19470 per-rounding-mode results for tests not in those arrays.
19471 (rint_test): Use ALL_RM_TEST.
19472 (rint_tonearest_test_data): Remove.
19473 (rint_test_tonearest): Likewise.
19474 (rint_towardzero_test_data): Likewise.
19475 (rint_test_towardzero): Likewise.
19476 (rint_downward_test_data): Likewise.
19477 (rint_test_downward): Likewise.
19478 (rint_upward_test_data): Likewise.
19479 (rint_test_upward): Likewise.
19480 (main): Don't call removed functions.
19481
19482 2014-03-14 Roland McGrath <roland@hack.frob.com>
19483
19484 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19485 "Compiled on ..." crapola. It is anti-useful.
19486
19487 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19488
19489 * scripts/evaluate-test.sh: Handle fourth argument to determine
19490 whether test run should stop on failure.
19491 * Makeconfig (stop-on-test-failure): New variable.
19492 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19493 $(stop-on-test-failure).
19494 * Makefile (tests): Give a summary of results from testing and
19495 exit with failure status if they include an ERROR or FAIL.
19496 (xtests): Likewise.
19497 * manual/install.texi (Configuring and compiling): Mention
19498 stop-on-test-failure=y.
19499 * INSTALL: Regenerated.
19500
19501 2014-03-14 Roland McGrath <roland@hack.frob.com>
19502
19503 * scripts/versionlist.awk: New file.
19504 * Makerules [$(build-shared) = yes]
19505 (postclean-generated): Add Versions.def, not Versions.def.v and
19506 Versions.def.v.i.
19507 ($(common-objpfx)Versions.def.v.i): Target removed.
19508 ($(common-objpfx)Versions.def): New target.
19509 ($(common-objpfx)Versions.all): Depend on that rather that
19510 $(common-objpfx)Versions.def.v.
19511 * Versions.def: File removed.
19512
19513 * Makeconfig (+gccwarn): Add -Wundef.
19514 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19515 a dl-sysdep.h breaking its contract.
19516 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19517 * include/stackinfo.h: New file.
19518 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19519 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19520 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19521 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19522 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19523 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19524 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19525 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19526 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19527 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19528 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19529 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19530 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19531 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19532 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19533
19534 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19535
19536 [BZ #16707]
19537 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19538 implementation.
19539 * math/libm-test.inc (round_test_data): Add more tests.
19540
19541 [BZ #16706]
19542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19543 implementation.
19544 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19545
19546 [BZ #16701]
19547 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19548 implementation.
19549 * math/libm-test.inc (ceil_test_data): Add more tests.
19550
19551 * math/libm-test.inc (trunc_test_data): Add more tests related to
19552 BZ#16414.
19553
19554 2014-03-14 Roland McGrath <roland@hack.frob.com>
19555
19556 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19557 with #if rather than #ifdef.
19558 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19559
19560 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19561
19562 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19563 first. Disable AVX-512 GCC support if assembler doesn't support
19564 it.
19565 * sysdeps/x86_64/configure: Regenerated.
19566
19567 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19568
19569 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19570 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19571 (__old_pthread_attr_setstack): Likewise.
19572 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19573 [!_STACK_GROWS_DOWN]: Likewise.
19574
19575 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19576
19577 * config.make.in (have-bash2): Delete.
19578 * configure.ac (libc_cv_have_bash2): Delete.
19579 * configure: Regenerate.
19580 * elf/Makefile (common-ldd-rewrite): Rename to ...
19581 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19582 (sh-ldd-rewrite): Delete.
19583 (bash-ldd-rewrite): Delete.
19584 (have-bash2): Delete checks.
19585 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19586 ldd-rewrite.
19587
19588 * config.make.in (have-ksh): Delete.
19589 (KSH): Delete.
19590 * configure.ac (libc_cv_have_ksh): Delete.
19591 * configure: Regenerate.
19592
19593 * elf/Makefile: Delete $(have-ksh) check.
19594 ($(objpfx)sotruss): Change KSH to BASH.
19595 * elf/sotruss.ksh: Rename to ...
19596 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19597 function style to match POSIX. Drop ksh vim mode setting.
19598
19599 * manual/time.texi (Specifying the Time Zone with TZ): Change
19600 Tuesday to Thursday.
19601
19602 * debug/tst-longjmp_chk2.c: Update header comment.
19603 (stackoverflow_handler): Add comment. Call assert on pass value.
19604
19605 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19606
19607 [BZ #16194]
19608 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19609 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19610 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19611 (La_x86_64_vector): Add zmm.
19612 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19613 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19614 ($(objpfx)tst-audit10): New target.
19615 ($(objpfx)tst-audit10.out): Likewise.
19616 (tst-audit10-ENV): New.
19617 (AVX512-CFLAGS): Likewise.
19618 (CFLAGS-tst-audit10.c): Likewise.
19619 (CFLAGS-tst-auditmod10a.c): Likewise.
19620 (CFLAGS-tst-auditmod10b.c): Likewise.
19621 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19622 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19623 * sysdeps/x86_64/configure: Regenerated.
19624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19625 AVX-512 zmm register support.
19626 (_dl_x86_64_save_sse): Likewise.
19627 (_dl_x86_64_restore_sse): Likewise.
19628 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19629 size vector registers.
19630 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19631 (ZMM_SIZE): Likewise.
19632 * sysdeps/x86_64/tst-audit10.c: New file.
19633 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19634 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19635
19636 2014-03-13 Roland McGrath <roland@hack.frob.com>
19637
19638 * configure.ac (HAVE_EHDR_START): New check.
19639 * configure: Regenerated.
19640 * config.h.in (HAVE_EHDR_START): New #undef.
19641 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19642 assuming the lowest-addressed segment maps the start of the file.
19643
19644 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19645
19646 * INSTALL: Regenerated.
19647
19648 2014-03-13 Will Newton <will.newton@linaro.org>
19649
19650 * manual/setjmp.texi (System V contexts): Improve
19651 clarity and grammar of documentation.
19652
19653 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19654
19655 [BZ #16381]
19656 * elf/Makefile (tests): Add tst-pie2.
19657 (tests-pie): Add tst-pie2.
19658 * elf/tst-pie2.c: New file.
19659 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19660 for ET_EXEC.
19661 * elf/rtld.c (map_doit): Load executable as lt_executable.
19662 (dl_main): Likewise.
19663
19664 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #16642]
19667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19668 (__ASSUME_PSELECT): Undefine.
19669
19670 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19671
19672 [BZ #16689]
19673 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19674 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19675 static build.
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19677 selector for static builds.
19678
19679 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19680
19681 [BZ #16695]
19682 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19683 key in the buffer.
19684
19685 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19686
19687 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19688 IFUNC selector for static builds.
19689
19690 2014-03-11 Joseph Myers <joseph@codesourcery.com>
19691
19692 * sysdeps/mips/math_private.h [__mips_hard_float]
19693 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19694 libc_feresetround_mips_ctx.
19695 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19696 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19697 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19698
19699 [BZ #16677]
19700 * math/s_nextafter.c (__nextafter): Do not return value from
19701 overflowing computation.
19702 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19703 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19704 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19705 Likewise.
19706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19707 Likewise.
19708 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19709 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19710
19711 2014-03-11 Roland McGrath <roland@hack.frob.com>
19712
19713 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19714 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19715 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19716 the new mov targetting sp.
19717
19718 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19719
19720 [BZ #16683]
19721 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19722 Define it for static builds as well.
19723 (NO_BZERO_IMPL): Likewise.
19724
19725 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19726
19727 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19728 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19729 multiarch strspn for PPC64.
19730 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19731 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19733 (__libc_ifunc_impl_list): Likewise.
19734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19735 multiarch optimizations
19736 * string/strspn.c (strspn): Using macro to redefine symbol name.
19737
19738 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19739 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19740
19741 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19742 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19743 multiarch strncat for PPC64.
19744 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19745 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19747 (__libc_ifunc_impl_list): Likewise.
19748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19749 multiarch optimizations
19750
19751 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19752
19753 [BZ #16639]
19754 * nscd/nscd.service: Make service type forking.
19755
19756 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19757
19758 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19759 sign in non default rounding modes.
19760 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19761
19762 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19763
19764 * math/libm-test.inc (ALL_RM_TEST): New macro.
19765 (ceil_test): Use ALL_RM_TEST.
19766 (cimag_test): Likewise.
19767 (conj_test): Likewise.
19768 (copysign_test): Likewise.
19769 (cproj_test): Likewise.
19770 (creal_test): Likewise.
19771 (fabs_test): Likewise.
19772 (floor_test): Likewise.
19773 (fmax_test): Likewise.
19774 (fmin_test): Likewise.
19775 (fmod_test): Likewise.
19776 (fpclassify_test): Likewise.
19777 (frexp_test): Likewise.
19778 (ilogb_test): Likewise.
19779 (isfinite_test): Likewise.
19780 (finite_test): Likewise.
19781 (isgreater_test): Likewise.
19782 (isgreaterequal_test): Likewise.
19783 (isinf_test): Likewise.
19784 (isless_test): Likewise.
19785 (islessequal_test): Likewise.
19786 (islessgreater_test): Likewise.
19787 (isnan_test): Likewise.
19788 (isnormal_test): Likewise.
19789 (issignaling_test): Likewise.
19790 (isunordered_test): Likewise.
19791 (logb_test): Likewise.
19792 (logb_downward_test_data): Remove.
19793 (logb_test_downward): Likewise.
19794 (lround_test): Use ALL_RM_TEST.
19795 (llround_test): Likewise.
19796 (modf_test): Likewise.
19797 (nexttoward_test): Likewise.
19798 (remainder_test): Likewise.
19799 (drem_test): Likewise.
19800 (remainder_tonearest_test_data): Likewise.
19801 (remainder_test_tonearest): Likewise.
19802 (drem_test_tonearest): Likewise.
19803 (remainder_towardzero_test_data): Likewise.
19804 (remainder_test_towardzero): Likewise.
19805 (drem_test_towardzero): Likewise.
19806 (remainder_downward_test_data): Likewise.
19807 (remainder_test_downward): Likewise.
19808 (drem_test_downward): Likewise.
19809 (remainder_upward_test_data): Likewise.
19810 (remainder_test_upward): Likewise.
19811 (drem_test_upward): Likewise.
19812 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19813 (round_test): Use ALL_RM_TEST.
19814 (signbit_test): Likewise.
19815 (trunc_test): Likewise.
19816 (significand_test): Likewise.
19817 (main): Don't call removed functions.
19818
19819 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19820
19821 [BZ #16674]
19822 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19823 || __USE_XOPEN2K8].
19824 (ILL_ILLOPN): Likewise.
19825 (ILL_ILLADR): Likewise.
19826 (ILL_ILLTRP): Likewise.
19827 (ILL_PRVOPC): Likewise.
19828 (ILL_PRVREG): Likewise.
19829 (ILL_COPROC): Likewise.
19830 (ILL_BADSTK): Likewise.
19831 (FPE_INTDIV): Likewise.
19832 (FPE_INTOVF): Likewise.
19833 (FPE_FLTDIV): Likewise.
19834 (FPE_FLTOVF): Likewise.
19835 (FPE_FLTUND): Likewise.
19836 (FPE_FLTRES): Likewise.
19837 (FPE_FLTINV): Likewise.
19838 (FPE_FLTSUB): Likewise.
19839 (SEGV_MAPERR): Likewise.
19840 (SEGV_ACCERR): Likewise.
19841 (BUS_ADRALN): Likewise.
19842 (BUS_ADRERR): Likewise.
19843 (BUS_OBJERR): Likewise.
19844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19845 (TRAP_TRACE): Likewise.
19846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19847 __USE_XOPEN2K8].
19848 (CLD_KILLED): Likewise.
19849 (CLD_DUMPED): Likewise.
19850 (CLD_TRAPPED): Likewise.
19851 (CLD_STOPPED): Likewise.
19852 (CLD_CONTINUED): Likewise.
19853 (POLL_IN): Likewise.
19854 (POLL_OUT): Likewise.
19855 (POLL_MSG): Likewise.
19856 (POLL_ERR): Likewise.
19857 (POLL_PRI): Likewise.
19858 (POLL_HUP): Likewise.
19859 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19860 Likewise.
19861 (ILL_ILLOPN): Likewise.
19862 (ILL_ILLADR): Likewise.
19863 (ILL_ILLTRP): Likewise.
19864 (ILL_PRVOPC): Likewise.
19865 (ILL_PRVREG): Likewise.
19866 (ILL_COPROC): Likewise.
19867 (ILL_BADSTK): Likewise.
19868 (FPE_INTDIV): Likewise.
19869 (FPE_INTOVF): Likewise.
19870 (FPE_FLTDIV): Likewise.
19871 (FPE_FLTOVF): Likewise.
19872 (FPE_FLTUND): Likewise.
19873 (FPE_FLTRES): Likewise.
19874 (FPE_FLTINV): Likewise.
19875 (FPE_FLTSUB): Likewise.
19876 (SEGV_MAPERR): Likewise.
19877 (SEGV_ACCERR): Likewise.
19878 (BUS_ADRALN): Likewise.
19879 (BUS_ADRERR): Likewise.
19880 (BUS_OBJERR): Likewise.
19881 (BUS_MCEERR_AR): Likewise.
19882 (BUS_MCEERR_AO): Likewise.
19883 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19884 (TRAP_TRACE): Likewise.
19885 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19886 __USE_XOPEN2K8].
19887 (CLD_KILLED): Likewise.
19888 (CLD_DUMPED): Likewise.
19889 (CLD_TRAPPED): Likewise.
19890 (CLD_STOPPED): Likewise.
19891 (CLD_CONTINUED): Likewise.
19892 (POLL_IN): Likewise.
19893 (POLL_OUT): Likewise.
19894 (POLL_MSG): Likewise.
19895 (POLL_ERR): Likewise.
19896 (POLL_PRI): Likewise.
19897 (POLL_HUP): Likewise.
19898 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19899 (ILL_ILLOPN): Likewise.
19900 (ILL_ILLADR): Likewise.
19901 (ILL_ILLTRP): Likewise.
19902 (ILL_PRVOPC): Likewise.
19903 (ILL_PRVREG): Likewise.
19904 (ILL_COPROC): Likewise.
19905 (ILL_BADSTK): Likewise.
19906 (FPE_INTDIV): Likewise.
19907 (FPE_INTOVF): Likewise.
19908 (FPE_FLTDIV): Likewise.
19909 (FPE_FLTOVF): Likewise.
19910 (FPE_FLTUND): Likewise.
19911 (FPE_FLTRES): Likewise.
19912 (FPE_FLTINV): Likewise.
19913 (FPE_FLTSUB): Likewise.
19914 (SEGV_MAPERR): Likewise.
19915 (SEGV_ACCERR): Likewise.
19916 (BUS_ADRALN): Likewise.
19917 (BUS_ADRERR): Likewise.
19918 (BUS_OBJERR): Likewise.
19919 (BUS_MCEERR_AR): Likewise.
19920 (BUS_MCEERR_AO): Likewise.
19921 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19922 (TRAP_TRACE): Likewise.
19923 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19924 __USE_XOPEN2K8].
19925 (CLD_KILLED): Likewise.
19926 (CLD_DUMPED): Likewise.
19927 (CLD_TRAPPED): Likewise.
19928 (CLD_STOPPED): Likewise.
19929 (CLD_CONTINUED): Likewise.
19930 (POLL_IN): Likewise.
19931 (POLL_OUT): Likewise.
19932 (POLL_MSG): Likewise.
19933 (POLL_ERR): Likewise.
19934 (POLL_PRI): Likewise.
19935 (POLL_HUP): Likewise.
19936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19937 Likewise.
19938 (ILL_ILLOPN): Likewise.
19939 (ILL_ILLADR): Likewise.
19940 (ILL_ILLTRP): Likewise.
19941 (ILL_PRVOPC): Likewise.
19942 (ILL_PRVREG): Likewise.
19943 (ILL_COPROC): Likewise.
19944 (ILL_BADSTK): Likewise.
19945 (ILL_BADIADDR): Likewise.
19946 (ILL_BREAK): Likewise.
19947 (FPE_INTDIV): Likewise.
19948 (FPE_INTOVF): Likewise.
19949 (FPE_FLTDIV): Likewise.
19950 (FPE_FLTOVF): Likewise.
19951 (FPE_FLTUND): Likewise.
19952 (FPE_FLTRES): Likewise.
19953 (FPE_FLTINV): Likewise.
19954 (FPE_FLTSUB): Likewise.
19955 (FPE_DECOVF): Likewise.
19956 (FPE_DECDIV): Likewise.
19957 (FPE_DECERR): Likewise.
19958 (FPE_INVASC): Likewise.
19959 (FPE_INVDEC): Likewise.
19960 (SEGV_MAPERR): Likewise.
19961 (SEGV_ACCERR): Likewise.
19962 (SEGV_PSTKOVF): Likewise.
19963 (BUS_ADRALN): Likewise.
19964 (BUS_ADRERR): Likewise.
19965 (BUS_OBJERR): Likewise.
19966 (BUS_MCEERR_AR): Likewise.
19967 (BUS_MCEERR_AO): Likewise.
19968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19969 (TRAP_TRACE): Likewise.
19970 (TRAP_BRANCH): Likewise.
19971 (TRAP_HWBKPT): Likewise.
19972 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19973 __USE_XOPEN2K8].
19974 (CLD_KILLED): Likewise.
19975 (CLD_DUMPED): Likewise.
19976 (CLD_TRAPPED): Likewise.
19977 (CLD_STOPPED): Likewise.
19978 (CLD_CONTINUED): Likewise.
19979 (POLL_IN): Likewise.
19980 (POLL_OUT): Likewise.
19981 (POLL_MSG): Likewise.
19982 (POLL_ERR): Likewise.
19983 (POLL_PRI): Likewise.
19984 (POLL_HUP): Likewise.
19985 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19986 (ILL_ILLOPN): Likewise.
19987 (ILL_ILLADR): Likewise.
19988 (ILL_ILLTRP): Likewise.
19989 (ILL_PRVOPC): Likewise.
19990 (ILL_PRVREG): Likewise.
19991 (ILL_COPROC): Likewise.
19992 (ILL_BADSTK): Likewise.
19993 (FPE_INTDIV): Likewise.
19994 (FPE_INTOVF): Likewise.
19995 (FPE_FLTDIV): Likewise.
19996 (FPE_FLTOVF): Likewise.
19997 (FPE_FLTUND): Likewise.
19998 (FPE_FLTRES): Likewise.
19999 (FPE_FLTINV): Likewise.
20000 (FPE_FLTSUB): Likewise.
20001 (SEGV_MAPERR): Likewise.
20002 (SEGV_ACCERR): Likewise.
20003 (BUS_ADRALN): Likewise.
20004 (BUS_ADRERR): Likewise.
20005 (BUS_OBJERR): Likewise.
20006 (BUS_MCEERR_AR): Likewise.
20007 (BUS_MCEERR_AO): Likewise.
20008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20009 (TRAP_TRACE): Likewise.
20010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20011 __USE_XOPEN2K8].
20012 (CLD_KILLED): Likewise.
20013 (CLD_DUMPED): Likewise.
20014 (CLD_TRAPPED): Likewise.
20015 (CLD_STOPPED): Likewise.
20016 (CLD_CONTINUED): Likewise.
20017 (POLL_IN): Likewise.
20018 (POLL_OUT): Likewise.
20019 (POLL_MSG): Likewise.
20020 (POLL_ERR): Likewise.
20021 (POLL_PRI): Likewise.
20022 (POLL_HUP): Likewise.
20023 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20024 (ILL_ILLOPN): Likewise.
20025 (ILL_ILLADR): Likewise.
20026 (ILL_ILLTRP): Likewise.
20027 (ILL_PRVOPC): Likewise.
20028 (ILL_PRVREG): Likewise.
20029 (ILL_COPROC): Likewise.
20030 (ILL_BADSTK): Likewise.
20031 (FPE_INTDIV): Likewise.
20032 (FPE_INTOVF): Likewise.
20033 (FPE_FLTDIV): Likewise.
20034 (FPE_FLTOVF): Likewise.
20035 (FPE_FLTUND): Likewise.
20036 (FPE_FLTRES): Likewise.
20037 (FPE_FLTINV): Likewise.
20038 (FPE_FLTSUB): Likewise.
20039 (SEGV_MAPERR): Likewise.
20040 (SEGV_ACCERR): Likewise.
20041 (BUS_ADRALN): Likewise.
20042 (BUS_ADRERR): Likewise.
20043 (BUS_OBJERR): Likewise.
20044 (BUS_MCEERR_AR): Likewise.
20045 (BUS_MCEERR_AO): Likewise.
20046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20047 (TRAP_TRACE): Likewise.
20048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20049 __USE_XOPEN2K8].
20050 (CLD_KILLED): Likewise.
20051 (CLD_DUMPED): Likewise.
20052 (CLD_TRAPPED): Likewise.
20053 (CLD_STOPPED): Likewise.
20054 (CLD_CONTINUED): Likewise.
20055 (POLL_IN): Likewise.
20056 (POLL_OUT): Likewise.
20057 (POLL_MSG): Likewise.
20058 (POLL_ERR): Likewise.
20059 (POLL_PRI): Likewise.
20060 (POLL_HUP): Likewise.
20061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20062 (ILL_ILLOPN): Likewise.
20063 (ILL_ILLADR): Likewise.
20064 (ILL_ILLTRP): Likewise.
20065 (ILL_PRVOPC): Likewise.
20066 (ILL_PRVREG): Likewise.
20067 (ILL_COPROC): Likewise.
20068 (ILL_BADSTK): Likewise.
20069 (FPE_INTDIV): Likewise.
20070 (FPE_INTOVF): Likewise.
20071 (FPE_FLTDIV): Likewise.
20072 (FPE_FLTOVF): Likewise.
20073 (FPE_FLTUND): Likewise.
20074 (FPE_FLTRES): Likewise.
20075 (FPE_FLTINV): Likewise.
20076 (FPE_FLTSUB): Likewise.
20077 (SEGV_MAPERR): Likewise.
20078 (SEGV_ACCERR): Likewise.
20079 (BUS_ADRALN): Likewise.
20080 (BUS_ADRERR): Likewise.
20081 (BUS_OBJERR): Likewise.
20082 (BUS_MCEERR_AR): Likewise.
20083 (BUS_MCEERR_AO): Likewise.
20084 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20085 (TRAP_TRACE): Likewise.
20086 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20087 __USE_XOPEN2K8].
20088 (CLD_KILLED): Likewise.
20089 (CLD_DUMPED): Likewise.
20090 (CLD_TRAPPED): Likewise.
20091 (CLD_STOPPED): Likewise.
20092 (CLD_CONTINUED): Likewise.
20093 (POLL_IN): Likewise.
20094 (POLL_OUT): Likewise.
20095 (POLL_MSG): Likewise.
20096 (POLL_ERR): Likewise.
20097 (POLL_PRI): Likewise.
20098 (POLL_HUP): Likewise.
20099 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20100 (ILL_ILLOPN): Likewise.
20101 (ILL_ILLADR): Likewise.
20102 (ILL_ILLTRP): Likewise.
20103 (ILL_PRVOPC): Likewise.
20104 (ILL_PRVREG): Likewise.
20105 (ILL_COPROC): Likewise.
20106 (ILL_BADSTK): Likewise.
20107 (ILL_DBLFLT): Likewise.
20108 (ILL_HARDWALL): Likewise.
20109 (FPE_INTDIV): Likewise.
20110 (FPE_INTOVF): Likewise.
20111 (FPE_FLTDIV): Likewise.
20112 (FPE_FLTOVF): Likewise.
20113 (FPE_FLTUND): Likewise.
20114 (FPE_FLTRES): Likewise.
20115 (FPE_FLTINV): Likewise.
20116 (FPE_FLTSUB): Likewise.
20117 (SEGV_MAPERR): Likewise.
20118 (SEGV_ACCERR): Likewise.
20119 (BUS_ADRALN): Likewise.
20120 (BUS_ADRERR): Likewise.
20121 (BUS_OBJERR): Likewise.
20122 (BUS_MCEERR_AR): Likewise.
20123 (BUS_MCEERR_AO): Likewise.
20124 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20125 (TRAP_TRACE): Likewise.
20126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20127 __USE_XOPEN2K8].
20128 (CLD_KILLED): Likewise.
20129 (CLD_DUMPED): Likewise.
20130 (CLD_TRAPPED): Likewise.
20131 (CLD_STOPPED): Likewise.
20132 (CLD_CONTINUED): Likewise.
20133 (POLL_IN): Likewise.
20134 (POLL_OUT): Likewise.
20135 (POLL_MSG): Likewise.
20136 (POLL_ERR): Likewise.
20137 (POLL_PRI): Likewise.
20138 (POLL_HUP): Likewise.
20139 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20140 (ILL_ILLOPN): Likewise.
20141 (ILL_ILLADR): Likewise.
20142 (ILL_ILLTRP): Likewise.
20143 (ILL_PRVOPC): Likewise.
20144 (ILL_PRVREG): Likewise.
20145 (ILL_COPROC): Likewise.
20146 (ILL_BADSTK): Likewise.
20147 (FPE_INTDIV): Likewise.
20148 (FPE_INTOVF): Likewise.
20149 (FPE_FLTDIV): Likewise.
20150 (FPE_FLTOVF): Likewise.
20151 (FPE_FLTUND): Likewise.
20152 (FPE_FLTRES): Likewise.
20153 (FPE_FLTINV): Likewise.
20154 (FPE_FLTSUB): Likewise.
20155 (SEGV_MAPERR): Likewise.
20156 (SEGV_ACCERR): Likewise.
20157 (BUS_ADRALN): Likewise.
20158 (BUS_ADRERR): Likewise.
20159 (BUS_OBJERR): Likewise.
20160 (BUS_MCEERR_AR): Likewise.
20161 (BUS_MCEERR_AO): Likewise.
20162 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20163 (TRAP_TRACE): Likewise.
20164 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20165 __USE_XOPEN2K8].
20166 (CLD_KILLED): Likewise.
20167 (CLD_DUMPED): Likewise.
20168 (CLD_TRAPPED): Likewise.
20169 (CLD_STOPPED): Likewise.
20170 (CLD_CONTINUED): Likewise.
20171 (POLL_IN): Likewise.
20172 (POLL_OUT): Likewise.
20173 (POLL_MSG): Likewise.
20174 (POLL_ERR): Likewise.
20175 (POLL_PRI): Likewise.
20176 (POLL_HUP): Likewise.
20177 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20178 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20179
20180 [BZ #16670]
20181 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20182 before #include of <time.h>.
20183 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20184 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20185 (test-xfail-UNIX98/sched.h/conform): Likewise.
20186
20187 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20188
20189 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20190 error absence of trapping exception support.
20191 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20192
20193 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20194
20195 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20196 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20197 * timezone/Makefile (testdata): Move definition above include of
20198 Rules.
20199 (test-zones): New variable.
20200 (tests-special): Add zone files.
20201 (build-testdata): Use $(evaluate-test).
20202
20203 * elf/Makefile (tests-special): Rename tests to end with .out.
20204 ($(objpfx)noload-mem): Likewise.
20205 ($(objpfx)tst-leaks1-mem): Likewise.
20206 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20207 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20208 $(objpfx)test-iconvconfig.out.
20209 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20210 set -e inside subshell and redirect output to file.
20211 * iconvdata/Makefile (generated): Rename tests to end with .out.
20212 Correct type.
20213 (tests-special): Rename tests to end with .out.
20214 ($(objpfx)mtrace-tst-loading): Likewise.
20215 * intl/Makefile (generated): Likewise.
20216 (tests-special): Likewise.
20217 ($(objpfx)mtrace-tst-gettext): Likewise.
20218 * misc/Makefile (generated): Likewise.
20219 (tests-special): Likewise.
20220 ($(objpfx)tst-error1-mem): Likewise.
20221 * nptl/Makefile (tests-special): Likewise.
20222 ($(objpfx)tst-stack3-mem): Likewise.
20223 (generated): Likewise.
20224 * posix/Makefile (generated): Likewise.
20225 (tests-special): Likewise.
20226 (xtests-special): Likewise.
20227 ($(objpfx)tst-fnmatch-mem): Likewise.
20228 ($(objpfx)bug-regex2-mem): Likewise.
20229 ($(objpfx)bug-regex14-mem): Likewise.
20230 ($(objpfx)bug-regex21-mem): Likewise.
20231 ($(objpfx)bug-regex31-mem): Likewise.
20232 ($(objpfx)tst-vfork3-mem): Likewise.
20233 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20234 ($(objpfx)tst-pcre-mem): Likewise.
20235 ($(objpfx)tst-boost-mem): Likewise.
20236 ($(objpfx)bug-ga2-mem): Likewise.
20237 ($(objpfx)bug-glob2-mem): Likewise.
20238 * resolv/Makefile (generate): Likewise.
20239 (tests-special): Likewise.
20240 (xtests-special): Likewise.
20241 (generated): Likewise.
20242 ($(objpfx)mtrace-tst-leaks): Likewise.
20243 ($(objpfx)mtrace-tst-leaks2): Likewise.
20244
20245 * scripts/merge-test-results.sh: New file.
20246 * Makefile (tests-special-notdir): New variable.
20247 (tests): Run merge-test-results.sh.
20248 (xtests): Likewise.
20249 * Rules (tests-special-notdir): New variable.
20250 (xtests-special-notdir): Likewise.
20251 (tests): Run merge-test-results.sh
20252 (xtests): Likewise.
20253
20254 * Makeconfig (test-xfail-name): New variable.
20255 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20256 compute variable name for expected failures.
20257 * conform/Makefile (conformtest-headers-data): New variable.
20258 (conformtest-standards): Likewise.
20259 (conformtest-headers-ISO): Likewise.
20260 (conformtest-headers-ISO99): Likewise.
20261 (conformtest-headers-ISO11): Likewise.
20262 (conformtest-headers-POSIX): Likewise.
20263 (conformtest-headers-XPG3): Likewise.
20264 (conformtest-headers-XPG4): Likewise.
20265 (conformtest-headers-UNIX98): Likewise.
20266 (conformtest-headers-XOPEN2K): Likewise.
20267 (conformtest-headers-POSIX2008): Likewise.
20268 (conformtest-headers-XOPEN2K8): Likewise.
20269 (conformtest-header-list-base): Likewise.
20270 (conformtest-header-list-tests): Likewise.
20271 (conformtest-header-base): Likewise.
20272 (conformtest-header-tests): Likewise.
20273 (tests-special): Add $(conformtest-header-list-tests). If
20274 [$(fast-check) && !$(cross-compiling)], add
20275 $(conformtest-header-tests) instead of
20276 $(objpfx)run-conformtest.out.
20277 (generated): Add $(conformtest-header-list-base). If
20278 [$(fast-check) && !$(cross-compiling)], add
20279 $(conformtest-header-base). Remove previous setting.
20280 ($(conformtest-header-list-tests)): New target.
20281 (test-xfail-run-conformtest): Remove variable.
20282 ($(objpfx)run-conformtest.out): Remove target.
20283 (test-xfail-ISO11/complex.h/conform): New variable.
20284 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20285 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20286 (test-xfail-XPG3/varargs.h/conform): Likewise.
20287 (test-xfail-XPG4/varargs.h/conform): Likewise.
20288 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20289 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20290 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20291 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20292 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20293 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20294 (test-xfail-XPG3/ftw.h/conform): Likewise.
20295 (test-xfail-XPG3/grp.h/conform): Likewise.
20296 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20297 (test-xfail-XPG3/limits.h/conform): Likewise.
20298 (test-xfail-XPG3/pwd.h/conform): Likewise.
20299 (test-xfail-XPG3/search.h/conform): Likewise.
20300 (test-xfail-XPG3/signal.h/conform): Likewise.
20301 (test-xfail-XPG3/stdio.h/conform): Likewise.
20302 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20303 (test-xfail-XPG3/string.h/conform): Likewise.
20304 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20305 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20306 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20307 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20308 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20309 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20310 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20311 (test-xfail-XPG3/termios.h/conform): Likewise.
20312 (test-xfail-XPG3/time.h/conform): Likewise.
20313 (test-xfail-XPG3/unistd.h/conform): Likewise.
20314 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20315 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20316 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20317 (test-xfail-XPG4/netdb.h/conform): Likewise.
20318 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20319 (test-xfail-XPG4/signal.h/conform): Likewise.
20320 (test-xfail-XPG4/stdio.h/conform): Likewise.
20321 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20322 (test-xfail-XPG4/stropts.h/conform): Likewise.
20323 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20324 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20325 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20326 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20327 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20328 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20329 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20330 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20331 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20332 (test-xfail-XPG4/termios.h/conform): Likewise.
20333 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20334 (test-xfail-XPG4/unistd.h/conform): Likewise.
20335 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20336 (test-xfail-POSIX/sched.h/conform): Likewise.
20337 (test-xfail-POSIX/signal.h/conform): Likewise.
20338 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20339 (test-xfail-POSIX/tar.h/conform): Likewise.
20340 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20341 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20342 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20343 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20344 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20345 (test-xfail-UNIX98/sched.h/conform): Likewise.
20346 (test-xfail-UNIX98/signal.h/conform): Likewise.
20347 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20348 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20349 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20350 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20351 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20352 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20353 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20354 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20355 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20356 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20357 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20358 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20359 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20360 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20361 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20362 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20363 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20364 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20365 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20366 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20367 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20368 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20369 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20370 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20371 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20372 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20373 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20374 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20375 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20376 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20377 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20378 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20379 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20380 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20381 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20382 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20383 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20384 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20385 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20386 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20387 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20388 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20389 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20390 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20391 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20392 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20393 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20394 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20395 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20396 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20397 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20398 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20399 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20400 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20401 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20402 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20403 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20404 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20405 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20406 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20407 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20408 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20409 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20410 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20411 (conformtest-cc-flags): Likewise.
20412 ($(conformtest-header-tests): New target.
20413 * conform/check-header-lists.sh: New file.
20414 * conform/run-conformtest.sh: Remove.
20415
20416 * conform/conformtest.pl: Allow ' and \ in values given for
20417 constants.
20418 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20419 inclusion.
20420 [POSIX] (sys/types.h): Likewise.
20421 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20422 inclusion.
20423 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20424 inclusion.
20425 * conform/data/signal.h-data (SIGIO): Remove expectation.
20426 [XPG3] (SIGBUS): Do not expect.
20427 [POSIX || XPG3] (SIGPOLL): Likewise.
20428 [POSIX || XPG3] (SIGPROF): Likewise.
20429 [POSIX || XPG3] (SIGSYS): Likewise.
20430 [XPG3] (SIGTRAP): Likewise.
20431 [POSIX || XPG3] (SIGURG): Likewise.
20432 [POSIX || XPG3] (SIGVTALRM): Likewise.
20433 [POSIX || XPG3] (SIGXCPU): Likewise.
20434 [POSIX || XPG3] (SIGXFSZ): Likewise.
20435 [POSIX] (SA_SIGINFO): Expect.
20436 [XPG3] (siginfo_t): Do not expect type or contents.
20437 [POSIX] (si_pid): Do not expect element.
20438 [POSIX] (si_uid): Likewise.
20439 [POSIX] (si_addr): Likewise.
20440 [POSIX] (si_status): Likewise.
20441 [POSIX] (si_band): Likewise.
20442 [XPG4] (si_value): Likewise.
20443 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20444 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20445 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20446 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20447 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20448 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20449 [POSIX || XPG3] (ILL_COPROC): Likewise.
20450 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20451 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20452 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20453 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20454 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20455 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20456 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20457 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20458 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20459 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20460 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20461 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20462 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20463 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20464 [POSIX || XPG3] (CLD_EXITED): Likewise.
20465 [POSIX || XPG3] (CLD_KILLED): Likewise.
20466 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20467 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20468 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20469 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20470 [POSIX || XPG3] (POLL_IN): Likewise.
20471 [POSIX || XPG3] (POLL_OUT): Likewise.
20472 [POSIX || XPG3] (POLL_MSG): Likewise.
20473 [POSIX || XPG3] (POLL_ERR): Likewise.
20474 [POSIX || XPG3] (POLL_PRI): Likewise.
20475 [POSIX || XPG3] (POLL_HUP): Likewise.
20476 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20477 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20478 (SIG*): Do not allow.
20479 [XPG3] (si_*): Likewise.
20480 [XPG3] (SI_*): Likewise.
20481 [XPG3 || XPG4] (sigev_*): Likewise.
20482 [XPG3 || XPG4] (SIGEV_*): Likewise.
20483 [XPG3 || XPG4] (sival_*): Likewise.
20484 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20485 [POSIX || XPG3] (BUS_*): Likewise.
20486 [POSIX || XPG3] (CLD_*): Likewise.
20487 [POSIX || XPG3] (FPE_*): Likewise.
20488 [POSIX || XPG3] (ILL_*): Likewise.
20489 [POSIX || XPG3] (POLL_*): Likewise.
20490 [POSIX || XPG3] (SEGV_*): Likewise.
20491 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20492 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20493 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20494 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20495 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20496 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20497 Specify type and value.
20498 (TVERSLEN): Likewise.
20499 (REGTYPE): Likewise.
20500 (AREGTYPE): Likewise.
20501 (LNKTYPE): Likewise.
20502 (SYMTYPE): Likewise.
20503 (CHRTYPE): Likewise.
20504 (BLKTYPE): Likewise.
20505 (DIRTYPE): Likewise.
20506 (FIFOTYPE): Likewise.
20507 (CONTTYPE): Likewise.
20508 (TSUID): Likewise.
20509 (TSGID): Likewise.
20510 (TSVTX): Likewise.
20511 (TUREAD): Likewise.
20512 (TUWRITE): Likewise.
20513 (TUEXEC): Likewise.
20514 (TGREAD): Likewise.
20515 (TGWRITE): Likewise.
20516 (TGEXEC): Likewise.
20517 (TOREAD): Likewise.
20518 (TOWRITE): Likewise.
20519 (TOEXEC): Likewise.
20520 [POSIX] (TSVTX): Expect constant.
20521
20522 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20523
20524 * Makefile (tests): Change dependencies to ....
20525 (tests-special): ... additions to this variable.
20526 (tests): Depend on $(tests-special).
20527 * Makerules (check-abi-list): New variable.
20528 (check-abi): Depend on $(check-abi-list).
20529 [$(subdir) = elf] (tests-special): Add
20530 $(objpfx)check-abi-libc.out.
20531 [$(build-shared) = yes && subdir] (tests-special): Add
20532 $(check-abi-list).
20533 [$(build-shared) = yes && subdir] (tests): Do not depend on
20534 check-abi.
20535 * Rules (tests): Depend on $(tests-special).
20536 (xtests): Depend on $(xtests-special).
20537 * catgets/Makefile (tests): Change dependencies to ....
20538 (tests-special): ... additions to this variable.
20539 * conform/Makefile (tests): Change dependencies to ....
20540 (tests-special): ... additions to this variable.
20541 * elf/Makefile (tests): Change dependencies to ....
20542 (tests-special): ... additions to this variable.
20543 * grp/Makefile (tests): Change dependencies to ....
20544 (tests-special): ... additions to this variable.
20545 * iconv/Makefile (xtests): Change dependencies to ....
20546 (xtests-special): ... additions to this variable.
20547 * iconvdata/Makefile (tests): Change dependencies to ....
20548 (tests-special): ... additions to this variable.
20549 * intl/Makefile (tests): Change dependencies to ....
20550 (tests-special): ... additions to this variable. Also add
20551 $(objpfx)tst-gettext.out.
20552 * io/Makefile (tests): Change dependencies to ....
20553 (tests-special): ... additions to this variable.
20554 * libio/Makefile (tests): Change dependencies to ....
20555 (tests-special): ... additions to this variable.
20556 * malloc/Makefile (tests): Change dependencies to ....
20557 (tests-special): ... additions to this variable.
20558 * misc/Makefile (tests): Change dependencies to ....
20559 (tests-special): ... additions to this variable.
20560 * nptl/Makefile (tests): Change dependencies to ....
20561 (tests-special): ... additions to this variable.
20562 * nptl_db/Makefile (tests): Change dependencies to ....
20563 (tests-special): ... additions to this variable.
20564 * posix/Makefile (tests): Change dependencies to ....
20565 (tests-special): ... additions to this variable.
20566 (xtests): Change dependencies to ....
20567 (xtests-special): ... additions to this variable.
20568 * resolv/Makefile (tests): Change dependencies to ....
20569 (tests-special): ... additions to this variable.
20570 (xtests): Change dependencies to ....
20571 (xtests-special): ... additions to this variable.
20572 * stdio-common/Makefile (tests): Change dependencies to ....
20573 (tests-special): ... additions to this variable.
20574 (do-tst-unbputc): Remove target.
20575 (do-tst-printf): Likewise.
20576 * stdlib/Makefile (tests): Change dependencies to ....
20577 (tests-special): ... additions to this variable.
20578 * string/Makefile (tests): Change dependencies to ....
20579 (tests-special): ... additions to this variable.
20580 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20581 (tests-special): ... additions to this variable.
20582
20583 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20584 whole file.
20585 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20586 whole file.
20587 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20588 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20589
20590 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20591 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20592 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20593 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20594 * conform/data/libgen.h-data [XPG3]: Likewise.
20595 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20596 * conform/data/ndbm.h-data [XPG3]: Likewise.
20597 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20598 * conform/data/netdb.h-data [XPG3]: Likewise.
20599 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20600 * conform/data/poll.h-data [XPG3]: Likewise.
20601 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20602 * conform/data/strings.h-data [XPG3]: Likewise.
20603 * conform/data/stropts.h-data [XPG3]: Likewise.
20604 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20605 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20606 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20607 Likewise.
20608 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20609 * conform/data/sys/time.h-data [XPG3]: Likewise.
20610 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20611 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20612 * conform/data/sys/un.h-data [XPG3]: Likewise.
20613 * conform/data/syslog.h-data [XPG3]: Likewise.
20614 * conform/data/ucontext.h-data [XPG3]: Likewise.
20615 * conform/data/utmpx.h-data [XPG3]: Likewise.
20616 * conform/data/varargs.h-data [UNIX98]: Enable file.
20617
20618 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20619
20620 * math/libm-test.inc (struct test_f_f_data): Move expected results
20621 into structure for each rounding mode.
20622 (struct test_ff_f_data): Likewise.
20623 (struct test_ff_f_data_nexttoward): Likewise.
20624 (struct test_fi_f_data): Likewise.
20625 (struct test_fl_f_data): Likewise.
20626 (struct test_if_f_data): Likewise.
20627 (struct test_fff_f_data): Likewise.
20628 (struct test_c_f_data): Likewise.
20629 (struct test_f_f1_data): Likewise.
20630 (struct test_fF_f1_data): Likewise.
20631 (struct test_ffI_f1_data): Likewise.
20632 (struct test_c_c_data): Likewise.
20633 (struct test_cc_c_data): Likewise.
20634 (struct test_f_i_data): Likewise.
20635 (struct test_ff_i_data): Likewise.
20636 (struct test_f_l_data): Likewise.
20637 (struct test_f_L_data): Likewise.
20638 (struct test_fFF_11_data): Likewise.
20639 (RM_): New macro.
20640 (RM_FE_DOWNWARD): Likewise.
20641 (RM_FE_TONEAREST): Likewise.
20642 (RM_FE_TOWARDZERO): Likewise.
20643 (RM_FE_UPWARD): Likewise.
20644 (RUN_TEST_LOOP_f_f): Update references to expected results.
20645 (RUN_TEST_LOOP_2_f): Likewise.
20646 (RUN_TEST_LOOP_fff_f): Likewise.
20647 (RUN_TEST_LOOP_c_f): Likewise.
20648 (RUN_TEST_LOOP_f_f1): Likewise.
20649 (RUN_TEST_LOOP_fF_f1): Likewise.
20650 (RUN_TEST_LOOP_fI_f1): Likewise.
20651 (RUN_TEST_LOOP_ffI_f1): Likewise.
20652 (RUN_TEST_LOOP_c_c): Likewise.
20653 (RUN_TEST_LOOP_cc_c): Likewise.
20654 (RUN_TEST_LOOP_f_i): Likewise.
20655 (RUN_TEST_LOOP_f_i_tg): Likewise.
20656 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20657 (RUN_TEST_LOOP_f_b): Likewise.
20658 (RUN_TEST_LOOP_f_b_tg): Likewise.
20659 (RUN_TEST_LOOP_f_l): Likewise.
20660 (RUN_TEST_LOOP_f_L): Likewise.
20661 (RUN_TEST_LOOP_fFF_11): Likewise.
20662 * math/gen-libm-test.pl (parse_args): Output four copies of
20663 expected results for each test.
20664
20665 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20666 (__ASSUME_UTIMES): Remove.
20667 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20668 (__ASSUME_UTIMES): Likewise.
20669
20670 * math/gen-auto-libm-tests.c: Update comment on output format.
20671 (output_for_one_input_case): Generate before-rounding and
20672 after-rounding information as conditions on output flags not
20673 floating-point format.
20674 * math/auto-libm-test-out: Regenerated.
20675 * math/gen-libm-test.pl (cond_value): New function.
20676 (or_cond_value): Use cond_value.
20677 (generate_testfile): Handle conditional exceptions.
20678
20679 2014-03-05 Joseph Myers <joseph@codesourcery.com>
20680
20681 * math/libm-test.inc (max_valid_error): New variable.
20682 (init_max_error): Take new argument specifying whether function
20683 results are exactly determined. Set max_valid_error and bound
20684 other variables for errors based on this argument.
20685 (set_max_error): Do not record results above max_valid_error.
20686 (check_float_internal): Only accept errors of up to 0.5ulps if
20687 also at most max_valid_error.
20688 (START): Take new argument EXACT and pass it to init_max_error.
20689 (acos_test): Update call to START.
20690 (acos_test_tonearest): Likewise.
20691 (acos_test_towardzero): Likewise.
20692 (acos_test_downward): Likewise.
20693 (acos_test_upward): Likewise.
20694 (acosh_test): Likewise.
20695 (asin_test): Likewise.
20696 (asin_test_tonearest): Likewise.
20697 (asin_test_towardzero): Likewise.
20698 (asin_test_downward): Likewise.
20699 (asin_test_upward): Likewise.
20700 (asinh_test): Likewise.
20701 (atan_test): Likewise.
20702 (atanh_test): Likewise.
20703 (atan2_test): Likewise.
20704 (cabs_test): Likewise.
20705 (cacos_test): Likewise.
20706 (cacosh_test): Likewise.
20707 (carg_test): Likewise.
20708 (casin_test): Likewise.
20709 (casinh_test): Likewise.
20710 (catan_test): Likewise.
20711 (catanh_test): Likewise.
20712 (cbrt_test): Likewise.
20713 (ccos_test): Likewise.
20714 (ccosh_test): Likewise.
20715 (ceil_test): Likewise.
20716 (cexp_test): Likewise.
20717 (cimag_test): Likewise.
20718 (clog_test): Likewise.
20719 (clog10_test): Likewise.
20720 (conj_test): Likewise.
20721 (copysign_test): Likewise.
20722 (cos_test): Likewise.
20723 (cos_test_tonearest): Likewise.
20724 (cos_test_towardzero): Likewise.
20725 (cos_test_downward): Likewise.
20726 (cos_test_upward): Likewise.
20727 (cosh_test): Likewise.
20728 (cosh_test_tonearest): Likewise.
20729 (cosh_test_towardzero): Likewise.
20730 (cosh_test_downward): Likewise.
20731 (cosh_test_upward): Likewise.
20732 (cpow_test): Likewise.
20733 (cproj_test): Likewise.
20734 (creal_test): Likewise.
20735 (csin_test): Likewise.
20736 (csinh_test): Likewise.
20737 (csqrt_test): Likewise.
20738 (ctan_test): Likewise.
20739 (ctan_test_tonearest): Likewise.
20740 (ctan_test_towardzero): Likewise.
20741 (ctan_test_downward): Likewise.
20742 (ctan_test_upward): Likewise.
20743 (ctanh_test): Likewise.
20744 (ctanh_test_tonearest): Likewise.
20745 (ctanh_test_towardzero): Likewise.
20746 (ctanh_test_downward): Likewise.
20747 (ctanh_test_upward): Likewise.
20748 (erf_test): Likewise.
20749 (erfc_test): Likewise.
20750 (exp_test): Likewise.
20751 (exp_test_tonearest): Likewise.
20752 (exp_test_towardzero): Likewise.
20753 (exp_test_downward): Likewise.
20754 (exp_test_upward): Likewise.
20755 (exp10_test): Likewise.
20756 (exp10_test_tonearest): Likewise.
20757 (exp10_test_towardzero): Likewise.
20758 (exp10_test_downward): Likewise.
20759 (exp10_test_upward): Likewise.
20760 (pow10_test): Likewise.
20761 (exp2_test): Likewise.
20762 (expm1_test): Likewise.
20763 (expm1_test_tonearest): Likewise.
20764 (expm1_test_towardzero): Likewise.
20765 (expm1_test_downward): Likewise.
20766 (expm1_test_upward): Likewise.
20767 (fabs_test): Likewise.
20768 (fdim_test): Likewise.
20769 (floor_test): Likewise.
20770 (fma_test): Likewise.
20771 (fma_test_towardzero): Likewise.
20772 (fma_test_downward): Likewise.
20773 (fma_test_upward): Likewise.
20774 (fmax_test): Likewise.
20775 (fmin_test): Likewise.
20776 (fmod_test): Likewise.
20777 (fpclassify_test): Likewise.
20778 (frexp_test): Likewise.
20779 (hypot_test): Likewise.
20780 (ilogb_test): Likewise.
20781 (isfinite_test): Likewise.
20782 (finite_test): Likewise.
20783 (isgreater_test): Likewise.
20784 (isgreaterequal_test): Likewise.
20785 (isinf_test): Likewise.
20786 (isless_test): Likewise.
20787 (islessequal_test): Likewise.
20788 (islessgreater_test): Likewise.
20789 (isnan_test): Likewise.
20790 (isnormal_test): Likewise.
20791 (issignaling_test): Likewise.
20792 (isunordered_test): Likewise.
20793 (j0_test): Likewise.
20794 (j1_test): Likewise.
20795 (jn_test): Likewise.
20796 (ldexp_test): Likewise.
20797 (lgamma_test): Likewise.
20798 (gamma_test): Likewise.
20799 (lrint_test): Likewise.
20800 (lrint_test_tonearest): Likewise.
20801 (lrint_test_towardzero): Likewise.
20802 (lrint_test_downward): Likewise.
20803 (lrint_test_upward): Likewise.
20804 (llrint_test): Likewise.
20805 (llrint_test_tonearest): Likewise.
20806 (llrint_test_towardzero): Likewise.
20807 (llrint_test_downward): Likewise.
20808 (llrint_test_upward): Likewise.
20809 (log_test): Likewise.
20810 (log10_test): Likewise.
20811 (log1p_test): Likewise.
20812 (log2_test): Likewise.
20813 (logb_test): Likewise.
20814 (logb_test_downward): Likewise.
20815 (lround_test): Likewise.
20816 (llround_test): Likewise.
20817 (modf_test): Likewise.
20818 (nearbyint_test): Likewise.
20819 (nextafter_test): Likewise.
20820 (nexttoward_test): Likewise.
20821 (pow_test): Likewise.
20822 (pow_test_tonearest): Likewise.
20823 (pow_test_towardzero): Likewise.
20824 (pow_test_downward): Likewise.
20825 (pow_test_upward): Likewise.
20826 (remainder_test): Likewise.
20827 (drem_test): Likewise.
20828 (remainder_test_tonearest): Likewise.
20829 (drem_test_tonearest): Likewise.
20830 (remainder_test_towardzero): Likewise.
20831 (drem_test_towardzero): Likewise.
20832 (remainder_test_downward): Likewise.
20833 (drem_test_downward): Likewise.
20834 (remainder_test_upward): Likewise.
20835 (drem_test_upward): Likewise.
20836 (remquo_test): Likewise.
20837 (rint_test): Likewise.
20838 (rint_test_tonearest): Likewise.
20839 (rint_test_towardzero): Likewise.
20840 (rint_test_downward): Likewise.
20841 (rint_test_upward): Likewise.
20842 (round_test): Likewise.
20843 (scalb_test): Likewise.
20844 (scalbn_test): Likewise.
20845 (scalbln_test): Likewise.
20846 (signbit_test): Likewise.
20847 (sin_test): Likewise.
20848 (sin_test_tonearest): Likewise.
20849 (sin_test_towardzero): Likewise.
20850 (sin_test_downward): Likewise.
20851 (sin_test_upward): Likewise.
20852 (sincos_test): Likewise.
20853 (sinh_test): Likewise.
20854 (sinh_test_tonearest): Likewise.
20855 (sinh_test_towardzero): Likewise.
20856 (sinh_test_downward): Likewise.
20857 (sinh_test_upward): Likewise.
20858 (sqrt_test): Likewise.
20859 (sqrt_test_tonearest): Likewise.
20860 (sqrt_test_towardzero): Likewise.
20861 (sqrt_test_downward): Likewise.
20862 (sqrt_test_upward): Likewise.
20863 (tan_test): Likewise.
20864 (tan_test_tonearest): Likewise.
20865 (tan_test_towardzero): Likewise.
20866 (tan_test_downward): Likewise.
20867 (tan_test_upward): Likewise.
20868 (tanh_test): Likewise.
20869 (tgamma_test): Likewise.
20870 (trunc_test): Likewise.
20871 (y0_test): Likewise.
20872 (y1_test): Likewise.
20873 (yn_test): Likewise.
20874 (significand_test): Likewise.
20875
20876 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20877 individual tests in comment.
20878 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20879 (prev_max_error): New variable.
20880 (prev_real_max_error): Likewise.
20881 (prev_imag_max_error): Likewise.
20882 (compare_ulp_data): Don't refer to test names in comment.
20883 (find_test_ulps): Remove function.
20884 (find_function_ulps): Likewise.
20885 (find_complex_function_ulps): Likewise.
20886 (init_max_error): Take function name as argument. Look up ulps
20887 for that function.
20888 (print_ulps): Remove function.
20889 (print_max_error): Use prev_max_error instead of calling
20890 find_function_ulps.
20891 (print_complex_max_error): Use prev_real_max_error and
20892 prev_imag_max_error instead of calling find_complex_function_ulps.
20893 (check_float_internal): Take max_ulp parameter instead of calling
20894 find_test_ulps. Don't call print_ulps.
20895 (check_float): Update call to check_float_internal.
20896 (check_complex): Update calls to check_float_internal.
20897 (START): Pass argument to init_max_error.
20898 * math/gen-libm-test.pl (%results): Don't include "kind"
20899 information.
20900 (parse_ulps): Don't handle ulps of individual tests.
20901 (print_ulps_file): Likewise.
20902 (output_ulps): Likewise.
20903 * math/README.libm-test: Update.
20904 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20905 individual tests.
20906 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20907 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20908 * sysdeps/arm/libm-test-ulps: Likewise.
20909 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20910 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20911 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20912 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20913 * sysdeps/microblaze/libm-test-ulps: Likewise.
20914 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20915 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20917 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20918 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20919 * sysdeps/sh/libm-test-ulps: Likewise.
20920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20921 * sysdeps/tile/libm-test-ulps: Likewise.
20922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20923
20924 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20925
20926 * math/libm-test.inc (print_complex_max_error): Check separately
20927 whether real and imaginary errors are within allowed range and
20928 pass 0 to print_complex_function_ulps instead of value within
20929 allowed range.
20930
20931 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20932
20933 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20934 formatting.
20935 (get_handles_fopen): Likewise.
20936 (do_write_test): Likewise.
20937
20938 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20939
20940 * libio/fileops.c (do_ftell): Use cached offset when
20941 available.
20942 * libio/iofwide.c (do_ftell_wide): Likewise.
20943 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20944 _IO_file_attach.
20945 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20946
20947 [BZ #16532]
20948 * libio/libioP.h (get_file_offset): New function.
20949 * libio/fileops.c (get_file_offset): Likewise.
20950 (do_ftell): Likewise.
20951 (_IO_new_file_seekoff): Split out ftell logic.
20952 * libio/wfileops.c (do_ftell_wide): Likewise.
20953 (_IO_wfile_seekoff): Split out ftell logic.
20954 * libio/tst-ftell-active-handler.c: New test case.
20955 * libio/Makefile (tests): Add it.
20956
20957 2014-03-03 Roland McGrath <roland@hack.frob.com>
20958
20959 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20960 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20961
20962 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
20964 [BZ #16639]
20965 * nscd/connections.c (nscd_init): Call do_exit.
20966 (start_threads): Call do_exit and notify_parent.
20967 (begin_drop_privileges): Call do_exit.
20968 (finish_drop_privileges): Likewise.
20969 * nscd/selinux.c (preserve_capabilities): Likewise.
20970 (install_real_capabilities): Likewise.
20971 (nscd_selinux_enabled): Likewise.
20972 (avc_create_thread): Likewise.
20973 (avc_alloc_lock): Likewise.
20974 (nscd_avc_init): Likewise.
20975 * nscd/nscd.c (parent_fd): New static variable.
20976 (main): Create a pipe between parent and child processes.
20977 Skip closing parent_fd.
20978 (monitor_child): New function.
20979 (do_exit): Likewise.
20980 (notify_parent): Likewise.
20981 * nscd/nscd.h (notify_parent): Likewise.
20982 (do_exit): Likewise.
20983
20984 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20985
20986 * malloc/malloc.c (__libc_calloc): Revert last change.
20987
20988 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20989
20990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20991
20992 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20993
20994 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20996 implementation.
20997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20998 (__libc_ifunc_impl_list): Likewise.
20999 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21000 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21001 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21002 * string/strrchr.c: Define STRRCHR.
21003
21004 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21005
21006 * benchtest/bench-strtok.c (simple_strtok): Delete.
21007 (strtok_string): Use as benchmark.
21008 * string/strtok (STRTOK): New macro.
21009
21010 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21011
21012 * manual/threads.texi: Add header and standard comments to all
21013 functions.
21014
21015 * elf/dl-lookup.c (check_match): New function.
21016 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21017 (do_lookup_x): Remove nested function check_match. Use non-nested
21018 function check_match.
21019
21020 2014-02-28 Roland McGrath <roland@hack.frob.com>
21021
21022 * csu/Makefile (generated, before-compile): Use += rather than =.
21023 * catgets/Makefile (generated, generated-dirs): Likewise.
21024 * debug/Makefile (generated): Likewise.
21025 * dlfcn/Makefile (generated): Likewise.
21026 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21027 * iconvdata/Makefile (before-compile, generated): Likewise.
21028 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21029 * libio/Makefile (generated): Likewise.
21030 * malloc/Makefile (generated): Likewise.
21031 * manual/Makefile (generated, generated-dirs): Likewise.
21032 * misc/Makefile (generated): Likewise.
21033 * posix/Makefile (generated): Likewise.
21034 * resolv/Makefile (generated): Likewise.
21035 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21036 * timezone/Makefile (generated, generated-dirs): Likewise.
21037
21038 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21039
21040 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21041
21042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21043 power8 implementation.
21044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21045 file: POWER8 llround ifunc implementation.
21046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21047 (__lllround): Add POWER8 implementation.
21048 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21049 POWER8 llround implementation.
21050
21051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21052 power8 implementation.
21053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21054 file: POWER8 llrint ifunc implementation.
21055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21056 Add POWER8 implementation.
21057 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21058 POWER8 llrint implementation.
21059
21060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21061 power8 implementation.
21062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21063 file: POWER8 finite ifunc implementation.
21064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21065 Add POWER8 implementation.
21066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21067 Likewise.
21068 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21069 POWER8 finite implementation.
21070 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21071
21072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21073 power8 implementation.
21074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21075 file: POWER8 isinf ifunc implementation.
21076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21077 POWER8 implementation.
21078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21079 Likewise.
21080 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21081 isinf implementation.
21082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21083
21084 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21085 (INIT_ARCH): Add hwcap2 initialization.
21086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21087 power8 implementation.
21088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21089 file: POWER8 isnan ifunc implementation.
21090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21091 POWER8 implementation.
21092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21093 Likewise.
21094 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21095 isnan implementation.
21096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21097
21098 2014-02-27 Joey Ye <joey.ye@arm.com>
21099
21100 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21101 (_FP_NANFRAC_Q): Set to zero.
21102
21103 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21104
21105 [BZ #16623]
21106 * math/auto-libm-test-in: New test inputs.
21107 * math/auto-libm-test-out: Regenerate.
21108 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21109 and DA.
21110 (__cos): Likewise.
21111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21112
21113 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21114
21115 * scripts/evaluate-test.sh: Take new argument indicating whether
21116 failure is expected.
21117 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21118 indicating whether failure is expected.
21119 * conform/Makefile (test-xfail-run-conformtest): New variable.
21120 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21121 level.
21122 * posix/Makefile (test-xfail-annexc): New variable.
21123 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21124
21125 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21126
21127 * argp/Makefile: Include Makeconfig immediately after defining
21128 subdir.
21129 * assert/Makefile: Likewise.
21130 * benchtests/Makefile: Likewise.
21131 * catgets/Makefile: Likewise.
21132 * conform/Makefile: Likewise.
21133 * crypt/Makefile: Likewise.
21134 * csu/Makefile: Likewise.
21135 (all): Remove target.
21136 * ctype/Makefile: Include Makeconfig immediately after defining
21137 subdir.
21138 * debug/Makefile: Likewise.
21139 * dirent/Makefile: Likewise.
21140 * dlfcn/Makefile: Likewise.
21141 * gmon/Makefile: Likewise.
21142 * gnulib/Makefile: Likewise.
21143 * grp/Makefile: Likewise.
21144 * gshadow/Makefile: Likewise.
21145 * hesiod/Makefile: Likewise.
21146 * hurd/Makefile: Likewise.
21147 (all): Remove target.
21148 * iconvdata/Makefile: Include Makeconfig immediately after
21149 defining subdir.
21150 * inet/Makefile: Likewise.
21151 * intl/Makefile: Likewise.
21152 * io/Makefile: Likewise.
21153 * libio/Makefile: Likewise.
21154 (all): Remove target.
21155 * locale/Makefile: Include Makeconfig immediately after defining
21156 subdir.
21157 * login/Makefile: Likewise.
21158 * mach/Makefile: Likewise.
21159 (all): Remove target.
21160 * malloc/Makefile: Include Makeconfig immediately after defining
21161 subdir.
21162 (all): Remove target.
21163 * manual/Makefile: Include Makeconfig immediately after defining
21164 subdir.
21165 * math/Makefile: Likewise.
21166 * misc/Makefile: Likewise.
21167 * nis/Makefile: Likewise.
21168 * nss/Makefile: Likewise.
21169 * po/Makefile: Likewise.
21170 (all): Remove target.
21171 * posix/Makefile: Include Makeconfig immediately after defining
21172 subdir.
21173 * pwd/Makefile: Likewise.
21174 * resolv/Makefile: Likewise.
21175 * resource/Makefile: Likewise.
21176 * rt/Makefile: Likewise.
21177 * setjmp/Makefile: Likewise.
21178 * shadow/Makefile: Likewise.
21179 * signal/Makefile: Likewise.
21180 * socket/Makefile: Likewise.
21181 * soft-fp/Makefile: Likewise.
21182 * stdio-common/Makefile: Likewise.
21183 * stdlib/Makefile: Likewise.
21184 * streams/Makefile: Likewise.
21185 * string/Makefile: Likewise.
21186 * sunrpc/Makefile: Likewise.
21187 (all): Remove target.
21188 * sysvipc/Makefile: Include Makeconfig immediately after defining
21189 subdir.
21190 * termios/Makefile: Likewise.
21191 * time/Makefile: Likewise.
21192 * timezone/Makefile: Likewise.
21193 (all): Remove target.
21194 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21195 subdir.
21196 * wctype/Makefile: Likewise.
21197
21198 2014-02-26 Steve Ellcey <sellcey@mips.com>
21199
21200 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21201 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21202 (libc_feholdexcept_setround_mips): Ditto.
21203 (libc_feholdsetround): New.
21204 (libc_feholdsetroundf): New.
21205 (libc_feholdsetroundl): New.
21206 (libc_feupdateenv_test_mips): New.
21207 (libc_feupdateenv_test): New.
21208 (libc_feupdateenv_testf): New.
21209 (libc_feupdateenv_testl): New.
21210 (libc_feresetround): New.
21211 (libc_feresetroundf): New.
21212 (libc_feresetroundl): New.
21213 (libc_fetestexcept_mips): New.
21214 (libc_fetestexcept): New.
21215 (libc_fetestexceptf): New.
21216 (libc_fetestexceptl): New.
21217 (HAVE_RM_CTX): New.
21218 (libc_feholdexcept_setround_mips_ctx): New.
21219 (libc_feholdexcept_setround_ctx): New.
21220 (libc_feholdexcept_setroundf_ctx): New.
21221 (libc_feholdexcept_setroundl_ctx): New.
21222 (libc_fesetenv_mips_ctx): New.
21223 (libc_fesetenv_ctx): New.
21224 (libc_fesetenv_ctxf): New.
21225 (libc_fesetenv_ctxl): New.
21226 (libc_feupdateenv_mips_ctx): New.
21227 (libc_feupdateenv_ctx): New.
21228 (libc_feupdateenvf_ctx): New.
21229 (libc_feupdateenvl_ctx): New.
21230 (libc_feholdsetround_mips_ctx): New.
21231 (libc_feholdsetround_ctx): New.
21232 (libc_feholdsetroundf_ctx): New.
21233 (libc_feholdsetroundl_ctx): New.
21234 (libc_feresetround_mips_ctx): New.
21235 (libc_feresetround_ctx): New.
21236 (libc_feresetroundf_ctx): New.
21237 (libc_feresetroundl_ctx): New.
21238
21239 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21240
21241 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21242
21243 * manual/ipc.texi: New file.
21244 * manual/Makefile (chapters): Add ipc.
21245 * manual/job.texi: Add "Inter-Process Communication" to next.
21246 * manual/process.texi: Add "Inter-Process Communication" to prev.
21247
21248 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21249
21250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21251
21252 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21253
21254 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21255
21256 * manual/arith.texi: Fix spaces after sentences.
21257 * manual/charset.texi: Likewise.
21258 * manual/errno.texi: Likewise.
21259 * manual/install.texi: Likewise.
21260 * manual/llio.texi: Likewise.
21261 * manual/locale.texi: Likewise.
21262 * manual/maint.texi: Likewise.
21263 * manual/math.texi: Likewise.
21264 * manual/memory.texi: Likewise.
21265 * manual/message.texi: Likewise.
21266 * manual/probes.texi: Likewise.
21267 * manual/resource.texi: Likewise.
21268 * manual/signal.texi: Likewise.
21269 * manual/socket.texi: Likewise.
21270 * manual/stdio.texi: Likewise.
21271 * manual/string.texi: Likewise.
21272 * manual/time.texi: Likewise.
21273 * manual/users.texi: Likewise.
21274
21275 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21276
21277 [BZ #16632]
21278 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21279 _DEFAULT_SOURCE is defined.
21280
21281 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21282 Carlos O'Donell <carlos@redhat.com>
21283
21284 [BZ #16613]
21285 * elf/dl-tls.c (_dl_count_modids): New function.
21286 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21287 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21288 audit library and increment generation counter.
21289 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21290 * elf/tst-audit9.c: New file.
21291 * elf/tst-auditmod9a.c: New file.
21292 * elf/tst-auditmod9b.c: New file.
21293 * elf/Makefile: Add rules to build and run tst-audit9.
21294
21295 2014-02-25 Florian Weimer <fweimer@redhat.com>
21296
21297 [BZ #15347]
21298 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21299
21300 2014-02-25 Will Newton <will.newton@linaro.org>
21301
21302 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21303 (__longjmp): Restore sp and lr before restoring callee
21304 saved registers. Add longjmp and longjmp_target
21305 SystemTap probe point.
21306 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21307 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21308 Define to zero to match jmpbuf layout.
21309 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21310 (__sigsetjmp): Save sp and lr before saving callee
21311 saved registers. Add setjmp SystemTap probe point.
21312
21313 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21314
21315 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21316
21317 2014-02-24 Andreas Schwab <schwab@suse.de>
21318
21319 [BZ #15804]
21320 * elf/pldd.c (wait_for_ptrace_stop): New function.
21321 (main): Call it after attaching.
21322
21323 2014-02-22 Roland McGrath <roland@hack.frob.com>
21324
21325 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21326 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21327 Versions files is now verboten.
21328 * hurd/Versions (libc: GLIBC_2.0):
21329 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21330 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21331 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21332 * mach/Versions: Likewise.
21333
21334 * csu/Versions: Remove unused %include.
21335 * resolv/Versions: Likewise.
21336
21337 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21338
21339 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21340 ($(objpfx)check-local-headers.out): Likewise.
21341 ($(objpfx)begin-end-check.out): Likewise.
21342 * Makerules (check-abi-%.out): Likewise.
21343 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21344 ($(objpfx)test2.cat): Likewise.
21345 ($(objpfx)de/libc.cat): Likewise.
21346 ($(objpfx)test-gencat.out): Likewise.
21347 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21348 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21349 ($(objpfx)noload-mem): Likewise.
21350 ($(objpfx)tst-pathopt.out): Likewise.
21351 ($(objpfx)tst-rtld-load-self.out): Likewise.
21352 ($(objpfx)tst-array1-cmp.out): Likewise.
21353 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21354 ($(objpfx)tst-array2-cmp.out): Likewise.
21355 ($(objpfx)tst-array3-cmp.out): Likewise.
21356 ($(objpfx)tst-array4-cmp.out): Likewise.
21357 ($(objpfx)tst-array5-cmp.out): Likewise.
21358 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21359 ($(objpfx)check-textrel.out): Likewise.
21360 ($(objpfx)check-execstack.out): Likewise.
21361 ($(objpfx)check-localplt.out): Likewise.
21362 ($(objpfx)order2-cmp.out): Likewise.
21363 ($(objpfx)tst-leaks1-mem): Likewise.
21364 ($(objpfx)tst-leaks1-static-mem): Likewise.
21365 ($(objpfx)tst-initorder-cmp.out): Likewise.
21366 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21367 ($(objpfx)tst-unused-dep.out): Likewise.
21368 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21369 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21370 * iconv/Makefile (test-iconvconfig): Likewise.
21371 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21372 ($(objpfx)iconv-test.out): Likewise.
21373 ($(objpfx)tst-tables.out): Likewise.
21374 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21375 ($(objpfx)tst-gettext.out): Likewise.
21376 ($(objpfx)tst-translit.out): Likewise.
21377 ($(objpfx)tst-gettext2.out): Likewise.
21378 ($(objpfx)tst-gettext4.out): Likewise.
21379 ($(objpfx)tst-gettext6.out): Likewise.
21380 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21381 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21382 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21383 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21385 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21386 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21387 ($(objpfx)wordexp-tst.out): Likewise.
21388 ($(objpfx)annexc.out): Likewise.
21389 ($(objpfx)tst-fnmatch-mem): Likewise.
21390 ($(objpfx)bug-regex2-mem): Likewise.
21391 ($(objpfx)bug-regex14-mem): Likewise.
21392 ($(objpfx)bug-regex21-mem): Likewise.
21393 ($(objpfx)bug-regex31-mem): Likewise.
21394 ($(objpfx)tst-vfork3-mem): Likewise.
21395 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21396 ($(objpfx)tst-pcre-mem): Likewise.
21397 ($(objpfx)tst-boost-mem): Likewise.
21398 ($(objpfx)tst-getconf.out): Likewise.
21399 ($(objpfx)bug-ga2-mem): Likewise.
21400 ($(objpfx)bug-glob2-mem): Likewise.
21401 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21402 ($(objpfx)mtrace-tst-leaks2): Likewise.
21403 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21404 ($(objpfx)tst-printf.out): Likewise.
21405 ($(objpfx)tst-setvbuf1.out): Likewise.
21406 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21407 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21408 ($(objpfx)tst-fmtmsg.out): Likewise.
21409 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21410 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21411
21412 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21413 * bits/sigaction.h [__USE_MISC]: Likewise.
21414 * bits/waitstatus.h: Update #endif comments.
21415 * ctype/ctype.h: Likewise.
21416 * dirent/dirent.h: Likewise.
21417 [__USE_MISC]: Remove redundant conditionals.
21418 * grp/grp.h: Update #endif comments.
21419 [__USE_GNU]: Remove redundant conditionals.
21420 [__USE_MISC]: Likewise.
21421 * inet/netinet/in.h [__USE_GNU]: Likewise.
21422 * io/sys/stat.h [__USE_MISC]: Likewise.
21423 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21424 * libio/bits/stdio.h: Update #endif comments.
21425 [__USE_MISC]: Remove redundant conditionals.
21426 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21427 * libio/stdio.h: Update #endif comments.
21428 [__USE_MISC]: Remove redundant conditionals.
21429 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21430 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21431 * math/math.h: Update #else and #endif comments.
21432 [__USE_MISC]: Remove redundant conditionals.
21433 * misc/sys/uio.h: Update #endif comments.
21434 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21435 * posix/glob.h [__USE_MISC]: Likewise.
21436 * posix/sys/types.h: Update #endif comments.
21437 [__USE_MISC]: Remove redundant conditionals.
21438 * posix/sys/wait.h: Update #endif comments.
21439 [__USE_MISC]: Remove redundant conditionals.
21440 * posix/unistd.h: Update #endif comments.
21441 [__USE_MISC]: Remove redundant conditionals.
21442 * pwd/pwd.h [__USE_GNU]: Likewise.
21443 [__USE_MISC]: Likewise.
21444 * resolv/netdb.h [__USE_GNU]: Likewise.
21445 * signal/signal.h: Update #endif comments.
21446 [__USE_MISC]: Remove redundant conditionals.
21447 * stdlib/stdlib.h: Update #else and #endif comments.
21448 [__USE_MISC]: Remove redundant conditionals.
21449 [__USE_GNU]: Likewise.
21450 * string/bits/string2.h [__USE_MISC]: Likewise.
21451 * string/string.h: Update #endif comments.
21452 [__USE_MISC]: Remove redundant conditionals.
21453 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21454 Likewise.
21455 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21456 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21457 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21458 Likewise.
21459 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21460 Likewise.
21461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21462 comments.
21463 [__USE_MISC]: Remove redundant conditionals.
21464 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21465 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21466 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21467 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21468 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21469 Likewise.
21470 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21471 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21472 Likewise.
21473 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21474 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21475 Likewise.
21476 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21477 Likewise.
21478 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21479 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21480 Likewise.
21481 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21482 Likewise.
21483 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21484 * sysdeps/x86/bits/string.h: Update #endif comments.
21485 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21486 conditionals.
21487 * time/sys/time.h: Update #endif comments.
21488 * time/time.h: Likewise.
21489 [__USE_MISC]: Remove redundant conditionals.
21490
21491 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21492
21493 [BZ #16600]
21494 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21495
21496 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21497
21498 * Versions.def (librt): Add GLIBC_2.17.
21499
21500 2014-02-21 Adam Conrad <adconrad@0c3.net>
21501
21502 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21503 synonym for _SYS_AUXV_H to allow direct inclusion.
21504 * sysdeps/sparc/bits/hwcap.h: Likewise.
21505 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21506 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21507 * sysdeps/sparc/sysdep.h: Likewise.
21508
21509 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21510
21511 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21512
21513 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21514
21515 * benchtests/bench-strrchr.c: Print length instead of position.
21516
21517 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21518
21519 [BZ #16611]
21520 * sysdeps/unix/sysv/linux/kernel-features.h
21521 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21522 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21523 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21524 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21525 Likewise.
21526 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21527 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21528 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21529 (__ASSUME_SENDMMSG): Define instead of using previous
21530 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21531 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21532 (__ASSUME_SENDMMSG_SYSCALL): Define.
21533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21534 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21535 Likewise.
21536 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21537 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21538 Likewise.
21539 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21540 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21541 Likewise.
21542 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21543 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21544 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21545 [__ASSUME_SENDMMSG]: Change conditionals to
21546 [__ASSUME_SENDMMSG_SOCKETCALL].
21547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21548 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21549 Define.
21550 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21551 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21552 Likewise.
21553 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21554 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21555 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21556 [!__ASSUME_SENDMMSG]: Change conditional to
21557 [!__ASSUME_SENDMMSG_SOCKETCALL].
21558 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21559 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21560 Define.
21561
21562 [BZ #16610]
21563 * sysdeps/unix/sysv/linux/kernel-features.h
21564 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21565 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21566 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21567 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21568 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21569 [__i386__ || __sparc__]
21570 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21571 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21572 (__ASSUME_RECVMMSG): Define instead of using previous
21573 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21574 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21575 (__ASSUME_RECVMMSG_SYSCALL): Define.
21576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21578 Likewise.
21579 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21581 Likewise.
21582 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21584 Likewise.
21585 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21586 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21587 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21588 [__ASSUME_RECVMMSG]: Change condition to
21589 [__ASSUME_RECVMMSG_SOCKETCALL].
21590 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21592 Define.
21593 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21594 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21595 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21596 Likewise.
21597 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21598 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21599 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21600 [!__ASSUME_RECVMMSG]: Change condition to
21601 [!__ASSUME_RECVMMSG_SOCKETCALL].
21602 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21603 (__ASSUME_RECVMMSG_SYSCALL): Define.
21604
21605 [BZ #16609]
21606 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21607 __powerpc__ || __s390__ || __sh__ || __sparc__]
21608 (__ASSUME_SOCKETCALL): Define.
21609 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21610 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21611 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21612 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21613 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21614 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21615 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21616 (__ASSUME_ACCEPT4): Define instead of using previous
21617 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21618 __powerpc__ || __sparc__ || __s390__)] condition.
21619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21620 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21621 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21622 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21623 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21624 [!__ASSUME_ACCEPT4]: Change condition to
21625 [!__ASSUME_ACCEPT4_SOCKETCALL].
21626 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21627 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21628 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21629 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21630 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21631 __ASSUME_ACCEPT4_SYSCALL.
21632 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21633 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21634 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21635 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21636 __ASSUME_ACCEPT4_SYSCALL.
21637 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21638 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21639 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21640 [__ASSUME_ACCEPT4]: Change condition to
21641 [__ASSUME_ACCEPT4_SOCKETCALL].
21642 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21643 (__ASSUME_SOCKETCALL): Define.
21644 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21646 (__ASSUME_SOCKETCALL): Define.
21647 (__ASSUME_ACCEPT4): Remove.
21648 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21649 Define.
21650 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21651 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21652 Likewise.
21653 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21654 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21655
21656 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21657 macro.
21658 (HWCAP_ARM_LPAE): Likewise.
21659 (HWCAP_ARM_EVTSTRM): Likewise.
21660 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21661 Add vpfd32, lpae and evtstrm.
21662 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21663 Increase to 22.
21664
21665 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21666
21667 * math/auto-libm-test-in: Add tests of clog10.
21668 * math/auto-libm-test-out: Regenerated.
21669 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21670 * sysdeps/i386/fpu/libm-test-ulps: Update.
21671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21672
21673 2014-02-18 Andreas Schwab <schwab@suse.de>
21674
21675 [BZ #16574]
21676 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21677 Store non-zero if the second buffer was newly allocated.
21678 (send_dg): Likewise.
21679 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21680 to send_vc and send_dg.
21681 (res_nsend): Pass NULL for ansp2_malloced.
21682 * resolv/res_query.c (__libc_res_nquery): Add parameter
21683 answerp2_malloced and pass it down to __libc_res_nsend.
21684 (res_nquery): Pass additional NULL to __libc_res_nquery.
21685 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21686 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
21687 second answer buffer if answerp2_malloced was set.
21688 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21689 (__libc_res_nquerydomain): Add parameter
21690 answerp2_malloced and pass it down to __libc_res_nquery.
21691 (res_nquerydomain): Pass additional NULL to
21692 __libc_res_nquerydomain.
21693 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21694 additional NULL to __libc_res_nsend and __libc_res_nquery.
21695 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21696 additional NULL to __libc_res_nsearch.
21697 (_nss_dns_gethostbyname4_r): Revert last change. Use new
21698 parameter of __libc_res_nsearch to check for separately allocated
21699 second buffer.
21700 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21701 __libc_res_nquery.
21702 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21703 additional NULL to __libc_res_nquery.
21704 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21705 __libc_res_nsearch.
21706 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21707 * include/resolv.h: Update prototypes of __libc_res_nquery,
21708 __libc_res_nsearch, __libc_res_nsend.
21709
21710 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21711
21712 * math/auto-libm-test-in: Add tests of fma.
21713 * math/auto-libm-test-out: Regenerated.
21714 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21715 (fma_towardzero_test_data): Likewise.
21716 (fma_downward_test_data): Likewise.
21717 (fma_upward_test_data): Likewise.
21718 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21719 mpc_mode.
21720 (rounding_modes): Add values for new field.
21721 (func_calc_method): Add value mpfr_fff_f.
21722 (func_calc_desc): Add mpfr_fff_f union field.
21723 (test_function): Add field exact_args.
21724 (FUNC): Add macro argument EXACT_ARGS.
21725 (FUNC_mpfr_f_f): Update call to FUNC.
21726 (FUNC_mpfr_f_f): Likewise.
21727 (FUNC_mpfr_ff_f): Likewise.
21728 (FUNC_mpfr_if_f): Likewise.
21729 (FUNC_mpc_c_f): Likewise.
21730 (FUNC_mpc_c_c): Likewise.
21731 (test_functions): Add fma. Update calls to FUNC.
21732 (handle_input_arg): Add argument exact_args.
21733 (add_test): Update call to handle_input_arg.
21734 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21735 (output_for_one_input_case): Update call to calc_generic_results.
21736 Recalculate exact zero results in each rounding mode.
21737
21738 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21739 non-negative before setting low bit.
21740 * math/auto-libm-test-in: Mark one asin test possibly having
21741 spurious underflow.
21742 * math/auto-libm-test-out: Regenerated.
21743 * sysdeps/i386/fpu/libm-test-ulps: Update.
21744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21745
21746 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21747
21748 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21749 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21750 ports/sysdeps/unix/sysv/linux/microblaze.
21751 * README: Add missing listing for microblaze*-*-linux-gnu.
21752
21753 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21754
21755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21756 duplicate code
21757
21758 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21759
21760 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21761 * sysdeps/unix/sysv/linux/ia64: Move directory from
21762 ports/sysdeps/unix/sysv/linux/ia64.
21763 * README: Update listing for ia64-*-linux-gnu.
21764
21765 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21766 Joseph Myers <joseph@codesourcery.com>
21767
21768 * Makeconfig (test-name): New variable.
21769 (evaluate-test): Likewise.
21770 * Makerules (do-test-clean): Remove .test-result files.
21771 (common-mostlyclean): Likewise.
21772 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21773 * scripts/evaluate-test.sh: New file.
21774
21775 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21776
21777 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21778 separate $(objpfx)tst-fopenloc-cmp.out and
21779 $(objpfx)tst-fopenloc-mem.out targets.
21780 (tests): Update dependencies.
21781 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21782 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21783 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21784 (tst-rxspencer-no-utf8-ARGS): New variable.
21785 (tst-rxspencer-no-utf8-ENV): Likewise.
21786 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21787 instead of $(objpfx)tst-rxspencer-mem.
21788 ($(objpfx)tst-rxspencer-mem): Change target to
21789 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21790 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21791 * posix/tst-rxspencer-no-utf8.c: New file.
21792
21793 * elf/Makefile ($(objpfx)order.out): Remove rule.
21794 [$(run-built-tests) = yes] (tests): Depend on
21795 $(objpfx)order-cmp.out.
21796 ($(objpfx)order-cmp.out): New rule.
21797 [$(run-built-tests) = yes] (tests): Depend on
21798 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21799 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21800 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21801 $(objpfx)tst-array5-static-cmp.out.
21802 ($(objpfx)tst-array1.out): Remove rule.
21803 ($(objpfx)tst-array1-cmp.out): New rule.
21804 ($(objpfx)tst-array1-static.out): Remove rule.
21805 ($(objpfx)tst-array1-static-cmp.out): New rule.
21806 ($(objpfx)tst-array2.out): Remove rule.
21807 ($(objpfx)tst-array2-cmp.out): New rule.
21808 ($(objpfx)tst-array3.out): Remove rule.
21809 ($(objpfx)tst-array3-cmp.out): New rule.
21810 ($(objpfx)tst-array4.out): Remove rule.
21811 ($(objpfx)tst-array4-cmp.out): New rule.
21812 ($(objpfx)tst-array5.out): Remove rule.
21813 ($(objpfx)tst-array5-cmp.out): New rule.
21814 ($(objpfx)tst-array5-static.out): Remove rule.
21815 ($(objpfx)tst-array5-static-cmp.out): New rule.
21816 [$(run-built-tests) = yes] (tests): Depend on
21817 $(objpfx)order2-cmp.out.
21818 ($(objpfx)order2.out): Remove rule.
21819 ($(objpfx)order2-cmp.out): New rule.
21820 ($(objpfx)tst-initorder.out): Remove rule.
21821 [$(run-built-tests) = yes] (tests): Depend on
21822 $(objpfx)tst-initorder-cmp.out.
21823 ($(objpfx)tst-initorder-cmp.out): New rule.
21824 ($(objpfx)tst-initorder2.out): Remove rule.
21825 [$(run-built-tests) = yes] (tests): Depend on
21826 $(objpfx)tst-initorder2-cmp.out.
21827 ($(objpfx)tst-initorder2-cmp.out): New rule.
21828 [$(run-built-tests) = yes] (tests): Depend on
21829 $(objpfx)tst-unused-dep-cmp.out.
21830 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21831 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21832 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21833 on $(objpfx)tst-setvbuf1-cmp.out.
21834 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21835 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21836 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21837 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21838 ($(objpfx)tst-svc.out): Remove rule.
21839 ($(objpfx)tst-svc-cmp.out): New rule.
21840
21841 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21842
21843 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21844 * ctype/ctype.h [__USE_MISC]: Likewise.
21845 * dirent/dirent.h [__USE_MISC]: Likewise.
21846 * grp/grp.h [__USE_MISC]: Likewise.
21847 * io/fcntl.h [__USE_MISC]: Likewise.
21848 * io/sys/stat.h [__USE_MISC]: Likewise.
21849 * libio/stdio.h [__USE_MISC]: Likewise.
21850 * posix/unistd.h [__USE_MISC]: Likewise.
21851 * pwd/pwd.h [__USE_MISC]: Likewise.
21852 * stdlib.h [__USE_MISC]: Likewise.
21853 * string/bits/string2.h [__USE_MISC]: Likewise.
21854 * string/string.h [__USE_MISC]: Likewise.
21855 * time/time.h [__USE_MISC]: Likewise.
21856
21857 2014-02-13 Andreas Schwab <schwab@suse.de>
21858
21859 [BZ #16574]
21860 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21861 second answer buffer if it was separately allocated.
21862
21863 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21864
21865 * sysdeps/mips/math-tests.h: Include <features.h>.
21866 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21867 (ROUNDING_TESTS_long_double): Do not define.
21868 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21869 (EXCEPTION_TESTS_long_double): Likewise.
21870 * sysdeps/mips/mips64/libm-test-ulps: Update.
21871
21872 * include/features.h (__USE_BSD): Remove macro definitions.
21873 (__USE_SVID): Likewise.
21874 (_BSD_SOURCE): Likewise.
21875 (_SVID_SOURCE): Likewise.
21876 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21877 from definition of _DEFAULT_SOURCE.
21878 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21879 [_DEFAULT_SOURCE].
21880 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21881 * bits/mman.h [__USE_BSD]: Likewise.
21882 * bits/termios.h [__USE_BSD]: Likewise.
21883 * bits/waitstatus.h [__USE_BSD]: Likewise.
21884 * ctype/ctype.h [__USE_SVID]: Likewise.
21885 * dirent/dirent.h [__USE_BSD]: Likewise.
21886 * grp/grp.h [__USE_SVID]: Likewise.
21887 [__USE_BSD]: Likewise.
21888 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21889 * io/fcntl.h [__USE_BSD]: Likewise.
21890 * io/ftw.h [__USE_BSD]: Likewise.
21891 * io/sys/stat.h [__USE_BSD]: Likewise.
21892 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21893 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21894 * libio/stdio.h [__USE_SVID]: Likewise.
21895 [__USE_BSD]: Likewise.
21896 * math/math.h [__USE_SVID]: Likewise.
21897 [__USE_BSD]: Likewise.
21898 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21899 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21900 * misc/search.h [__USE_SVID]: Likewise.
21901 * misc/sys/mman.h [__USE_BSD]: Likewise.
21902 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21903 * misc/sys/uio.h [__USE_BSD]: Likewise.
21904 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21905 * posix/glob.h [__USE_BSD]: Likewise.
21906 * posix/regex.h [__USE_BSD]: Likewise.
21907 * posix/sys/types.h [__USE_BSD]: Likewise.
21908 [__USE_SVID]: Likewise.
21909 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21910 * posix/sys/wait.h [__USE_BSD]: Likewise.
21911 [__USE_SVID]: Likewise.
21912 * posix/unistd.h [__USE_BSD]: Likewise.
21913 [__USE_SVID]: Likewise.
21914 * pwd/pwd.h [__USE_SVID]: Likewise.
21915 * resolv/netdb.h [__USE_BSD]: Likewise.
21916 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21917 * signal/signal.h [__USE_BSD]: Likewise.
21918 [__USE_SVID]: Likewise.
21919 * socket/sys/socket.h [__USE_BSD]: Likewise.
21920 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21921 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21922 [__USE_SVID]: Likewise.
21923 * string/bits/string2.h [__USE_BSD]: Likewise.
21924 [__USE_SVID]: Likewise.
21925 * string/bits/string3.h [__USE_BSD]: Likewise.
21926 * string/endian.h [__USE_BSD]: Likewise.
21927 * string/string.h [__USE_SVID]: Likewise.
21928 [__USE_BSD]: Likewise.
21929 * string/strings.h [__USE_BSD]: Likewise.
21930 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21931 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21932 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21933 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21934 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21935 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21936 Likewise.
21937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21938 Likewise.
21939 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21940 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21941 Likewise.
21942 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21943 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21944 Likewise.
21945 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21946 Likewise.
21947 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21948 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21950 Likewise.
21951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21952 Likewise.
21953 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21954 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21955 * termios/termios.h [__USE_BSD]: Likewise.
21956 * time/sys/time.h [__USE_BSD]: Likewise.
21957 * time/time.h [__USE_BSD]: Likewise.
21958 [__USE_SVID]: Likewise.
21959
21960 * Makefile (subdir_targets): Remove subdir_lint.out.
21961
21962 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21963 (do-tst-printf): Likewise.
21964 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21965 $(objpfx)tst-printf.out.
21966
21967 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21968
21969 * Makerules (check-abi-%): Change target to
21970 $(objpfx)check-abi-%.out.
21971 (check-abi target): Update dependencies.
21972 (check-abi-pattern variable): Redirect output of diff to $@.
21973 (check-abi variable): Likewise.
21974 * elf/Makefile (check-abi): Update dependencies.
21975
21976 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21977 unused.
21978 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21979 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21980 subnormal range.
21981 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21982 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21983 value has largest subnormal exponent.
21984 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21985 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21986 * sysdeps/aarch64/soft-fp/sfp-machine.h
21987 (_FP_TININESS_AFTER_ROUNDING): New macro.
21988 * sysdeps/alpha/soft-fp/sfp-machine.h
21989 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21990 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21991 Likewise.
21992 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21993 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21994 * sysdeps/mips/soft-fp/sfp-machine.h
21995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21996 * sysdeps/powerpc/soft-fp/sfp-machine.h
21997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21998 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21999 Likewise.
22000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22001 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22004 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22005 Likewise.
22006
22007 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22008
22009 [BZ #16545]
22010 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22011 model 1.
22012
22013 2014-02-12 Richard Henderson <rth@redhat.com>
22014
22015 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22016 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22017 * sysdeps/unix/sysv/linux/alpha: Move directory from
22018 ports/sysdeps/unix/sysv/linux/alpha.
22019 * README: Update listing for alpha-*-linux-gnu.
22020
22021 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22022
22023 * include/features.h: Update comment documenting feature test
22024 macros.
22025 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22026 _DEFAULT_SOURCE.
22027 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22028 (_SVID_SOURCE): Likewise.
22029 (_DEFAULT_SOURCE): Update description of default features.
22030 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22031 with _GNU_SOURCE.
22032 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22033 (S_ISVTX): Likewise.
22034 * manual/math.texi (Mathematical Constants): Likewise.
22035 * manual/signal.texi (Interrupted Primitives): Likewise.
22036 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22037 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22038 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22039 Don't refer to _SVID_SOURCE in warning text.
22040
22041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22042
22043 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22044 already defined.
22045 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22046 * sysdeps/mips/dl-lookup.c: Remove.
22047 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22048
22049 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22050
22051 [BZ #16447]
22052 * math/auto-libm-test-in: Add testcase for expl.
22053 * math/auto-libm-test-out: Regenerate.
22054 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22055 calculation of unsafe.
22056 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22057
22058 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22059
22060 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22061 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22062 ports/sysdeps/unix/sysv/linux/aarch64.
22063 * README: Update listing for aarch64*-*-linux-gnu.
22064
22065 2014-02-11 Will Newton <will.newton@linaro.org>
22066
22067 * manual/probes.texi (Mathematical Function Probes): Use
22068 "triggered" instead of "hit".
22069
22070 * manual/probes.texi (Internal Probes): Add documentation
22071 of setjmp, longjmp and longjmp_target probes.
22072
22073 * include/stap-probe.h: Add comment about probe argument
22074 format.
22075
22076 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22077 definition. (tr_where, tr_freehook, tr_mallochook,
22078 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22079
22080 2014-02-11 David S. Miller <davem@davemloft.net>
22081
22082 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22083 processing int_tests.
22084
22085 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22086
22087 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22088 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22089 * sysdeps/unix/sysv/linux/mips: Move directory from
22090 ports/sysdeps/unix/sysv/linux/mips.
22091 * README: Update listing for mips-*-linux-gnu and
22092 mips64-*-linux-gnu.
22093
22094 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22095
22096 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22097 * sysdeps/unix/sysv/linux/m68k: Move directory from
22098 ports/sysdeps/unix/sysv/linux/m68k.
22099 * README: Update listing for m68k-*-linux-gnu.
22100
22101 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22102
22103 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22104 * sysdeps/unix/sysv/linux/generic: Move directory from
22105 ports/sysdeps/unix/sysv/linux/generic.
22106 * sysdeps/unix/sysv/linux/tile: Move directory from
22107 ports/sysdeps/unix/sysv/linux/tile.
22108 * README: Update listing for tile*-*-linux-gnu.
22109
22110 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22111
22112 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22113 __builtin_expect.
22114 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22115 * catgets/open_catalog.c (__open_catalog): Likewise.
22116 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22117 * debug/confstr_chk.c: Likewise.
22118 * debug/fread_chk.c (__fread_chk): Likewise.
22119 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22120 * debug/getgroups_chk.c: Likewise.
22121 * debug/mbsnrtowcs_chk.c: Likewise.
22122 * debug/mbsrtowcs_chk.c: Likewise.
22123 * debug/mbstowcs_chk.c: Likewise.
22124 * debug/memcpy_chk.c: Likewise.
22125 * debug/memmove_chk.c: Likewise.
22126 * debug/mempcpy_chk.c: Likewise.
22127 * debug/memset_chk.c: Likewise.
22128 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22129 * debug/strcat_chk.c (__strcat_chk): Likewise.
22130 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22131 * debug/strncat_chk.c (__strncat_chk): Likewise.
22132 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22133 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22134 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22135 * debug/wcpncpy_chk.c: Likewise.
22136 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22137 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22138 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22139 * debug/wcsncpy_chk.c: Likewise.
22140 * debug/wcsnrtombs_chk.c: Likewise.
22141 * debug/wcsrtombs_chk.c: Likewise.
22142 * debug/wcstombs_chk.c: Likewise.
22143 * debug/wmemcpy_chk.c: Likewise.
22144 * debug/wmemmove_chk.c: Likewise.
22145 * debug/wmempcpy_chk.c: Likewise.
22146 * debug/wmemset_chk.c: Likewise.
22147 * dirent/scandirat.c (SCANDIRAT): Likewise.
22148 * dlfcn/dladdr1.c (dladdr1): Likewise.
22149 * dlfcn/dladdr.c (dladdr): Likewise.
22150 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22151 * dlfcn/dlerror.c (__dlerror): Likewise.
22152 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22153 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22154 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22155 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22156 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22157 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22158 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22159 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22160 Likewise.
22161 * elf/dl-conflict.c: Likewise.
22162 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22163 * elf/dl-dst.h: Likewise.
22164 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22165 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22166 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22167 * elf/dl-init.c (call_init, _dl_init): Likewise.
22168 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22169 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22170 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22171 Likewise.
22172 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22173 Likewise.
22174 * elf/dl-minimal.c (__libc_memalign): Likewise.
22175 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22176 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22177 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22178 * elf/dl-sym.c (do_sym): Likewise.
22179 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22180 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22181 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22182 * elf/dl-writev.h (_dl_writev): Likewise.
22183 * elf/ldconfig.c (search_dir): Likewise.
22184 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22185 (dl_main): Likewise.
22186 * elf/setup-vdso.h (setup_vdso): Likewise.
22187 * grp/compat-initgroups.c (compat_call): Likewise.
22188 * grp/fgetgrent.c (fgetgrent): Likewise.
22189 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22190 * grp/putgrent.c (putgrent): Likewise.
22191 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22192 Likewise.
22193 * hurd/hurdinit.c: Likewise.
22194 * iconvdata/8bit-gap.c (struct): Likewise.
22195 * iconvdata/ansi_x3.110.c : Likewise.
22196 * iconvdata/big5.c : Likewise.
22197 * iconvdata/big5hkscs.c : Likewise.
22198 * iconvdata/cp1255.c: Likewise.
22199 * iconvdata/cp1258.c : Likewise.
22200 * iconvdata/cp932.c : Likewise.
22201 * iconvdata/euc-cn.c: Likewise.
22202 * iconvdata/euc-jisx0213.c : Likewise.
22203 * iconvdata/euc-jp.c: Likewise.
22204 * iconvdata/euc-jp-ms.c : Likewise.
22205 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22206 * iconvdata/gb18030.c : Likewise.
22207 * iconvdata/gbbig5.c (const): Likewise.
22208 * iconvdata/gbgbk.c: Likewise.
22209 * iconvdata/gbk.c : Likewise.
22210 * iconvdata/ibm1364.c : Likewise.
22211 * iconvdata/ibm930.c : Likewise.
22212 * iconvdata/ibm932.c: Likewise.
22213 * iconvdata/ibm933.c : Likewise.
22214 * iconvdata/ibm935.c : Likewise.
22215 * iconvdata/ibm937.c : Likewise.
22216 * iconvdata/ibm939.c : Likewise.
22217 * iconvdata/ibm943.c: Likewise.
22218 * iconvdata/iso_11548-1.c: Likewise.
22219 * iconvdata/iso-2022-cn.c : Likewise.
22220 * iconvdata/iso-2022-cn-ext.c : Likewise.
22221 * iconvdata/iso-2022-jp-3.c: Likewise.
22222 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22223 * iconvdata/iso-2022-kr.c : Likewise.
22224 * iconvdata/iso646.c (gconv_end): Likewise.
22225 * iconvdata/iso_6937-2.c : Likewise.
22226 * iconvdata/iso_6937.c : Likewise.
22227 * iconvdata/iso8859-1.c: Likewise.
22228 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22229 * iconvdata/shift_jisx0213.c : Likewise.
22230 * iconvdata/sjis.c : Likewise.
22231 * iconvdata/t.61.c : Likewise.
22232 * iconvdata/tcvn5712-1.c : Likewise.
22233 * iconvdata/tscii.c: Likewise.
22234 * iconvdata/uhc.c : Likewise.
22235 * iconvdata/unicode.c (gconv_end): Likewise.
22236 * iconvdata/utf-16.c (gconv_end): Likewise.
22237 * iconvdata/utf-32.c (gconv_end): Likewise.
22238 * iconvdata/utf-7.c (base64): Likewise.
22239 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22240 * iconv/gconv_close.c (__gconv_close): Likewise.
22241 * iconv/gconv_open.c (__gconv_open): Likewise.
22242 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22243 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22244 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22245 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22246 (ucs4le_internal_loop_single): Likewise.
22247 * iconv/iconv.c (iconv): Likewise.
22248 * iconv/iconv_close.c: Likewise.
22249 * iconv/loop.c (SINGLE): Likewise.
22250 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22251 * include/atomic.h: Likewise.
22252 * inet/inet6_option.c (option_alloc): Likewise.
22253 * intl/bindtextdom.c (set_binding_values): Likewise.
22254 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22255 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22256 * intl/localealias.c (read_alias_file): Likewise.
22257 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22258 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22259 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22260 * libio/fmemopen.c (fmemopen): Likewise.
22261 * libio/iofgets.c (_IO_fgets): Likewise.
22262 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22263 * libio/iofgetws.c (fgetws): Likewise.
22264 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22265 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22266 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22267 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22268 * locale/findlocale.c (_nl_find_locale): Likewise.
22269 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22270 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22271 Likewise.
22272 * locale/setlocale.c (setlocale): Likewise.
22273 * login/programs/pt_chown.c (main): Likewise.
22274 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22275 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22276 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22277 (mmap, mmap64, mremap, munmap): Likewise.
22278 * math/e_exp2l.c: Likewise.
22279 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22280 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22281 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22282 * math/s_catan.c (__catan): Likewise.
22283 * math/s_catanf.c (__catanf): Likewise.
22284 * math/s_catanh.c (__catanh): Likewise.
22285 * math/s_catanhf.c (__catanhf): Likewise.
22286 * math/s_catanhl.c (__catanhl): Likewise.
22287 * math/s_catanl.c (__catanl): Likewise.
22288 * math/s_ccosh.c (__ccosh): Likewise.
22289 * math/s_ccoshf.c (__ccoshf): Likewise.
22290 * math/s_ccoshl.c (__ccoshl): Likewise.
22291 * math/s_cexp.c (__cexp): Likewise.
22292 * math/s_cexpf.c (__cexpf): Likewise.
22293 * math/s_cexpl.c (__cexpl): Likewise.
22294 * math/s_clog10.c (__clog10): Likewise.
22295 * math/s_clog10f.c (__clog10f): Likewise.
22296 * math/s_clog10l.c (__clog10l): Likewise.
22297 * math/s_clog.c (__clog): Likewise.
22298 * math/s_clogf.c (__clogf): Likewise.
22299 * math/s_clogl.c (__clogl): Likewise.
22300 * math/s_csin.c (__csin): Likewise.
22301 * math/s_csinf.c (__csinf): Likewise.
22302 * math/s_csinh.c (__csinh): Likewise.
22303 * math/s_csinhf.c (__csinhf): Likewise.
22304 * math/s_csinhl.c (__csinhl): Likewise.
22305 * math/s_csinl.c (__csinl): Likewise.
22306 * math/s_csqrt.c (__csqrt): Likewise.
22307 * math/s_csqrtf.c (__csqrtf): Likewise.
22308 * math/s_csqrtl.c (__csqrtl): Likewise.
22309 * math/s_ctan.c (__ctan): Likewise.
22310 * math/s_ctanf.c (__ctanf): Likewise.
22311 * math/s_ctanh.c (__ctanh): Likewise.
22312 * math/s_ctanhf.c (__ctanhf): Likewise.
22313 * math/s_ctanhl.c (__ctanhl): Likewise.
22314 * math/s_ctanl.c (__ctanl): Likewise.
22315 * math/w_pow.c: Likewise.
22316 * math/w_powf.c: Likewise.
22317 * math/w_powl.c: Likewise.
22318 * math/w_scalb.c (sysv_scalb): Likewise.
22319 * math/w_scalbf.c (sysv_scalbf): Likewise.
22320 * math/w_scalbl.c (sysv_scalbl): Likewise.
22321 * misc/error.c (error_tail): Likewise.
22322 * misc/pselect.c (__pselect): Likewise.
22323 * nis/nis_callback.c (__nis_create_callback): Likewise.
22324 * nis/nis_call.c (__nisfind_server): Likewise.
22325 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22326 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22327 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22328 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22329 * nis/nis_lookup.c (nis_lookup): Likewise.
22330 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22331 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22332 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22333 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22334 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22335 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22336 * nis/nss_compat/compat-initgroups.c (add_group)
22337 (internal_getgrent_r): Likewise.
22338 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22339 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22340 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22341 (internal_getspnam_r): Likewise.
22342 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22343 (_nss_nis_getaliasbyname_r): Likewise.
22344 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22345 (_nss_nis_getntohost_r): Likewise.
22346 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22347 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22348 (_nss_nis_getgrgid_r): Likewise.
22349 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22350 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22351 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22352 (_nss_nis_gethostbyname4_r): Likewise.
22353 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22354 (initgroups_netid): Likewise.
22355 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22356 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22357 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22358 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22359 (_nss_nis_getprotobynumber_r): Likewise.
22360 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22361 (_nss_nis_getsecretkey): Likewise.
22362 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22363 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22364 (_nss_nis_getpwuid_r): Likewise.
22365 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22366 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22367 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22368 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22369 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22370 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22371 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22372 Likewise.
22373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22374 (_nss_nisplus_getntohost_r): Likewise.
22375 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22376 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22377 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22378 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22379 Likewise.
22380 * nis/nss_nisplus/nisplus-initgroups.c
22381 (_nss_nisplus_initgroups_dyn): Likewise.
22382 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22383 (_nss_nisplus_getnetbyaddr_r): Likewise.
22384 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22385 (_nss_nisplus_getprotobynumber_r): Likewise.
22386 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22387 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22388 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22389 Likewise.
22390 * nis/nss_nisplus/nisplus-service.c
22391 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22392 (_nss_nisplus_getservbyport_r): Likewise.
22393 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22394 (_nss_nisplus_getspnam_r): Likewise.
22395 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22396 Likewise.
22397 * nscd/aicache.c (addhstaiX): Likewise.
22398 * nscd/cache.c (cache_search, prune_cache): Likewise.
22399 * nscd/connections.c (register_traced_file, send_ro_fd)
22400 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22401 (main_loop_epoll): Likewise.
22402 * nscd/grpcache.c (addgrbyX): Likewise.
22403 * nscd/hstcache.c (addhstbyX): Likewise.
22404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22405 * nscd/mem.c (gc, mempool_alloc): Likewise.
22406 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22407 (addinnetgrX): Likewise.
22408 * nscd/nscd-client.h (__nscd_acquire_maplock)
22409 (__nscd_drop_map_ref): Likewise.
22410 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22411 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22412 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22413 Likewise.
22414 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22415 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22416 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22417 (__nscd_get_map_ref): Likewise.
22418 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22419 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22420 Likewise.
22421 * nscd/pwdcache.c (addpwbyX): Likewise.
22422 * nscd/selinux.c (preserve_capabilities): Likewise.
22423 * nscd/servicescache.c (addservbyX): Likewise.
22424 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22425 * posix/fnmatch.c (fnmatch): Likewise.
22426 * posix/getopt.c (_getopt_internal_r): Likewise.
22427 * posix/glob.c (glob, glob_in_dir): Likewise.
22428 * posix/wordexp.c (exec_comm_child): Likewise.
22429 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22430 (getanswer_r, gaih_getanswer_slice): Likewise.
22431 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22432 * resolv/res_init.c: Likewise.
22433 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22434 * resolv/res_query.c (__libc_res_nquery): Likewise.
22435 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22436 Likewise.
22437 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22438 * stdio-common/perror.c (perror): Likewise.
22439 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22440 * stdio-common/tmpnam.c (tmpnam): Likewise.
22441 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22442 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22443 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22444 Likewise.
22445 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22446 * stdlib/putenv.c (putenv): Likewise.
22447 * stdlib/setenv.c (__add_to_environ): Likewise.
22448 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22449 * stdlib/strtol_l.c (INTERNAL): Likewise.
22450 * string/memmem.c (memmem): Likewise.
22451 * string/strerror.c (strerror): Likewise.
22452 * string/strnlen.c (__strnlen): Likewise.
22453 * string/test-memmem.c (simple_memmem): Likewise.
22454 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22455 * sunrpc/pm_getport.c (__get_socket): Likewise.
22456 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22457 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22458 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22459 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22460 Likewise.
22461 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22462 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22463 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22464 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22465 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22466 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22467 Likewise.
22468 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22469 Likewise.
22470 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22471 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22472 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22473 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22474 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22476 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22477 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22478 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22479 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22480 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22481 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22482 Likewise.
22483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22484 Likewise.
22485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22486 Likewise.
22487 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22489 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22490 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22491 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22492 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22493 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22496 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22497 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22499 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22500 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22503 Likewise.
22504 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22505 Likewise.
22506 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22507 Likewise.
22508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22509 Likewise.
22510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22512 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22513 Likewise.
22514 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22515 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22516 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22517 * sysdeps/posix/sleep.c: Likewise.
22518 * sysdeps/posix/tempname.c: Likewise.
22519 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22520 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22521 Likewise.
22522 * sysdeps/powerpc/powerpc32/dl-machine.h
22523 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22524 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22526 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22527 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22528 Likewise.
22529 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22531 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22532 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22533 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22534 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22535 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22536 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22537 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22538 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22540 (elf_machine_lazy_rel): Likewise.
22541 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22543 (elf_machine_lazy_rel): Likewise.
22544 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22545 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22546 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22547 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22548 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22549 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22550 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22552 Likewise.
22553 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22554 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22555 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22556 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22557 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22559 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22560 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22561 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22562 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22563 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22564 Likewise.
22565 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22566 (__posix_fallocate64_l64): Likewise.
22567 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22568 (posix_fallocate): Likewise.
22569 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22570 Likewise.
22571 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22572 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22573 (getifaddrs_internal): Likewise.
22574 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22575 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22576 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22577 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22578 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22579 (__posix_fallocate64_l64): Likewise.
22580 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22581 Likewise.
22582 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22584 (__get_clockfreq): Likewise.
22585 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22586 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22587 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22590 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22591 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22592 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22593 Likewise.
22594 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22595 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22596 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22597 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22598 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22599 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22600 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22601 Likewise.
22602 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22603 (posix_fallocate): Likewise.
22604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22605 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22606 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22607 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22608 (elf_machine_rela, elf_machine_rela_relative)
22609 (elf_machine_lazy_rel): Likewise.
22610 * time/asctime.c (asctime_internal): Likewise.
22611 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22612 * time/tzset.c (__tzset_parse_tz): Likewise.
22613 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22614 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22615 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22616 * wcsmbs/wcsmbsload.h: Likewise.
22617
22618 [BZ #15894]
22619 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22620
22621 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22622 (arena_get2): Remove THREAD_STATS conditionals.
22623 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22624 (__malloc_stats, int): Likewise.
22625
22626 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22627
22628 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22629 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22630
22631 * manual/setjmp.texi: Fix typos/grammar errors.
22632
22633 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22634 Only return early when n is <= 0. Delete unused return statement.
22635
22636 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22637 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22638 * debug/tst-longjmp_chk3.c: New file.
22639
22640 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22641 (test_main): Replace code with set_fortify_handler call.
22642 * debug/test-strcpy_chk.c: Likewise.
22643 * debug/tst-chk1.c: Likewise.
22644 * debug/tst-longjmp_chk.c: Likewise.
22645 * test-skeleton.c: Include fcntl.h & paths.h
22646 (set_fortify_handler): Define.
22647
22648 * debug/tst-longjmp_chk.c: Add header comment and include
22649 ../test-skeleton.c.
22650 (do_test): Mark static.
22651 (TEST_FUNCTION): Define.
22652
22653 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22654 (IP_PMTUDISC_INTERFACE): Likewise.
22655 (IP_MULTICAST_IF): Likewise.
22656 (IP_MULTICAST_TTL): Likewise.
22657 (IP_MULTICAST_LOOP): Likewise.
22658 (IP_ADD_MEMBERSHIP): Likewise.
22659 (IP_DROP_MEMBERSHIP): Likewise.
22660 (IP_UNBLOCK_SOURCE): Likewise.
22661 (IP_BLOCK_SOURCE): Likewise.
22662 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22663 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22664 (IP_MSFILTER): Likewise.
22665 (MCAST_JOIN_GROUP): Likewise.
22666 (MCAST_BLOCK_SOURCE): Likewise.
22667 (MCAST_UNBLOCK_SOURCE): Likewise.
22668 (MCAST_LEAVE_GROUP): Likewise.
22669 (MCAST_JOIN_SOURCE_GROUP): Likewise.
22670 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22671 (MCAST_MSFILTER): Likewise.
22672 (IP_MULTICAST_ALL): Likewise.
22673 (IP_UNICAST_IF): Likewise.
22674
22675 * timezone/Makefile: Delete $(have-ksh) check.
22676 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22677 * timezone/tzselect.ksh: Add +x mode bits.
22678
22679 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22680 (ANON_INODE_FS_MAGIC): Likewise.
22681 (BDEVFS_MAGIC): Likewise.
22682 (BINFMTFS_MAGIC): Likewise.
22683 (BTRFS_TEST_MAGIC): Likewise.
22684 (CRAMFS_MAGIC_WEND): Likewise.
22685 (DEBUGFS_MAGIC): Likewise.
22686 (ECRYPTFS_SUPER_MAGIC): Likewise.
22687 (EXT3_SUPER_MAGIC): Likewise.
22688 (EXT4_SUPER_MAGIC): Likewise.
22689 (FUTEXFS_SUPER_MAGIC): Likewise.
22690 (HOSTFS_SUPER_MAGIC): Likewise.
22691 (HUGETLBFS_MAGIC): Likewise.
22692 (MINIX3_SUPER_MAGIC): Likewise.
22693 (MTD_INODE_FS_MAGIC): Likewise.
22694 (NILFS_SUPER_MAGIC): Likewise.
22695 (OPENPROM_SUPER_MAGIC): Likewise.
22696 (PIPEFS_MAGIC): Likewise.
22697 (PSTOREFS_MAGIC): Likewise.
22698 (QNX6_SUPER_MAGIC): Likewise.
22699 (RAMFS_MAGIC): Likewise.
22700 (REISERFS_SUPER_MAGIC_STRING): Likewise.
22701 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22702 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22703 (SECURITYFS_MAGIC): Likewise.
22704 (SELINUX_MAGIC): Likewise.
22705 (SMACK_MAGIC): Likewise.
22706 (SOCKFS_MAGIC): Likewise.
22707 (SQUASHFS_MAGIC): Likewise.
22708 (STACK_END_MAGIC): Likewise.
22709 (TMPFS_MAGIC): Likewise.
22710 (USBDEVICE_SUPER_MAGIC): Likewise.
22711 (V9FS_MAGIC): Likewise.
22712 (XENFS_SUPER_MAGIC): Likewise.
22713 (CRAMFS_MAGIC): Fix typo in comment.
22714 (EXT2_SUPER_MAGIC): Update comment.
22715 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22716
22717 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22718
22719 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22720 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22721 * sysdeps/unix/sysv/linux/arm: Move directory from
22722 ports/sysdeps/unix/sysv/linux/arm.
22723 * README: Update listing for arm-*-linux-gnueabi.
22724
22725 * README: Remove mention of am33.
22726
22727 2014-02-07 Roland McGrath <roland@hack.frob.com>
22728
22729 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22730 than the comma operator, to avoid "rhs of comma has no effect"
22731 compiler warnings.
22732 (__sigfillset, __sigandset, __sigorset): Likewise.
22733 * include/signal.h (__sigemptyset): Likewise.
22734 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22735
22736 2014-02-07 Allan McRae <allan@archlinux.org>
22737
22738 * version.h (RELEASE): Set to "development".
22739 (VERSION): Set to "2.19.90"
22740 * NEWS: Add 2.20 section.
22741
22742 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22743
22744 [BZ #16529]
22745 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22746
22747 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22748
22749 * manual/contrib.texi: Update entry for Carlos O'Donell,
22750 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22751
22752 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22753
22754 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22755
22756 * sysdeps/unix/sysv/linux/kernel-features.h
22757 [__LINUX_KERNEL_VERSION >= 0x020621]
22758 (__ASSUME_PROC_PID_TASK_COMM): Define.
22759
22760 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22761
22762 [BZ #16398]
22763 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22764 conversion when destination buffer does not have enough space.
22765 * libio/tst-ftell-partial-wide.c: New test case.
22766 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22767
22768 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22769 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22770 Leonard and Allan McRae.
22771
22772 2014-02-04 David S. Miller <davem@davemloft.net>
22773
22774 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22775 32-bit.
22776
22777 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22778
22779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22780 New file
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22782 New file
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22784 New file.
22785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22786 New file.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22788 New file.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22790 New file.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22792 New file.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22794 New file.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22796 New file.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22798 New file.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22800 New file.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22802 New file.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22804 New file.
22805
22806 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22807
22808 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22809 * shlib-versions: Likewise.
22810
22811 2014-02-04 Roland McGrath <roland@hack.frob.com>
22812 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22813
22814 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22815 (abilist-pattern): New variable, set to %-le.abilist.
22816
22817 * Makerules (abilist-pattern): New variable.
22818 (vpath): Use $(abilist-pattern) in place of %.abilist.
22819 (check-abi-% pattern rule): Likewise.
22820 (check-abi, update-abi): Likewise.
22821
22822 2014-02-04 Eric Wong <normalperson@yhbt.net>
22823
22824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22825
22826 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22827
22828 * manual/startup.texi: Add next, previous, and top entries for
22829 the `Program Arguments' and `Environment Variables' nodes.
22830
22831 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22832
22833 * manual/macros.texi: Add comments before MTASC-safety macros.
22834
22835 * manual/users.texi: Document MTASC-safety properties.
22836
22837 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22838 (pthread_getspecific, pthread_setspecific): Format with
22839 @deftypefun, and add @safety note.
22840 * manual/signal.texi: Move comments that analyze the above
22841 functions to their home place.
22842
22843 2014-02-03 Allan McRae <allan@archlinux.org>
22844
22845 * po/sl.po: Update Slovenian translation from translation project.
22846
22847 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22848
22849 * manual/time.texi (timegm): Add missing blank after @c.
22850 Reported by Joseph Myers <joseph@codesourcery.com>.
22851
22852 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22853
22854 * manual/check-safety.sh: New.
22855 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22856
22857 * manual/terminal.texi: Document MTASC-safety properties.
22858
22859 * manual/filesys.texi: Document MTASC-safety properties.
22860
22861 * manual/errno.texi: Document MTASC-safety properties.
22862
22863 * manual/intro.texi: Document safety identifiers and
22864 conditionals.
22865
22866 * manual/string.texi (wcstok): Fix prototype.
22867 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22868
22869 * manual/time.texi: Document MTASC-safety properties.
22870
22871 * manual/string.texi: Document MTASC-safety properties.
22872
22873 * manual/threads.texi: Document MTASC-safety properties.
22874
22875 * manual/stdio.texi: Document MTASC-safety properties.
22876
22877 * manual/syslog.texi: Document MTASC-safety properties.
22878
22879 * manual/sysinfo.texi: Document MTASC-safety properties.
22880
22881 * manual/startup.texi: Document MTASC-safety properties.
22882
22883 * manual/socket.texi: Document MTASC-safety properties.
22884
22885 * manual/signal.texi: Document MTASC-safety properties.
22886
22887 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22888
22889 * manual/setjmp.texi: Document MTASC-safety properties.
22890
22891 * manual/search.texi: Document MTASC-safety properties.
22892
22893 * manual/resource.texi: Document MTASC-safety properties.
22894
22895 * manual/process.texi: Document MTASC-safety properties.
22896
22897 * manual/platform.texi: Document MTASC-safety properties.
22898
22899 * manual/pipe.texi: Document MTASC-safety properties.
22900
22901 * manual/pattern.texi: Document MTASC-safety properties.
22902
22903 * manual/message.texi: Document MTASC-safety properties.
22904
22905 [BZ #12751]
22906 * manual/memory.texi: Document MTASC-safety properties.
22907
22908 * manual/math.texi: Document MTASC-safety properties.
22909
22910 * manual/locale.texi: Document MTASC-safety properties.
22911
22912 * manual/llio.texi: Document MTASC-safety properties.
22913
22914 * manual/libdl.texi: New.
22915
22916 * manual/lang.texi: Document MTASC-safety properties.
22917
22918 * manual/job.texi: Document MTASC-safety properties.
22919
22920 * manual/getopt.texi: Document MTASC-safety properties.
22921
22922 * manual/ctype.texi: Document MTASC-safety properties.
22923
22924 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22925
22926 [BZ #16046]
22927 * csu/libc-tls.c (static_map): Remove variable.
22928 (__libc_setup_tls): Use main executable's link map for TLS data.
22929 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22930 casing for LM_ID_BASE and GL(dl_nns).
22931 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22932 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22933 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22934 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22935 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22936 member.
22937 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22938 l_phnum members.
22939
22940 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22941
22942 * manual/debug.texi: Document MTASC-safety properties.
22943
22944 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22945
22946 [BZ #16510]
22947 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22948 of __x86_64__ when disabling x87 inline functions.
22949
22950 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22951
22952 * manual/charset.texi: Document MTASC-safety properties.
22953
22954 * manual/crypt.texi: Document MTASC-safety properties.
22955
22956 * manual/conf.texi: Document MTASC-safety properties.
22957
22958 * manual/arith.texi: Document MTASC-safety properties.
22959
22960 * manual/argp.texi: Document MTASC-safety properties.
22961
22962 * manual/macros.texi: Introduce macros to document multi
22963 thread, asynchronous signal and asynchronous cancellation
22964 safety properties.
22965 * manual/intro.texi: Introduce the properties themselves.
22966
22967 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22968
22969 * sysdeps/sh/sh4/Makefile: New file.
22970
22971 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22972
22973 * math/gen-libm-test.pl ($srcdir): New variable.
22974 ($auto_input): Use it.
22975
22976 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22977
22978 [BZ #16506]
22979 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22980 access beyond array bounds when parsing netgroups file.
22981
22982 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22983 the old buffer before realloc.
22984
22985 2014-01-27 Allan McRae <allan@archlinux.org>
22986
22987 * po/fr.po: Update French translation from translation project.
22988
22989 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22990
22991 * sysdeps/sh/libm-test-ulps: Regenerate.
22992
22993 2014-01-24 David S. Miller <davem@davemloft.net>
22994
22995 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22996
22997 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22998
22999 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23000 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23001
23002 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23003
23004 [BZ #16474]
23005 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23006 string pointers after reallocation.
23007
23008 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23009
23010 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23011 __SH4A__ instead of __SH_FPU_ANY__.
23012
23013 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23014
23015 * sysdeps/sh/fpu_control.h: New file.
23016 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23017 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23018 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23019 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23020 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23021 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23022 * sysdeps/sh/sys/ucontext.h: Remove.
23023 * sysdeps/sh/sys: Remove directory.
23024
23025 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23026
23027 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23028 s390/sys/ucontext.h.
23029 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23030 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23031
23032 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23033
23034 [BZ #15605]
23035 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23036
23037 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23038
23039 [BZ#16431]
23040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23041 Adjust the vDSO correctly for internal calls.
23042 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23043
23044 2014-01-20 Allan McRae <allan@archlinux.org>
23045
23046 * po/ca.po: Update Catalan translation from translation project.
23047
23048 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23049
23050 * sysdeps/s390/sotruss-lib.c: New file.
23051
23052 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23053
23054 [BZ#16430]
23055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23056 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23057 local calls issues by not having a PLT stub required for IFUNC calls.
23058 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23059
23060 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23061
23062 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23063 * math/test-fpucw-static.c: Likewise.
23064
23065 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23066
23067 [BZ #16453]
23068 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23069
23070 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23071
23072 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23073 implementation for powerpc.
23074
23075 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23076
23077 [BZ #14782]
23078 * sysdeps/posix/system.c (__libc_system): Do not enable
23079 asynchronous cancellation.
23080
23081 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23082
23083 [BZ #16427]
23084 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23085 handling only for numbers special also in the IEEE case.
23086
23087 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23088
23089 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23090
23091 2014-01-11 Allan McRae <allan@archlinux.org>
23092
23093 * po/bg.po: Update Bulgarian translation from translation project.
23094
23095 * po/de.po: Update German translation from translation project.
23096
23097 2014-01-10 Roland McGrath <roland@hack.frob.com>
23098
23099 * sysdeps/generic/gcc-compat.h: New file.
23100
23101 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23102
23103 * benchtests/asin-inputs: Correct slow inputs.
23104 * benchtests/acos-inputs: Likewise.
23105
23106 2014-01-10 Allan McRae <allan@archlinux.org>
23107
23108 * po:sv.po: Update Swedish translation from translation project.
23109
23110 * po/vi.po: Update Vietnamese translation from translation project.
23111
23112 * po/eo.po: Update Esperanto translation from translation project.
23113
23114 * po/cs.po: Update Czech translation from translation project.
23115
23116 * po/nl.po: Update Dutch translation from translation project.
23117
23118 * po/pl.po: Update Polish translation from translation project.
23119
23120 * po/ru.po: Update Russian translation from translation project.
23121
23122 * po/uk.po: Update Ukrainian translation from translation project.
23123
23124 2014-01-08 Brooks Moses <bmoses@google.com>
23125
23126 * elf/dl-load.c: Fix comment typo.
23127
23128 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23129
23130 * po/header.pot: Rename to...
23131 * po/pot.header: ... this.
23132 * po/Makefile: Use pot.header.
23133
23134 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23135 Maxim Kuvyrkov <maxim@kugelworks.com>
23136
23137 [BZ #16394]
23138 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23139 SRC and DEST against LEN.
23140
23141 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23142
23143 [BZ #16414]
23144 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23145 implementation.
23146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23147
23148 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23149
23150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23151
23152 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23153
23154 [BZ #16408]
23155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23156 for large positive arguments.
23157
23158 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23159
23160 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23161
23162 * math/auto-libm-test-in: Mark various tests with
23163 xfail-rounding:ldbl-128ibm.
23164 * math/auto-libm-test-out: Regenerated.
23165
23166 [BZ #16407]
23167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23168 Increase overflow threshold.
23169
23170 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23171
23172 [BZ #14286]
23173 * stdio-common/vfprintf.c: Check for integer overflow.
23174
23175 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23176
23177 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23178 the first argument and return value of __tls_get_addr_internal.
23179
23180 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23181
23182 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23183 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23184
23185 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23186
23187 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23188 * sysdeps/s390/rtld-global-offsets.sym: New file.
23189 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23190 GLIBC_2.19 symbol.
23191 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23192 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23194 ... this.
23195 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23197 ... this.
23198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23199 Regenerate.
23200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23201 Regenerate.
23202 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23203 halfs of GPRs for high_gprs contexts.
23204 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23205 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23206 field.
23207 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23208 uc_flags field.
23209 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23210 64 bit versions:
23211 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23212 for high GPRs (uc_high_gprs) and for future extensions
23213 (__reserved).
23214 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23215 for future extensions (__reserved).
23216 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23217 64 bit versions:
23218 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23219 SC_HIGHGPRS offset definition.
23220 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23221 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23222
23223 * Versions.def: Add GLIBC_2.19 for libpthread.
23224 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23225 siglongjmp for libpthread with GLIBC_2.19 symver.
23226 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23227 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23228 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23229 * sysdeps/s390/__longjmp.c: New file.
23230 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23231 * sysdeps/s390/longjmp.c: New file.
23232 * sysdeps/s390/setjmp.S: New file.
23233 * sysdeps/s390/sigjmp.S: New file.
23234 * sysdeps/s390/v1-longjmp.c: New file.
23235 * sysdeps/s390/v1-setjmp.h: New file.
23236 * sysdeps/s390/v1-sigjmp.c: New file.
23237 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23238 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23239 GLIBC_2.19 version.
23240 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23241 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23242 versioned symbols for ____longjmp_chk.
23243 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23244 Likewise.
23245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23246 Regenerate.
23247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23248 Regenerate.
23249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23250 Regenerate.
23251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23252 Regenerate.
23253 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23254 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23255 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23256 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23257 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23258 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23259 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23260 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23261 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23262 * sysdeps/s390/rtld-__longjmp.c: New file.
23263 * sysdeps/s390/rtld-setjmp.S: New file.
23264
23265 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23266
23267 [BZ #16400]
23268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23269 Return -__logl (x) for small positive arguments without evaluating
23270 a polynomial.
23271
23272 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23273
23274 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23275 Rename to ...
23276 (__ptrace_peeksiginfo_args): ... this.
23277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23280
23281 2014-01-06 Allan McRae <allan@archlinux.org>
23282
23283 * inet/netinet/in.h: Fix typo in comment.
23284
23285 2014-01-05 Andreas Jaeger <aj@suse.de>
23286
23287 * sysdeps/i386/fpu/libm-test-ulps: Update.
23288
23289 2014-01-05 Allan McRae <allan@archlinux.org>
23290
23291 * po/libc.pot: Regenerated.
23292
23293 * malloc/memusagestat.c: Fix gettext call formatting.
23294
23295 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23296
23297 * nscd/nscd.c: Improve usage() output.
23298
23299 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23300
23301 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23302 * sysdeps/unix/sysv/linux/configure: Regenerated.
23303 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23304 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23305
23306 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23307
23308 [BZ #16390]
23309 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23310 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23311
23312 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23313
23314 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23315 extra tokens at end of #undef directive.
23316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23318 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23319
23320 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23321
23322 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23323
23324 * math/auto-libm-test-in: Mark various tests with
23325 xfail-rounding:ldbl-128ibm.
23326 * math/auto-libm-test-out: Regenerated.
23327
23328 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23329
23330 [BZ #16386]
23331 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23332 numbers with subnormal high part when calculating exponent.
23333
23334 [BZ #16385]
23335 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23336 fabs.
23337
23338 [BZ #16384]
23339 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23340 M_LN2l.
23341 (__ieee754_acoshl): Use __log1pl not __log1p.
23342
23343 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23344
23345 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23346 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23347 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23348 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23349 (reused_arena, arena_get2): Convert to GNU style.
23350 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23351 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23352 (memalign_check, __malloc_set_state): Likewise.
23353 * malloc/mallocbug.c (main): Likewise.
23354 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23355 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23356 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23357 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23358 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23359 (__posix_memalign, malloc_info): Likewise.
23360 * malloc/malloc.h: Likewise.
23361 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23362 (mallochook, memalignhook, reallochook, mabort): Likewise.
23363 * malloc/mcheck.h: Likewise.
23364 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23365 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23366 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23367 * malloc/morecore.c (__default_morecore): Likewise.
23368 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23369 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23370 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23371 (print_and_abort): Likewise.
23372 * malloc/obstack.h: Likewise.
23373 * malloc/set-freeres.c (__libc_freeres): Likewise.
23374 * malloc/tst-mallocstate.c (main): Likewise.
23375 * malloc/tst-mtrace.c (main): Likewise.
23376 * malloc/tst-realloc.c (do_test): Likewise.
23377
23378 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23379
23380 [BZ #16366]
23381 * nscd/netgroupcache.c (do_notfound): New function.
23382 (addgetnetgrentX): Use it.
23383
23384 [BZ # 16365]
23385 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23386 NSS_STATUS_NOTFOUND.
23387
23388 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23389
23390 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23392
23393 2014-01-01 Allan McRae <allan@archlinux.org>
23394
23395 * scripts/update-copyrights: Update configure input file suffix.
23396
23397 * NEWS: Update copyright year.
23398 * catgets/gencat.c: Likewise.
23399 * csu/version.c: Likewise.
23400 * debug/catchsegv.sh: Likewise.
23401 * debug/pcprofiledump.c: Likewise.
23402 * debug/xtrace.sh: Likewise.
23403 * elf/ldconfig.c: Likewise.
23404 * elf/ldd.bash.in: Likewise.
23405 * elf/pldd.c: Likewise.
23406 * elf/sotruss.ksh: Likewise.
23407 * elf/sprof.c: Likewise.
23408 * iconv/iconv_prog.c: Likewise.
23409 * iconv/iconvconfig.c: Likewise.
23410 * locale/programs/locale.c: Likewise.
23411 * locale/programs/localedef.c: Likewise.
23412 * login/programs/pt_chown.c: Likewise.
23413 * malloc/memusage.sh: Likewise.
23414 * malloc/memusagestat.c: Likewise.
23415 * malloc/mtrace.pl: Likewise.
23416 * manual/libc.texinfo: Likewise.
23417 * nscd/nscd.c: Likewise.
23418 * nss/getent.c: Likewise.
23419 * nss/makedb.c: Likewise.
23420 * posix/getconf.c: Likewise.
23421 * scripts/test-installation.pl: Likewise.
23422
23423 * All files with FSF copyright notices: Update copyright dates
23424 using scripts/update-copyrights.
23425 * intl/plural.c: Regenerated.
23426 * locale/programs/charmap-kw.h: Likewise.
23427 * locale/programs/locfile-kw.h: Likewise.
23428
23429 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23430
23431 * sysdeps/unix/sysv/linux/configure: Regenerated.
23432 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23433 the linux/fanotify.h header.
23434 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23435 HAVE_LINUX_FANOTIFY_H is defined.
23436
23437 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23438
23439 * benchtests/cos-inputs: New inputs.
23440 * benchtests/sin-inputs: Likewise.
23441
23442 * benchtests/atan-inputs: New inputs. Fix name of multiple
23443 precision fallback inputs.
23444
23445 * benchtests/atanh-inputs: New inputs.
23446 * benchtests/tanh-inputs: Likewise.
23447
23448 * benchtests/acosh-inputs: New inputs.
23449 * benchtests/asinh-inputs: Likewise.
23450
23451 * benchtests/cosh-inputs: New inputs.
23452 * benchtests/sinh-inputs: Likewise.
23453
23454 * benchtests/acos-inputs: Add more inputs.
23455 * benchtests/asin-inputs: Likewise.
23456
23457 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23458
23459 [BZ #16375]
23460 * manual/arith.texi: Fix spelling.
23461 * manual/charset.texi: Likewise.
23462 * manual/errno.texi: Likewise.
23463 * manual/filesys.texi: Likewise.
23464 * manual/lang.texi: Likewise.
23465 * manual/llio.texi: Likewise.
23466 * manual/locale.texi: Likewise.
23467 * manual/message.texi: Likewise.
23468 * manual/resource.texi: Likewise.
23469 * manual/search.texi: Likewise.
23470 * manual/setjmp.texi: Likewise.
23471 * manual/stdio.texi: Likewise.
23472 * manual/string.texi: Likewise.
23473 * manual/sysinfo.texi: Likewise.
23474 * manual/time.texi: Likewise.
23475
23476 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23477
23478 * po/sl.po: New file.
23479
23480 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23481
23482 * .gitignore: Add core/.gdbinit/.gdb_history.
23483
23484 2013-12-27 Allan McRae <allan@archlinux.org>
23485
23486 [BZ #16369]
23487 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23488 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23489
23490 2013-12-24 Brooks Moses <bmoses@google.com>
23491
23492 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23493 all compilers that claim C++98 compliance, not just GCC.
23494 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23495 Likewise.
23496
23497 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23498
23499 * NEWS: Restore accidentally deleted bug-fix entries.
23500
23501 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23502 Ondřej Bílka <neleai@seznam.cz>
23503
23504 [BZ #15073]
23505 * malloc/malloc.c (_int_free): Perform sanity check only if we
23506 have_lock.
23507
23508 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23509
23510 [BZ #12986]
23511 * manual/stdio.texi (String Input Conversions): Clarify that character
23512 classes are not supported.
23513
23514 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23515
23516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23517
23518 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23519
23520 [BZ #16337]
23521 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23522 Calculate results for small negative arguments directly rather
23523 than using reflection formula with special underflow handling.
23524
23525 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23526 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23527 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23528 (fchflags): Likewise.
23529 (revoke): Likewise.
23530 (setlogin): Likewise.
23531 (sigaltstack): Likewise.
23532 (wait4): Likewise.
23533 (sigblock): Remove.
23534 (sigsetmask): Likewise.
23535 (wait3): Likewise.
23536 (waitpid): Likewise.
23537 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23538 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23539 file.
23540 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23541 * sysdeps/unix/bsd/Makefile: ... here.
23542 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23543 * sysdeps/unix/bsd/Versions: ... here.
23544 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23545 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23546 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23547 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23548 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23549 * sysdeps/unix/bsd/sigblock.c: ... here.
23550 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23551 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23552 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23553 * sysdeps/unix/bsd/sigvec.c: ... here.
23554 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23555 * sysdeps/unix/bsd/tcdrain.c: ... here.
23556 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23557 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23558 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23559 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23560 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23561 * sysdeps/unix/bsd/wait.c: ... here.
23562 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23563 * sysdeps/unix/bsd/wait3.c: ... here.
23564 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23565 * sysdeps/unix/bsd/waitpid.c: ... here.
23566
23567 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23568
23569 [BZ #16356]
23570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23571 round-to-nearest for [!USE_AS_EXPM1L].
23572 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23573 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23574 more tests of exp and exp10. Expect some exp10 tests to miss
23575 exceptions or fail in directed rounding modes.
23576 * math/auto-libm-test-out: Regenerated.
23577 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23578 (exp10_test_tonearest): New function.
23579 (exp10_towardzero_test_data): New array.
23580 (exp10_test_towardzero): New function.
23581 (exp10_downward_test_data): New array.
23582 (exp10_test_downward): New function.
23583 (exp10_upward_test_data): New array.
23584 (exp10_test_upward): New function.
23585 (main): Call the new functions.
23586 * sysdeps/i386/fpu/libm-test-ulps: Update.
23587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23588
23589 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23590
23591 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23592 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23593 * math/auto-libm-test-out: Regenerated.
23594 * math/libm-test.inc (acosh_test_data): Add more tests.
23595 (atanh_test_data): Likewise.
23596 (ceil_test_data): Likewise.
23597 (copysign_test_data): Likewise.
23598 * sysdeps/i386/fpu/libm-test-ulps: Update.
23599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23600
23601 * timezone/checktab.awk: Update from tzcode 2013i.
23602 * timezone/private.h: Likewise.
23603 * timezone/scheck.c: Likewise.
23604 * timezone/tzfile.h: Likewise.
23605 * timezone/tzselect.ksh: Likewise.
23606 * timezone/zdump.c: Likewise.
23607 * timezone/zic.c: Likewise.
23608
23609 * math/auto-libm-test-in: Add tests of cpow.
23610 * math/auto-libm-test-out: Regenerated.
23611 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23612 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23613 mpc_cc_c.
23614 (func_calc_desc): Add mpc_cc_c union field.
23615 (test_functions): Add cpow.
23616 (special_fill_2pi): New function.
23617 (special_real_inputs): Add 2pi.
23618 (calc_generic_results): Handle mpc_cc_c.
23619 * sysdeps/i386/fpu/libm-test-ulps: Update.
23620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23621
23622 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23623 csqrt, ctan and ctanh.
23624 * math/auto-libm-test-out: Regenerated.
23625 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23626 (TEST_COND_x86): Likewise.
23627 (ccos_test_data): Use AUTO_TESTS_c_c.
23628 (ccosh_test_data): Likewise.
23629 (cexp_test_data): Likewise.
23630 (clog_test_data): Likewise.
23631 (csqrt_test_data): Likewise.
23632 (ctan_test_data): Likewise.
23633 (ctan_tonearest_test_data): Likewise.
23634 (ctan_towardzero_test_data): Likewise.
23635 (ctan_downward_test_data): Likewise.
23636 (ctan_upward_test_data): Likewise.
23637 (ctanh_test_data): Likewise.
23638 (ctanh_tonearest_test_data): Likewise.
23639 (ctanh_towardzero_test_data): Likewise.
23640 (ctanh_downward_test_data): Likewise.
23641 (ctanh_upward_test_data): Likewise.
23642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23643 mpc_c_c.
23644 (func_calc_desc): Add mpc_c_c union field.
23645 (FUNC_mpc_c_c): New macro.
23646 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23647 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23648 ctanh.
23649 (special_fill_min_subnorm_p120): New function.
23650 (special_real_inputs): Add min_subnorm_p120.
23651 (calc_generic_results): Handle mpc_c_c.
23652 * sysdeps/i386/fpu/libm-test-ulps: Update.
23653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23654
23655 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23656
23657 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23658 (do_sin_slow): New functions.
23659 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23660 (cslow2, csloww1, csloww2): Use the new functions.
23661
23662 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23663 Use M to change sign of result instead of X. Assume X is
23664 positive.
23665 (csloww1): Likewise.
23666 (__sin): Adjust.
23667 (__cos): Adjust.
23668
23669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23670 arguments A and DA.
23671 (__sin): Adjust.
23672 (__cos): Likewise.
23673
23674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23675 (__cos): Likewise.
23676 (sloww1): Don't adjust sign of DX.
23677 (csloww1): Likewise.
23678 (sloww2): Use X directly and don't adjust sign of DX.
23679 (csloww2): Likewise.
23680
23681 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23682
23683 * math/auto-libm-test-in: Add tests of cabs and carg.
23684 * math/auto-libm-test-out: Regenerated.
23685 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23686 (carg_test_data): Likewise.
23687 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23688 mpc_c_f.
23689 (func_calc_desc): Add mpc_c_f union field.
23690 (test_functions): Add cabs and carg.
23691 (calc_generic_results): Handle mpc_c_f.
23692
23693 * sysdeps/powerpc/powerpc32/libgcc-compat.S
23694 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23695 as a macro and a compat symbol.
23696 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23697 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23698 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23699 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23700 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23701 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23702 not use .hidden.
23703 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23704 Likewise.
23705 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23706 Likewise.
23707 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23708 Likewise.
23709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23710 Likewise.
23711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23712 Likewise.
23713 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23714 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23715 from GLIBC_2.3.2.
23716
23717 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23718
23719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23720
23721 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23722
23723 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23724 trailing whitespace removed.
23725 * scripts/config.guess: Update to version 2013-11-29.
23726 * scripts/config.sub: Update to version 2013-10-01.
23727
23728 * math/auto-libm-test-in: Add tests of sincos.
23729 * math/auto-libm-test-out: Regenerated.
23730 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23731 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23732 mpfr_f_11.
23733 (func_calc_desc): Add mpfr_f_11 union field.
23734 (test_functions): Add sincos.
23735 (calc_generic_results): Handle mpfr_f_11.
23736 * sysdeps/i386/fpu/libm-test-ulps: Update.
23737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23738
23739 2013-12-19 Andreas Schwab <schwab@suse.de>
23740
23741 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23742 CALL_MCOUNT.
23743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23745 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23746
23747 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23748
23749 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23750 * sysdeps/i386/fpu/libm-test-ulps: Update.
23751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23752
23753 [BZ #16293]
23754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23755 round-to-nearest mode when using frndint.
23756 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23757 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23758 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23759 Likewise.
23760 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23761 sinh test to fail.
23762 * math/auto-libm-test-out: Regenerated.
23763 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23764 (TEST_COND_x86): Likewise.
23765 (expm1_tonearest_test_data): New array.
23766 (expm1_test_tonearest): New function.
23767 (expm1_towardzero_test_data): New array.
23768 (expm1_test_towardzero): New function.
23769 (expm1_downward_test_data): New array.
23770 (expm1_test_downward): New function.
23771 (expm1_upward_test_data): New array.
23772 (expm1_test_upward): New function.
23773 (main): Run the new test functions.
23774 * sysdeps/i386/fpu/libm-test-ulps: Update.
23775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776
23777 * include/features.h: Update comment documenting feature test
23778 macros. Mention _DEFAULT_SOURCE in comment.
23779 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23780 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23781 _BSD_SOURCE and _SVID_SOURCE.
23782 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23783 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23784 !_SVID_SOURCE]: Likewise.
23785 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23786 (__USE_POSIX_IMPLICITLY): Define.
23787 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23788 (_POSIX_SOURCE): Undefine and redefine.
23789 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23790 (_POSIX_C_SOURCE): Likewise.
23791 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23792 (Feature Test Macros): Update documentation of default features.
23793
23794 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23795
23796 * benchtests/Makefile: Add bench-strtok.
23797 * benchtests/bench-strtok.c: New file: strtok benchtest.
23798
23799 2013-12-19 Allan McRae <allan@archlinux.org>
23800
23801 * manual/install.texi: Suppress menu for plain text output.
23802 * INSTALL: Regenerated.
23803
23804 2013-12-18 Brooks Moses <bmoses@google.com>
23805
23806 [BZ #15846]
23807 * misc/getauxval.c: Include errno.h.
23808 (__getauxval): Set errno to ENOENT if the requested type is not
23809 found.
23810 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23811 don't declare with __attribute_const__.
23812 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23813 * manual/startup.texi: Document that getauxval sets errno.
23814
23815 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23816
23817 * math/auto-libm-test-in: Add tests of jn and yn.
23818 * math/auto-libm-test-out: Regenerated.
23819 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23820 (yn_test_data): Likewise.
23821 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23822 mpfr_if_f.
23823 (func_calc_desc): Add mpfr_if_f union field.
23824 (FUNC_mpfr_if_f): New macro.
23825 (test_functions): Add jn and yn.
23826 (calc_generic_results): Assert type of second input for
23827 mpfr_ff_f. Handle mpfr_if_f.
23828 (output_for_one_input_case): Disable all checking for arguments
23829 fitting floating-point types in case of an integer argument.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23834 Don't expect fegetround reference in libm.so.
23835
23836 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23837
23838 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23839 $(config-cflags-nofma).
23840
23841 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23842
23843 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23844 * math/auto-libm-test-out: Regenerated.
23845
23846 [BZ #16338]
23847 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23848 to determine exponent and adjust argument to have exponent of -1.
23849 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23850 log2.
23851 * math/auto-libm-test-out: Regenerated.
23852 * sysdeps/i386/fpu/libm-test-ulps: Update.
23853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23854
23855 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23856
23857 * manual/probes.texi: Remove cases when per-thread arenas are
23858 disabled.
23859
23860 2013-12-18 Andreas Schwab <schwab@suse.de>
23861
23862 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23863 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23864 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23865 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23866 * sysdeps/i386/i686/multiarch/Makefile: Update.
23867 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23868
23869 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23870
23871 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23872 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23873
23874 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23875
23876 [BZ #15968]
23877 Support TZ transition times < 00:00:00.
23878 This is needed for version-3 tz-format files; it supports time
23879 stamps past 2037 for America/Godthab (the only entry in the tz
23880 database for which this change is relevant).
23881 * manual/time.texi (TZ Variable): Document transition times
23882 from -167:59:59 through -00:00:01.
23883 * time/tzset.c (tz_rule): Time of day is now signed.
23884 (__tzset_parse_tz): Parse negative time of day.
23885
23886 Document TZ transition times >= 25:00:00.
23887 * manual/time.texi (TZ Variable): Document transition times from
23888 25:00:00 through 167:59:59. These are already supported, and this
23889 support will help with version-3 tz-format files.
23890
23891 * manual/time.texi (TZ Variable): Modernize North America example
23892 to reflect current (i.e., 2007-and-later) daylight saving rules.
23893
23894 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23895
23896 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23897
23898 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23899 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23902 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23903 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23904 * sysdeps/unix/bsd/clock.c: Likewise.
23905 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23906 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23907 * sysdeps/unix/bsd/init-posix.c: Likewise.
23908 * sysdeps/unix/bsd/poll.c: Likewise.
23909 * sysdeps/unix/bsd/ptsname.c: Likewise.
23910 * sysdeps/unix/bsd/seekdir.c: Likewise.
23911 * sysdeps/unix/bsd/setegid.c: Likewise.
23912 * sysdeps/unix/bsd/seteuid.c: Likewise.
23913 * sysdeps/unix/bsd/setgid.c: Likewise.
23914 * sysdeps/unix/bsd/setrgid.c: Likewise.
23915 * sysdeps/unix/bsd/setruid.c: Likewise.
23916 * sysdeps/unix/bsd/setsid.c: Likewise.
23917 * sysdeps/unix/bsd/setuid.c: Likewise.
23918 * sysdeps/unix/bsd/sigaction.c: Likewise.
23919 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23920 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23921 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23922 * sysdeps/unix/bsd/telldir.c: Likewise.
23923 * sysdeps/unix/bsd/times.c: Likewise.
23924 * sysdeps/unix/bsd/usleep.c: Likewise.
23925
23926 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23927 ($(objpfx)libbsd-compat.a): Remove rule.
23928
23929 * include/features.h (__FAVOR_BSD): Do not define.
23930 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23931 features conflicting with POSIX.
23932 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23933 (_BSD_SOURCE): Remove description of not being a subset of other
23934 feature test macros.
23935 * manual/job.texi (getpgrp): Do not document BSD version.
23936 (getpgid): Do not document by reference to BSD getpgrp.
23937 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23938 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23939 * signal/signal.h [__FAVOR_BSD]: Likewise.
23940 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23941 instead of making contents conditional on [__FAVOR_BSD].
23942 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23943
23944 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23945
23946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23947
23948 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23949
23950 [BZ #16314]
23951 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23952 values below 2**-450, not 2**-500.
23953 * math/auto-libm-test-in: Don't allow spurious underflow from
23954 hypot.
23955 * math/auto-libm-test-out: Regenerated.
23956
23957 [BZ #16316]
23958 [BZ #16330]
23959 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23960 values of ha and hb and sort them after adjusting subnormal
23961 arguments.
23962 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23963 Likewise.
23964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23965 values of ea and eb and sort them after adjusting subnormal
23966 arguments.
23967 * math/auto-libm-test-in: Do not expect some hypot tests of
23968 subnormals to fail. Add more hypot tests.
23969 * math/auto-libm-test-out: Regenerated.
23970
23971 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23972
23973 [BZ #13304]
23974 * sysdeps/sh/s_fma.c: New file.
23975 * sysdeps/sh/s_fmaf.c: New file.
23976 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23977 version.
23978 * sysdeps/sh/Implies: Add sh/soft-fp.
23979
23980 2013-12-16 Roland McGrath <roland@hack.frob.com>
23981
23982 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23983 level of indirection to members `objname', `errstring', `malloced'.
23984 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23985 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23986 it as the __longjmp argument (just pass 1 instead).
23987 (_dl_catch_error): Initialize C with argument pointers and address of
23988 volatile local ERRCODE rather than copying values out of C at return.
23989
23990 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23991
23992 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23993 * math/auto-libm-test-out: Regenerated.
23994 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23995 (hypot_test_data): Likewise.
23996 (pow_test_data): Likewise.
23997 (pow_tonearest_test_data): Likewise.
23998 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23999 mpfr_ff_f.
24000 (func_calc_desc): Add mpfr_ff_f union field.
24001 (FUNC_mpfr_ff_f): New macro.
24002 (test_functions): Add atan2, hypot and pow.
24003 (special_fill_min): New function.
24004 (special_fill_minus_min): Likewise.
24005 (special_fill_min_subnorm): Likewise.
24006 (special_fill_minus_min_subnorm): Likewise.
24007 (special_real_inputs): Add min, -min, min_subnorm and
24008 -min_subnorm.
24009 (calc_generic_results): Handle mpfr_ff_f.
24010 * sysdeps/i386/fpu/libm-test-ulps: Update.
24011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012
24013 2013-12-16 Will Newton <will.newton@linaro.org>
24014
24015 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24016 (Aligned Memory Blocks): Add documentation for aligned_alloc
24017 and suggest it as an alternative to posix_memalign.
24018 (Hooks for Malloc): Document __memalign_hook is also called
24019 for aligned_alloc. (Summary of Malloc): Add summary for
24020 aligned alloc. Document __memalign_hook is also called
24021 for aligned_alloc.
24022
24023 2013-12-16 Will Newton <will.newton@linaro.org>
24024
24025 * manual/memory.texi (Malloc Examples): Clarify default
24026 alignment documentation. Suggest posix_memalign rather
24027 than memalign or valloc.
24028 (Aligned Memory Blocks): Remove suggestion to use memalign
24029 or valloc. Remove obsolete comment about BSD.
24030 Document memalign errno values and mark the function obsolete.
24031 Document posix_memalign returned error codes. Mark valloc
24032 as obsolete. (Hooks for Malloc): __memalign_hook is also
24033 called for posix_memalign and valloc.
24034 (Summary of Malloc): Add posix_memalign to function summary.
24035 __memalign_hook is also called for posix_memalign and valloc.
24036
24037 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24038
24039 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24040 TAYLOR_SIN.
24041 (__sin): Adjust.
24042 (__cos): Likewise.
24043 (sloww): Use mynumber union. Expand ternary operator into
24044 if-else statements.
24045 (cslow): use mynumber union.
24046
24047 2013-12-16 Allan McRae <allan@archlinux.org>
24048
24049 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24050 * configure: Regenerated.
24051
24052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24053
24054 [BZ #14120]
24055 * configure.ac: Added --enable-maintainer-mode. Check for
24056 autoconf when enabled.
24057 * configure: Regenerated.
24058
24059 * nscd/nscd.service: New file.
24060 * nscd/nscd.tmpfiles: New file.
24061
24062 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24063
24064 [BZ #12100]
24065 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24066 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24067 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24068 (strstr): Add __strstr_sse2_unaligned ifunc.
24069 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24070 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24071 (strcasestr): Remove __strcasestr_sse42 ifunc.
24072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24075
24076 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24077
24078 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24079 * sysdeps/sh/bits/fenv.h: ... here.
24080 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24081
24082 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24083
24084 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24085
24086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24087 hypotf multiarch implementations.
24088 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24091 multiarch hypot for PPC64.
24092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24095 multiarch hypotf for PPC64.
24096
24097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24098 modff multiarch implementations.
24099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24102 multiarch modf for PPC64.
24103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24106 multiarch modff for PPC64.
24107
24108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24109 and logl multiarch implementations.
24110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24113 multiarch logb for PPC64.
24114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24117 multiarch logb for PPC64.
24118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24121 multiarch logb for PPC64.
24122
24123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24124 isinff multiarch implementation.
24125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24126 file.
24127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24129 multiarch isinf for PPC64.
24130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24131 file.
24132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24133 multiarch isinff for PPC64.
24134
24135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24136 finitef multiarch implementation.
24137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24138 file.
24139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24141 multiarch finite for PPC64.
24142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24143 file.
24144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24145 multiarch finitef for PPC64.
24146
24147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24148 lrint multiarch implementation.
24149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24150 file.
24151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24153 multiarch llrint for PPC64.
24154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24155 multiarch lrint for PPC64.
24156
24157 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24158 copysignf multiarch implementation.
24159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24160 file.
24161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24162 file.
24163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24164 multiarch copysign for PPC64.
24165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24166 multiarch copysignf for PPC64.
24167
24168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24169 multiarch implementation.
24170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24171 file.
24172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24173 file.
24174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24175 file.
24176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24177 file.
24178 multiarch llround for PPC64.
24179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24180 multiarch trunc for PPC64.
24181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24182 multiarch truncf for PPC64.
24183
24184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24185 multiarch implementation.
24186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24187 file.
24188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24189 file.
24190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24191 file.
24192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24193 file.
24194 multiarch llround for PPC64.
24195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24196 multiarch round for PPC64.
24197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24198 multiarch roundf for PPC64.
24199
24200 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24201 multiarch implementation.
24202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24203 file.
24204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24205 file.
24206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24207 file.
24208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24209 file.
24210 multiarch llround for PPC64.
24211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24212 multiarch floor for PPC64.
24213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24214 multiarch floorf for PPC64.
24215
24216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24217 multiarch implementation.
24218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24219 file.
24220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24221 file.
24222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24223 file.
24224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24225 file.
24226 multiarch llround for PPC64.
24227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24228 multiarch ceil for PPC64.
24229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24230 multiarch ceilf for PPC64.
24231
24232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24233 multiarch implementation.
24234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24235 file.
24236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24237 file.
24238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24239 file.
24240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24241 multiarch llround for PPC64.
24242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24243 multiarch lround for PPC64.
24244
24245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24246 multiarch implementation.
24247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24250 file.
24251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24254 multiarch isnan for PPC64.
24255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24256 multiarch isnanf for PPC64.
24257
24258 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24259 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24260 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24261 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24262 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24264
24265 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24269
24270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24271 multiarch implementations.
24272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24273 (__libc_ifunc_impl_list): Likewise.
24274 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24275 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24277 multiarch stpcpy for PPC64.
24278
24279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24280 multiarch implementations.
24281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24282 (__libc_ifunc_impl_list): Likewise.
24283 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24284 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24285 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24286 multiarch strcpy for PPC64.
24287
24288 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24289 redefine function name.
24290 (_wordcopy_fwd_dest_aligned): Likewise.
24291 (_wordcopy_bwd_aligned): Likewise.
24292 (_wordcopy_bwd_dest_aligned): Likewise.
24293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24294 multiarch implementations.
24295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24296 (__libc_ifunc_impl_list): Likewise.
24297 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24301 multiarch wcscpy for PPC64.
24302
24303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24304 multiarch implementations.
24305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24306 (__libc_ifunc_impl_list): Likewise.
24307 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24308 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24309 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24311 multiarch wcscpy for PPC64.
24312
24313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24314 multiarch implementations.
24315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24316 (__libc_ifunc_impl_list): Likewise.
24317 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24321 multiarch wcsrchr for PPC64.
24322
24323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24324 multiarch implementations.
24325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24326 (__libc_ifunc_impl_list): Likewise.
24327 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24328 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24329 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24330 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24331 multiarch wcschr for PPC64.
24332
24333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24334 multiarch implementations.
24335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24336 (__libc_ifunc_impl_list): Likewise.
24337 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24340 multiarch strchrnul for PPC64.
24341
24342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24343 implementations.
24344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24345 (__libc_ifunc_impl_list): Likewise.
24346 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24347 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24348 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24349 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24350 strchr for PPC64.
24351
24352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24353 implementations.
24354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24355 (__libc_ifunc_impl_list): Likewise.
24356 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24357 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24359 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24360 strncmp for PPC64.
24361
24362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24363 multiarch implementations.
24364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24365 (__libc_ifunc_impl_list): Likewise.
24366 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24367 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24368 strncasecmp for PPC64.
24369 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24370 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24371 multiarch strncasecmp_l for PPC64.
24372
24373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24374 multiarch implementations.
24375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24376 (__libc_ifunc_impl_list): Likewise.
24377 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24379 multiarch strcasecmp for PPC64.
24380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24381 file.
24382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24383 multiarch strcasecmp_l for PPC64.
24384
24385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24386 implementations.
24387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24388 (__libc_ifunc_impl_list): Likewise.
24389 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24391 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24392 strnlen for PPC64.
24393
24394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24395 implementations.
24396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24397 (__libc_ifunc_impl_list): Likewise.
24398 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24399 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24400 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24401 strlen for PPC64.
24402
24403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24404 implementations.
24405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24406 (__libc_ifunc_impl_list): Likewise.
24407 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24408 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24410 rawmemrchr for PPC64.
24411
24412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24413 implementation.
24414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24415 (__libc_ifunc_impl_list): Likewise.
24416 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24417 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24418 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24419 memrchr for PPC64.
24420
24421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24422 implementation.
24423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24424 (__libc_ifunc_impl_list): Likewise.
24425 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24426 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24427 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24428 memchr for PPC64.
24429
24430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24431 implementation.
24432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24433 (__libc_ifunc_impl_list): Likewise.
24434 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24435 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24436 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24437 mempcpy for PPC64.
24438
24439 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24440 avoid cretion of __bzero symbol.
24441 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24442 Likewise.
24443 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24444 Likewise.
24445 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24446 Likewise.
24447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24448 multiarch implementations.
24449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24450 (__libc_ifunc_impl_list): Likewise.
24451 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24452 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24454 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24455 bzero for PPC32.
24456 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24457 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24458 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24459 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24460 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24461 memset for PPC64.
24462 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24463
24464 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24466 implementations.
24467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24468 (__libc_ifunc_impl_list): Likewise.
24469 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24470 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24472 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24473 memcmp for PPC64.
24474
24475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24476 multiarch for POWER/PPC64.
24477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24478 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24479 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24485 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24486 memcpy for PPC64.
24487
24488 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24489 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24490 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24491 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24492 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24493 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24494 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24495 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24496 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24497 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24498 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24499 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24500 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24501 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24502 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24510
24511 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24512
24513 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24514
24515 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24516
24517 * benchtests/Makefile (bench): Add exp2 and log2.
24518 (LDLIBS-bench-exp2): Add -lm.
24519 (LDLIBS-bench-log2): Likewise.
24520 * benchtests/exp2-inputs: New inputs file.
24521 * benchtests/log2-inputs: New inputs file.
24522 * benchtests/log-inputs: Add new inputs.
24523 * benchtests/tan-inputs: Likewise.
24524
24525 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24526
24527 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24528 definition...
24529 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24530 (csloww2): ... from here.
24531
24532 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24533 instead of structures.
24534 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24535 (POLYNOMIAL): Likewise.
24536 (TAYLOR_SLOW): Likewise.
24537 (__sin): Likewise.
24538 (__cos): Likewise.
24539 (slow1): Likewise.
24540 (slow2): Likewise.
24541 (sloww): Likewise.
24542 (sloww1); Likewise.
24543 (sloww2): Likewise.
24544 (bsloww1): Likewise.
24545 (bsloww2): Likewise.
24546 (cslow2): Likewise.
24547 (csloww): Likewise.
24548 (csloww1): Likewise.
24549 (csloww2): Likewise.
24550
24551 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24552
24553 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24554 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24555 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24556 * malloc/hooks.c (realloc_check): Likewise.
24557
24558 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24559 * malloc/arena.c: Remove PER_THREAD conditional.
24560 [!PER_THREAD]: Remove code.
24561 (ptmalloc_unlock_all2): Likewise.
24562 (ptmalloc_init): Likewise.
24563 (_int_new_arena): Likewise.
24564 (arena_get2): Likewise.
24565 * malloc/hooks.c (__malloc_get_state): Likewise.
24566 (__malloc_set_state): Likewise.
24567 * malloc/malloc.c: Likewise.
24568 (struct malloc_state): Likewise.
24569 (struct malloc_par): Likewise.
24570 (__libc_realloc): Likewise.
24571 (__libc_mallopt): Likewise.
24572
24573 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24574
24575 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24576
24577 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24578
24579 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24580 macro to a function. Check for zero perturb_byte.
24581 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24582
24583 * malloc/malloc.c: (force_reg): Remove.
24584 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24585 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24586 force_reg by atomic_forced_read.
24587 * malloc/arena.c (ptmalloc_init): Likewise.
24588 * malloc/hooks.c (top_check): Likewise.
24589
24590 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24591
24592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24593
24594 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24595
24596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24597
24598 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24599
24600 * math/auto-libm-test-in: Add tests of lgamma.
24601 * math/auto-libm-test-out: Regenerated.
24602 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24603 (M_LOG_2_SQRT_PIl): Likewise.
24604 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24605 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24606 mpfr_f_f1.
24607 (func_calc_desc): Add mpfr_f_f1 union field.
24608 (ARGS1): New macro.
24609 (ARGS2): Likewise.
24610 (ARGS3): Likewise.
24611 (ARGS4): Likewise.
24612 (RET1): Likewise.
24613 (RET2): Likewise.
24614 (CALC): Likewise.
24615 (FUNC): Likewise.
24616 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24617 (test_functions): Add lgamma.
24618 (calc_generic_results): Handle mpfr_f_f1.
24619 * sysdeps/i386/fpu/libm-test-ulps: Update.
24620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24621
24622 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24623
24624 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24625 __mpn_add_n for PowerPC64/POWER7.
24626 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24627 __mpn_sub_n for PowerPC64/POWER7.
24628
24629 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24630 __mpn_addmul_1 for PowerPC64.
24631 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24632 __mpn_submul_1 for PowerPC64.
24633 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24634 for PowerPC64.
24635 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24636 for PowerPC64.
24637
24638 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24639
24640 [BZ #15089]
24641 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24642
24643 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24644
24645 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24646
24647 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24648 add multiarch folders.
24649 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24650 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24651 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24652 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24653 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24654 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24655 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24656 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24657 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24658 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24659 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24666
24667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24668 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24670 New file.
24671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24672 New file.
24673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24674 multiarch __ieee754_hypot for PowerPC32.
24675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24676 New file.
24677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24678 New file.
24679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24680 multiarch __ieee754_hypotf for PowerPC32.
24681
24682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24683 long_double_symbol only if __logbl is defined.
24684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24685 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24687 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24689 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24691 path for implementation.
24692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24695 logb, and logbl multiarch implementations for PowerPC32.
24696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24697 file.
24698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24699 file.
24700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24701 multiarch logb for PowerPC32.
24702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24703 file.
24704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24705 file.
24706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24707 multiarch logbf for PowerPC32.
24708 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24710 file.
24711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24712 multiarch logbl implementation for PowerPC32.
24713
24714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24715 and modff multiarch implementations.
24716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24717 New file.
24718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24719 New file.
24720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24721 multiarch modf for PowerPC32.
24722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24723 New file.
24724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24725 New file.
24726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24727 multiarch modff for PowerPC32.
24728
24729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24730 and lrintf multiarch implementations.
24731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24732 New file.
24733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24734 New file.
24735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24736 multiarch lrint for PowerPC32.
24737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24738 file: multiarch lrintf for PowerPC32.
24739
24740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24741 and lroundf multiarch implementations.
24742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24743 New file.
24744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24745 New file.
24746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24747 New file.
24748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24749 multiarch lround for PowerPC32.
24750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24751 file: multiarch lroundf for PowerPC32.
24752
24753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24754 copysign and copysignf multiarch implementations.
24755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24756 New file.
24757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24758 New file.
24759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24760 file: multiarch copysign for PowerPC32.
24761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24762 file: multiarch copysignf for PowerPC32.
24763
24764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24765 and truncf multiarch implementations.
24766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24767 New file.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24769 file.
24770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24771 multiarch trunc for PowerPC32.
24772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24773 New file.
24774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24775 New file.
24776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24777 multiarch truncf for PowerPC32.
24778
24779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24780 and roundf multiarch implementations.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24782 New file.
24783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24784 file.
24785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24786 multiarch round for PowerPC32.
24787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24788 New file.
24789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24790 New file.
24791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24792 multiarch roundf for PowerPC32.
24793
24794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24795 and floorf multiarch implementations.
24796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24797 New file.
24798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24799 file.
24800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24801 multiarch floor for PowerPC32.
24802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24803 New file.
24804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24805 New file.
24806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24807 multiarch floorf for PowerPC32.
24808
24809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24810 and ceilf multiarch implementations.
24811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24812 New file.
24813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24814 file.
24815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24816 multiarch ceil for PowerPC32.
24817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24818 New file.
24819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24820 file.
24821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24822 multiarch ceilf for PowerPC32.
24823
24824 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24825 is defined.
24826 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24827 FINITEF is defined.
24828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24829 and finitef multiarch implementations.
24830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24831 New file.
24832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24833 file.
24834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24835 multiarch finite for PowerPC32.
24836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24837 New file.
24838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24839 file: multiarch finitef for PowerPC32.
24840
24841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24842 and isinff multiarch implementations.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24844 file.
24845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24846 file.
24847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24848 multiarch isinf for PowerPC32.
24849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24850 New file.
24851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24852 multiarch isinff for PowerPC32.
24853
24854 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24855 alias when __isnan is defined.
24856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24857 and isnanf multiarch implementations.
24858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24859 file.
24860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24861 file.
24862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24863 file.
24864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24865 file.
24866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24867 multiarch isnan for PowerPC32.
24868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24869 New file.
24870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24871 New file.
24872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24873 multiarch isnanf for PowerPC32.
24874
24875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24876 and sqrtf multiarch implementations.
24877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24878 file.
24879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24880 file.
24881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24882 multiarch sqrt for PowerPC32.
24883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24884 file.
24885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24886 file.
24887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24888 multiarch sqrtf for PowerPC32.
24889
24890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24891 and llroundf multiarch implementations.
24892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24893 New file.
24894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24895 New file.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24897 New file.
24898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24899 file: multiarch llround for PowerPC32.
24900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24901 file: multiarch llroundf for PowerPC32.
24902
24903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24904 multiarch PowerPC32 fpu implementations.
24905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24906 New file.
24907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24908 New file.
24909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24910 multiarch llrint for PowerPC32.
24911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24912 New file.
24913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24914 New file.
24915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24916 file.
24917
24918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24919
24920 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24921 file.
24922 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24923 file.
24924 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24925 file.
24926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24927 multiarch wordcopy for PPC32.
24928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24929 wordcopy objects.
24930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24931 (__libc_ifunc_impl_list): Likewise.
24932 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24933 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24934 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24935 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24937 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24938
24939 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24941 file.
24942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24943 file.
24944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24945 file.
24946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24947 multiarch wcscpy for PPC32.
24948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24949 multiarch objects.
24950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24951 (__libc_ifunc_impl_list): Likewise.
24952 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24953 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24954 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24955 sysdeps/powerpc/power6/wcscpy.c.
24956
24957 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24959 file.
24960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24961 file.
24962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24963 file.
24964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24965 multiarch wcsrchr for PPC32.
24966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24967 multiarch objects.
24968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24969 (__libc_ifunc_impl_list): Likewise.
24970 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24971 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24972 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24973 sysdeps/powerpc/power6/wcsrchr.c.
24974
24975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24976 file.
24977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24978 file.
24979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24981 multiarch wcschr for PPc32.
24982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24983 multiarch objects.
24984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24985 (__libc_ifunc_impl_list): Likewise.
24986 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24987 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24988 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24989 sysdeps/powerpc/power6/wcschr.c.
24990
24991 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24992 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24993 file.
24994 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24995 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24996 file: multiarch strchr for PPC32.
24997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24998 multiarch objects.
24999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25000 (__libc_ifunc_impl_list): Likewise.
25001
25002 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25003 name.
25004 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25005 file.
25006 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25007 file.
25008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25009 multiarch strchrnul for PPC32.
25010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25011 multiarch objects.
25012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25013 (__libc_ifunc_impl_list): Likewise.
25014
25015 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25016 file.
25017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25018 multiarch strncasecmp for PPC32.
25019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25020 file.
25021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25022 multiarch strncasecmp_l for PPC32.
25023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25024 strncasecmp multiarch objects.
25025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25026 (__libc_ifunc_impl_list): Likewise.
25027
25028 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25029 file.
25030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25031 multiarch strncasecmp for PPC32.
25032 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25033 New file.
25034 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25035 multiarch strcasecmp_l for PPC32.
25036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25037 multiarch objects.
25038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25039 (__libc_ifunc_impl_list): Likewise.
25040
25041 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25042 file.
25043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25044 file.
25045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25046 multiarch strncmp for PPC32.
25047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25048 multiarch objects.
25049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25050 (__libc_ifunc_impl_list): Likewise.
25051
25052 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25053 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25054 file.
25055 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25056 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25058 multiarch objects.
25059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25060 (__libc_ifunc_impl_list): Likewise.
25061
25062 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25063 file.
25064 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25065 file.
25066 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25068 multiarch objects.
25069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25070 (__libc_ifunc_impl_list): Likewise.
25071
25072 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25073 file.
25074 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25075 file.
25076 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25077 multiarch rawmemchr for PPC32.
25078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25079 multiarch objects.
25080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25081 (__libc_ifunc_impl_list): Likewise.
25082
25083 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25084 file.
25085 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25086 file.
25087 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25088 file: memrchr multiarch for PPC32.
25089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25090 multiarch objects.
25091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25092 (__libc_ifunc_impl_list): Likewise.
25093
25094 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25095 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25096 file.
25097 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25099 multiarch memchr for PPC32.
25100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25101 multiarch objects.
25102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25103 (__libc_ifunc_impl_list): Likewise.
25104
25105 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25106 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25107 file.
25108 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25109 file.
25110 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25111 file: multiarch mempcpy for PPC32.
25112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25113 multiarch objects.
25114 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25115 (__libc_ifunc_impl_list): Likewise.
25116
25117 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25121 multiarch bzero for PPC32.
25122 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25123 file.
25124 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25125 file.
25126 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25127 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25128 file: multiarch memset for PPC32.
25129 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25131 memset multiarch objects.
25132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25133 (__libc_ifunc_impl_list): Likewise.
25134
25135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25136 file.
25137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25139 memcmp for PPC32.
25140 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25142 multiarch objects.
25143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25144 (__libc_ifunc_impl_list): Likewise.
25145
25146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25147 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25149 file.
25150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25151 file.
25152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25153 file.
25154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25155 multiarch memcpy for PPC32.
25156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25157 multiarch objects.
25158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25159 (__libc_ifunc_impl_list): Likewise.
25160
25161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25162 support multiarch for POWER/PPC32.
25163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25164 Likewise.
25165 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25167 Implies file to make multiarch folder appers before the fpu and
25168 default folder for power4 configuration.
25169
25170 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25171
25172 * scripts/bench.pl: Append volatile keyword to type.
25173
25174 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25175
25176 * sysdeps/sh/sotruss-lib.c: New file.
25177 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25178
25179 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25180
25181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25182
25183 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25184
25185 [BZ #6810]
25186 * math/w_tgamma.c: Include <errno.h>.
25187 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25188 * math/w_tgammaf.c: Include <errno.h>.
25189 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25190 * math/w_tgammal.c: Include <errno.h>.
25191 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25192 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25193 underflow. Add more tgamma tests.
25194 * math/auto-libm-test-out: Regenerated.
25195 * sysdeps/i386/fpu/libm-test-ulps: Update.
25196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25197
25198 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25199 sin, sinh, tan, tanh, tgamma, y0 and y1.
25200 * math/auto-libm-test-out: Regenerated.
25201 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25202 (TEST_COND_x86): Likewise.
25203 (M_E2l): Remove macro.
25204 (M_E3l): Likewise.
25205 (M_2_SQRT_PIl): Likewise.
25206 (M_SQRT_PIl): Likewise.
25207 (M_1_DIV_El): Likewise.
25208 (log_test_data): Use AUTO_TESTS_f_f.
25209 (log10_test_data): Likewise.
25210 (log1p_test_data): Likewise.
25211 (log2_test_data): Likewise.
25212 (sin_test_data): Likewise.
25213 (sin_tonearest_test_data): Likewise.
25214 (sin_towardzero_test_data): Likewise.
25215 (sin_downward_test_data): Likewise.
25216 (sin_upward_test_data): Likewise.
25217 (sinh_test_data): Likewise.
25218 (sinh_tonearest_test_data): Likewise.
25219 (sinh_towardzero_test_data): Likewise.
25220 (sinh_downward_test_data): Likewise.
25221 (sinh_upward_test_data): Likewise.
25222 (tan_test_data): Likewise.
25223 (tan_tonearest_test_data): Likewise.
25224 (tan_towardzero_test_data): Likewise.
25225 (tan_downward_test_data): Likewise.
25226 (tan_upward_test_data): Likewise.
25227 (tanh_test_data): Likewise.
25228 (tgamma_test_data): Likewise.
25229 (y0_test_data): Likewise.
25230 (y1_test_data): Likewise.
25231 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25232 (special_real_inputs): Add pi/4.
25233 * sysdeps/i386/fpu/libm-test-ulps: Update.
25234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25235
25236 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25237
25238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25239 "longjmp_target" static probes.
25240 (__longjmp): Rename to __longjmp_symbol.
25241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25242 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25243 on which longjmp to generate.
25244 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25245 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25246 probe.
25247 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25248 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25249 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25250 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25251 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25252 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25254 __longjmp_symbol based on which __longjmp to generate.
25255 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25256 probe.
25257 (setjmp): Rename to setjmp_symbol.
25258 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25259 (_setjmp): Rename to _setjmp_symbol.
25260 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25261 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25262 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25263 which setjmp to generate.
25264 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25265 "longjmp_target" static probes.
25266
25267 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25268
25269 * benchtests/README: Add note about output arguments.
25270 * benchtests/bench-sincos.c: Remove file.
25271 * benchtests/sincos-inputs: New file.
25272 * scripts/bench.pl: Identify output arguments and define
25273 static variables for them.
25274
25275 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25276
25277 [BZ #15941]
25278 * Makefile (INSTALL): Add install-plain.texi as the primary
25279 dependency.
25280 * manual/install-plain.texi: New file.
25281 * manual/install.texi: Include node directive only for
25282 non-plaintext output.
25283
25284 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25285
25286 * stdlib/longlong.h: Update from GCC.
25287
25288 [BZ #6807]
25289 [BZ #15901]
25290 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25291 * math/w_j0f.c (y0f): Likewise.
25292 * math/w_j0l.c (__y0l): Likewise.
25293 * math/w_j1.c (y1): Likewise.
25294 * math/w_j1f.c (y1f): Likewise.
25295 * math/w_j1l.c (__y1l): Likewise
25296 * math/w_jn.c (yn): Likewise.
25297 * math/w_jnf.c (ynf): Likewise.
25298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25299 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25300 value for Bessel function domain errors outside _SVID_ mode.
25301 Adjust sign of return value for yn (negative integer, 0).
25302 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25303 by zero in return for negative x and set sign appropriately for
25304 negative n.
25305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25306 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25307 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25308 expectations in error cases.
25309 (y1_test_data): Likewise.
25310 (yn_test_data): Likewise.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25313
25314 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25315
25316 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25317 "64" to "64-v1". Add "64-v2".
25318 (abi-64-options): Rename to ...
25319 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25320 (abi-64-condition): Rename to ...
25321 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25322 (abi-64-ld-soname): Rename to ...
25323 (abi-64-v1-ld-soname): ... this.
25324 (abi-64-v2-options): Define.
25325 (abi-64-v2-condition): Likewise.
25326 (abi-64-v2-ld-soname): Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25328 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25332
25333 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25334 Alan Modra <amodra@gmail.com>
25335
25336 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25337 New versions for use with the ELFv2 ABI.
25338 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25339 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25340 declaration.
25341 (struct La_ppc64v2_retval): Likewise.
25342 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25343 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25344 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25345 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25346 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25347 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25348 Do not save or restore CR.
25349 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25350 (_dl_profile_resolve): Do no save or restore CR. Support extended
25351 return values for ELFv2 ABI. Fix location of FPR return registers.
25352 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25353 updated values for _CALL_ELF == 2.
25354 (La_regs, La_retval, int_retval): Likewise.
25355
25356 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25357
25358 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25359 (FRAME_MIN_SIZE_PARM): Likewise.
25360 (FRAME_BACKCHAIN): Likewise.
25361 (FRAME_CR_SAVE): Likewise.
25362 (FRAME_LR_SAVE): Likewise.
25363 (FRAME_TOC_SAVE): Likewise.
25364 (FRAME_PARM_SAVE): Likewise.
25365 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25366 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25367 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25368 (call_mcount_parm_offset): New macro.
25369 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25370 (PROF): Use symbolic stack frame offsets.
25371 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25372 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25373 Redefine in terms of FRAME_MIN_SIZE.
25374 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25375 (_dl_profile_resolve): Likewise. Update comment.
25376 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25377 symbols stack frame offsets.
25378 (__sigsetjmp): Likewise.
25379 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25380 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25381 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25382 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25383
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25385 (FRAME_BACKCHAIN): Remove.
25386 (FRAME_CR_SAVE): Likewise.
25387 (FRAME_LR_SAVE): Likewise.
25388 (FRAME_COMPILER_DW): Likewise.
25389 (FRAME_LINKER_DW): Likewise.
25390 (FRAME_TOC_SAVE): Likewise.
25391 (FRAME_PARM_SAVE): Likewise.
25392 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25393 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25394 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25396 (CHECK_SP): Use symbolic stack frame offsets.
25397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25398 zone" instead of caller's parameter save area for temp storage.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25400 Likewise. Also, use symbolic stack frame offsets.
25401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25402 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25403 our own stack frame instead of the caller's.
25404 (__socket): Use symbolic stack frame offsets.
25405
25406 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25407 Alan Modra <amodra@gmail.com>
25408
25409 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25410 Define.
25411 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25412 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25413 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25414 New function.
25415 (elf_machine_fixup_plt): Call it.
25416 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25417 reloc arguments.
25418 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25419 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25420 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25421 r2 before calling target.
25422
25423 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25424 Alan Modra <amodra@gmail.com>
25425
25426 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25427 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25428 versions of macros to support ELFv2 ABI.
25429 (LOCALENTRY): New macro.
25430 (ENTRY, EALIGN): Use it.
25431 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25432 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25433 fall through into ENTRY entry point.
25434 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25435 Only define if _CALL_ELF != 2.
25436
25437 (elf_machine_matches_host): Verify ABI version matches.
25438 (RTLD_START): Use LOCALENTRY.
25439 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25440 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25441 (PLT_ENTRY_WORDS): New macro.
25442 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25443 (elf_machine_runtime_setup): Support ELFv2 ABI.
25444 (elf_machine_fixup_plt): Likewise.
25445 (elf_machine_plt_conflict): Likewise.
25446 (resolve_ifunc): Likewise.
25447 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25449 Likewise.
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25451 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25453 (makecontext): Support ELFv2 ABI.
25454 * elf/elf.h (EF_PPC64_ABI): Define.
25455
25456 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25457
25458 * sysdeps/powerpc/powerpc64/sysdep.h
25459 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25460 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25461 (ENTRY) [ASSEMBLER]: ... but instead here ...
25462 (EALIGN) [ASSEMBLER]: ... and here.
25463 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25464 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25465 (ENTRY_2) [!ASSEMBLER]: Use it.
25466 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25467 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25468 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25469 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25470 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25472 Use PPC64_LOAD_FUNCPTR.
25473
25474 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25475
25476 2013-12-04 Alan Modra <amodra@gmail.com>
25477
25478 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25479 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25480 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25481 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25482
25483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25484 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25485 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25486 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25487 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25488 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25489
25490 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25491
25492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25493 (__makecontext): Fix incorrect CFI when backtracing out of
25494 context created via makecontext.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25496 (__setcontext): Fix incorrect CFI during switch to new context.
25497 (__novec_setcontext): Likewise.
25498
25499 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25500
25501 [BZ #4772]
25502 * time/strptime_l.c (__strptime_internal): Allow modifiers
25503 in strptime.
25504 * time/tst-strptime.c (day_tests): Add testcase.
25505
25506 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25507
25508 * scripts/bench.pl: Skip over blank lines.
25509
25510 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25511
25512 [BZ #926]
25513 * manual/time.texi (Calendar Time): Clarify what timezone functions
25514 use.
25515
25516 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25517
25518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25519
25520 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25521
25522 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25523 implementation.
25524 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25525 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25526 * debug/memset_chk.c (__memset_chk): Likewise.
25527 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25528 * debug/strncpy_chk.c: Likewise.
25529
25530 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25531
25532 [BZ #15268]
25533 [BZ #15425]
25534 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25535 (__ieee754_exp): For possibly underflowing results, check size of
25536 result and force underflow exception if required.
25537 * math/auto-libm-test-in: Add more tests of exp.
25538 * math/auto-libm-test-out: Regenerated.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541
25542 [BZ #16283]
25543 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25544 * math/w_exp2f.c (__exp2f): Likewise.
25545 * math/w_exp2l.c (__exp2l): Likewise.
25546 * math/auto-libm-test-in: Do not allow missing errno on exp2
25547 underflow.
25548 * math/auto-libm-test-out: Regenerated.
25549
25550 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25551
25552 [BZ #16274]
25553 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25554 handle filename validation.
25555 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25556 (do_open): Delete.
25557
25558 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25559
25560 [BZ #6786]
25561 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25562 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25563 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25564 <float.h>.
25565 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25566 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25567 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25569 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25571 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25572 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25573 Add more erfc tests.
25574 * math/auto-libm-test-out: Regenerated.
25575 * sysdeps/i386/fpu/libm-test-ulps: Update.
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577
25578 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25579 exp2, expm1, j0 and j1.
25580 * math/auto-libm-test-out: Regenerated.
25581 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25582 (erfc_test_data): Likewise.
25583 (exp_test_data): Likewise.
25584 (exp_tonearest_test_data): Likewise.
25585 (exp_towardzero_test_data): Likewise.
25586 (exp_downward_test_data): Likewise.
25587 (exp_upward_test_data): Likewise.
25588 (exp10_test_data): Likewise.
25589 (exp2_test_data): Likewise.
25590 (expm1_test_data): Likewise.
25591 (j0_test_data): Likewise.
25592 (j1_test_data): Likewise.
25593 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25594 (input_flag_type): Add flag_xfail_rounding.
25595 (input_flags): Add xfail-rounding.
25596 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25597 (output_for_one_input_case): Handle flag_xfail_rounding.
25598 * sysdeps/i386/fpu/libm-test-ulps: Update.
25599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600
25601 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25602
25603 [BZ #16289]
25604 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25605 division by 0.
25606
25607 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25608
25609 [BZ #16195]
25610 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25611 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25612 (STAP_PROBE0): New macro.
25613 (STAP_PROBE1): Likewise.
25614 (STAP_PROBE2): Likewise.
25615 (STAP_PROBE3): Likewise.
25616 (STAP_PROBE4): Likewise.
25617
25618 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25619
25620 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25621
25622 2013-12-02 Steve Ellcey <sellcey@mips.com>
25623
25624 * benchtests/Makefile (bench): Add sqrt.
25625 (LDLIBS-bench-sqrt): New.
25626 * benchtests/sqrt-input: New.
25627
25628 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25629
25630 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25631 (GAIH_EAI): Likewise.
25632 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25633 (gaih_inet): Likewise.
25634 (getaddrinfo): Don't use GAIH_EAI.
25635
25636 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25637 (struct gaih): Remove definition.
25638
25639 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25640
25641 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25642 Use HERRNOP directly.
25643
25644 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25645
25646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25647
25648 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25649
25650 * math/gen-auto-libm-tests.c (test_functions): Add more
25651 single-argument functions.
25652 (special_fill_pi_2): New function.
25653 (special_fill_minus_pi_2): Likewise.
25654 (special_fill_pi_6): Likewise.
25655 (special_fill_minus_pi_6): Likewise.
25656 (special_fill_pi_3): Likewise.
25657 (special_fill_2pi_3): Likewise.
25658 (special_fill_e): Likewise.
25659 (special_fill_1_e): Likewise.
25660 (special_fill_e_minus_1): Likewise.
25661 (special_real_inputs): Add more special inputs.
25662 (output_for_one_input_case): Do not require ERANGE on underflow to
25663 zero if round-to-nearest result does not underflow to zero, unless
25664 exact results required.
25665 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25666 atan, atanh, cbrt, cos and cosh.
25667 * math/auto-libm-test-out: Regenerated.
25668 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25669 (acos_tonearest_test_data): Likewise.
25670 (acos_towardzero_test_data): Likewise.
25671 (acos_downward_test_data): Likewise.
25672 (acos_upward_test_data): Likewise.
25673 (acosh_test_data): Likewise.
25674 (asin_test_data): Likewise.
25675 (asin_tonearest_test_data): Likewise.
25676 (asin_towardzero_test_data): Likewise.
25677 (asin_upward_test_data): Likewise.
25678 (asinh_test_data): Likewise.
25679 (atan_test_data): Likewise.
25680 (atanh_test_data): Likewise.
25681 (cbrt_test_data): Likewise.
25682 (cos_test_data): Likewise.
25683 (cos_tonearest_test_data): Likewise.
25684 (cos_towardzero_test_data): Likewise.
25685 (cos_downward_test_data): Likewise.
25686 (cos_upward_test_data): Likewise.
25687 (cosh_test_data): Likewise.
25688 (cosh_tonearest_test_data): Likewise.
25689 (cosh_towardzero_test_data): Likewise.
25690 (cosh_downward_test_data): Likewise.
25691 (cosh_upward_test_data): Likewise.
25692 * sysdeps/i386/fpu/libm-test-ulps: Update.
25693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25694
25695 2013-11-29 Joseph Myers <joseph@codesourcery.com>
25696
25697 [BZ #6787]
25698 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25699 * math/w_exp10f.c (__exp10f): Likewise.
25700 * math/w_exp10l.c (__exp10l): Likewise.
25701 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25702 errno settings in existing tests.
25703
25704 [BZ #14032]
25705 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25706 precision control set to double precision.
25707 * sysdeps/i386/fpu/w_sqrt.c: New file.
25708 * math/auto-libm-test-in: Add more tests.
25709 * math/auto-libm-test-out: Update.
25710
25711 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25712 (sqrt_test_tonearest): New function.
25713 (sqrt_towardzero_test_data): New variable.
25714 (sqrt_test_towardzero): New function.
25715 (sqrt_downward_test_data): New variable.
25716 (sqrt_test_downward): New function.
25717 (sqrt_upward_test_data): New variable.
25718 (sqrt_test_upward): New function.
25719 (main): Call the new functions.
25720
25721 * math/gen-auto-libm-tests.c: New file.
25722 * math/auto-libm-test-in: Likewise.
25723 * math/auto-libm-test-out: New generated file.
25724 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25725 variables.
25726 (%beautify): Add generated representations of zero.
25727 (top level): Set $auto_input and call parse_auto_input.
25728 (beautify): Remove trailing "f" from hex float constants.
25729 (parse_args): Handle XFAIL_TEST.
25730 (convert_condition): New function.
25731 (or_value): Likewise.
25732 (or_cond_value): Likewise.
25733 (generate_testfile): Handle AUTO_TESTS_* lines.
25734 (parse_auto_input): New function.
25735 * math/libm-test.inc (XFAIL_TEST): New macro.
25736 (ERRNO_UNCHANGED): Update value.
25737 (ERRNO_EDOM): Likewise.
25738 (ERRNO_ERANGE): Likewise.
25739 (IGNORE_RESULT): Likewise.
25740 (TEST_COND_flt_32): New macro.
25741 (TEST_COND_dbl_64): Likewise.
25742 (TEST_COND_ldbl_96_intel): Likewise.
25743 (TEST_COND_ldbl_96_m68k): Likewise.
25744 (TEST_COND_ldbl_128): Likewise.
25745 (TEST_COND_ldbl_128ibm): Likewise.
25746 (TEST_COND_long32): Likewise.
25747 (TEST_COND_long64): Likewise.
25748 (TEST_COND_before_rounding): Likewise.
25749 (TEST_COND_after_rounding): Likewise.
25750 (enable_test): Handle XFAIL_TEST flag.
25751 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25752 with finite results.
25753 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25754 auto-libm-test-out.
25755
25756 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25757 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25758
25759 [BZ #16214]
25760 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25761 __tls_get_addr_internal instead of __tls_get_offset in order to
25762 avoid GOT pointer dependency. Make rtld export
25763 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25764 __tls_get_addr since we are a __tls_get_offset platform.
25765 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25766 GOT pointer being set up before.
25767 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25768
25769 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25770
25771 * manual/math.texi (Errors in Math Functions): Document accuracy
25772 goals.
25773
25774 [BZ #15004]
25775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25776 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25781 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25791
25792 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25793 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25794 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25795 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25796 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25797 Likewise.
25798 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25799 Likewise.
25800 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25801 Likewise.
25802 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25803 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25804 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25805 atomic-feupdateenv and flt-rounds.
25806 * sysdeps/powerpc/nofpu/Versions (libc): Add
25807 __atomic_feholdexcept, __atomic_feclearexcept,
25808 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25809 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25810 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25811 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25812 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25813 here.
25814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25815 Update.
25816
25817 * manual/arith.texi (FP Exceptions): Document that exceptions may
25818 not be raised when matherr is used.
25819 (Math Error Reporting): Document overflow in directed rounding
25820 modes. Document that errno may not be set when finite values are
25821 returned on overflow. Document intent to set errno on underflow
25822 only for underflow to zero.
25823
25824 [BZ #16271]
25825 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25826 round-to-nearest then adjust result for other rounding modes.
25827 * include/fenv.h (fegetround): Use libm_hidden_proto.
25828 * math/fegetround.c (fegetround): Use libm_hidden_def.
25829 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25830 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25831 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25833 Likewise.
25834 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25835 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25836 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25837 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25838
25839 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25840
25841 [BZ #16077]
25842 * nss/Versions (libnss_files): Add
25843 _nss_files_gethostbyname3_r.
25844 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25845 New function.
25846 (HOST_DB_LOOKUP): Remove macro.
25847 (_nss_files_gethostbyname_r): Implement function without the
25848 HOST_DB_LOOKUP macro.
25849 (_nss_files_gethostbyname2_r): Likewise.
25850
25851 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25852
25853 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25854
25855 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25856
25857 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25858 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25859 warning.
25860
25861 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25862
25863 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25864 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25865 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25866 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25867 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25868 __fe_nomask_env_priv and attribute_hidden.
25869 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25870 (libc_feupdateenv_test_ppc): Likewise.
25871 (libc_feresetround_ppc): Likewise.
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25873 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25874 compat_symbol macro.
25875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25876 (__fe_nomask_env): Likewise.
25877 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25878
25879 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25880
25881 * string/Makefile: Remove ifunc tests.
25882 * string/test-string.h: Define TEST_IFUNC.
25883 * string/test-bcopy-ifunc.c: Remove.
25884 * string/test-bzero-ifunc.c: Likewise.
25885 * string/test-memccpy-ifunc.c: Likewise.
25886 * string/test-memchr-ifunc.c: Likewise.
25887 * string/test-memcmp-ifunc.c: Likewise.
25888 * string/test-memcpy-ifunc.c: Likewise.
25889 * string/test-memmem-ifunc.c: Likewise.
25890 * string/test-memmove-ifunc.c: Likewise.
25891 * string/test-mempcpy-ifunc.c: Likewise.
25892 * string/test-memrchr-ifunc.c: Likewise.
25893 * string/test-memset-ifunc.c: Likewise.
25894 * string/test-rawmemchr-ifunc.c: Likewise.
25895 * string/test-stpcpy-ifunc.c: Likewise.
25896 * string/test-stpncpy-ifunc.c: Likewise.
25897 * string/test-strcasecmp-ifunc.c: Likewise.
25898 * string/test-strcasestr-ifunc.c: Likewise.
25899 * string/test-strcat-ifunc.c: Likewise.
25900 * string/test-strchr-ifunc.c: Likewise.
25901 * string/test-strchrnul-ifunc.c: Likewise.
25902 * string/test-strcmp-ifunc.c: Likewise.
25903 * string/test-strcpy-ifunc.c: Likewise.
25904 * string/test-strcspn-ifunc.c: Likewise.
25905 * string/test-strlen-ifunc.c: Likewise.
25906 * string/test-strncasecmp-ifunc.c: Likewise.
25907 * string/test-strncat-ifunc.c: Likewise.
25908 * string/test-strncmp-ifunc.c: Likewise.
25909 * string/test-strncpy-ifunc.c: Likewise.
25910 * string/test-strnlen-ifunc.c: Likewise.
25911 * string/test-strpbrk-ifunc.c: Likewise.
25912 * string/test-strrchr-ifunc.c: Likewise.
25913 * string/test-strspn-ifunc.c: Likewise.
25914 * string/test-strstr-ifunc.c: Likewise.
25915
25916 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25917
25918 * benchtests/Makefile: Remove ifunc tests.
25919 * benchtests/bench-string.h: Define TEST_IFUNC.
25920 * benchtests/bench-bcopy-ifunc.c: Remove.
25921 * benchtests/bench-bzero-ifunc.c: Likewise.
25922 * benchtests/bench-memccpy-ifunc.c: Likewise.
25923 * benchtests/bench-memchr-ifunc.c: Likewise.
25924 * benchtests/bench-memcmp-ifunc.c: Likewise.
25925 * benchtests/bench-memcpy-ifunc.c: Likewise.
25926 * benchtests/bench-memmem-ifunc.c: Likewise.
25927 * benchtests/bench-memmove-ifunc.c: Likewise.
25928 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25929 * benchtests/bench-memrchr-ifunc.c: Likewise.
25930 * benchtests/bench-memset-ifunc.c: Likewise.
25931 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25932 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25933 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25934 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25935 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25936 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25937 * benchtests/bench-strcat-ifunc.c: Likewise.
25938 * benchtests/bench-strchr-ifunc.c: Likewise.
25939 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25940 * benchtests/bench-strcmp-ifunc.c: Likewise.
25941 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25942 * benchtests/bench-strcpy-ifunc.c: Likewise.
25943 * benchtests/bench-strcspn-ifunc.c: Likewise.
25944 * benchtests/bench-strlen-ifunc.c: Likewise.
25945 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25946 * benchtests/bench-strncat-ifunc.c: Likewise.
25947 * benchtests/bench-strncmp-ifunc.c: Likewise.
25948 * benchtests/bench-strncpy-ifunc.c: Likewise.
25949 * benchtests/bench-strnlen-ifunc.c: Likewise.
25950 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25951 * benchtests/bench-strrchr-ifunc.c: Likewise.
25952 * benchtests/bench-strsep-ifunc.c: Likewise.
25953 * benchtests/bench-strspn-ifunc.c: Likewise.
25954 * benchtests/bench-strstr-ifunc.c: Likewise.
25955
25956 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25957
25958 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25959
25960 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25961
25962 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25963 * rt/aio.h: Likewise.
25964 * sysdeps/gnu/bits/utmp.h: Likewise.
25965 * sysdeps/gnu/bits/utmpx.h: Likewise.
25966 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25967 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25968 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25969 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25970 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25971 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25972 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25973 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25974 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25975 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25976 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25977 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25978 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25980 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25981 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25982 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25983 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25984 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25985 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25986 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25987 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25988 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25989 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25990 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25992 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25993 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25994 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25995 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25996 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25997 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25998 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25999 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26000 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26001 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26002 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26003 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26004 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26005 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26006 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26007 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26008
26009 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26010
26011 [BZ #16245]
26012 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26013 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26014
26015 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26016
26017 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26018 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26019 Likewise.
26020
26021 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26022
26023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26024 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26025 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26026 (__fesetround): Remove define.
26027 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26028 rounding and exceptions handling.
26029 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26031 (__fe_nomask_env): Likewise.
26032 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26033 __fegetround instead of fegetround.
26034 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26035 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26036
26037 2013-11-21 Roland McGrath <roland@hack.frob.com>
26038
26039 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26040 it's there.
26041
26042 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26043
26044 2013-11-21 Meador Inge <meadori@codesourcery.com>
26045
26046 [BZ #11157]
26047 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26048 (encrypt_r): Likewise.
26049 * malloc/obstack.h (obstack_free): Likewise.
26050 * posix/unistd.h (encrypt): Likewise.
26051
26052 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26053
26054 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26055 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26056 DL_CALL_DT_FINI() that call the functions directly.
26057 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26058 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26059 * elf/dl-fini.c: Likewise.
26060
26061 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26062
26063 * malloc/hooks.c (memalign_check): Add alignment rounding.
26064 * malloc/malloc.c (_mid_memalign): New function.
26065 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26066 Implement by calling _mid_memalign.
26067 * manual/probes.texi (Memory Allocation Probes): Remove
26068 memory_valloc_retry and memory_pvalloc_retry.
26069
26070 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26071
26072 * locale/programs/locarchive.c (open_archive): Add const
26073 qualifier to ARCHIVEFNAME and copy default fname to
26074 DEFAULT_FNAME.
26075
26076 [BZ #15601]
26077 * libio/tst-widetext.input: Rename Oriya to Odia.
26078 * locale/iso-639.def: Likewise.
26079
26080 * manual/probes.texi (Mathematical Function Probes): Add
26081 documentation for sin, cos, asin and acos probes.
26082 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26083 (__sin32): Add slowasin probe.
26084 (__cos32): Add slowacos probe.
26085 (__mpsin): Add slowsin probe.
26086 (__mpcos): Add slowcos probe.
26087
26088 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26089
26090 [BZ #15483]
26091 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26092 thread-local __sim_exceptions_thread and global
26093 __sim_exceptions_global.
26094 (__sim_disabled_exceptions): Change to thread-local
26095 __sim_disabled_exceptions_thread and global
26096 __sim_disabled_exceptions_global.
26097 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26098 and global __sim_round_mode_global.
26099 (__simulate_exceptions): Use thread-local floating-point state and
26100 set global state from it as needed.
26101 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26102 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26103 __sim_round_mode_thread.
26104 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26105 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26106 and global __sim_exceptions_global.
26107 (__sim_disabled_exceptions): Change to thread-local
26108 __sim_disabled_exceptions_thread and global
26109 __sim_disabled_exceptions_global.
26110 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26111 and global __sim_round_mode_global.
26112 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26113 (SIM_SET_GLOBAL): Likewise.
26114 * sysdeps/powerpc/soft-fp/sfp-machine.h
26115 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26116 __sim_round_mode_thread.
26117 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26118 __sim_disabled_exceptions_thread.
26119 (__sim_exceptions): Change to __sim_exceptions_thread.
26120 (__sim_disabled_exceptions): Change to
26121 __sim_disabled_exceptions_thread.
26122 (__sim_round_mode): Change to __sim_round_mode_thread.
26123 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26124 thread-local floating-point state and set global state from it as
26125 needed.
26126 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26127 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26128 (__sim_disabled_exceptions): Remove extern declaration.
26129 (feenableexcept): Use thread-local floating-point state and set
26130 global state from it as needed.
26131 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26132 extern declaration.
26133 (__sim_disabled_exceptions): Likewise.
26134 (__sim_round_mode): Likewise.
26135 (__fegetenv): Use thread-local floating-point state.
26136 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26137 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26138 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26139 floating-point state and set global state from it as needed.
26140 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26141 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26142 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26143 Likewise.
26144 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26145 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26146 Likewise.
26147 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26148 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26149 Use __sim_round_mode_thread.
26150 * math/test-fenv-tls.c: New file.
26151 * math/Makefile (tests): Add test-fenv-tls.
26152 ($(objpfx)test-fenv-tls): Depend on
26153 $(common-objpfx)nptl/libpthread.so.
26154
26155 2013-11-19 Andreas Schwab <schwab@suse.de>
26156
26157 * locale/programs/locale.c (show_info): Decode wordarray elements.
26158 * locale/categories.def (LC_MONETARY): Add element for
26159 _NL_MONETARY_CRNCYSTR.
26160 * locale/C-monetary.c (conversion_rate): New variable.
26161 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26162 element.
26163
26164 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26165
26166 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26167 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26168
26169 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26170
26171 * elf/Makefile (tst-auxv): New test.
26172 * elf/tst-auxv.c: New
26173 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26174
26175 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26176
26177 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26178 (hidden_proto): Caller changed.
26179 (hidden_tls_proto): New macro.
26180 (libc_hidden_tls_proto): Likewise.
26181 (rtld_hidden_tls_proto): Likewise.
26182 (libm_hidden_tls_proto): Likewise.
26183 (libresolv_hidden_tls_proto): Likewise.
26184 (librt_hidden_tls_proto): Likewise.
26185 (libdl_hidden_tls_proto): Likewise.
26186 (libnss_files_hidden_tls_proto): Likewise.
26187 (libnsl_hidden_tls_proto): Likewise.
26188 (libnss_nisplus_hidden_tls_proto): Likewise.
26189 (libutil_hidden_tls_proto): Likewise.
26190
26191 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26192
26193 [BZ #10253]
26194 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26195 (decompose_rpath): Defer expansion to fillin_rpath.
26196 (_dl_init_paths): Pass linkmap to fillin_rpath.
26197
26198 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26199
26200 * benchtests/Makefile: Add strsep.
26201 * benchtests/bench-strsep.c: New file: strsep benchtest.
26202 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26203
26204 2013-11-18 Andreas Schwab <schwab@suse.de>
26205
26206 * locale/programs/locale.c (show_info) [case byte]: Check for
26207 '\377' instead of '\177'.
26208 * locale/C-monetary.c (not_available): Always use "\377".
26209 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26210 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26211 detect unavailable sign_posn locale elements.
26212 * locale/localeconv.c (__localeconv): For grouping and
26213 mon_grouping handle "\177" and "\377" like no grouping.
26214 (INT_ELEM): New macro. Use it to set all numeric members.
26215 * locale/programs/ld-monetary.c (monetary_read)
26216 <tok_mon_grouping>: Normalize single -1 to the empty string.
26217 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26218 Likewise.
26219
26220 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26221
26222 [BZ #16055]
26223 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26224 when we match (nil).
26225 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26226
26227 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26228
26229 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26230 (NO_TEST_INLINE): Update value.
26231 (ERRNO_UNCHANGED): Likewise.
26232 (ERRNO_EDOM): Likewise.
26233 (ERRNO_ERANGE): Likewise.
26234 (IGNORE_RESULT): Likewise.
26235 (check_float_internal): Check signs of NaN results if
26236 TEST_NAN_SIGN used.
26237 (check_complex): Pass TEST_NAN_SIGN flag through to second
26238 check_float_internal call.
26239 (copysign_test_data): Add tests with quiet NaNs as second
26240 argument. Use TEST_NAN_SIGN.
26241 (fabs_test_data): Add test of negative quiet NaN argument. Use
26242 TEST_NAN_SIGN.
26243 (signbit_test_data): Add tests of quiet NaN argument.
26244 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26245
26246 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26247 $ignore_result.
26248 (parse_args): Handle function results specified as IGNORE.
26249 * math/libm-test.inc (IGNORE_RESULT): New macro.
26250 (check_float_internal): Do not check numerical result if flag
26251 IGNORE_RESULT set.
26252 (check_complex): Pass through IGNORE_RESULT to second
26253 check_float_internal call.
26254 (check_int): Do not check numerical result if flag IGNORE_RESULT
26255 set.
26256 (check_long): Likewise.
26257 (check_bool): Likewise.
26258 (check_longlong): Likewise.
26259 (lrint_test_data): Add tests of infinite and NaN arguments.
26260 (lrint_tonearest_test_data): Likewise.
26261 (lrint_towardzero_test_data): Likewise.
26262 (lrint_downward_test_data): Likewise.
26263 (lrint_upward_test_data): Likewise.
26264 (llrint_test_data): Likewise.
26265 (llrint_tonearest_test_data): Likewise.
26266 (llrint_towardzero_test_data): Likewise.
26267 (llrint_downward_test_data): Likewise.
26268 (llrint_upward_test_data): Likewise.
26269 (lround_test_data): Likewise.
26270 (llround_test_data): Likewise.
26271
26272 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26273 (ERRNO_UNCHANGED): Update value.
26274 (ERRNO_EDOM): Likewise.
26275 (ERRNO_ERANGE): Likewise.
26276 (NO_TEST_INLINE_FLOAT): New macro.
26277 (NO_TEST_INLINE_DOUBLE): Likewise.
26278 (enable_test): New function.
26279 (RUN_TEST_f_f): Check enable_test before running test.
26280 (RUN_TEST_2_f): Likewise.
26281 (RUN_TEST_fff_f): Likewise.
26282 (RUN_TEST_c_f): Likewise.
26283 (RUN_TEST_f_f1): Likewise.
26284 (RUN_TEST_fF_f1): Likewise.
26285 (RUN_TEST_fI_f1): Likewise.
26286 (RUN_TEST_ffI_f1): Likewise.
26287 (RUN_TEST_c_c): Likewise.
26288 (RUN_TEST_cc_c): Likewise.
26289 (RUN_TEST_f_i): Likewise.
26290 (RUN_TEST_f_i_tg): Likewise.
26291 (RUN_TEST_ff_i_tg): Likewise.
26292 (RUN_TEST_f_b): Likewise.
26293 (RUN_TEST_f_b_tg): Likewise.
26294 (RUN_TEST_f_l): Likewise.
26295 (RUN_TEST_f_L): Likewise.
26296 (RUN_TEST_fFF_11): Likewise.
26297 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26298 conditionals.
26299 (cosh_test_data): Likewise.
26300 (exp_test_data): Likewise.
26301 (expm1_test_data): Likewise.
26302 (hypot_test_data): Likewise.
26303 (pow_test_data): Likewise.
26304 (sinh_test_data): Likewise.
26305 (tanh_test_data): Likewise.
26306 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26307 flags argument.
26308
26309 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26310 tests with quiet NaN input and output.
26311 (acosh_test_data): Likewise.
26312 (asin_test_data): Likewise.
26313 (asinh_test_data): Likewise.
26314 (atan_test_data): Likewise.
26315 (atanh_test_data): Likewise.
26316 (atan2_test_data): Likewise.
26317 (cbrt_test_data): Likewise.
26318 (cos_test_data): Likewise.
26319 (cosh_test_data): Likewise.
26320 (erf_test_data): Likewise.
26321 (erfc_test_data): Likewise.
26322 (exp_test_data): Likewise.
26323 (exp10_test_data): Likewise.
26324 (exp2_test_data): Likewise.
26325 (expm1_test_data): Likewise.
26326 (hypot_test_data): Likewise.
26327 (j0_test_data): Likewise.
26328 (j1_test_data): Likewise.
26329 (jn_test_data): Likewise.
26330 (lgamma_test_data): Likewise.
26331 (log_test_data): Likewise.
26332 (log10_test_data): Likewise.
26333 (log1p_test_data): Likewise.
26334 (log2_test_data): Likewise.
26335 (pow_test_data): Likewise.
26336 (scalb_test_data): Likewise.
26337 (sin_test_data): Likewise.
26338 (sincos_test_data): Likewise.
26339 (sinh_test_data): Likewise.
26340 (tan_test_data): Likewise.
26341 (tanh_test_data): Likewise.
26342 (tgamma_test_data): Likewise.
26343 (y0_test_data): Likewise.
26344 (y1_test_data): Likewise.
26345 (yn_test_data): Likewise.
26346
26347 [BZ #16167]
26348 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26349 argument being NaN and avoid computations with second argument in
26350 that case.
26351 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26352 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26353 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26354
26355 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26356
26357 * locale/iso-639.def: Add Chitwani Tharu (the).
26358
26359 2013-11-14 Andreas Schwab <schwab@suse.de>
26360
26361 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26362 word instead of empty string.
26363
26364 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26365
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26367 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26369 (__fe_nomask_env): Likewise.
26370
26371 2013-11-13 Steve Ellcey <sellcey@mips.com>
26372
26373 * benchtests/bench-timing.h: Include time.h.
26374
26375 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26376
26377 [BZ #15997]
26378 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26379 to 3.4.0 for x32.
26380 * sysdeps/unix/sysv/linux/configure: Regenerated.
26381
26382 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26383
26384 [BZ #16151]
26385 * stdlib/strtod_l.c (round_and_return): Do not consider
26386 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26387 exponent one less than half the least subnormal exponent.
26388 * stdlib/test-strtod-round-data: Add more tests.
26389 * stdlib/tst-strtod-round.c (tests): Regenerated.
26390
26391 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26392
26393 [BZ #14143]
26394 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26395 (__fe_mask_env): Likewise.
26396 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26397 libm_hidden_proto and add function prototype.
26398 (__fe_mask_env): Add function prototype.
26399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26400 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26402 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26404 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26405
26406 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26407
26408 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26409 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26410
26411 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26412
26413 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26414 of htab_find_slot().
26415
26416 2013-11-11 David S. Miller <davem@davemloft.net>
26417
26418 [BZ #16150]
26419 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26420 symbol in the non-vis3 case in static builds.
26421 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26422 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26423 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26424 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26425
26426 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26427
26428 [BZ #387]
26429 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26430 it is empty.
26431
26432 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26433
26434 * benchtests/Makefile: Add bench-strtod.
26435 * benchtests/bench-strtod.c: New file: strtod benchtest
26436
26437 2013-11-11 Andreas Schwab <schwab@suse.de>
26438
26439 [BZ #16153]
26440 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26441 terminating NUL in key length.
26442
26443 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26444
26445 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26446 Add artificial ODP entry for vDSO symbol for PPC64.
26447 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26448 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26449
26450 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26451
26452 [BZ #15374]
26453 * nss/getent.c (services_keys): Recognize services starting with digit.
26454
26455 2013-11-06 David S. Miller <davem@davemloft.net>
26456
26457 [BZ #15985]
26458 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26459 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26460
26461 2013-11-06 Will Newton <will.newton@linaro.org>
26462
26463 * manual/memory.texi (Malloc Examples): Remove register
26464 keyword from examples.
26465
26466 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26467
26468 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26469
26470 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26471
26472 [BZ #6981]
26473 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26474 depending on [__GCC_IEC_559 > 0].
26475 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26476 depending on [__GCC_IEC_559_COMPLEX > 0].
26477
26478 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26479
26480 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26481 to iso-639.def.
26482
26483 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26484
26485 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26486
26487 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26488
26489 [BZ #16112]
26490 * malloc/malloc (malloc_info): Do not handle first bin as
26491 special case.
26492
26493 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26494
26495 * locale/iso-639.def: Add Central Nahuatl (nhn).
26496
26497 2013-11-01 Bruno Haible <bruno@clisp.org>
26498
26499 [BZ #7003]
26500 * manual/math.texi (BSD Random): Specify range upper bound as
26501 in POSIX.
26502
26503 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26504
26505 * locale/iso-639.def: Add Meadow Mari (mhr).
26506
26507 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26508
26509 [BZ #14752], [BZ #15763]
26510 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26511 Validate name.
26512 * rt/tst_shm.c: Add test for escaping directory.
26513
26514 2013-10-31 Andreas Schwab <schwab@suse.de>
26515
26516 [BZ #15917]
26517 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26518 followed by 'x' as part of digit sequence.
26519 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26520
26521 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26522
26523 [BZ #16037]
26524 * configure.ac: allow GNU Make 4.0 and greater.
26525 * configure: Regenerated.
26526
26527 2013-10-30 Will Newton <will.newton@linaro.org>
26528
26529 [BZ #16038]
26530 * malloc/hooks.c (memalign_check): Limit alignment to the
26531 maximum representable power of two.
26532 * malloc/malloc.c (__libc_memalign): Likewise.
26533 * malloc/tst-memalign.c (do_test): Add test for very
26534 large alignment values.
26535 * malloc/tst-posix_memalign.c (do_test): Likewise.
26536
26537 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26538
26539 [BZ #11087]
26540 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26541 (munmap_chunk): Likewise.
26542 (mremap_chunk): Likewise.
26543
26544 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26545
26546 [BZ #15799]
26547 * stdlib/div.c (div): Remove obsolete code.
26548 * stdlib/ldiv.c (ldiv): Likewise.
26549 * stdlib/lldiv.c (lldiv): Likewise.
26550
26551 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26552
26553 [BZ #16071]
26554 * nss/nss_files/files-XXX.c (get_contents_ret): New
26555 enumerator.
26556 (get_contents): New function.
26557 (internal_getent): Use it. Expand size of LINEBUFLEN.
26558
26559 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26560
26561 * configure.in: Moved to ...
26562 * configure.ac: ... here. Change reference to configure.in
26563 to configure.ac.
26564 * sysdeps/arm/preconfigure.ac: ... here.
26565 configure.in to configure.ac.
26566 * sysdeps/gnu/configure.in: Moved to ...
26567 * sysdeps/gnu/configure.ac: ... here.
26568 * sysdeps/i386/configure.in: Moved to ...
26569 * sysdeps/i386/configure.ac: ... here.
26570 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26571 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26572 * sysdeps/mach/configure.in: Moved to ...
26573 * sysdeps/mach/configure.ac: ... here.
26574 * sysdeps/mach/hurd/configure.in: Moved to ...
26575 * sysdeps/mach/hurd/configure.ac: ... here.
26576 * sysdeps/powerpc/configure.in: Moved to ...
26577 * sysdeps/powerpc/configure.ac: ... here.
26578 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26579 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26580 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26581 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26582 * sysdeps/s390/s390-32/configure.in: Moved to ...
26583 * sysdeps/s390/s390-32/configure.ac: ... here.
26584 * sysdeps/s390/s390-64/configure.in: Moved to ...
26585 * sysdeps/s390/s390-64/configure.ac: ... here.
26586 * sysdeps/sh/configure.in: Moved to ...
26587 * sysdeps/sh/configure.ac: ... here.
26588 * sysdeps/sparc/configure.in: Moved to ...
26589 * sysdeps/sparc/configure.ac: ... here.
26590 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26591 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26592 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26593 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26594 * sysdeps/x86_64/configure.in: Moved to ...
26595 * sysdeps/x86_64/configure.ac: ... here.
26596 * sysdeps/x86_64/preconfigure.in: Moved to ...
26597 * sysdeps/x86_64/preconfigure.ac: ... here.
26598 * aclocal.m4: Change reference to configure.in to configure.ac.
26599 * config.h.in: Likewise.
26600 * manual/install.texi: Likewise.
26601 * manual/maint.texi: Likewise.
26602 * Makefile: Likewise.
26603 * malloc/Makefile: Likewise.
26604 * nscd/Makefile: Likewise.
26605 * Makeconfig: Change reference to configure.in and
26606 preconfigure.in to configure.ac and preconfigure.ac
26607 respectively.
26608 * INSTALL: Regenerated.
26609 * configure: Likewise.
26610 * sysdeps/gnu/configure: Likewise.
26611 * sysdeps/i386/configure: Likewise.
26612 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26613 * sysdeps/mach/configure: Likewise.
26614 * sysdeps/mach/hurd/configure: Likewise.
26615 * sysdeps/powerpc/configure: Likewise.
26616 * sysdeps/powerpc/powerpc32/configure: Likewise.
26617 * sysdeps/powerpc/powerpc64/configure: Likewise.
26618 * sysdeps/s390/s390-32/configure: Likewise.
26619 * sysdeps/s390/s390-64/configure: Likewise.
26620 * sysdeps/sh/configure: Likewise.
26621 * sysdeps/sparc/configure: Likewise.
26622 * sysdeps/unix/sysv/linux/configure: Likewise.
26623 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26624 * sysdeps/x86_64/configure: Likewise.
26625 * sysdeps/x86_64/preconfigure: Likewise.
26626
26627 2013-10-29 Andreas Schwab <schwab@suse.de>
26628
26629 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26630
26631 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26632
26633 * benchtests/pow-inputs: Add new inputs.
26634
26635 * benchtests/exp-inputs: Add new inputs.
26636
26637 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26638 conditional check for return value.
26639 (__cos32): Likewise.
26640
26641 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26642
26643 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26644 to provide a boost for large inputs with word alignment.
26645 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26646 implementation based on optimized PPC64 strcpy.
26647 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26648 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26649 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26650 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26651
26652 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26653
26654 [BZ #2801]
26655 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26656
26657 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26658
26659 [BZ #14876]
26660 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26661 * time/tst-strptime.c (day_tests): Add testcase.
26662
26663 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26664
26665 [BZ #14029]
26666 * manual/pattern.texi: Acknowledge that fnmatch can fail.
26667
26668 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
26669
26670 [BZ #16074]
26671 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26672 MAP_FAILED on error.
26673
26674 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26675
26676 [BZ #16072]
26677 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26678 heap for large requests.
26679
26680 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
26681
26682 [BZ #9954]
26683 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26684 result if the result has no associated interface.
26685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26686 interface for all 127.X.Y.Z addresses.
26687
26688 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
26689
26690 * locale/iso-639.def: Add Ligurian (lij)
26691
26692 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
26693
26694 [BZ #15825]
26695 * sunrpc/rpc_main.c: Document rpcgen -5.
26696
26697 2013-10-19 Michael Stahl <mstahl@redhat.com>
26698
26699 * elf/rtld.c (do_preload): Print the reason why preloading failed.
26700
26701 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26702
26703 [BZ #10278]
26704 * posix/glob.c: Match only directories when trailing slash is present.
26705 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26706 (main): Add testcase.
26707
26708 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26709
26710 [BZ #15670]
26711 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26712
26713 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26714
26715 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26716 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26717 AUTH_DES and cindex for FIPS 140-2.
26718 (DES Encryption): Add cindex FIPS 46-3.
26719
26720 * locale/locarchive.h (struct locarhandle): Add fname.
26721 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26722 if an optional argument was specified to --list-archive,
26723 otherwise NULL.
26724 * locale/programs/locarchive.c (show_archive_content): Take new
26725 argument fname and pass it via ah.fname to open_archive.
26726 * locale/programs/localedef.h: Update decl.
26727 (open_archive): If AH->fname is non-null, open that file
26728 rather than the default file name, and don't ignore ENOENT.
26729 (create_archive): Set AH.fname to NULL.
26730 (delete_locales_from_archive): Likewise.
26731 (add_locales_to_archive): Likewise.
26732 * locale/programs/locfile.c (write_all_categories): Likewise.
26733
26734 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26735 Aldy Hernandez <aldyh@redhat.com>
26736
26737 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26738 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26739 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26740 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26741 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26742 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26743 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26745 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26746 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26747 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26748 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26749 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26750 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26751 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26752 Likewise.
26753 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26754 Likewise.
26755 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26756 Likewise.
26757 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26758 Likewise.
26759 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26760 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26761 Likewise.
26762 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26763 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26764 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26765 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26766 Likewise.
26767 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26768 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26769 * sysdeps/powerpc/preconfigure: Likewise.
26770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26771 Likewise.
26772 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26773 Replace contents of file by #include of <fenv_libc.h>.
26774 * sysdeps/powerpc/soft-fp/sfp-machine.h
26775 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26776 and <sys/prctl.h>.
26777 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26778 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26784 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26790 Allow copysignl PLT reference to be missing.
26791
26792 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26793 Joseph Myers <joseph@codesourcery.com
26794
26795 [BZ #15948]
26796 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26797 single character.
26798 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26799
26800 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26801
26802 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26803 * elf/tst-tls1.c: Likewise.
26804 * elf/tst-tls10.h: Likewise.
26805 * elf/tst-tls14.c: Likewise.
26806 * elf/tst-tls2.c: Likewise.
26807 * elf/tst-tls3.c: Likewise.
26808 * elf/tst-tls4.c: Likewise.
26809 * elf/tst-tls5.c: Likewise.
26810 * elf/tst-tls6.c: Likewise.
26811 * elf/tst-tls7.c: Likewise.
26812 * elf/tst-tls8.c: Likewise.
26813 * elf/tst-tls9.c: Likewise.
26814 * elf/tst-tlsmod1.c: Likewise.
26815 * elf/tst-tlsmod13.c: Likewise.
26816 * elf/tst-tlsmod13a.c: Likewise.
26817 * elf/tst-tlsmod14a.c: Likewise.
26818 * elf/tst-tlsmod16a.c: Likewise.
26819 * elf/tst-tlsmod16b.c: Likewise.
26820 * elf/tst-tlsmod2.c: Likewise.
26821 * elf/tst-tlsmod3.c: Likewise.
26822 * elf/tst-tlsmod4.c: Likewise.
26823 * elf/tst-tlsmod5.c: Likewise.
26824 * elf/tst-tlsmod6.c: Likewise.
26825
26826 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26827
26828 [BZ #12486]
26829 * malloc/malloc.c: remove checks for statistics.
26830
26831 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26832
26833 [BZ #15277]
26834 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26835 * inet/tst-network.c: Add testcase.
26836
26837 2013-10-17 Andreas Schwab <schwab@suse.de>
26838
26839 [BZ #15218]
26840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26841 to determine canonical name.
26842
26843 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26844
26845 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26846 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26855 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26856 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26858 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26860 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26864 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26868 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26869 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26870 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26871 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26872 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26873 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26874 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26875 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26876 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26877 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26878 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26879 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26880 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26881 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26882 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26883 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26884 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26885 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26886 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26887 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26888 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26889 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26890 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26892 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26893 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26894 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26895 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26896 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26897 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26900 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26903
26904 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26905
26906 [BZ #16041]
26907 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26908 make result into a quiet NaN.
26909
26910 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26911
26912 * soft-fp/adddf3.c: Fix horizontal whitespace.
26913 * soft-fp/addsf3.c: Likewise.
26914 * soft-fp/addtf3.c: Likewise.
26915 * soft-fp/divdf3.c: Likewise.
26916 * soft-fp/divsf3.c: Likewise.
26917 * soft-fp/divtf3.c: Likewise.
26918 * soft-fp/double.h: Likewise.
26919 * soft-fp/eqdf2.c: Likewise.
26920 * soft-fp/eqsf2.c: Likewise.
26921 * soft-fp/eqtf2.c: Likewise.
26922 * soft-fp/extenddftf2.c: Likewise.
26923 * soft-fp/extended.h: Likewise.
26924 * soft-fp/extendsfdf2.c: Likewise.
26925 * soft-fp/extendsftf2.c: Likewise.
26926 * soft-fp/extendxftf2.c: Likewise.
26927 * soft-fp/fixdfdi.c: Likewise.
26928 * soft-fp/fixdfsi.c: Likewise.
26929 * soft-fp/fixdfti.c: Likewise.
26930 * soft-fp/fixsfdi.c: Likewise.
26931 * soft-fp/fixsfsi.c: Likewise.
26932 * soft-fp/fixsfti.c: Likewise.
26933 * soft-fp/fixtfdi.c: Likewise.
26934 * soft-fp/fixtfsi.c: Likewise.
26935 * soft-fp/fixtfti.c: Likewise.
26936 * soft-fp/fixunsdfdi.c: Likewise.
26937 * soft-fp/fixunsdfsi.c: Likewise.
26938 * soft-fp/fixunsdfti.c: Likewise.
26939 * soft-fp/fixunssfdi.c: Likewise.
26940 * soft-fp/fixunssfsi.c: Likewise.
26941 * soft-fp/fixunssfti.c: Likewise.
26942 * soft-fp/fixunstfdi.c: Likewise.
26943 * soft-fp/fixunstfsi.c: Likewise.
26944 * soft-fp/fixunstfti.c: Likewise.
26945 * soft-fp/floatdidf.c: Likewise.
26946 * soft-fp/floatdisf.c: Likewise.
26947 * soft-fp/floatditf.c: Likewise.
26948 * soft-fp/floatsidf.c: Likewise.
26949 * soft-fp/floatsisf.c: Likewise.
26950 * soft-fp/floatsitf.c: Likewise.
26951 * soft-fp/floattidf.c: Likewise.
26952 * soft-fp/floattisf.c: Likewise.
26953 * soft-fp/floattitf.c: Likewise.
26954 * soft-fp/floatundidf.c: Likewise.
26955 * soft-fp/floatundisf.c: Likewise.
26956 * soft-fp/floatunditf.c: Likewise.
26957 * soft-fp/floatunsidf.c: Likewise.
26958 * soft-fp/floatunsisf.c: Likewise.
26959 * soft-fp/floatunsitf.c: Likewise.
26960 * soft-fp/floatuntidf.c: Likewise.
26961 * soft-fp/floatuntisf.c: Likewise.
26962 * soft-fp/floatuntitf.c: Likewise.
26963 * soft-fp/fmadf4.c: Likewise.
26964 * soft-fp/fmasf4.c: Likewise.
26965 * soft-fp/fmatf4.c: Likewise.
26966 * soft-fp/gedf2.c: Likewise.
26967 * soft-fp/gesf2.c: Likewise.
26968 * soft-fp/getf2.c: Likewise.
26969 * soft-fp/ledf2.c: Likewise.
26970 * soft-fp/lesf2.c: Likewise.
26971 * soft-fp/letf2.c: Likewise.
26972 * soft-fp/muldf3.c: Likewise.
26973 * soft-fp/mulsf3.c: Likewise.
26974 * soft-fp/multf3.c: Likewise.
26975 * soft-fp/negdf2.c: Likewise.
26976 * soft-fp/negsf2.c: Likewise.
26977 * soft-fp/negtf2.c: Likewise.
26978 * soft-fp/op-1.h: Likewise.
26979 * soft-fp/op-2.h: Likewise.
26980 * soft-fp/op-4.h: Likewise.
26981 * soft-fp/op-8.h: Likewise.
26982 * soft-fp/op-common.h: Likewise.
26983 * soft-fp/quad.h: Likewise.
26984 * soft-fp/single.h: Likewise.
26985 * soft-fp/soft-fp.h: Likewise.
26986 * soft-fp/sqrtdf2.c: Likewise.
26987 * soft-fp/sqrtsf2.c: Likewise.
26988 * soft-fp/sqrttf2.c: Likewise.
26989 * soft-fp/subdf3.c: Likewise.
26990 * soft-fp/subsf3.c: Likewise.
26991 * soft-fp/subtf3.c: Likewise.
26992 * soft-fp/truncdfsf2.c: Likewise.
26993 * soft-fp/trunctfdf2.c: Likewise.
26994 * soft-fp/trunctfsf2.c: Likewise.
26995 * soft-fp/trunctfxf2.c: Likewise.
26996 * soft-fp/unorddf2.c: Likewise.
26997 * soft-fp/unordsf2.c: Likewise.
26998 * soft-fp/unordtf2.c: Likewise.
26999
27000 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27001
27002 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27003 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27004
27005 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27006
27007 * elf/dl-libc.c: Clear initfini list after freeing.
27008
27009 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27010
27011 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27012 * soft-fp/addsf3.c: Likewise.
27013 * soft-fp/addtf3.c: Likewise.
27014 * soft-fp/divdf3.c: Likewise.
27015 * soft-fp/divsf3.c: Likewise.
27016 * soft-fp/divtf3.c: Likewise.
27017 * soft-fp/double.h: Likewise.
27018 * soft-fp/eqdf2.c: Likewise.
27019 * soft-fp/eqsf2.c: Likewise.
27020 * soft-fp/eqtf2.c: Likewise.
27021 * soft-fp/extenddftf2.c: Likewise.
27022 * soft-fp/extended.h: Likewise.
27023 * soft-fp/extendsfdf2.c: Likewise.
27024 * soft-fp/extendsftf2.c: Likewise.
27025 * soft-fp/extendxftf2.c: Likewise.
27026 * soft-fp/fixdfdi.c: Likewise.
27027 * soft-fp/fixdfsi.c: Likewise.
27028 * soft-fp/fixdfti.c: Likewise.
27029 * soft-fp/fixsfdi.c: Likewise.
27030 * soft-fp/fixsfsi.c: Likewise.
27031 * soft-fp/fixsfti.c: Likewise.
27032 * soft-fp/fixtfdi.c: Likewise.
27033 * soft-fp/fixtfsi.c: Likewise.
27034 * soft-fp/fixtfti.c: Likewise.
27035 * soft-fp/fixunsdfdi.c: Likewise.
27036 * soft-fp/fixunsdfsi.c: Likewise.
27037 * soft-fp/fixunsdfti.c: Likewise.
27038 * soft-fp/fixunssfdi.c: Likewise.
27039 * soft-fp/fixunssfsi.c: Likewise.
27040 * soft-fp/fixunssfti.c: Likewise.
27041 * soft-fp/fixunstfdi.c: Likewise.
27042 * soft-fp/fixunstfsi.c: Likewise.
27043 * soft-fp/fixunstfti.c: Likewise.
27044 * soft-fp/floatdidf.c: Likewise.
27045 * soft-fp/floatdisf.c: Likewise.
27046 * soft-fp/floatditf.c: Likewise.
27047 * soft-fp/floatsidf.c: Likewise.
27048 * soft-fp/floatsisf.c: Likewise.
27049 * soft-fp/floatsitf.c: Likewise.
27050 * soft-fp/floattidf.c: Likewise.
27051 * soft-fp/floattisf.c: Likewise.
27052 * soft-fp/floattitf.c: Likewise.
27053 * soft-fp/floatundidf.c: Likewise.
27054 * soft-fp/floatundisf.c: Likewise.
27055 * soft-fp/floatunsidf.c: Likewise.
27056 * soft-fp/floatunsisf.c: Likewise.
27057 * soft-fp/floatuntidf.c: Likewise.
27058 * soft-fp/floatuntisf.c: Likewise.
27059 * soft-fp/floatuntitf.c: Likewise.
27060 * soft-fp/fmadf4.c: Likewise.
27061 * soft-fp/fmasf4.c: Likewise.
27062 * soft-fp/fmatf4.c: Likewise.
27063 * soft-fp/gedf2.c: Likewise.
27064 * soft-fp/gesf2.c: Likewise.
27065 * soft-fp/getf2.c: Likewise.
27066 * soft-fp/ledf2.c: Likewise.
27067 * soft-fp/lesf2.c: Likewise.
27068 * soft-fp/letf2.c: Likewise.
27069 * soft-fp/muldf3.c: Likewise.
27070 * soft-fp/mulsf3.c: Likewise.
27071 * soft-fp/multf3.c: Likewise.
27072 * soft-fp/negdf2.c: Likewise.
27073 * soft-fp/negsf2.c: Likewise.
27074 * soft-fp/negtf2.c: Likewise.
27075 * soft-fp/op-1.h: Likewise.
27076 * soft-fp/op-2.h: Likewise.
27077 * soft-fp/op-4.h: Likewise.
27078 * soft-fp/op-8.h: Likewise.
27079 * soft-fp/op-common.h: Likewise.
27080 * soft-fp/quad.h: Likewise.
27081 * soft-fp/single.h: Likewise.
27082 * soft-fp/soft-fp.h: Likewise.
27083 * soft-fp/sqrtdf2.c: Likewise.
27084 * soft-fp/sqrtsf2.c: Likewise.
27085 * soft-fp/sqrttf2.c: Likewise.
27086 * soft-fp/subdf3.c: Likewise.
27087 * soft-fp/subsf3.c: Likewise.
27088 * soft-fp/subtf3.c: Likewise.
27089 * soft-fp/truncdfsf2.c: Likewise.
27090 * soft-fp/trunctfdf2.c: Likewise.
27091 * soft-fp/trunctfsf2.c: Likewise.
27092 * soft-fp/trunctfxf2.c: Likewise.
27093 * soft-fp/unorddf2.c: Likewise.
27094 * soft-fp/unordsf2.c: Likewise.
27095 * soft-fp/unordtf2.c: Likewise.
27096
27097 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27098
27099 [BZ #15672]
27100 * misc/error.c (error_tail): Fix possible buffer overflow.
27101
27102 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27103
27104 [BZ #13028]
27105 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27106 address.
27107
27108 2013-10-14 P. J. McDermott <pj@pehjota.net>
27109
27110 [BZ #832]
27111 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27112 testing pipefail option.
27113
27114 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27115
27116 * soft-fp/double.h: Indent preprocessor directives inside #if.
27117 * soft-fp/extended.h: Likewise.
27118 * soft-fp/op-2.h: Likewise.
27119 * soft-fp/op-4.h: Likewise.
27120 * soft-fp/op-common.h: Likewise.
27121 * soft-fp/quad.h: Likewise.
27122 * soft-fp/single.h: Likewise.
27123 * soft-fp/soft-fp.h: Likewise.
27124
27125 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27126
27127 * iconv/iconv_prog.c: Fix typos.
27128 * stdio-common/psiginfo-data.h: Likewise.
27129
27130 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27131
27132 [BZ #15764]
27133 * locale/setlocale.c: Fix typo.
27134
27135 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27136
27137 [BZ #16036]
27138 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27139 signaling NaN arguments.
27140 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27141 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27142
27143 [BZ #14910]
27144 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27145 unordered operands.
27146 * soft-fp/gesf2.c (__gesf2): Likewise.
27147 * soft-fp/getf2.c (__getf2): Likewise.
27148 * soft-fp/ledf2.c (__ledf2): Likewise.
27149 * soft-fp/lesf2.c (__lesf2): Likewise.
27150 * soft-fp/letf2.c (__letf2): Likewise.
27151
27152 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27153 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27154 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27155 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27156 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27157 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27158 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27159 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27160 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27161 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27162 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27163 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27164 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27165 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27166 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27167 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27168 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27169 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27170 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27171 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27172 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27173 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27174 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27175 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27176 * soft-fp/floattidf.c (__floattidf): Likewise.
27177 * soft-fp/floattisf.c (__floattisf): Likewise.
27178 * soft-fp/floattitf.c (__floattitf): Likewise.
27179 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27180 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27181 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27182 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27183 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27184 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27185 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27186 * soft-fp/gesf2.c (__gesf2): Likewise.
27187 * soft-fp/getf2.c (__getf2): Likewise.
27188 * soft-fp/ledf2.c (__ledf2): Likewise.
27189 * soft-fp/lesf2.c (__lesf2): Likewise.
27190 * soft-fp/letf2.c (__letf2): Likewise.
27191
27192 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27193 Undefine and redefine.
27194 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27195 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27196 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27197 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27198 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27199 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27200 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27201 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27202 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27203 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27204 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27205 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27206 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27207 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27208 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27209
27210 [BZ #16032]
27211 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27212 without decrementing exponent if mantissa >= that for the
27213 denominator, not >.
27214 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27215 denominator, not >. Decrement exponent in < case instead of
27216 incrementing in >= case.
27217 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27218 without decrementing exponent if mantissa >= that for the
27219 denominator, not >.
27220
27221 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27222 computing saturated result for unsigned overflow.
27223
27224 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27225 Jeff Law <law@redhat.com>
27226
27227 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27228 (atan2Mp): Add systemtap probe marker.
27229 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27230 (__ieee754_log): Add systemtap probe marker.
27231 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27232 (atanMp): Add systemtap probe marker.
27233 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27234 (tanMp): Add systemtap probe marker.
27235 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27236 (__slowexp): Add systemtap probe marker.
27237 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27238 (__slowpow): Add systemtap probe marker.
27239 * manual/probes.texi: Document probes.
27240
27241 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27242
27243 [BZ #15362]
27244 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27245 written.
27246 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27247 written.
27248 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27249 written to buffer but not flushed.
27250 * libio/iofwrite_u.c: Likewise.
27251 * libio/iopadn.c: Return bytes returned even if EOF was
27252 encountered.
27253 * libio/iowpadn.c: Likewise.
27254 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27255 if _IO_padn does not write the whole buffer.
27256 [!COMPILE_WPRINTF] (PAD): Likewise.
27257
27258 2013-10-10 David S. Miller <davem@davemloft.net>
27259
27260 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27261 directory block.
27262
27263 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27264
27265 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27266 instead of FSF address.
27267 * soft-fp/fixdfti.c: Likewise.
27268 * soft-fp/fixsfti.c: Likewise.
27269 * soft-fp/fixtfti.c: Likewise.
27270 * soft-fp/fixunsdfti.c: Likewise.
27271 * soft-fp/fixunssfti.c: Likewise.
27272 * soft-fp/fixunstfti.c: Likewise.
27273 * soft-fp/floattidf.c: Likewise.
27274 * soft-fp/floattisf.c: Likewise.
27275 * soft-fp/floattitf.c: Likewise.
27276 * soft-fp/floatuntidf.c: Likewise.
27277 * soft-fp/floatuntisf.c: Likewise.
27278 * soft-fp/floatuntitf.c: Likewise.
27279 * soft-fp/trunctfxf2.c: Likewise.
27280
27281 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27282 * soft-fp/fixdfti.c: Likewise.
27283 * soft-fp/fixsfti.c: Likewise.
27284 * soft-fp/fixtfti.c: Likewise.
27285 * soft-fp/fixunsdfti.c: Likewise.
27286 * soft-fp/fixunssfti.c: Likewise.
27287 * soft-fp/fixunstfti.c: Likewise.
27288 * soft-fp/floattidf.c: Likewise.
27289 * soft-fp/floattisf.c: Likewise.
27290 * soft-fp/floattitf.c: Likewise.
27291 * soft-fp/floatuntidf.c: Likewise.
27292 * soft-fp/floatuntisf.c: Likewise.
27293 * soft-fp/floatuntitf.c: Likewise.
27294 * soft-fp/trunctfxf2.c: Likewise.
27295
27296 2013-10-10 David S. Miller <davem@davemloft.net>
27297
27298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27299
27300 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27301
27302 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27303 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27304 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27305 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27306 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27307 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27308 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27309
27310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27311 for NaNs before doing comparisons on argument.
27312 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27313 Likewise.
27314
27315 2013-10-10 Will Newton <will.newton@linaro.org>
27316
27317 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27318 passed to _int_memalign does not overflow.
27319
27320 2013-10-10 Torvald Riegel <triegel@redhat.com>
27321
27322 * scripts/bench.pl: Add include-sources directive.
27323 * benchtests/README: Update documentation.
27324
27325 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27326
27327 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27328 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27329 instead of FP_INIT_ROUNDMODE.
27330 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27331 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27332
27333 [BZ #16034]
27334 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27335 copy class of input value.
27336 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27337 not handle exceptions.
27338 * soft-fp/negsf2.c (__negsf2): Likewise.
27339 * soft-fp/negtf2.c (__negtf2): Likewise.
27340 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27341
27342 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27343
27344 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27345 semicolon. From Linux kernel.
27346
27347 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27348
27349 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27350
27351 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27352
27353 [BZ #156]
27354 * manual/socket.texi: Added statement about buffer
27355 for gethostbyname2_r.
27356
27357 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27358
27359 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27360 Use .p2align directive instead, throughout.
27361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27362 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27363 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27366 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27367 * sysdeps/x86_64/strchr.S: Likewise.
27368 * sysdeps/x86_64/strrchr.S: Likewise.
27369
27370 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27371
27372 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27373
27374 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27375
27376 * sysdeps/generic/math_private.h (__mpsin1): Remove
27377 declaration.
27378 (__mpcos1): Likewise.
27379 (__mpsin): New argument __range_reduce.
27380 (__mpcos): Likewise.
27381 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27382 (slow): Use __mpsin and __mpcos.
27383 (slow1): Likewise.
27384 (slow2): Likewise.
27385 (sloww): Likewise.
27386 (sloww1): Likewise.
27387 (sloww2): Likewise.
27388 (bsloww): Likewise.
27389 (bsloww1): Likewise.
27390 (bsloww2): Likewise.
27391 (cslow2): Likewise.
27392 (csloww): Likewise.
27393 (csloww1): Likewise.
27394 (csloww2): Likewise.
27395 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27396 range_reduce. Merge in __mpsin1.
27397 (__mpcos): Likewise.
27398 (__mpsin1): Remove.
27399 (__mpcos1): Likewise.
27400
27401 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27402
27403 * locale/loadlocale.c (_nl_intern_locale_data): Use
27404 LOCFILE_ALIGNED_P.
27405 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27406 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27407 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27408 obstack data is appropriately aligned.
27409 (obstack_int32_grow_fast): Likewise.
27410 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27411 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27412 (add_locale_uint32_array): Likewise.
27413
27414 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27415
27416 * benchtests/Makefile: Remove ARGLIST and RET variables.
27417 ($(objpfx)bench-%.c): Pass only function name to the script.
27418 * benchtests/README: Update documentation.
27419 * benchtests/acos-inputs: Add new directives.
27420 * benchtests/acosh-inputs: Likewise.
27421 * benchtests/asin-inputs: Likewise.
27422 * benchtests/asinh-inputs: Likewise.
27423 * benchtests/atan-inputs: Likewise.
27424 * benchtests/atanh-inputs: Likewise.
27425 * benchtests/cos-inputs: Likewise.
27426 * benchtests/cosh-inputs: Likewise.
27427 * benchtests/exp-inputs: Likewise.
27428 * benchtests/log-inputs: Likewise.
27429 * benchtests/pow-inputs: Likewise.
27430 * benchtests/rint-inputs: Likewise.
27431 * benchtests/sin-inputs: Likewise.
27432 * benchtests/sinh-inputs: Likewise.
27433 * benchtests/tan-inputs: Likewise.
27434 * benchtests/tanh-inputs: Likewise.
27435 * scripts/bench.pl: Add support for new directives.
27436
27437 2013-10-07 Alan Modra <amodra@gmail.com>
27438
27439 * README: Fix careless merge.
27440
27441 2013-10-05 Alan Modra <amodra@gmail.com>
27442
27443 * NEWS: Mention powerpc64le support and bugs fixed.
27444 * README: Both big-endian and little-endian powerpc64 supported.
27445
27446 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27447
27448 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27449 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27450 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27451 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27452
27453 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27454
27455 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27456 match prototype.
27457
27458 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27459
27460 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27461 Move -mhard-float appending from
27462 ports/sysdeps/powerpc/powerpc32/Makefile.
27463 [$(with-fp) = yes] (ASFLAGS): Likewise.
27464 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27465 * sysdeps/powerpc/nofpu: Move directory from
27466 ports/sysdeps/powerpc/nofpu.
27467 * sysdeps/powerpc/soft-fp: Move directory from
27468 ports/sysdeps/powerpc/soft-fp.
27469 * sysdeps/powerpc/powerpc32/405: Move directory from
27470 ports/sysdeps/powerpc/powerpc32/405.
27471 * sysdeps/powerpc/powerpc32/440: Move directory from
27472 ports/sysdeps/powerpc/powerpc32/440.
27473 * sysdeps/powerpc/powerpc32/464: Move directory from
27474 ports/sysdeps/powerpc/powerpc32/464.
27475 * sysdeps/powerpc/powerpc32/476: Move directory from
27476 ports/sysdeps/powerpc/powerpc32/476.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27478 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27482 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27484 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27487 * README: Update for powerpc-*-linux-gnu software floating point
27488 support in libc.
27489
27490 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27491 case to powerpc/powerpc32*.
27492 * sysdeps/unix/sysv/linux/configure: Regenerated.
27493
27494 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27495 (_FPU_MASK_OM): Define as 0x04.
27496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27498 0x00c10080.
27499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27500 0x0000003c.
27501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27502
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27504 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27505 getcontext_e500.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27507 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27508 setcontext_e500.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27510 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27511 and setcontext_e500.
27512
27513 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27514
27515 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27516
27517 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27518
27519 * manual/threads.texi (Default Thread Attributes): Fix typo.
27520
27521 2013-10-04 Will Newton <will.newton@linaro.org>
27522
27523 * malloc/Makefile: Add tst-memalign.
27524 * malloc/tst-memalign.c: New file.
27525
27526 * malloc/tst-posix_memalign.c: Add comments.
27527 (do_test): Add comments and call free on all potentially
27528 allocated pointers. Add space after cast.
27529
27530 * malloc/tst-pvalloc.c: Add comments.
27531 (do_test): Add comments and call free on all potentially
27532 allocated pointers. Remove duplicate check for NULL pointer.
27533 Add space after cast.
27534
27535 * malloc/tst-valloc.c: Add comments.
27536 (do_test): Add comments and call free on all potentially
27537 allocated pointers. Remove duplicate check for NULL pointer.
27538 Add space after cast.
27539
27540 2013-10-04 Alan Modra <amodra@gmail.com>
27541
27542 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27543 Use stdint types in rather than __attribute__((mode())).
27544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27545
27546 2013-10-04 Alan Modra <amodra@gmail.com>
27547
27548 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27549 Correct handling of unaligned relocs for little-endian.
27550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27551
27552 2013-10-04 Alan Modra <amodra@gmail.com>
27553
27554 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27555 * configure: Regenerate.
27556 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27557 * shlib-versions: Likewise.
27558
27559 2013-10-04 Alan Modra <amodra@gmail.com>
27560
27561 * string/tester.c (test_memrchr): Increment reported test cycle.
27562
27563 2013-10-04 Alan Modra <amodra@gmail.com>
27564
27565 * string/test-memcpy.c (do_one_test): When reporting errors, print
27566 string address and don't overrun end of string.
27567
27568 2013-10-04 Alan Modra <amodra@gmail.com>
27569
27570 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27571 insrdi. Make better use of reg selection to speed exit slightly.
27572 Schedule entry path a little better. Remove useless "are we done"
27573 checks on entry to main loop. Handle wrapping around zero address.
27574 Correct main loop count. Handle single left-over word from main
27575 loop inline rather than by using loop_small. Remove extra word
27576 case in loop_small caused by wrong loop count. Add little-endian
27577 support.
27578 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27579 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27580 cache hint.
27581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27583 support. Avoid rlwimi.
27584 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27585
27586 2013-10-04 Alan Modra <amodra@gmail.com>
27587
27588 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27589 insrdi. Formatting.
27590 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27591 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27592 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27593 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27594 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27595 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27596
27597 2013-10-04 Alan Modra <amodra@gmail.com>
27598
27599 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27602 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27603 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27604 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27606 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27607 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27608 use of regs. Use power7 mtocrf. Tidy function tails.
27609
27610 2013-10-04 Alan Modra <amodra@gmail.com>
27611
27612 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27613 Formatting. Consistently use rXXX register defines or rN defines.
27614 Use early exit labels that avoid restoring unused non-volatile regs.
27615 Make cr field use more consistent with rWORDn compares. Rename
27616 regs used as shift registers for unaligned loop, using rN defines
27617 for short lifetime/multiple use regs.
27618 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27619 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27620 addi 1,1,64 to pop stack frame. Simplify return value code.
27621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27622
27623 2013-10-04 Alan Modra <amodra@gmail.com>
27624
27625 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27626 support. Correct typos, formatting. Optimize tail. Use insrdi
27627 rather than rlwimi.
27628 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27629 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27630 little-endian support. Correct typos.
27631 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27632 rather than rlwimi.
27633 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27634 in loop and entry code to keep "and." results.
27635 (strchr): Add little-endian support. Comment. Move cntlzd
27636 earlier in tail.
27637 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27638
27639 2013-10-04 Alan Modra <amodra@gmail.com>
27640
27641 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27642 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27643 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27644 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27645
27646 2013-10-04 Alan Modra <amodra@gmail.com>
27647
27648 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27649 (rTMP): Define as r11.
27650 (strcmp): Add little-endian support. Optimise tail.
27651 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27652 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27653 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27657 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27658
27659 2013-10-04 Alan Modra <amodra@gmail.com>
27660
27661 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27662 little-endian support. Remove unnecessary "are we done" tests.
27663 Handle "s" wrapping around zero and extremely large "size".
27664 Correct main loop count. Handle single left-over word from main
27665 loop inline rather than by using small_loop. Correct comments.
27666 Delete "zero" tail, use "end_max" instead.
27667 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27668
27669 2013-10-04 Alan Modra <amodra@gmail.com>
27670
27671 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27672 support. Don't branch over align.
27673 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27674 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27675 support. Rearrange tmp reg use to suit. Comment.
27676 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27677
27678 2013-10-04 Alan Modra <amodra@gmail.com>
27679
27680 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27681
27682 2013-10-04 Alan Modra <amodra@gmail.com>
27683
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27685 conditional form of branch and link when obtaining pc.
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27687
27688 2013-10-04 Alan Modra <amodra@gmail.com>
27689
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27691 HIWORD/LOWORD.
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27694
27695 2013-10-04 Alan Modra <amodra@gmail.com>
27696
27697 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27698 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27699 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27700 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27701 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27702 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27703 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27704 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27705 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27706 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27707
27708 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27709 Alistair Popple <alistair@ozlabs.au.ibm.com>
27710 Alan Modra <amodra@gmail.com>
27711
27712 [BZ #15723]
27713 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27714 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27715 _dl_hwcap access for little-endian.
27716 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27717 destroy vmx regs when saving unaligned.
27718 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27719 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27720 destroy vmx regs when saving unaligned.
27721
27722 2013-10-04 Alan Modra <amodra@gmail.com>
27723
27724 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27725 Don't use a union to pack hi/low value.
27726
27727 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27728
27729 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27730 for little-endian.
27731 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27733 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27734 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27735 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27736
27737 2013-10-04 Alan Modra <amodra@gmail.com>
27738
27739 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27740 constants to usual value for .cst8 section, and remove redundant
27741 high address load.
27742 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27743 constant for 0x1p52. Load little-endian words of double from
27744 correct stack offsets.
27745
27746 2013-10-04 Alan Modra <amodra@gmail.com>
27747
27748 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27749 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27750 words of double from correct stack offsets.
27751 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27752 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27753 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27756 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27757 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27758 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27759 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27760 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27763 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27764 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27765 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27766 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27767 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27768
27769 2013-10-04 Alan Modra <amodra@gmail.com>
27770
27771 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27772 64-bit int/double union.
27773 (_FPU_SETCW): Likewise.
27774 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27775 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27776
27777 2013-10-04 Alan Modra <amodra@gmail.com>
27778
27779 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27780 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27781
27782 2013-10-04 Alan Modra <amodra@gmail.com>
27783
27784 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27785 use vector int constants.
27786 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27787
27788 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27789
27790 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27791 array with long long.
27792 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27793 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27794 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27795 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27796 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27797 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27798 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27799 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27800 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27801 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27802 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27803 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27804 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27805
27806 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27807
27808 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27809 (__signbit): Likewise. Correct for little-endian.
27810 (__signbitl): Call __signbit.
27811 (lrint): Correct for little-endian.
27812 (lrintf): Call lrint.
27813
27814 2013-10-04 Alan Modra <amodra@gmail.com>
27815
27816 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27817 union 32-bit int array member with 64-bit int array.
27818 (t515, tm256): Double rather than long double.
27819 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27820
27821 2013-10-04 Alan Modra <amodra@gmail.com>
27822
27823 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27824 Delete.
27825 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27827 version of math_ldbl.h.
27828
27829 2013-10-04 Alan Modra <amodra@gmail.com>
27830
27831 [BZ #15734], [BZ #15735]
27832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27833 all uses of ieee875 long double macros and unions. Simplify test
27834 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27835 ldbl_extract_mantissa value for ix,iy exponents. Properly
27836 normalize after ldbl_extract_mantissa, and don't add hidden bit
27837 already handled. Don't treat low word of ieee854 mantissa like
27838 low word of IBM long double and mask off bit when testing for
27839 zero.
27840 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27841 all uses of ieee875 long double macros and unions. Simplify tests
27842 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27843 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27844 two1022, instead use their values. Recognise that tests for large
27845 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27846 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27847 Rewrite all uses of ieee875 long double macros and unions. Simplify
27848 test for 0.0L and nan. Correct negation.
27849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27850 ieee875 long double macros and unions. Correct output for large
27851 magnitude x. Correct absolute value calculation.
27852 (__erfcl): Likewise.
27853 * math/libm-test.inc: Add tests for errors discovered in IBM long
27854 double versions of fmodl, remainderl, erfl and erfcl.
27855
27856 2013-10-04 Alan Modra <amodra@gmail.com>
27857
27858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27859 all uses of ieee854 long double macros and unions. Simplify tests
27860 for long doubles that are fully specified by the high double.
27861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27862 Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27864 Remove dead code too.
27865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27866 (__ieee754_ynl): Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27870 Remove dead code too.
27871 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27875 Simplify.
27876 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27877 Simplify.
27878 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27879 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27881 Comment on variable precision.
27882 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27883 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27884 Likewise.
27885 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27886 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27888 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27889 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27890
27891 2013-10-04 Alan Modra <amodra@gmail.com>
27892
27893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27894 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27895 all uses of ieee854 long double macros and unions.
27896 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27897 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27898 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27899 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27900 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27902 Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27904 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27905 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27906 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27909 Simplify sign and nan test too.
27910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27911 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27912 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27914 Likewise.
27915 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27916 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27917 Likewise.
27918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27919 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27920 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27921 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27922 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27924
27925 2013-10-04 Alan Modra <amodra@gmail.com>
27926
27927 * stdio-common/printf_size.c (__printf_size): Don't use
27928 union ieee854_long_double in fpnum union.
27929 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27930 signbit macro to retrieve sign from long double.
27931 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27932 retrieve sign from long double.
27933 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27934 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27935 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27936 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27937 * math/test-misc.c (main): Don't use union ieee854_long_double.
27938
27939 2013-10-04 Alan Modra <amodra@gmail.com>
27940
27941 [BZ #15680]
27942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27943 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27944 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27945 calculation. Remove unnecessary test for denormal exponent.
27946 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27947 Correct handling of denormals. Avoid undefined shift behaviour.
27948 Correct normalisation of low mantissa when low double is denormal.
27949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27950 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27951 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27952 Correct normalisation of low mantissa. Test for overflow of high
27953 mantissa and normalise.
27954 (ldbl_nearbyint): Use more readable constant for two52.
27955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27956 (__mpn_construct_long_double): Fix test for overflow of high
27957 mantissa and correct normalisation. Avoid undefined shift.
27958
27959 2013-10-04 Alan Modra <amodra@gmail.com>
27960
27961 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27962 (union ibm_extended_long_double): Define as an array of ieee754_double.
27963 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27964 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27965 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27966 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27970 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27974
27975 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27976
27977 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27978 page size instead of calling getpagesize.
27979
27980 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27981 (LOCFILE_ALIGN_MASK): Likewise.
27982 (LOCFILE_ALIGN_UP): Likewise.
27983 (LOCFILE_ALIGNED_P): Likewise.
27984 * locale/programs/ld-collate.c (collate_output): Use the new
27985 macros instead of __alignof__ (int32_t).
27986 * locale/weight.h (findidx): Likewise.
27987
27988 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27989
27990 [BZ #431]
27991 * manual/string.texi: Fix strncat and wcsncat.
27992
27993 2013-10-03 Brooks Moses <bmoses@google.com>
27994
27995 [BZ #15915]
27996 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27997 * Makerules: ...here, and adjust associated comments.
27998
27999 2013-10-02 Will Newton <will.newton@linaro.org>
28000
28001 * malloc/Makefile: Add tst-pvalloc.
28002 * malloc/tst-pvalloc.c: New file.
28003
28004 2013-10-02 Will Newton <will.newton@linaro.org>
28005
28006 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28007 improve test coverage.
28008
28009 2013-10-02 Will Newton <will.newton@linaro.org>
28010
28011 * malloc/Makefile: Add tst-posix_memalign.
28012 * malloc/tst-posix_memalign.c: New file.
28013
28014 2013-10-01 Eric Blake <eblake@redhat.com>
28015
28016 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28017 Use __THROWNL rather than __THROW on static functions.
28018
28019 2013-09-30 Petr Machata <pmachata@redhat.com>
28020
28021 * elf/elf.h (R_AARCH64_ABS16): New macro.
28022 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28023 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28024 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28025 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28026 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28027 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28028 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28029 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28030 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28031 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28032 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28033 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28034 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28035 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28036 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28037 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28038 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28039 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28040 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28041 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28042 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28043 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28044 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28045 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28046 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28047 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28048 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28049 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28050 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28051 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28052 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28053 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28054 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28055 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28056 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28057 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28058 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28059 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28060 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28061 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28062 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28063 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28064 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28065 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28066 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28067 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28068 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28069 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28070 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28071 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28072 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28073 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28074 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28075 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28076 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28077 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28078 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28079 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28080 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28081 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28082 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28083 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28084 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28085 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28086 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28087 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28088 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28089 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28090 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28091 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28092 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28093 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28094 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28095 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28096 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28097 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28098 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28099 (R_AARCH64_TLSDESC_LDR): Likewise.
28100 (R_AARCH64_TLSDESC_ADD): Likewise.
28101 (R_AARCH64_TLSDESC_CALL): Likewise.
28102
28103 2013-09-30 Andreas Schwab <schwab@suse.de>
28104
28105 [BZ #15048]
28106 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28107 the nss database lookup.
28108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28110
28111 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28112
28113 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28114
28115 2013-09-28 P. J. McDermott <pj@pehjota.net>
28116
28117 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28118 ${Bash-specific parameter/pattern/string} parameter expansion.
28119 * sysdeps/unix/make-syscalls.sh: Likewise.
28120
28121 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28122
28123 * sysdeps/sh/stackguard-macros.h: New file.
28124
28125 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28126
28127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28129 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28132 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28133
28134 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28135
28136 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28137 Fix thread ID register.
28138
28139 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28140
28141 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28142 [POSIX || UNIX98]: Require rather than permitting all symbols from
28143 <time.h>.
28144 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28145 element of struct sched_param.
28146 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28147 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28148 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28149 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28150 constant.
28151
28152 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28153
28154 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28155 argument calculation.
28156
28157 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28158
28159 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28160 Expect macro.
28161 [POSIX] (pthread_attr_t): Do not require type.
28162 [POSIX] (pthread_cond_t): Likewise.
28163 [POSIX] (pthread_condattr_t): Likewise.
28164 [POSIX] (pthread_key_t): Likewise.
28165 [POSIX] (pthread_mutex_t): Likewise.
28166 [POSIX] (pthread_mutexattr_t): Likewise.
28167 [POSIX] (pthread_once_t): Likewise.
28168 [POSIX] (pthread_t): Likewise.
28169 [POSIX-based standards] (pthread_atfork): Expect function.
28170
28171 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28172 Richard Sandiford <richard@codesourcery.com>
28173
28174 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28175 (swap_endianness_p): New extern variable.
28176 (set_big_endian): New inline function.
28177 (maybe_swap_uint32): Likewise.
28178 (maybe_swap_uint32_array): Likewise.
28179 (maybe_swap_uint32_obstack): Likewise.
28180 * locale/programs/locfile.c: Include <stdbool.h>.
28181 (swap_endianness_p): New variable.
28182 (add_locale_uint32): Call maybe_swap_uint32.
28183 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28184 (write_locale_data): Call maybe_swap_uint32_array.
28185 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28186 maybe_swap_uint32.
28187 (obstack_int32_grow_fast): Likewise.
28188 (output_weightwc): Call maybe_swap_uint32_obstack.
28189 (collate_output): Likewise.
28190 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28191 (OPT_LITTLE_ENDIAN): Likewise.
28192 (options): Add --little-endian and --big-endian options.
28193 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28194 * locale/programs/locarchive.c: Include "locfile.h".
28195 (GET): New macro.
28196 (SET): Likewise.
28197 (INC): Likewise.
28198 (create_archive): Use the new macros to access fields of
28199 structures directly mapped from or written to locale archives.
28200 (oldlocrecentcmp): Likewise.
28201 (enlarge_archive): Likewise.
28202 (insert_name): Likewise.
28203 (add_alias): Likewise.
28204 (add_locale): Likewise.
28205 (delete_locales_from_archive): Likewise.
28206 (show_archive_content): Likewise.
28207 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28208 locale data.
28209
28210 2013-09-24 Roland McGrath <roland@hack.frob.com>
28211
28212 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28213 http://www.gnu.org/doc/freemanuals.texi.
28214 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28215
28216 2013-09-24 Will Newton <will.newton@linaro.org>
28217
28218 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28219 macro.
28220
28221 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28222
28223 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28224 unsigned char.
28225
28226 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28227
28228 * manual/threads.texi (POSIX Threads): Fix a typo.
28229
28230 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28231
28232 [BZ #14547]
28233 * string/tst-strcoll-overflow.c: New test case.
28234 * string/Makefile (xtests): Add tst-strcoll-overflow.
28235 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28236 cache if string sizes may cause integer overflow.
28237
28238 [BZ #14547]
28239 * string/strcoll_l.c (coll_seq): New members rule, idx,
28240 save_idx and back_us.
28241 (get_next_seq_nocache): New function.
28242 (do_compare_nocache): New function.
28243 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28244 when malloc fails.
28245
28246 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28247
28248 [BZ #15754]
28249 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28250 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28251 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28252
28253 [BZ #15754]
28254 * elf/Makefile (tests): Add tst-ptrguard1.
28255 (tests-static): Add tst-ptrguard1-static.
28256 (tst-ptrguard1-ARGS): Define.
28257 (tst-ptrguard1-static-ARGS): Define.
28258 * elf/tst-ptrguard1.c: New file.
28259 * elf/tst-ptrguard1-static.c: New file.
28260 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28261 * sysdeps/i386/stackguard-macros.h: Likewise.
28262 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28263 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28264 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28265 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28266 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28267 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28268
28269 2013-09-23 Hector Marco <hecmargi@upv.es>
28270 Ismael Ripoll <iripoll@disca.upv.es>
28271 Carlos O'Donell <carlos@redhat.com>
28272
28273 [BZ #15754]
28274 * sysdeps/generic/stackguard-macros.h: Define
28275 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28276 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28277 Define __pointer_chk_guard_local.
28278 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28279 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28280
28281 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28282
28283 [BZ #15859]
28284 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28285
28286 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28287
28288 * include/string.h (__ffs): Declare as hidden.
28289 * string/ffs.c (__ffs): Define as hidden.
28290 * sysdeps/i386/ffs.c (__ffs): Likewise.
28291 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28292 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28293 * sysdeps/s390/ffs.c (__ffs): Likewise.
28294 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28295
28296 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28297
28298 * NEWS: Mention malloc probes.
28299
28300 * malloc/arena.c (new_heap): New memory_heap_new probe.
28301 (grow_heap): New memory_heap_more probe.
28302 (shrink_heap): New memory_heap_less probe.
28303 (heap_trim): New memory_heap_free probe.
28304 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28305 (systrim): New memory_sbrk_less probe.
28306 * manual/probes.texi: Document them.
28307
28308 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28309 * manual/probes.texi: Document it.
28310
28311 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28312 (__libc_realloc): Add memory_realloc_retry probe.
28313 (__libc_memalign): Add memory_memalign_retry probe.
28314 (__libc_valloc): Add memory_valloc_retry probe.
28315 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28316 (__libc_calloc): Add memory_calloc_retry probe.
28317 * manual/probes.texi: Document them.
28318
28319 * malloc/arena.c (get_free_list): Add probe
28320 memory_arena_reuse_free_list.
28321 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28322 and memory_arena_reuse.
28323 (arena_get2) [!PER_THREAD]: Likewise.
28324 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28325 memory_arena_reuse_realloc.
28326 * manual/probes.texi: Document them.
28327
28328 * malloc/malloc.c (__libc_free): Add
28329 memory_mallopt_free_dyn_thresholds probe.
28330 (__libc_mallopt): Add multiple memory_mallopt probes.
28331 * manual/probes.texi: Document them.
28332
28333 * malloc/malloc.c: Include stap-probe.h.
28334 (__libc_mallopt): Add memory_mallopt probe.
28335 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28336 * manual/probes.texi: New.
28337 * manual/Makefile (chapters): Add probes.
28338 * manual/threads.texi: Set next node.
28339
28340 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28341
28342 [BZ #15963, #13985]
28343 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28344 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28345 Add `Chinese' to `nan' entry name.
28346
28347 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28348
28349 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28350 (POLYNOMIAL): Likewise.
28351 (TAYLOR_SINCOS): Likewise.
28352 (TAYLOR_SLOW): Likewise.
28353 (__sin): Use TAYLOR_SINCOS.
28354 (__cos): Likewise.
28355 (slow): Use TAYLOR_SLOW.
28356 (sloww): Likewise.
28357 (bsloww): Likewise.
28358 (csloww): Likewise.
28359
28360 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28361
28362 * stdlib/strtod_l.c: Fix buffer overrun.
28363
28364 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28365
28366 * benchtests/Makefile (bench): Add sincos.
28367 * benchtests/bench-sincos.c: New file.
28368
28369 * math/libm-test.inc (cos_test_data): New test inputs.
28370 (sin_test_data): Likewise.
28371
28372 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28373 macro.
28374 (__sin): Use it.
28375 (__cos): Likewise.
28376 (slow1): Likewise.
28377 (slow2): Likewise.
28378 (sloww1): Likewise.
28379 (sloww2): Likewise.
28380 (bsloww1): Likewise.
28381 (bsloww2): Likewise.
28382 (cslow2): Likewise.
28383 (csloww1): Likewise.
28384 (csloww2): Likewise.
28385
28386 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28387 function.
28388 (__sin): Use it.
28389 (__cos): Likewise.
28390
28391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28392 gotos.
28393 (__cos): Likewise.
28394
28395 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28396
28397 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28398 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28399 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28400 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28401 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28402 * elf/cache.c (print_entry): Handle the new cache flags.
28403
28404 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28405 Aldy Hernandez <aldyh@redhat.com>
28406
28407 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28408 Change condition to [_SOFT_FLOAT].
28409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28421 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28424 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28425 declaration.
28426
28427 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28428
28429 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28430 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28431 (__longjmp): Use LOAD_GP to load saved GPRs.
28432 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28433 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28434 (__sigsetjmp): Use SAVE_GP to save GPRs.
28435
28436 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28437 Do not append -msoft-float.
28438 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28439
28440 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28441
28442 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28443
28444 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28445
28446 [BZ #15966]
28447 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28448 (_FPU_GETCW): Use initial "__" on variable and field names but not
28449 on macro parameter name.
28450 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28451 parentheses around reference to macro parameter.
28452
28453 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28454
28455 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28456 prototype.
28457 (ctype_startup): Use uint32_t in cast and sizeof for
28458 ctype->charnames.
28459
28460 2013-09-11 Jia Liu <proljc@gmail.com>
28461
28462 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28463 __daddr_t_defined.
28464 [__FreeBSD__]: Likewise.
28465
28466 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28467
28468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28469 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28470 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28471 (strchr): Remove __strchr_sse42 ifunc selection.
28472 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28473 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28474
28475 2013-09-11 Will Newton <will.newton@linaro.org>
28476
28477 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28478 parameter to RES. Remove hardcoded 1000 value.
28479 * benchtests/bench-skeleton.c (main): Pass RES parameter
28480 to TIMING_INIT and multiply result by 1000.
28481
28482 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28483
28484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28485
28486 2013-09-11 Andreas Schwab <schwab@suse.de>
28487
28488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28489 if not defined.
28490 (O_TMPFILE) [__USE_GNU]: Define.
28491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28492 Define.
28493
28494 2013-09-11 Will Newton <will.newton@linaro.org>
28495
28496 [BZ #15857]
28497 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28498 does not overflow.
28499
28500 2013-09-11 Will Newton <will.newton@linaro.org>
28501
28502 [BZ #15856]
28503 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28504 does not overflow.
28505
28506 2013-09-11 Will Newton <will.newton@linaro.org>
28507
28508 [BZ #15855]
28509 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28510 does not overflow.
28511
28512 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28513
28514 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28515 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28519
28520 2013-09-10 Allan McRae <allan@archlinux.org>
28521
28522 [BZ #15748]
28523 * manual/arith.texi (Parsing of Floats): Clarify
28524 cross-reference.
28525
28526 [BZ #15849]
28527 * manual/install.texi (Running make install): Mention
28528 --enable-pt-chown.
28529 * INSTALL: Regenerated.
28530
28531 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28532
28533 * csu/init-first.c (_init): Remove the !SHARED condition around
28534 FPU control word initialization.
28535 * elf/dl-support.c (_dl_fpu_control): New variable.
28536 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28537 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28538 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28539 * math/test-fpucw-static.c: New file.
28540 * math/test-fpucw-ieee.c: New file.
28541 * math/test-fpucw-ieee-static.c: New file.
28542 * math/Makefile (tests): Add `test-fpucw-ieee' and
28543 `$(tests-static)'.
28544 (tests-static): New variable.
28545 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28546 dependency to...
28547 [($(build-shared),yes)]
28548 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28549 ... this.
28550 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28551 New dependency.
28552
28553 2013-09-09 Allan McRae <allan@archlinux.org>
28554
28555 [BZ #15939]
28556 * manual/string.texi (Collation Functions): Fix typo in
28557 strcoll example.
28558 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28559
28560 [BZ #15893]
28561 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28562
28563 [BZ #15892]
28564 * libio/memstream.c (open_memstream): Fix memory leak.
28565 * libio/wmemstream.c (open_wmemstream): Likewise.
28566
28567 [BZ #15895]
28568 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28569
28570 2013-09-09 Will Newton <will.newton@linaro.org>
28571
28572 * malloc/Makefile: Add tst-realloc to tests.
28573 * malloc/tst-realloc.c: New file.
28574
28575 2013-09-09 Allan McRae <allan@archlinux.org>
28576
28577 [BZ #15844]
28578 * COPYING: Update from GNU website to fix FSF address.
28579 * COPYING.LIB: Likewise.
28580
28581 2013-09-06 David S. Miller <davem@davemloft.net>
28582
28583 * po/zh_TW.po: Update Chinese (traditional) translation from
28584 translation project.
28585
28586 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28587 Joseph Myers <joseph@codesourcery.com>
28588
28589 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28590 "localeinfo.h".
28591 (obstack_chunk_alloc): New macro.
28592 (obstack_chunk_free): Likewise.
28593 (record_offset): New function.
28594 (init_locale_data): Likewise.
28595 (align_locale_data): Likewise.
28596 (add_locale_empty): Likewise.
28597 (add_locale_raw_data): Likewise.
28598 (add_locale_raw_obstack): Likewise.
28599 (add_locale_string): Likewise.
28600 (add_locale_wstring): Likewise.
28601 (add_locale_uint32): Likewise.
28602 (add_locale_uint32_array): Likewise.
28603 (add_locale_char): Likewise.
28604 (start_locale_structure): Likewise.
28605 (end_locale_structure): Likewise.
28606 (start_locale_prelude): Likewise.
28607 (end_locale_prelude): Likewise.
28608 (write_locale_data): Take locale_file structure rather than an
28609 iovec.
28610 * locale/programs/locfile.h: Include "obstack.h".
28611 (struct locale_file): Change to store locale file contents instead
28612 of header.
28613 (init_locale_data): New prototype.
28614 (align_locale_data): Likewise.
28615 (add_locale_empty): Likewise.
28616 (add_locale_raw_data): Likewise.
28617 (add_locale_raw_obstack): Likewise.
28618 (add_locale_string): Likewise.
28619 (add_locale_wstring): Likewise.
28620 (add_locale_uint32): Likewise.
28621 (add_locale_uint32_array): Likewise.
28622 (add_locale_char): Likewise.
28623 (start_locale_structure): Likewise.
28624 (end_locale_structure): Likewise.
28625 (start_locale_prelude): Likewise.
28626 (end_locale_prelude): Likewise.
28627 (write_locale_data): Update prototype.
28628 * locale/programs/3level.h (struct TABLE): Remove result field.
28629 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28630 Use new locale_file interface.
28631 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28632 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28633 * locale/programs/ld-address.c (address_output): Use new
28634 locale_file interface.
28635 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28636 NO_ADD_LOCALE.
28637 (collate_finish): Don't call collseq_table_finalize.
28638 (collate_output): Use new locale_file interface.
28639 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28640 in file.
28641 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28642 (TABLE): Move defines earlier in file.
28643 (ELEMENT): Likewise.
28644 (DEFAULT): Likewise.
28645 (wctrans_table_add): Move macro and inline function earlier in
28646 file.
28647 (struct wctype_table): Move type earlier in file.
28648 (add_locale_wctype_table): New static prototype.
28649 (struct locale_ctype_t): Use logical types instead of struct iovec
28650 pointers for members.
28651 (ctype_output): Use new locale_file interface.
28652 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28653 new locale_file interface.
28654 (allocate_arrays): Update for use of new locale_file interface.
28655 * locale/programs/ld-identification.c (identification_output): Use
28656 new locale_file interface.
28657 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28658 * locale/programs/ld-messages.c (messages_output): Likewise.
28659 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28660 * locale/programs/ld-name.c (name_output): Likewise.
28661 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28662 * locale/programs/ld-paper.c (paper_output): Likewise.
28663 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28664 * locale/programs/ld-time.c (time_output): Likewise.
28665
28666 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28667
28668 * benchtests/Makefile: Add memrchr benchmark.
28669 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28670 benchmark as memrchr.
28671 * benchtests/bench-memrchr-ifunc.c: New file.
28672 * benchtests/bench-memrchr.c: New file.
28673
28674 2013-09-06 Will Newton <will.newton@linaro.org>
28675
28676 * benchtests/Makefile (string-bench): Add memcpy.
28677
28678 2013-09-05 Carlos O'Donell <carlos@redhat.com>
28679 Cong Wang <amwang@redhat.com>
28680
28681 [BZ #15850]
28682 * sysdeps/unix/sysv/linux/bits/in.h
28683 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28684 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28685 before __USE_KERNEL_IPV6_DEFS uses.
28686 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28687 IPPROTO_BEETPH.
28688 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28689 sockaddr_in6, or ipv6_mreq.
28690
28691 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28692
28693 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28694 memory access for final bytes in some large inputs.
28695 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28696
28697 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28698
28699 * string/test-memrchr.c: New file.
28700 * string/test-memrchr-ifunc.c: New file.
28701 * string/Makefile: Add new memrchr testcase.
28702
28703 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28704
28705 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28706 fanotify_init returns EPERM.
28707
28708 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28709
28710 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28711 errors.
28712 (top level): Treat second token from macro or constant entries for
28713 allowed headers as allowed.
28714 * include/complex.h: Condition internal declarations on
28715 [!_ISOMAC].
28716 * include/fenv.h: Condition include of <stdbool.h> and internal
28717 declarations on [!_ISOMAC].
28718
28719 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28720
28721 [BZ #15923]
28722 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28723
28724 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28725
28726 * configure.in (--enable-versioning): Remove configure option.
28727 (libc_cv_asm_symver_directive): Remove configure test.
28728 (libc_cv_ld_version_script_option): Likewise.
28729 (VERSIONING): Remove variable and AC_SUBST.
28730 (DO_VERSIONING): Remove AC_DEFINE.
28731 * configure: Regenerated.
28732 * config.h.in (DO_VERSIONING): Remove macro.
28733 * Makerules [$(versioning) = yes]: Change conditionals to
28734 [$(build-shared) = yes].
28735 * config.make.in (versioning): Remove variable.
28736 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28737 [$(build-shared) = yes].
28738 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28739 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28740 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28741 [$(build-shared) = yes].
28742 * extra-lib.mk [$(versioning) = yes]: Likewise.
28743 * hurd/Makefile [$(versioning) = yes]: Likewise.
28744 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28745 [SHARED].
28746 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28747 [SHARED].
28748 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28749 [SHARED && !NO_HIDDEN].
28750 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28751 [SHARED].
28752 [SHARED && DO_VERSIONING]: Likewise..
28753 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28754 [$(build-shared) = yes].
28755 * manual/install.texi (--disable-versioning): Remove
28756 documentation.
28757 * INSTALL: Regenerated.
28758 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28759 to [SHARED].
28760 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28761 [$(build-shared) = yes].
28762 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28763 * sysdeps/i386/i686/multiarch/strstr-c.c
28764 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28765 [SHARED && !NO_HIDDEN].
28766 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28767 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28768 * sysdeps/powerpc/powerpc32/dl-machine.c
28769 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28770 * sysdeps/powerpc/powerpc32/sysdep.h
28771 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28772 to [SHARED && PIC && !NO_HIDDEN].
28773 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28774 conditional to [SHARED].
28775
28776 2013-09-04 Will Newton <will.newton@linaro.org>
28777
28778 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28779 * benchtests/bench-string.h: Include bench-timing.h instead
28780 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28781 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28782 call to HP_TIMING_DIFF_INIT.
28783 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28784 instead of hp-timing.h macros.
28785 * benchtests/bench-memchr.c: Likewise.
28786 * benchtests/bench-memcmp.c: Likewise.
28787 * benchtests/bench-memcpy.c: Likewise.
28788 * benchtests/bench-memmem.c: Likewise.
28789 * benchtests/bench-memmove.c: Likewise.
28790 * benchtests/bench-memset.c: Likewise.
28791 * benchtests/bench-rawmemchr.c: Likewise.
28792 * benchtests/bench-strcasecmp.c: Likewise.
28793 * benchtests/bench-strcasestr.c: Likewise.
28794 * benchtests/bench-strcat.c: Likewise.
28795 * benchtests/bench-strchr.c: Likewise.
28796 * benchtests/bench-strcmp.c: Likewise.
28797 * benchtests/bench-strcpy.c: Likewise.
28798 * benchtests/bench-strcpy_chk.c: Likewise.
28799 * benchtests/bench-strlen.c: Likewise.
28800 * benchtests/bench-strncasecmp.c: Likewise.
28801 * benchtests/bench-strncat.c: Likewise.
28802 * benchtests/bench-strncmp.c: Likewise.
28803 * benchtests/bench-strncpy.c: Likewise.
28804 * benchtests/bench-strnlen.c: Likewise.
28805 * benchtests/bench-strpbrk.c: Likewise.
28806 * benchtests/bench-strrchr.c: Likewise.
28807 * benchtests/bench-strspn.c: Likewise.
28808 * benchtests/bench-strstr.c: Likewise.
28809
28810 2013-09-04 Will Newton <will.newton@linaro.org>
28811
28812 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28813
28814 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28815
28816 [BZ #15427]
28817 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28818 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28819 * math/libm-test.inc (lgamma_test_data): Add more tests.
28820 * sysdeps/i386/fpu/libm-test-ulps: Update.
28821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28822
28823 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28824
28825 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28826 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28827 Add ifunc.
28828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28829 Add strcmp-sse2-unaligned
28830 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28831
28832 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28833
28834 * Versions.def (libc): Add GLIBC_2.19.
28835
28836 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28837
28838 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28839 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28840
28841 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28842
28843 [BZ #14155]
28844 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28845 intermediate calculations in recurrence.
28846 (__ieee754_ynf): Likewise.
28847 * math/libm-test.inc (jn_test_data): Do not allow spurious
28848 underflow exception. Add more tests.
28849 (yn_test_data): Add more tests.
28850 * sysdeps/i386/fpu/libm-test-ulps: Update.
28851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28852
28853 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28854
28855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28856
28857 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28858
28859 * csu/init-first.c: Fix then/than typos.
28860 * locale/programs/ld-collate.c: Likewise.
28861 * locale/programs/linereader.h: Likewise.
28862 * manual/charset.texi: Likewise.
28863 * manual/filesys.texi: Likewise.
28864 * manual/stdio.texi: Likewise.
28865 * manual/string.texi: Likewise.
28866 * stdlib/fmtmsg.c: Likewise.
28867 * sysdeps/i386/stpncpy.S: Likewise.
28868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28869 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28871 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28872
28873 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28874
28875 * elf/dl-open.c: Fix typos.
28876 * iconvdata/gbbig5.c: Likewise.
28877 * iconvdata/iso-2022-jp.c: Likewise.
28878 * iconv/gconv_int.h: Likewise.
28879 * iconv/loop.c: Likewise.
28880 * nis/rpcsvc/nis.h: Likewise.
28881 * resolv/ns_name.c: Likewise.
28882 * stdio-common/vfscanf.c: Likewise.
28883 * streams/stropts.h: Likewise.
28884 * sunrpc/rpc_thread.c: Likewise.
28885 * sysdeps/i386/strpbrk.S: Likewise.
28886 * sysdeps/ieee754/k_standard.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28889 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28890 * sysdeps/mach/hurd/profil.c: Likewise.
28891 * sysdeps/s390/dl-procinfo.h: Likewise.
28892 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28894 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28895 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28897
28898 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28899
28900 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28902
28903 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28904
28905 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28906 aix specific files.
28907 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28908 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28910 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28911 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28912 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28913 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28914 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28915
28916 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28917 Roland McGrath <roland@hack.frob.com>
28918
28919 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28920 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28921
28922 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28923
28924 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28925 __executable_start symbol instead of _start.
28926
28927 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28928
28929 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28930 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28931 Move macros to...
28932 * sysdeps/gnu/ldsodefs.h: ... this new file.
28933
28934 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28935 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28936 instead of ELFOSABI_LINUX.
28937
28938 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28939 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28940 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28941 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28942 Likewise.
28943 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28944 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28946 Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28948 (ibm_extended_long_double): Add ieee_nan member.
28949 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28950 (do_test): New function.
28951
28952 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28953 TEST_TRUNC.
28954 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28955 functions, renamed from truncdfsf_test, trunctfsf_test,
28956 trunctfdf_test.
28957 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28958 functions.
28959 (do_test): Run all these.
28960
28961 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28962
28963 * argp/argp-help.c: Fix typos.
28964 * argp/argp-parse.c: Likewise.
28965 * debug/backtracesyms.c: Likewise.
28966 * elf/elf.h: Likewise.
28967 * malloc/malloc.c: Likewise.
28968 * nis/nis_print.c: Likewise.
28969 * resolv/res_comp.c: Likewise.
28970 * stdlib/stdlib.h: Likewise.
28971 * sunrpc/clnt_tcp.c: Likewise.
28972 * sunrpc/clnt_udp.c: Likewise.
28973 * sunrpc/clnt_unix.c: Likewise.
28974 * sysdeps/unix/bsd/ptsname.c: Likewise.
28975 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28976 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28978 Likewise.
28979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28980 Likewise.
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28982 Likewise.
28983 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28984
28985 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28986
28987 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28989
28990 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28991
28992 [BZ #15897]
28993 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28994 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28995 ($(objpfx)bug-dl-leaf): New rule.
28996 ($(objpfx)bug-dl-leaf.so): Likewise.
28997 ($(objpfx)bug-dl-leaf.out): Likewise.
28998 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28999 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29000 * dlfcn/bug-dl-leaf.c: New test.
29001 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29002 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29003 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29004 (dlclose): Likewise.
29005 (dlmopen): Likewise.
29006
29007 2013-08-27 Roland McGrath <roland@hack.frob.com>
29008
29009 * include/netdb.h [!_ISOMAC]:
29010 Don't include <tls.h>.
29011 (h_errno, __libc_h_errno): Move declaration and macros out of
29012 [_LIBC_REENTRANT].
29013
29014 * include/resolv.h [_RESOLV_H_]:
29015 Don't include <tls.h>.
29016 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29017 * resolv/res_libc.c: Don't include <tls.h>.
29018 (_res): Use __attribute__ ((nocommon)) in place of
29019 __attribute__ ((section (".bss"))).
29020
29021 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29022 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29023
29024 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29025
29026 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29027 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29028
29029 * resolv/res_mkquery.c: Include <sys/time.h>.
29030
29031 * inet/ifreq.c: Moved to ...
29032 * sysdeps/unix/ifreq.c: ... here.
29033 * inet/ifreq.c: New file, true stub version.
29034
29035 * socket/sa_len.c: New file.
29036 * socket/Makefile (aux): Add it.
29037 * sysdeps/unix/sysv/linux/Makefile
29038 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29039 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29040 and #include <socket/sa_len.c>.
29041 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29042 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29043
29044 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29045 * bits/socket.h: ... here.
29046
29047 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29048 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29049 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29050
29051 2013-08-27 Andreas Schwab <schwab@suse.de>
29052
29053 [BZ #15736]
29054 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29055 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29056 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29057 * string/test-strcasecmp.c (test_main): Run tests in several
29058 locales.
29059 * string/test-strncasecmp.c (test_main): Likewise.
29060
29061 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29062 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29063 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29065 (__strncasecmp_ssse3) [PIC]: Likewise.
29066
29067 2013-08-26 Roland McGrath <roland@hack.frob.com>
29068
29069 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29070
29071 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29072 instead of explicitly declaring xdecrypt.
29073 * nis/nss_nis/nis-publickey.c: Likewise.
29074
29075 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29076
29077 [BZ #15890]
29078 * nscd/aicache.c: Include res_hconf.h.
29079 (addhstaiX): Initialize res_hconf.
29080
29081 2013-08-26 Andreas Schwab <schwab@suse.de>
29082
29083 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29084 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29085
29086 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29087
29088 * nscd/aicache.c (addhstaiX): Fix indentation.
29089
29090 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29091
29092 * configure.ac: Quote $build_pt_chown test.
29093 * configure: Regenerated.
29094
29095 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29096
29097 [BZ #15532]
29098 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29099 * math/s_cexpf.c (__cexpf): Likewise.
29100 * math/s_cexpl.c (__cexpl): Likewise.
29101 * math/libm-test.inc (cexp_test_data): Correct expected return
29102 value for NaN + i0. Add another test.
29103
29104 2013-08-22 David S. Miller <davem@davemloft.net>
29105
29106 * po/ca.po: Update Catalan translation from translation project.
29107 * po/uk.po: Add Ukrainian translations from translation project.
29108
29109 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29110
29111 [BZ #15797]
29112 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29113 is infinite, not alongside NaN test.
29114 * math/s_fdimf.c (__fdimf): Likewise.
29115 * math/s_fdiml.c (__fdiml): Likewise.
29116 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29117 errno is unchanged.
29118
29119 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29120
29121 * argp/argp-help.c: Fix typos.
29122 * crypt/speeds.c: Likewise.
29123 * csu/check_fds.c: Likewise.
29124 * elf/dl-load.c: Likewise.
29125 * elf/dl-open.c: Likewise.
29126 * elf/reldep3.c: Likewise.
29127 * elf/reldep.c: Likewise.
29128 * elf/sprof.c: Likewise.
29129 * iconv/iconv_charmap.c: Likewise.
29130 * iconv/skeleton.c: Likewise.
29131 * iconv/strtab.c: Likewise.
29132 * io/lockf64.c: Likewise.
29133 * libio/libioP.h: Likewise.
29134 * resolv/gai_notify.c: Likewise.
29135 * resolv/ns_name.c: Likewise.
29136 * resolv/ns_samedomain.c: Likewise.
29137 * resolv/res_send.c: Likewise.
29138 * stdlib/random.c: Likewise.
29139 * sunrpc/rpc/xdr.h: Likewise.
29140 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29141 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29142 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29143 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29144 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29148 * sysdeps/mach/hurd/check_fds.c: Likewise.
29149 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29150 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29151 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29153 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29154 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29155 * sysdeps/pthread/aio_notify.c: Likewise.
29156 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29157 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29158 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29159 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29160 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29161
29162 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29163
29164 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29165 version if bit_Slow_SSE4_2 is set.
29166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29167 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29168
29169 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29170
29171 [BZ #15867]
29172 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29173 trampoline stack frame information.
29174 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29176 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29177 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29178 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29179 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29180 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29181 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29182 sa_flags value.
29183 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29184 interrupting a syscall and set with option SA_SIGINFO.
29185
29186 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29187
29188 [BZ #15531]
29189 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29190 argument is infinite.
29191 * math/s_cprojf.c (__cprojf): Likewise.
29192 * math/s_cprojl.c (__cprojl): Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29194 * math/libm-test.inc (cproj_test_data): Add more tests.
29195
29196 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29197
29198 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29199 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29200 size. Use __ffs to determine corresponding shift.
29201
29202 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29203 Roland McGrath <roland@hack.frob.com>
29204
29205 * Makefile (INSTALL): Remove trailing blank lines from output of
29206 makeinfo.
29207
29208 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29209
29210 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29211 Align 32 bit compat elf_greg to 8 bytes.
29212
29213 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29214
29215 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29216
29217 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29218
29219 * string/strcoll_l.c (coll_seq): New structure.
29220 (get_next_seq_cached): New function.
29221 (get_next_seq): New function.
29222 (do_compare): New function.
29223 (STRCOLL): Use GNU style definition. Simplify implementation
29224 by using get_next_seq, get_next_seq_cached and do_compare.
29225
29226 2013-08-16 Florian Weimer <fweimer@redhat.com>
29227
29228 [BZ #14699]
29229 CVE-2013-4237
29230 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29231 member.
29232 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29233 member.
29234 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29235 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29236 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29237 conditional.
29238 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29239 GETDENTS_64BIT_ALIGNED.
29240 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29241 * manual/filesys.texi (Reading/Closing Directory): Document
29242 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29243 strongly.
29244 * manual/conf.texi (Limits for Files): Add portability note to
29245 NAME_MAX, PATH_MAX.
29246 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29247
29248 2013-08-13 Andreas Schwab <schwab@suse.de>
29249
29250 [BZ #15749]
29251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29252 of fabs.
29253 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29254 LDBL_MAX_EXP >= 16384]: Add tests for it.
29255
29256 2013-08-12 David S. Miller <davem@davemloft.net>
29257
29258 * version.h (RELEASE): Set to "development".
29259 (VERSION): Set to "2.18.90".
29260 * NEWS: Add 2.19 section.
29261
29262 2013-08-03 David S. Miller <davem@davemloft.net>
29263
29264 * po/ko.po: Update Korean translation from translation project.
29265
29266 2013-08-01 David S. Miller <davem@davemloft.net>
29267
29268 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29269 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29270 Bilka.
29271
29272 2013-07-30 David S. Miller <davem@davemloft.net>
29273
29274 * po/fr.po: Update French translation from translation project.
29275
29276 2013-07-28 David S. Miller <davem@davemloft.net>
29277
29278 * po/cs.po: Update Czech translation from translation project.
29279
29280 * po/sv.po: Update Swedish translation from translation project.
29281
29282 2013-07-27 David S. Miller <davem@davemloft.net>
29283
29284 * po/eo.po: Update Esperanto translation from translation project.
29285
29286 * po/vi.po: Update Vietnamese translation from translation project.
29287
29288 * po/de.po: Update German translation from translation project.
29289
29290 2013-07-26 David S. Miller <davem@davemloft.net>
29291
29292 * po/bg.po: Update Bulgarian translation from translation project.
29293
29294 * po/nl.po: Update Dutch translation from translation project.
29295 * po/pl.po: Update Polish translation from translation project.
29296 * po/ru.po: Update Russian translation from translation project.
29297
29298 2013-07-24 David S. Miller <davem@davemloft.net>
29299
29300 * po/libc.pot: Update.
29301
29302 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29303
29304 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29305 variable page size.
29306 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29307 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29308 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29309
29310 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29311
29312 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29313
29314 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29315 Andreas Schwab <schwab@suse.de>
29316 Roland McGrath <roland@hack.frob.com>
29317 Joseph Myers <joseph@codesourcery.com>
29318 Carlos O'Donell <carlos@redhat.com>
29319
29320 [BZ #15755]
29321 * config.h.in: Define HAVE_PT_CHOWN.
29322 * config.make.in (build-pt-chown): New variable.
29323 * configure.in (--enable-pt_chown): New configure option.
29324 * configure: Regenerate.
29325 * login/Makefile: Include Makeconfig. Build pt_chown only if
29326 build-pt-chown is enabled.
29327 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29328 pt_chown to fix pty ownership.
29329 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29330 CLOSE_ALL_FDS.
29331 * manual/install.texi (Configuring and compiling): Mention
29332 --enable-pt_chown. Add @findex for grantpt.
29333 * INSTALL: Regenerate.
29334
29335 2013-07-20 David S. Miller <davem@davemloft.net>
29336
29337 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29338 difference between 32-bit and 64-bit.
29339
29340 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29341
29342 [BZ #15711]
29343 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29344 Avoid system header dependency with -ffreestanding.
29345 ($(objpfx)bits/syscall%d): Likewise.
29346
29347 2013-07-13 David S. Miller <davem@davemloft.net>
29348
29349 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29350 underflows from atanl/atan2l due to bug 15319.
29351 (casinh_test_data): Likewise.
29352
29353 2013-07-07 David S. Miller <davem@davemloft.net>
29354
29355 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29356
29357 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29358
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361
29362 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29363
29364 * configure.in (--enable-lock-elision): Fix message text.
29365 * INSTALL: Regenerate.
29366 * configure: Regenerate.
29367
29368 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29369
29370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29371
29372 2013-07-03 Andreas Jaeger <aj@suse.de>
29373
29374 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29375 define.
29376 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29377 (ptrace_peeksiginfo_args): Add.
29378 (__ptrace_peeksiginfo_flags): Add.
29379 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29381 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29382
29383 2013-07-03 Allan McRae <allan@archlinux.org>
29384
29385 * sysdeps/i386/fpu/libm-test-ulps: Update.
29386
29387 2013-07-02 David S. Miller <davem@davemloft.net>
29388
29389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29390
29391 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29392
29393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29394
29395 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29396
29397 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399
29400 2013-07-02 Andi Kleen <ak@linux.intel.com>
29401
29402 * config.h.in (ENABLE_LOCK_ELISION): Add.
29403 * configure.in (--enable-lock-elision): Add option.
29404 * manual/install.texi: Document --enable lock elision.
29405 * configure: Regenerate
29406 * INSTALL: Regenerate.
29407
29408 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29409
29410 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29411 SSE4.2 strcasecmp for libc.a.
29412 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29413
29414 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29415
29416 [BZ #13304]
29417 * soft-fp/op-common.h (_FP_FMA): New macro.
29418 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29419 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29420 (_FP_MUL_MEAT_1_imm): ... here.
29421 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29422 (_FP_MUL_MEAT_1_wide): ... here.
29423 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29424 (_FP_MUL_MEAT_1_hard): ... here.
29425 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29426 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29427 (_FP_MUL_MEAT_2_wide): ... here.
29428 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29429 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29430 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29431 (_FP_MUL_MEAT_2_gmp): ... here.
29432 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29433 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29434 (_FP_MUL_MEAT_4_wide): ... here.
29435 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29436 (_FP_MUL_MEAT_4_gmp): ... here.
29437 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29438 (_FP_WFRACBITS_DW_S): Likewise.
29439 (_FP_WFRACXBITS_DW_S): Likewise.
29440 (_FP_HIGHBIT_DW_S): Likewise.
29441 (FP_FMA_S): Likewise.
29442 (_FP_FRAC_HIGH_DW_S): Likewise.
29443 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29444 (_FP_WFRACBITS_DW_D): Likewise.
29445 (_FP_WFRACXBITS_DW_D): Likewise.
29446 (_FP_HIGHBIT_DW_D): Likewise.
29447 (FP_FMA_D): Likewise.
29448 (_FP_FRAC_HIGH_DW_D): Likewise.
29449 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29450 (_FP_WFRACBITS_DW_E): Likewise.
29451 (_FP_WFRACXBITS_DW_E): Likewise.
29452 (_FP_HIGHBIT_DW_E): Likewise.
29453 (FP_FMA_E): Likewise.
29454 (_FP_FRAC_HIGH_DW_E): Likewise.
29455 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29456 (_FP_WFRACBITS_DW_Q): Likewise.
29457 (_FP_WFRACXBITS_DW_Q): Likewise.
29458 (_FP_HIGHBIT_DW_Q): Likewise.
29459 (FP_FMA_Q): Likewise.
29460 (_FP_FRAC_HIGH_DW_Q): Likewise.
29461 * soft-fp/fmasf4.c: New file.
29462 * soft-fp/fmadf4.c: Likewise.
29463 * soft-fp/fmatf4.c: Likewise.
29464
29465 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29466
29467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29468 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29469 Silvermont.
29470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29471 macro.
29472 (index_Slow_SSE4_2): Likewise.
29473 (index_Prefer_PMINUB_for_stringop): Likewise.
29474 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29475 bit_Slow_SSE4_2 is set.
29476 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29478
29479 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29480
29481 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29482 rtld_global._dl_hwcap2.
29483 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29484 POWER8.
29485 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29486 POWER8 feature descriptions defined in _dl_hwcap2.
29487 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29488 string handling for POWER8 feature bits.
29489 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29490 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29491 _dl_powerpc_cap_flags.
29492 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29493 * sysdeps/powerpc/rtld-global-offsets.sym
29494 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29495 _dl_hwcap2 in the rtld_global_ro structure.
29496
29497 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29498
29499 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29500 hardware capabilities in support of AT_HWCAP2.
29501 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29502 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29503 GLRO(dl_hwcap2).
29504 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29505 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29506 explicitly the unknown a_type display mechanism is used.
29507 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29508 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29509 struct member.
29510 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29511 to macro prototype for AT_HWCAP2 support.
29512 * sysdeps/i386/dl-procinfo.h: Likewise.
29513 * sysdeps/s390/dl-procinfo.h: Likewise.
29514 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29515 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29516 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29517 return -1 for unknown a_type display fallback.
29518 * sysdeps/sparc/dl-procinfo.h: Likewise.
29519 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29520 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29521
29522 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29523
29524 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29525 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29526
29527 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29528
29529 [BZ #12492]
29530 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29531 mprotect making __stack_prot writable.
29532
29533 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29534 Joseph Myers <joseph@codesourcery.com>
29535
29536 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29537 as being properly aligned.
29538
29539 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29540
29541 * dlfcn/modstatic5.c: New file.
29542 * dlfcn/tststatic5.c: New file.
29543 * dlfcn/Makefile (tests): Add tststatic5.
29544 (tests-static): Likewise.
29545 (modules-names): Add modstatic5.
29546 (tststatic5-ENV): New variable.
29547 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29548
29549 [BZ #15022]
29550 * elf/dl-support.c (_dl_main_map): New variable.
29551 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29552 (_dl_nns, _dl_load_adds): Set to 1.
29553 (_dl_initial_searchlist): Refer to _dl_main_map.
29554 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29555 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29556 call to _dl_get_origin.
29557 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29558 around call_map.
29559 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29560 * dlfcn/modstatic3.c: New file.
29561 * dlfcn/tststatic3.c: New file.
29562 * dlfcn/tststatic4.c: New file.
29563 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29564 (tests-static): Likewise.
29565 (modules-names): Add modstatic3.
29566 (tststatic3-ENV, tststatic4-ENV): New variables.
29567 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29568 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29569
29570 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29571
29572 * configure.in (CC): Require GCC version 4.4 or later.
29573 * configure: Regenerated.
29574 * manual/install.texi (Tools for Compilation): Update GCC version
29575 requirement.
29576 * INSTALL: Regenerated.
29577
29578 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29579
29580 [BZ #15674]
29581 * string/test-memcmp.c (check2): New.
29582 (main): Call check2.
29583
29584 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29585
29586 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29587
29588 [BZ #15022]
29589 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29590 over to...
29591 (dl_open_worker) [!SHARED]: ... here.
29592
29593 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29594
29595 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29596
29597 2013-06-25 Richard Henderson <rth@redhat.com>
29598
29599 * locale/programs/locarchive.c: Include <libc-internal.h>
29600
29601 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29602
29603 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29604 trailing whitespace removed.
29605
29606 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29607
29608 [BZ #10283]
29609 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29610 * locale/programs/locarchive.c: Include libc-mmap.h.
29611 (prepare_address_space): Take two new outputs (the mmap base and len).
29612 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29613 values.
29614 (create_archive): Declare new mmap base and len values for
29615 prepare_address_space, and store the result in ah.
29616 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29617 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29618 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29619 Declare new mmap base and len values for
29620 prepare_address_space, and store the result in new_ah.
29621 (open_archive): Declare new mmap base and len values for
29622 prepare_address_space, and store the result in ah.
29623 (close_archive): If ah->mmap_base is not NULL, use that and
29624 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29625 * sysdeps/generic/libc-mmap.h: New file.
29626
29627 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29628
29629 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29630 (ALIGN_UP): Likewise.
29631 (PTR_ALIGN_DOWN): Likewise.
29632 (PTR_ALIGN_UP): Likewise.
29633
29634 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29635
29636 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29637 entry mapped to PPC_PLATFORM_POWER8.
29638 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29639 POWER8.
29640 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29641 (_dl_string_platform): Add case for exporting platform position for
29642 POWER8.
29643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29644 search path to sysdeps/powerpc/powerpc32/power8 directory.
29645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29646 search path to sysdeps/powerpc/powerpc64/power8 directory.
29647 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29648 power7 directories.
29649 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29650 power7 directories.
29651
29652 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29653
29654 * INSTALL: Regenerate.
29655
29656 * nscd/connections.c (nscd_init): Fix comment.
29657
29658 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29659
29660 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29661
29662 [BZ #15667]
29663 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29664 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29665
29666 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29667
29668 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29669 DL_DST_REQ_STATIC.
29670 (DL_DST_REQ_STATIC): Remove macro.
29671
29672 2013-06-21 Joseph Myers <joseph@codesourcery.com>
29673
29674 [BZ #7006]
29675 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29676 with a shift of 0 bits.
29677
29678 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
29679
29680 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29681 $(tststatic-ENV).
29682
29683 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29684
29685 [BZ #15655]
29686 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29687
29688 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689
29690 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29691 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29692 accepts -fno-tree-loop-distribute-patterns.
29693 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29694 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29695 recursive call.
29696 * string/memset.c (memset): Likewise.
29697 * string/test-memmove.c (simple_memmove): Disable loop transformation
29698 to library calls.
29699 * string/test-memset.c (simple_memset): Likewise.
29700 * benchtests/bench-memmove.c (simple_memmove): Likewise.
29701 * benchtests/bench-memset.c (simple_memset): Likewise.
29702 * configure: Regenerated.
29703
29704 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29705
29706 * math/test-misc.c (main): Ignore fesetround failure when failures
29707 of subsequent rounding tests would be ignored.
29708
29709 [BZ #15654]
29710 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29711 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29712 * math/fegetenv.c (__fegetenv): Return 0.
29713 * math/fegetexcept.c (fegetexcept): Return 0.
29714 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29715 FE_TONEAREST.
29716 * math/feholdexcpt.c (feholdexcept): Return 0.
29717 * math/fesetenv.c (__fesetenv): Return 0.
29718 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29719 argument FE_TONEAREST.
29720 * math/feupdateenv.c (__feupdateenv): Return 0.
29721 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29722
29723 2013-06-18 Roland McGrath <roland@hack.frob.com>
29724
29725 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29726 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29727 ($(objpfx)rtld-%.os rules): Use them.
29728
29729 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29730
29731 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29732 fields.
29733
29734 2013-06-17 Roland McGrath <roland@hack.frob.com>
29735
29736 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29737 length of target pattern, then descending length of dependency pattern.
29738 * configure.in (AWK): Require gawk 3.1.2 or newer.
29739 * manual/install.texi (Tools for Compilation): Say that we do.
29740 * configure: Regenerated.
29741
29742 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29743 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29744 * scripts/sysd-rules.awk: ... this new script.
29745 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29746 than a glob-style pattern.
29747
29748 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29749
29750 * math/test-misc.c (main): Do not treat incorrectly rounded
29751 conversions as failure unless ROUNDING_TESTS passes.
29752
29753 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29754
29755 [BZ #15631]
29756 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29757 restore exception state around main square root computation, then
29758 check for inexactness explicitly.
29759
29760 * math/libm-test.inc (fma_test_data): Add another test.
29761
29762 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29763
29764 * manual/threads.texi (Non-POSIX Extensions): New document
29765 node. Document pthread_getattr_default_np and
29766 pthread_setattr_default_np.
29767
29768 * Versions.def (libpthread): Add GLIBC_2.18.
29769 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29771 Likewise.
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29773 Likewise.
29774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29775 Likewise.
29776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29777 Likewise.
29778 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29779 Likewise.
29780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29781 Likewise.
29782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29783 Likewise.
29784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29785 Likewise.
29786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29787 Likewise.
29788
29789 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29790
29791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29792 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29793
29794 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29795 H.J. Lu <hjl.tools@gmail.com>
29796
29797 [BZ #15627]
29798 * sysdeps/x86_64/rtld-memset.c: Remove file.
29799 * sysdeps/x86_64/rtld-memset.S: New file.
29800
29801 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29802
29803 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29804 (test_in_one_mode): Take arguments for whether the rounding mode
29805 is supported for each floating-point type.
29806 (do_test): Pass new arguments to test_in_one_mode using
29807 ROUNDING_TESTS.
29808
29809 2013-06-13 Roland McGrath <roland@hack.frob.com>
29810
29811 * posix/tst-waitid.c (do_test): Distinguish different instances of
29812 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29813 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29814 before entering the kernel for waitpid.
29815
29816 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29817
29818 * NEWS: Fix note on clock function precision. Text by Roland
29819 McGrath.
29820
29821 2013-06-13 Roland McGrath <roland@hack.frob.com>
29822
29823 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29824 it into place only when and if the sanity check passes.
29825
29826 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29827
29828 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29829 output for whether conversion result is exact. Take argument
29830 indicating whether type is IBM long double.
29831 (round_for_all): Change need_exact field to ibm_ld.
29832 * stdlib/tst-strtod-round.c (struct exactness): New type.
29833 (struct test): Change bool ld_ok field to struct exactness exact.
29834 (TEST): Update all definitions for change to field.
29835 (tests): Regenerate array contents.
29836 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29837 field value. Check for IBM long double here.
29838 (do_test): Update calls to test_in_one_mode.
29839
29840 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29841
29842 [BZ #12515]
29843 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29844 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29845
29846 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29847
29848 [BZ #15605]
29849 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29850 generated by the compiler on loop optimizations.
29851 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29852 general definitions.
29853
29854 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29855
29856 * math/bug-nextafter.c: Include <math-tests.h>.
29857 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29858 the relevant type.
29859 * math/bug-nexttoward.c: Include <math-tests.h>.
29860 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29861 the relevant type.
29862 * math/test-misc.c: Include <math-tests.h>.
29863 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29864 the relevant type.
29865
29866 2013-06-12 Andreas Jaeger <aj@suse.de>
29867
29868 * po/ia.po: Update Interlingua translation from translation
29869 project.
29870
29871 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29872
29873 * include/fenv.h: Include stdbool.h.
29874 (struct rm_ctx): New structure.
29875 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29876 Define macro.
29877 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29878 (SET_RESTORE_ROUNDF): Likewise.
29879 (SET_RESTORE_ROUNDL): Likewise.
29880 (SET_RESTORE_ROUND_NOEX): Likewise.
29881 (SET_RESTORE_ROUND_NOEXF): Likewise.
29882 (SET_RESTORE_ROUND_NOEXL): Likewise.
29883 (SET_RESTORE_ROUND_53BIT): Likewise.
29884 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29885 (libc_feresetround_noexf_ctx): Likewise.
29886 (libc_feresetround_noexl_ctx): Likewise.
29887 (libc_feholdsetround_53bit_ctx): Likewise.
29888 (libc_feresetround_53bit_ctx): Likewise.
29889 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29890 (libc_feholdexcept_setround_sse_ctx): New function.
29891 (libc_fesetenv_sse_ctx): Likewise.
29892 (libc_feupdateenv_sse_ctx): Likewise.
29893 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29894 (libc_feholdexcept_setround_387_ctx): Likewise.
29895 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29896 (libc_feholdsetround_387_prec_ctx): Likewise.
29897 (libc_feholdsetround_387_ctx): Likewise.
29898 (libc_feholdsetround_387_53bit_ctx): Likewise.
29899 (libc_feholdsetround_sse_ctx): Likewise.
29900 (libc_feresetround_sse_ctx): Likewise.
29901 (libc_feresetround_387_ctx): Likewise.
29902 (libc_feupdateenv_387_ctx): Likewise.
29903 (libc_feholdexcept_setroundf_ctx): Define macro.
29904 (libc_fesetenvf_ctx): Likewise.
29905 (libc_feupdateenvf_ctx): Likewise.
29906 (libc_feholdsetroundf_ctx): Likewise.
29907 (libc_feresetroundf_ctx): Likewise.
29908 (libc_feholdexcept_setround_ctx): Likewise.
29909 (libc_fesetenv_ctx): Likewise.
29910 (libc_feupdateenv_ctx): Likewise.
29911 (libc_feholdsetround_ctx): Likewise.
29912 (libc_feresetround_ctx): Likewise.
29913 (libc_feholdexcept_setroundl_ctx): Likewise.
29914 (libc_feupdateenvl_ctx): Likewise.
29915 (libc_feholdsetroundl_ctx): Likewise.
29916 (libc_feresetroundl_ctx): Likewise.
29917 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29918 (libc_feresetround_53bit_ctx): Likewise.
29919
29920 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29921
29922 * locale/iso-639.def: Convert to UTF-8.
29923
29924 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29925
29926 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29927 (EXCEPTION_TESTS_double): Likewise.
29928 (EXCEPTION_TESTS_long_double): Likewise.
29929 (EXCEPTION_TESTS): Likewise.
29930 * math/libm-test.inc (test_exceptions): Only test exceptions if
29931 EXCEPTION_TESTS (FLOAT).
29932
29933 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29934
29935 * benchtests/Makefile (string-bench): Add strcpy_chk and
29936 stpcpy_chk.
29937 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29938 * benchtests/bench-stpcpy_chk.c: New file.
29939 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29940 * benchtests/bench-strcpy_chk.c: New file.
29941 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29942 code.
29943 (do_test): Likewise.
29944
29945 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29946
29947 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29948 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29949 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29950 with tabs where appropriate.
29951 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29952 dl-procinfo.h.
29953 [PPC_PLATFORM_PPC440]: Likewise.
29954 [PPC_PLATFORM_PPC464]: Likewise.
29955 [PPC_PLATFORM_PPC476]: Likewise.
29956 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29957 ppc464, and ppc476 platform strings merging from ports/
29958 dl-procinfo.h.
29959
29960 2013-06-11 Andreas Schwab <schwab@suse.de>
29961
29962 [BZ #14991]
29963 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29964 (from_ucs4_idx): Regenerate.
29965 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29966 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29967 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29968 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29969 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29970 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29971 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29972 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29973 from FROM_LOOP and TO_LOOP specific macros.
29974 (BODY): Handle combining characters.
29975 * iconvdata/BIG5HKSCS.irreversible: Update.
29976 * iconvdata/BIG5HKSCS.precomposed: New file.
29977 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29978 characters.
29979 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29980
29981 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29982
29983 * include/sys/time.h: Fix indentation and add copyright header.
29984
29985 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29986 (do_test): Likewise.
29987 * string/test-memchr.c (do_one_test): Likewise.
29988 (do_test): Likewise.
29989 * string/test-memcmp.c (do_one_test): Likewise.
29990 (do_test): Likewise.
29991 * string/test-memcpy.c (do_one_test): Likewise.
29992 (do_test): Likewise.
29993 * string/test-memmem.c (do_one_test): Likewise.
29994 (do_test): Likewise.
29995 (do_random_tests): Likewise.
29996 * string/test-memmove.c (do_one_test): Likewise.
29997 (do_test): Likewise.
29998 * string/test-memset.c (do_one_test): Likewise.
29999 (do_test): Likewise.
30000 * string/test-rawmemchr.c (do_one_test): Likewise.
30001 (do_test): Likewise.
30002 * string/test-strcasecmp.c (do_one_test): Likewise.
30003 (do_test): Likewise.
30004 * string/test-strcasestr.c (do_one_test): Likewise.
30005 (do_test): Likewise.
30006 * string/test-strcat.c (do_one_test): Likewise.
30007 (do_test): Likewise.
30008 * string/test-strchr.c (do_one_test): Likewise.
30009 (do_test): Likewise.
30010 * string/test-strcmp.c (do_one_test): Likewise.
30011 (do_test): Likewise.
30012 * string/test-strcpy.c (do_one_test): Likewise.
30013 (do_test): Likewise.
30014 * string/test-string.h: Likewise.
30015 (test_init): Likewise.
30016 * string/test-strlen.c (do_one_test): Likewise.
30017 (do_test): Likewise.
30018 * string/test-strncasecmp.c (do_one_test): Likewise.
30019 (do_test): Likewise.
30020 * string/test-strncat.c (do_one_test): Likewise.
30021 (do_test): Likewise.
30022 * string/test-strncmp.c (do_one_test): Likewise.
30023 (do_test_limit): Likewise.
30024 (do_test): Likewise.
30025 * string/test-strncpy.c (do_one_test): Likewise.
30026 (do_test): Likewise.
30027 * string/test-strnlen.c (do_one_test): Likewise.
30028 (do_test): Likewise.
30029 * string/test-strpbrk.c (do_one_test): Likewise.
30030 (do_test): Likewise.
30031 * string/test-strrchr.c (do_one_test): Likewise.
30032 (do_test): Likewise.
30033 * string/test-strspn.c (do_one_test): Likewise.
30034 (do_test): Likewise.
30035 * string/test-strstr.c (do_one_test): Likewise.
30036 (do_test): Likewise.
30037
30038 * benchtests/Makefile (string-bench): Add string benchmarks.
30039 * benchtests/bench-bcopy-ifunc.c: New file.
30040 * benchtests/bench-bcopy.c: New file.
30041 * benchtests/bench-bzero-ifunc.c: New file.
30042 * benchtests/bench-bzero.c: New file.
30043 * benchtests/bench-memccpy-ifunc.c: New file.
30044 * benchtests/bench-memccpy.c: New file.
30045 * benchtests/bench-memchr-ifunc.c: New file.
30046 * benchtests/bench-memchr.c: New file.
30047 * benchtests/bench-memcmp-ifunc.c: New file.
30048 * benchtests/bench-memcmp.c: New file.
30049 * benchtests/bench-memmem-ifunc.c: New file.
30050 * benchtests/bench-memmem.c: New file.
30051 * benchtests/bench-memmove-ifunc.c: New file.
30052 * benchtests/bench-memmove.c: New file.
30053 * benchtests/bench-mempcpy-ifunc.c: New file.
30054 * benchtests/bench-mempcpy.c: New file.
30055 * benchtests/bench-memset-ifunc.c: New file.
30056 * benchtests/bench-memset.c: New file.
30057 * benchtests/bench-rawmemchr-ifunc.c: New file.
30058 * benchtests/bench-rawmemchr.c: New file.
30059 * benchtests/bench-stpcpy-ifunc.c: New file.
30060 * benchtests/bench-stpcpy.c: New file.
30061 * benchtests/bench-stpncpy-ifunc.c: New file.
30062 * benchtests/bench-stpncpy.c: New file.
30063 * benchtests/bench-strcasecmp-ifunc.c: New file.
30064 * benchtests/bench-strcasecmp.c: New file.
30065 * benchtests/bench-strcasestr-ifunc.c: New file.
30066 * benchtests/bench-strcasestr.c: New file.
30067 * benchtests/bench-strcat-ifunc.c: New file.
30068 * benchtests/bench-strcat.c: New file.
30069 * benchtests/bench-strchr-ifunc.c: New file.
30070 * benchtests/bench-strchr.c: New file.
30071 * benchtests/bench-strchrnul-ifunc.c: New file.
30072 * benchtests/bench-strchrnul.c: New file.
30073 * benchtests/bench-strcmp-ifunc.c: New file.
30074 * benchtests/bench-strcmp.c: New file.
30075 * benchtests/bench-strcpy-ifunc.c: New file.
30076 * benchtests/bench-strcpy.c: New file.
30077 * benchtests/bench-strcspn-ifunc.c: New file.
30078 * benchtests/bench-strcspn.c: New file.
30079 * benchtests/bench-strlen-ifunc.c: New file.
30080 * benchtests/bench-strlen.c: New file.
30081 * benchtests/bench-strncasecmp-ifunc.c: New file.
30082 * benchtests/bench-strncasecmp.c: New file.
30083 * benchtests/bench-strncat-ifunc.c: New file.
30084 * benchtests/bench-strncat.c: New file.
30085 * benchtests/bench-strncmp-ifunc.c: New file.
30086 * benchtests/bench-strncmp.c: New file.
30087 * benchtests/bench-strncpy-ifunc.c: New file.
30088 * benchtests/bench-strncpy.c: New file.
30089 * benchtests/bench-strnlen-ifunc.c: New file.
30090 * benchtests/bench-strnlen.c: New file.
30091 * benchtests/bench-strpbrk-ifunc.c: New file.
30092 * benchtests/bench-strpbrk.c: New file.
30093 * benchtests/bench-strrchr-ifunc.c: New file.
30094 * benchtests/bench-strrchr.c: New file.
30095 * benchtests/bench-strspn-ifunc.c: New file.
30096 * benchtests/bench-strspn.c: New file.
30097 * benchtests/bench-strstr-ifunc.c: New file.
30098 * benchtests/bench-strstr.c: New file.
30099
30100 * benchtests/Makefile: Disable parallel execution of targets.
30101 (string-bench): Add memcpy.
30102 (benchset): New variable to store a list of benchmark sets.
30103 (bench-func): Renamed from bench.
30104 (bench-set): New target.
30105 (bench): Depend on bench-func and bench-set.
30106 * benchtests/README: Add section on benchmark sets.
30107 * benchtests/bench-memcpy-ifunc.c: New file.
30108 * benchtests/bench-memcpy.c: New file.
30109 * benchtests/bench-string.h: New file.
30110
30111 2013-06-11 Andreas Schwab <schwab@suse.de>
30112
30113 [BZ #15577]
30114 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30115 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30116 values in the triple.
30117 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30118 terminator in the group key.
30119
30120 2013-06-11 Andreas Jaeger <aj@suse.de>
30121
30122 * po/zh_TW.po: Update Chinese (traditional) translation from
30123 translation project.
30124
30125 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30126
30127 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30128 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30129 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30131 (clock_getcpuclockid): Likewise.
30132 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30133 Add weak_alias and libc_hidden_def.
30134 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30135 * rt/clock_gettime.c (clock_gettime): Rename to
30136 __clock_gettime. Add weak_alias and libc_hidden_def.
30137 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30138 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30139 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30140 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30141 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30142 Likewise.
30143 * rt/clock_settime.c (clock_settime): Rename to
30144 __clock_settime. Add weak_alias and libc_hidden_def.
30145 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30146
30147 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30148
30149 * mach/err_boot.sub: Remove trailing whitespace.
30150 * mach/err_ipc.sub: Likewise.
30151 * mach/err_mach.sub: Likewise.
30152
30153 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30154 (ROUNDING_TESTS_double): Likewise.
30155 (ROUNDING_TESTS_long_double): Likewise.
30156 (ROUNDING_TESTS): Likewise.
30157 * math/libm-test.inc: Include <math-tests.h>.
30158 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30159 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30160 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30161 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30162
30163 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30164
30165 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30166 of assigning.
30167
30168 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30169
30170 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30171 otherwise empty TRANS lines.
30172 * sysdeps/gnu/errlist.c: Regenerated.
30173
30174 * catgets/gencat.c (error_print): Use (void) in function
30175 definition.
30176 * crypt/crypt_util.c (__init_des): Likewise.
30177 * crypt/speeds.c (Stop): Likewise.
30178 (main): Likewise.
30179 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30180 * inet/ruserpass.c (token): Likewise.
30181 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30182 * intl/localealias.c (extend_alias_table): Likewise.
30183 * intl/plural-exp.c (init_germanic_plural): Likewise.
30184 * libio/fcloseall.c (__fcloseall): Likewise.
30185 * libio/genops.c (_IO_flush_all): Likewise.
30186 (_IO_flush_all_linebuffered): Likewise.
30187 (_IO_cleanup): Likewise.
30188 (_IO_iter_begin): Likewise.
30189 (_IO_iter_end): Likewise.
30190 (_IO_list_lock): Likewise.
30191 (_IO_list_unlock): Likewise.
30192 (_IO_list_resetlock): Likewise.
30193 * libio/getchar.c (getchar): Likewise.
30194 * libio/getchar_u.c (getchar_unlocked): Likewise.
30195 * libio/getwchar.c (getwchar): Likewise.
30196 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30197 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30198 * login/getpt.c (__getpt): Likewise.
30199 * login/tst-utmp.c (main): Likewise.
30200 * malloc/hooks.c (__malloc_check_init): Likewise.
30201 * malloc/malloc.c (__malloc_stats): Likewise.
30202 * malloc/mtrace.c (tr_break): Likewise.
30203 (mtrace): Likewise.
30204 (muntrace): Likewise.
30205 * misc/fstab.c (endfsent): Likewise.
30206 * misc/getclktck.c (__getclktck): Likewise.
30207 * misc/getdtsz.c (__getdtablesize): Likewise.
30208 * misc/gethostid.c (gethostid): Likewise.
30209 * misc/getpagesize.c (__getpagesize): Likewise.
30210 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30211 (__get_nprocs): Likewise.
30212 (__get_phys_pages): Likewise.
30213 (__get_avphys_pages): Likewise.
30214 * misc/getttyent.c (getttyent): Likewise.
30215 (setttyent): Likewise.
30216 (endttyent): Likewise.
30217 * misc/getusershell.c (getusershell): Likewise.
30218 (endusershell): Likewise.
30219 (setusershell): Likewise.
30220 (initshells): Likewise.
30221 * misc/hsearch.c (__hdestroy): Likewise.
30222 * misc/sync.c (sync): Likewise.
30223 * misc/syslog.c (closelog_internal): Likewise.
30224 (closelog): Likewise.
30225 * misc/ttyslot.c (ttyslot): Likewise.
30226 * misc/vhangup.c (vhangup): Likewise.
30227 * posix/fork.c (__fork): Likewise.
30228 * posix/getegid.c (__getegid): Likewise.
30229 * posix/geteuid.c (__geteuid): Likewise.
30230 * posix/getgid.c (__getgid): Likewise.
30231 * posix/getpid.c (__getpid): Likewise.
30232 * posix/getppid.c (__getppid): Likewise.
30233 * posix/getuid.c (__getuid): Likewise.
30234 * posix/pause.c (pause): Likewise.
30235 * posix/setpgrp.c (setpgrp): Likewise.
30236 * posix/setsid.c (__setsid): Likewise.
30237 * posix/test-vfork.c (noop): Likewise.
30238 * resolv/gethnamaddr.c (_endhtent): Likewise.
30239 (_gethtent): Likewise.
30240 (ht_endhostent): Likewise.
30241 (gethostent): Likewise.
30242 (dns_service): Likewise.
30243 * stdlib/drand48.c (drand48): Likewise.
30244 * stdlib/lrand48.c (lrand48): Likewise.
30245 * stdlib/mrand48.c (mrand48): Likewise.
30246 * stdlib/rand.c (rand): Likewise.
30247 * stdlib/random.c (__random): Likewise.
30248 * stdlib/setenv.c (clearenv): Likewise.
30249 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30250 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30251 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30252 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30253 (__get_nprocs): Likewise.
30254 (__get_phys_pages): Likewise.
30255 (__get_avphys_pages): Likewise.
30256 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30257 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30258 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30259 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30260 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30261 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30262 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30263 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30264 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30265 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30266 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30267 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30268 * sysdeps/posix/clock.c (clock): Likewise.
30269 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30270 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30271 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30272 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30273 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30275 (__get_nprocs_conf): Likewise.
30276 (__get_phys_pages): Likewise.
30277 (__get_avphys_pages): Likewise.
30278 * time/clock.c (clock): Likewise.
30279 * time/tzset.c (__tzname_max): Likewise.
30280
30281 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30282
30283 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30284 (__bswap_32): Do not use "register".
30285 * crypt/crypt.c (_ufc_doit_r): Likewise.
30286 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30287 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30288 * gmon/gmon.c (__monstartup): Likewise.
30289 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30290 * hurd/hurdmalloc.c (more_memory): Likewise.
30291 (malloc): Likewise.
30292 (free): Likewise.
30293 (realloc): Likewise.
30294 (malloc_fork_prepare): Likewise.
30295 (malloc_fork_parent): Likewise.
30296 (malloc_fork_child): Likewise.
30297 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30298 (_svcauth_des): Likewise.
30299 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30300 * inet/inet_net.c (inet_network): Likewise.
30301 * inet/inet_netof.c (inet_netof): Likewise.
30302 * inet/rcmd.c (__validuser2_sa): Likewise.
30303 * io/fts.c (fts_open): Likewise.
30304 (fts_load): Likewise.
30305 (fts_close): Likewise.
30306 (fts_read): Likewise.
30307 (fts_children): Likewise.
30308 (fts_build): Likewise.
30309 (fts_stat): Likewise.
30310 (fts_sort): Likewise.
30311 (fts_alloc): Likewise.
30312 (fts_lfree): Likewise.
30313 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30314 (_IO_file_xsgetn): Likewise.
30315 (_IO_file_xsgetn_mmap): Likewise.
30316 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30317 (_IO_cookie_write): Likewise.
30318 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30319 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30320 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30321 * malloc/obstack.c (_obstack_begin): Likewise.
30322 (_obstack_begin_1): Likewise.
30323 (_obstack_newchunk): Likewise.
30324 (_obstack_allocated_p): Likewise.
30325 (obstack_free): Likewise.
30326 (_obstack_memory_used): Likewise.
30327 * misc/getttyent.c (getttynam): Likewise.
30328 (getttyent): Likewise.
30329 (skip): Likewise.
30330 (value): Likewise.
30331 * misc/getusershell.c (initshells): Likewise.
30332 * misc/syslog.c (__vsyslog_chk): Likewise.
30333 * misc/ttyslot.c (ttyslot): Likewise.
30334 * nis/nis_hash.c (__nis_hash): Likewise.
30335 * posix/fnmatch_loop.c (FCT): Likewise.
30336 * posix/getconf.c (print_all): Likewise.
30337 (main): Likewise.
30338 * posix/getopt.c (exchange): Likewise.
30339 * posix/glob.c (globfree): Likewise.
30340 (prefix_array): Likewise.
30341 (__glob_pattern_type): Likewise.
30342 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30343 (NS_GET32): Likewise.
30344 (NS_PUT16): Likewise.
30345 (NS_PUT32): Likewise.
30346 * resolv/gethnamaddr.c (getanswer): Likewise.
30347 (gethostbyname2): Likewise.
30348 (gethostbyaddr): Likewise.
30349 (_gethtent): Likewise.
30350 (_gethtbyname2): Likewise.
30351 (_gethtbyaddr): Likewise.
30352 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30353 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30354 * resolv/res_init.c (__res_vinit): Likewise.
30355 (net_mask): Likewise.
30356 * resolv/res_mkquery.c (outchar): Likewise.
30357 (PRINT): Likewise.
30358 * stdio-common/printf_fp.c (outchar): Likewise.
30359 (PRINT): Likewise.
30360 * stdio-common/printf_fphex.c (outchar): Likewise.
30361 (PRINT): Likewise.
30362 * stdio-common/printf_size.c (outchar): Likewise.
30363 (PRINT): Likewise.
30364 * stdio-common/test_rdwr.c (main): Likewise.
30365 * stdio-common/tfformat.c (matches): Likewise.
30366 * stdio-common/vfprintf.c (outchar): Likewise.
30367 (printf_unknown): Likewise.
30368 (buffered_vfprintf): Likewise.
30369 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30370 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30371 (ReadFile): Likewise.
30372 * stdlib/qsort.c (SWAP): Likewise.
30373 (_quicksort): Likewise.
30374 * stdlib/setenv.c (__add_to_environ): Likewise.
30375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30376 * stdlib/strtol_l.c (__strtol_l): Likewise.
30377 * stdlib/tst-strtod.c (main): Likewise.
30378 * stdlib/tst-strtol.c (main): Likewise.
30379 * stdlib/tst-strtoll.c (main): Likewise.
30380 * string/bits/string2.h (__strcmp_cc): Likewise.
30381 (__strcmp_cg): Likewise.
30382 (__strcspn_c1): Likewise.
30383 (__strcspn_c2): Likewise.
30384 (__strcspn_c3): Likewise.
30385 (__strspn_c1): Likewise.
30386 (__strspn_c2): Likewise.
30387 (__strspn_c3): Likewise.
30388 (__strsep_1c): Likewise.
30389 (__strsep_2c): Likewise.
30390 (__strsep_3c): Likewise.
30391 * string/memccpy.c (__memccpy): Likewise.
30392 * string/stpcpy.c (__stpcpy): Likewise.
30393 * string/strcmp.c (strcmp): Likewise.
30394 * string/strrchr.c (strrchr): Likewise.
30395 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30396 Likewise.
30397 * sysdeps/mach/hurd/getcwd.c
30398 (_hurd_canonicalize_directory_name_internal): Likewise.
30399 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30400 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30401 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30402 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30403 Likewise, in both definitions.
30404 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30405 definitions.
30406 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30407 64] (__bswap_64): Likewise.
30408 * time/test_time.c (main): Likewise.
30409 * time/tzfile.c (__tzfile_read): Likewise.
30410 (__tzfile_compute): Likewise.
30411 * time/tzset.c (__tzset_parse_tz): Likewise.
30412 (tzset_internal): Likewise.
30413 (compute_change): Likewise.
30414 * wcsmbs/wcscat.c (__wcscat): Likewise.
30415 * wcsmbs/wcschr.c (wcschr): Likewise.
30416 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30417 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30418 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30419 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30420 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30421 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30422 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30423 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30424 * wcsmbs/wmemset.c (wmemset): Likewise.
30425
30426 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30427
30428 * scripts/config.guess: Update to version 2013-05-16.
30429 * scripts/config.sub: Update to version 2013-04-24.
30430 * scripts/install-sh: Update to version 2011-11-20.07.
30431 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30432 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30433
30434 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30435
30436 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30437 * elf/sln.c: Likewise.
30438 * hurd/hurd/ioctl.h: Likewise.
30439 * hurd/hurdmalloc.c: Likewise.
30440 * hurd/xattr.c: Likewise.
30441 * include/shlib-compat.h: Likewise.
30442 * inet/ruserpass.c: Likewise.
30443 * libio/iofgets_u.c: Likewise.
30444 * libio/iofgetws_u.c: Likewise.
30445 * locale/programs/ld-identification.c: Likewise.
30446 * locale/programs/ld-time.c: Likewise.
30447 * mach/msg-destroy.c: Likewise.
30448 * nss/nss_files/files-netgrp.c: Likewise.
30449 * resolv/res_data.c: Likewise.
30450 * soft-fp/op-1.h: Likewise.
30451 * soft-fp/op-2.h: Likewise.
30452 * soft-fp/op-4.h: Likewise.
30453 * soft-fp/op-common.h: Likewise.
30454 * stdio-common/printf_fphex.c: Likewise.
30455 * stdlib/strtod_l.c: Likewise.
30456 * sunrpc/rpc/clnt.h: Likewise.
30457 * sysdeps/generic/framestate.c: Likewise.
30458 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30459 * sysdeps/i386/bsd-setjmp.S: Likewise.
30460 * sysdeps/i386/__longjmp.S: Likewise.
30461 * sysdeps/i386/setjmp.S: Likewise.
30462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30463 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30464 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30465 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30472 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30473 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30480 * sysdeps/ieee754/support.c: Likewise.
30481 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30482 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30483 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30484 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30485 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30486 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30487 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30488 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30489 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30490 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30491 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30492 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30493 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30496 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30497 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30499
30500 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30501
30502 * posix/transbug.c: Remove executable mode.
30503
30504 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30505
30506 * crypt/speeds.c: Remove trailing whitespace.
30507 * dlfcn/default.c: Likewise.
30508 * elf/ifuncdep2.c: Likewise.
30509 * elf/ifuncmain1.c: Likewise.
30510 * elf/ifuncmain1vis.c: Likewise.
30511 * elf/testobj.h: Likewise.
30512 * elf/tst-stackguard1.c: Likewise.
30513 * gmon/sys/gmon.h: Likewise.
30514 * hurd/hurdmsg.c: Likewise.
30515 * hurd/new-fd.c: Likewise.
30516 * hurd/ports-get.c: Likewise.
30517 * iconvdata/ibm1008_420.c: Likewise.
30518 * inet/tst-getni1.c: Likewise.
30519 * inet/tst-getni2.c: Likewise.
30520 * libio/ioungetc.c: Likewise.
30521 * libio/wfiledoalloc.c: Likewise.
30522 * manual/libm-err-tab.pl: Likewise.
30523 * math/w_dremf.c: Likewise.
30524 * misc/ftruncate.c: Likewise.
30525 * posix/bug-glob2.c: Likewise.
30526 * posix/tst-pcre.c: Likewise.
30527 * posix/wait4.c: Likewise.
30528 * resolv/README: Likewise.
30529 * resolv/res_debug.h: Likewise.
30530 * resolv/tst-inet_ntop.c: Likewise.
30531 * setjmp/bug269-setjmp.c: Likewise.
30532 * soft-fp/extended.h: Likewise.
30533 * soft-fp/op-1.h: Likewise.
30534 * soft-fp/op-2.h: Likewise.
30535 * soft-fp/op-4.h: Likewise.
30536 * soft-fp/op-8.h: Likewise.
30537 * soft-fp/testit.c: Likewise.
30538 * stdio-common/bug16.c: Likewise.
30539 * stdlib/random.c: Likewise.
30540 * sunrpc/rpcsvc/rquota.x: Likewise.
30541 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30546 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30548 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30549 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30551 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30570 * sysdeps/ieee754/s_lib_version.c: Likewise.
30571 * sysdeps/mach/hurd/check_fds.c: Likewise.
30572 * sysdeps/mach/hurd/getsockname.c: Likewise.
30573 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30574 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30575 * sysdeps/powerpc/bits/link.h: Likewise.
30576 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30577 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30578 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30579 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30580 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30581 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30582 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30583 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30584 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30585 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30586 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30587 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30588 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30589 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30590 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30591 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30595 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30597 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30599 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30600 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30603 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30609 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30610 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30611 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30612 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30613 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30614 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30615 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30616 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30617 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30618 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30619 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30620 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30621 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30622 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30624 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30625 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30628 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30629 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30630 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30631 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30632 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30634 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30635 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30636 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30638 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30639 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30640 * sysdeps/powerpc/sysdep.h: Likewise.
30641 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30642 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30643 * sysdeps/sh/dl-trampoline.S: Likewise.
30644 * sysdeps/sh/memset.S: Likewise.
30645 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30646 * sysdeps/sh/strlen.S: Likewise.
30647 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30648 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30649 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30650 * sysdeps/sparc/sparc32/rem.S: Likewise.
30651 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30653 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30654 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30655 * sysdeps/sparc/sparc32/urem.S: Likewise.
30656 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30657 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30658 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30659 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30661 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30662 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30663 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30664 * sysdeps/unix/bsd/times.c: Likewise.
30665 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30666 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30670 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30671 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30672 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30673 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30674 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30675 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30676 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30677 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30678 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30679 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30680 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30682 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30683 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30684 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30685 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30686 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30687 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30688 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30689 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30690 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30691 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30692 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30693 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30694 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30695 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30696 * sysdeps/x86_64/strcspn.S: Likewise.
30697
30698 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30699
30700 * locale/C-translit.h: Revert #include <stdint.h> because this is a
30701 generated file. Regenerate properly from gen-translit.pl.
30702 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30703 locale/C-translit.h.
30704
30705 2013-06-05 Andreas Schwab <schwab@suse.de>
30706
30707 [BZ #15100]
30708 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30709 week as 6 instead of -1.
30710 * time/tst-strptime.c (day_tests): Add test case.
30711
30712 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30713
30714 * sysdeps/generic/math_private.h
30715 (libc_feholdexcept_setround_53bit): Replace with
30716 libc_feholdsetround_53bit.
30717 (libc_feupdateenv_53bit): Replace with
30718 libc_feresetround_53bit.
30719 (SET_RESTORE_ROUND_53BIT): Adjust.
30720
30721 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30722
30723 * string/test-strchrnul.c: Add copyright header.
30724
30725 * posix/tst-getaddrinfo4.c: Increase test timeout.
30726
30727 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30728
30729 [BZ #15536]
30730 * math/libm-test.inc (MAX_EXP): Remove
30731 (MIN_EXP): Define.
30732 (ulp): Use MIN_EXP - MANT_DIG.
30733 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30734
30735 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30736
30737 * po/be.po: Revert last change.
30738 * po/zh_CN.po: Likewise.
30739 * po/header.pot: Likewise.
30740
30741 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30742
30743 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30744 link-libc-deps to empty as target-specific variable.
30745 * Makerules (link-libc-args): New variable.
30746 (libc-for-link): Likewise.
30747 (link-libc-deps): Likewise.
30748 (lib%.so): Depend on $(link-libc-deps). Link with
30749 $(link-libc-args).
30750 (build-module): Link with $(link-libc-args).
30751 (build-module-asneeded): Likewise.
30752 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30753 list of objects.
30754 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30755 target-specific variable.
30756 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30757 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30758 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30759 libc.
30760 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30761 libc and ld.so.
30762 ($(objpfx)libpcprofile.so): Likewise.
30763 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30764 libc_nonshared.a.
30765 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30766 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30767 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30768 $(link-libc-deps).
30769 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30770 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30771 * login/Makefile ($(objpfx)libutil.so): Likewise.
30772 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30773 * math/Makefile ($(objpfx)libm.so): Likewise.
30774 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30775 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30776 variable instead of depending directly on libc.
30777 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30778 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30779 $(link-libc-deps).
30780 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30781 libc.
30782 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30783 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30784 ($(objpfx)libanl.so): Likewise.
30785 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30786 ld.so.
30787 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30788 $(link-libc-deps).
30789 * sysdeps/i386/fpu/Makefile: Remove file.
30790 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30791 ($(objpfx)libm.so): Remove dependency on ld.so.
30792
30793 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30794
30795 [BZ # 15553]
30796 * nis/yp_xdr.c (XDRMAXNAME): Define.
30797 (XDRMAXRECORD): Define.
30798 (xdr_domainname): Use XDRMAXNAME.
30799 (xdr_mapname): Likewise.
30800 (xdr_peername): Likewise.
30801 (xdr_keydat): Use XDRMAXRECORD.
30802 (xdr_valdat): Likewise.
30803
30804 2013-05-30 Jeff Law <law@redhat.com>
30805
30806 [BZ #14256]
30807 * manual/errno.texi (ESTALE): Update to account for more than
30808 just NFS file systems.
30809 * sysdeps/gnu/errlist.c: Regenerated.
30810
30811 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30812
30813 [BZ #15465]
30814 * elf/Makefile (tests): Add tst-null-argv.
30815 (modules-names): Add tst-null-argv-lib.
30816 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30817 (tst-null-argv-ENV): Set environment for tst-null-argv.
30818 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30819 (RTLD_PROGNAME): New macro.
30820 * elf/tst-null-argv.c: New test case.
30821 * elf/tst-null-argv-lib.c: Library for test case.
30822 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30823 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30824 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30825 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30826 * elf/dl-init.c (call_init): Likewise.
30827 (_dl_init): Likewise.
30828 * elf/dl-load.c (print_search_path): Likewise.
30829 (_dl_map_object): Likewise.
30830 * elf/dl-lookup.c (do_lookup_x): Likewise.
30831 (add_dependency): Likewise.
30832 (_dl_lookup_symbol_x): Likewise.
30833 (_dl_debug_bindings): Likewise.
30834 * elf/dl-open.c (_dl_show_scope): Likewise.
30835 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30836 * elf/dl-version.c (match_symbol): Likewise.
30837 (_dl_check_map_versions): Likewise.
30838 * elf/rtld.c (dl_main): Likewise.
30839 (print_unresolved): Use RTLD_PROGNAME.
30840 (print_missing_version): Likewise.
30841 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30842 (elf_machine_rela): Likewise.
30843 * sysdeps/powerpc/powerpc32/dl-machine.c
30844 (__process_machine_rela): Likewise.
30845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30846 Likewise.
30847 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30848 Likewise.
30849 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30850 Likewise.
30851 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30853 Likewise.
30854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30855 Likewise.
30856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30857
30858 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30859
30860 * po/be.po: Add descriptive title.
30861 * po/zh_CN.po: Likewise.
30862 * po/header.pot: Likewise.
30863
30864 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30865
30866 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30867 error message.
30868 (enlarge_archive): Likewise.
30869
30870 2013-05-28 Ben North <ben@redfrontdoor.org>
30871
30872 * manual/arith.texi (frexp): It is the magnitude of the return
30873 value which lies in [0.5, 1), not the return value itself.
30874
30875 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30876
30877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30878
30879 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30880
30881 * stdio-common/bug26.c (main): Correct fscanf template.
30882
30883 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30884 declare _dl_skip_args.
30885
30886 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30887 Don't declare.
30888
30889 * manual/platform.texi: Add missing @end deftypefun.
30890
30891 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30892
30893 [BZ #15529]
30894 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30895 bit of mantissa of 2^16382.
30896 * math/libm-test.inc (hypot_test_data): Add more tests.
30897
30898 * math/libm-test.inc: Add drem and pow10 to list of tested
30899 functions.
30900 (pow10_test): New function.
30901 (drem_test): Likewise.
30902 (drem_test_tonearest): Likewise.
30903 (drem_test_towardzero): Likewise.
30904 (drem_test_downward): Likewise.
30905 (drem_test_upward): Likewise.
30906 (main): Call the new functions.
30907
30908 * math/libm-test.inc (finite_test_data): Remove.
30909 (finite_test): Run tests from isfinite_test_data.
30910 (gamma_test_data): Remove.
30911 (gamma_test): Run tests from lgamma_test_data.
30912 * sysdeps/i386/fpu/libm-test-ulps: Update.
30913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30914
30915 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30916
30917 * manual/platform.texi: Add PowerPC PPR function set documentation.
30918 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30919 implementation.
30920
30921 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30922
30923 * math/libm-test.inc (MAX_EXP): Define.
30924 (ULPDIFF): Define.
30925 (ulp): New function.
30926 (check_float_internal): Use ULPDIFF.
30927 (cpow_test): Disable failing test.
30928 (check_ulp): Test ulp() implemetnation.
30929 (main): Call check_ulp before starting tests.
30930
30931 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30932
30933 * math/gen-libm-test.pl (generate_testfile): Do not handle
30934 START_DATA and END_DATA.
30935 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30936 END_DATA.
30937 (acos_tonearest_test_data): Likewise.
30938 (acos_towardzero_test_data): Likewise.
30939 (acos_downward_test_data): Likewise.
30940 (acos_upward_test_data): Likewise.
30941 (acosh_test_data): Likewise.
30942 (asin_test_data): Likewise.
30943 (asin_tonearest_test_data): Likewise.
30944 (asin_towardzero_test_data): Likewise.
30945 (asin_downward_test_data): Likewise.
30946 (asin_upward_test_data): Likewise.
30947 (asinh_test_data): Likewise.
30948 (atan_test_data): Likewise.
30949 (atanh_test_data): Likewise.
30950 (atan2_test_data): Likewise.
30951 (cabs_test_data): Likewise.
30952 (cacos_test_data): Likewise.
30953 (cacosh_test_data): Likewise.
30954 (carg_test_data): Likewise.
30955 (casin_test_data): Likewise.
30956 (casinh_test_data): Likewise.
30957 (catan_test_data): Likewise.
30958 (catanh_test_data): Likewise.
30959 (cbrt_test_data): Likewise.
30960 (ccos_test_data): Likewise.
30961 (ccosh_test_data): Likewise.
30962 (ceil_test_data): Likewise.
30963 (cexp_test_data): Likewise.
30964 (cimag_test_data): Likewise.
30965 (clog_test_data): Likewise.
30966 (clog10_test_data): Likewise.
30967 (conj_test_data): Likewise.
30968 (copysign_test_data): Likewise.
30969 (cos_test_data): Likewise.
30970 (cos_tonearest_test_data): Likewise.
30971 (cos_towardzero_test_data): Likewise.
30972 (cos_downward_test_data): Likewise.
30973 (cos_upward_test_data): Likewise.
30974 (cosh_test_data): Likewise.
30975 (cosh_tonearest_test_data): Likewise.
30976 (cosh_towardzero_test_data): Likewise.
30977 (cosh_downward_test_data): Likewise.
30978 (cosh_upward_test_data): Likewise.
30979 (cpow_test_data): Likewise.
30980 (cproj_test_data): Likewise.
30981 (creal_test_data): Likewise.
30982 (csin_test_data): Likewise.
30983 (csinh_test_data): Likewise.
30984 (csqrt_test_data): Likewise.
30985 (ctan_test_data): Likewise.
30986 (ctan_tonearest_test_data): Likewise.
30987 (ctan_towardzero_test_data): Likewise.
30988 (ctan_downward_test_data): Likewise.
30989 (ctan_upward_test_data): Likewise.
30990 (ctanh_test_data): Likewise.
30991 (ctanh_tonearest_test_data): Likewise.
30992 (ctanh_towardzero_test_data): Likewise.
30993 (ctanh_downward_test_data): Likewise.
30994 (ctanh_upward_test_data): Likewise.
30995 (erf_test_data): Likewise.
30996 (erfc_test_data): Likewise.
30997 (exp_test_data): Likewise.
30998 (exp_tonearest_test_data): Likewise.
30999 (exp_towardzero_test_data): Likewise.
31000 (exp_downward_test_data): Likewise.
31001 (exp_upward_test_data): Likewise.
31002 (exp10_test_data): Likewise.
31003 (exp2_test_data): Likewise.
31004 (expm1_test_data): Likewise.
31005 (fabs_test_data): Likewise.
31006 (fdim_test_data): Likewise.
31007 (finite_test_data): Likewise.
31008 (floor_test_data): Likewise.
31009 (fma_test_data): Likewise.
31010 (fma_towardzero_test_data): Likewise.
31011 (fma_downward_test_data): Likewise.
31012 (fma_upward_test_data): Likewise.
31013 (fmax_test_data): Likewise.
31014 (fmin_test_data): Likewise.
31015 (fmod_test_data): Likewise.
31016 (fpclassify_test_data): Likewise.
31017 (frexp_test_data): Likewise.
31018 (gamma_test_data): Likewise.
31019 (hypot_test_data): Likewise.
31020 (ilogb_test_data): Likewise.
31021 (isfinite_test_data): Likewise.
31022 (isgreater_test_data): Likewise.
31023 (isgreaterequal_test_data): Likewise.
31024 (isinf_test_data): Likewise.
31025 (isless_test_data): Likewise.
31026 (islessequal_test_data): Likewise.
31027 (islessgreater_test_data): Likewise.
31028 (isnan_test_data): Likewise.
31029 (isnormal_test_data): Likewise.
31030 (issignaling_test_data): Likewise.
31031 (isunordered_test_data): Likewise.
31032 (j0_test_data): Likewise.
31033 (j1_test_data): Likewise.
31034 (jn_test_data): Likewise.
31035 (ldexp_test_data): Likewise.
31036 (lgamma_test_data): Likewise.
31037 (lrint_test_data): Likewise.
31038 (lrint_tonearest_test_data): Likewise.
31039 (lrint_towardzero_test_data): Likewise.
31040 (lrint_downward_test_data): Likewise.
31041 (lrint_upward_test_data): Likewise.
31042 (llrint_test_data): Likewise.
31043 (llrint_tonearest_test_data): Likewise.
31044 (llrint_towardzero_test_data): Likewise.
31045 (llrint_downward_test_data): Likewise.
31046 (llrint_upward_test_data): Likewise.
31047 (log_test_data): Likewise.
31048 (log10_test_data): Likewise.
31049 (log1p_test_data): Likewise.
31050 (log2_test_data): Likewise.
31051 (logb_test_data): Likewise.
31052 (logb_downward_test_data): Likewise.
31053 (lround_test_data): Likewise.
31054 (llround_test_data): Likewise.
31055 (modf_test_data): Likewise.
31056 (nearbyint_test_data): Likewise.
31057 (nextafter_test_data): Likewise.
31058 (nexttoward_test_data): Likewise.
31059 (pow_test_data): Likewise.
31060 (pow_tonearest_test_data): Likewise.
31061 (pow_towardzero_test_data): Likewise.
31062 (pow_downward_test_data): Likewise.
31063 (pow_upward_test_data): Likewise.
31064 (remainder_test_data): Likewise.
31065 (remainder_tonearest_test_data): Likewise.
31066 (remainder_towardzero_test_data): Likewise.
31067 (remainder_downward_test_data): Likewise.
31068 (remainder_upward_test_data): Likewise.
31069 (remquo_test_data): Likewise.
31070 (rint_test_data): Likewise.
31071 (rint_tonearest_test_data): Likewise.
31072 (rint_towardzero_test_data): Likewise.
31073 (rint_downward_test_data): Likewise.
31074 (rint_upward_test_data): Likewise.
31075 (round_test_data): Likewise.
31076 (scalb_test_data): Likewise.
31077 (scalbn_test_data): Likewise.
31078 (scalbln_test_data): Likewise.
31079 (signbit_test_data): Likewise.
31080 (sin_test_data): Likewise.
31081 (sin_tonearest_test_data): Likewise.
31082 (sin_towardzero_test_data): Likewise.
31083 (sin_downward_test_data): Likewise.
31084 (sin_upward_test_data): Likewise.
31085 (sincos_test_data): Likewise.
31086 (sinh_test_data): Likewise.
31087 (sinh_tonearest_test_data): Likewise.
31088 (sinh_towardzero_test_data): Likewise.
31089 (sinh_downward_test_data): Likewise.
31090 (sinh_upward_test_data): Likewise.
31091 (sqrt_test_data): Likewise.
31092 (tan_test_data): Likewise.
31093 (tan_tonearest_test_data): Likewise.
31094 (tan_towardzero_test_data): Likewise.
31095 (tan_downward_test_data): Likewise.
31096 (tan_upward_test_data): Likewise.
31097 (tanh_test_data): Likewise.
31098 (tgamma_test_data): Likewise.
31099 (trunc_test_data): Likewise.
31100 (y0_test_data): Likewise.
31101 (y1_test_data): Likewise.
31102 (yn_test_data): Likewise.
31103 (significand_test_data): Likewise.
31104
31105 * math/gen-libm-test.pl (@functions): Remove variable.
31106 (generate_testfile): Don't handle START and END lines.
31107 * math/libm-test.inc (START): New macro.
31108 (END): Likewise.
31109 (END_COMPLEX): Likewise.
31110 (acos_test): Use END macro without arguments.
31111 (acos_test_tonearest): Likewise.
31112 (acos_test_towardzero): Likewise.
31113 (acos_test_downward): Likewise.
31114 (acos_test_upward): Likewise.
31115 (acosh_test): Likewise.
31116 (asin_test): Likewise.
31117 (asin_test_tonearest): Likewise.
31118 (asin_test_towardzero): Likewise.
31119 (asin_test_downward): Likewise.
31120 (asin_test_upward): Likewise.
31121 (asinh_test): Likewise.
31122 (atan_test): Likewise.
31123 (atanh_test): Likewise.
31124 (atan2_test): Likewise.
31125 (cabs_test): Likewise.
31126 (cacos_test): Use END_COMPLEX macro without arguments.
31127 (cacosh_test): Likewise.
31128 (carg_test): Use END macro without arguments.
31129 (casin_test): Use END_COMPLEX macro without arguments.
31130 (casinh_test): Likewise.
31131 (catan_test): Likewise.
31132 (catanh_test): Likewise.
31133 (cbrt_test): Use END macro without arguments.
31134 (ccos_test): Use END_COMPLEX macro without arguments.
31135 (ccosh_test): Likewise.
31136 (ceil_test): Use END macro without arguments.
31137 (cexp_test): Use END_COMPLEX macro without arguments.
31138 (cimag_test): Use END macro without arguments.
31139 (clog_test): Use END_COMPLEX macro without arguments.
31140 (clog10_test): Likewise.
31141 (conj_test): Likewise.
31142 (copysign_test): Use END macro without arguments.
31143 (cos_test): Likewise.
31144 (cos_test_tonearest): Likewise.
31145 (cos_test_towardzero): Likewise.
31146 (cos_test_downward): Likewise.
31147 (cos_test_upward): Likewise.
31148 (cosh_test): Likewise.
31149 (cosh_test_tonearest): Likewise.
31150 (cosh_test_towardzero): Likewise.
31151 (cosh_test_downward): Likewise.
31152 (cosh_test_upward): Likewise.
31153 (cpow_test): Use END_COMPLEX macro without arguments.
31154 (cproj_test): Likewise.
31155 (creal_test): Use END macro without arguments.
31156 (csin_test): Use END_COMPLEX macro without arguments.
31157 (csinh_test): Likewise.
31158 (csqrt_test): Likewise.
31159 (ctan_test): Likewise.
31160 (ctan_test_tonearest): Likewise.
31161 (ctan_test_towardzero): Likewise.
31162 (ctan_test_downward): Likewise.
31163 (ctan_test_upward): Likewise.
31164 (ctanh_test): Likewise.
31165 (ctanh_test_tonearest): Likewise.
31166 (ctanh_test_towardzero): Likewise.
31167 (ctanh_test_downward): Likewise.
31168 (ctanh_test_upward): Likewise.
31169 (erf_test): Use END macro without arguments.
31170 (erfc_test): Likewise.
31171 (exp_test): Likewise.
31172 (exp_test_tonearest): Likewise.
31173 (exp_test_towardzero): Likewise.
31174 (exp_test_downward): Likewise.
31175 (exp_test_upward): Likewise.
31176 (exp10_test): Likewise.
31177 (exp2_test): Likewise.
31178 (expm1_test): Likewise.
31179 (fabs_test): Likewise.
31180 (fdim_test): Likewise.
31181 (finite_test): Likewise.
31182 (floor_test): Likewise.
31183 (fma_test): Likewise.
31184 (fma_test_towardzero): Likewise.
31185 (fma_test_downward): Likewise.
31186 (fma_test_upward): Likewise.
31187 (fmax_test): Likewise.
31188 (fmin_test): Likewise.
31189 (fmod_test): Likewise.
31190 (fpclassify_test): Likewise.
31191 (frexp_test): Likewise.
31192 (gamma_test): Likewise.
31193 (hypot_test): Likewise.
31194 (ilogb_test): Likewise.
31195 (isfinite_test): Likewise.
31196 (isgreater_test): Likewise.
31197 (isgreaterequal_test): Likewise.
31198 (isinf_test): Likewise.
31199 (isless_test): Likewise.
31200 (islessequal_test): Likewise.
31201 (islessgreater_test): Likewise.
31202 (isnan_test): Likewise.
31203 (isnormal_test): Likewise.
31204 (issignaling_test): Likewise.
31205 (isunordered_test): Likewise.
31206 (j0_test): Likewise.
31207 (j1_test): Likewise.
31208 (jn_test): Likewise.
31209 (ldexp_test): Likewise.
31210 (lgamma_test): Likewise.
31211 (lrint_test): Likewise.
31212 (lrint_test_tonearest): Likewise.
31213 (lrint_test_towardzero): Likewise.
31214 (lrint_test_downward): Likewise.
31215 (lrint_test_upward): Likewise.
31216 (llrint_test): Likewise.
31217 (llrint_test_tonearest): Likewise.
31218 (llrint_test_towardzero): Likewise.
31219 (llrint_test_downward): Likewise.
31220 (llrint_test_upward): Likewise.
31221 (log_test): Likewise.
31222 (log10_test): Likewise.
31223 (log1p_test): Likewise.
31224 (log2_test): Likewise.
31225 (logb_test): Likewise.
31226 (logb_test_downward): Likewise.
31227 (lround_test): Likewise.
31228 (llround_test): Likewise.
31229 (modf_test): Likewise.
31230 (nearbyint_test): Likewise.
31231 (nextafter_test): Likewise.
31232 (nexttoward_test): Likewise.
31233 (pow_test): Likewise.
31234 (pow_test_tonearest): Likewise.
31235 (pow_test_towardzero): Likewise.
31236 (pow_test_downward): Likewise.
31237 (pow_test_upward): Likewise.
31238 (remainder_test): Likewise.
31239 (remainder_test_tonearest): Likewise.
31240 (remainder_test_towardzero): Likewise.
31241 (remainder_test_downward): Likewise.
31242 (remainder_test_upward): Likewise.
31243 (remquo_test): Likewise.
31244 (rint_test): Likewise.
31245 (rint_test_tonearest): Likewise.
31246 (rint_test_towardzero): Likewise.
31247 (rint_test_downward): Likewise.
31248 (rint_test_upward): Likewise.
31249 (round_test): Likewise.
31250 (scalb_test): Likewise.
31251 (scalbn_test): Likewise.
31252 (scalbln_test): Likewise.
31253 (signbit_test): Likewise.
31254 (sin_test): Likewise.
31255 (sin_test_tonearest): Likewise.
31256 (sin_test_towardzero): Likewise.
31257 (sin_test_downward): Likewise.
31258 (sin_test_upward): Likewise.
31259 (sincos_test): Likewise.
31260 (sinh_test): Likewise.
31261 (sinh_test_tonearest): Likewise.
31262 (sinh_test_towardzero): Likewise.
31263 (sinh_test_downward): Likewise.
31264 (sinh_test_upward): Likewise.
31265 (sqrt_test): Likewise.
31266 (tan_test): Likewise.
31267 (tan_test_tonearest): Likewise.
31268 (tan_test_towardzero): Likewise.
31269 (tan_test_downward): Likewise.
31270 (tan_test_upward): Likewise.
31271 (tanh_test): Likewise.
31272 (tgamma_test): Likewise.
31273 (trunc_test): Likewise.
31274 (y0_test): Likewise.
31275 (y1_test): Likewise.
31276 (yn_test): Likewise.
31277 (significand_test): Likewise.
31278
31279 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31280
31281 [BZ #15381]
31282 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31283
31284 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31285
31286 [BZ #14894]
31287 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31288 __ppc_mdoio and __ppc_mdoom.
31289 * manual/platform.texi: Document new functions __ppc_yield,
31290 __ppc_mdoio and __ppc_mdoom.
31291
31292 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31293
31294 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31295 (main): Mention "tls" pseudo-hwcap is legacy.
31296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31297
31298 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31299
31300 * math/gen-libm-test.pl (parse_args): Output only string of
31301 arguments as text for test name, not full call or descriptions of
31302 tests for extra outputs.
31303 (generate_testfile): Do not pass function name to parse_args.
31304 Generate this_func variable from START.
31305 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31306 field to arg_str.
31307 (struct test_ff_f_data): Likewise.
31308 (test_ff_f_data_nexttoward): Likewise.
31309 (struct test_fi_f_data): Likewise.
31310 (struct test_fl_f_data): Likewise.
31311 (struct test_if_f_data): Likewise.
31312 (struct test_fff_f_data): Likewise.
31313 (struct test_c_f_data): Likewise.
31314 (struct test_f_f1_data): Likewise. Remove field extra_name.
31315 (struct test_fF_f1_data): Likewise.
31316 (struct test_ffI_f1_data): Likewise.
31317 (struct test_c_c_data): Rename test_name field to arg_str.
31318 (struct test_cc_c_data): Likewise.
31319 (struct test_f_i_data): Likewise.
31320 (struct test_ff_i_data): Likewise.
31321 (struct test_f_l_data): Likewise.
31322 (struct test_f_L_data): Likewise.
31323 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31324 and extra2_name.
31325 (COMMON_TEST_SETUP): New macro.
31326 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31327 (COMMON_TEST_CLEANUP): Likewise.
31328 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31329 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31330 macros.
31331 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31332 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31333 macros.
31334 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31335 (RUN_TEST_fff_f): Take argument string. Call new setup and
31336 cleanup macros.
31337 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31338 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31339 macros.
31340 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31341 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31342 macros.
31343 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31344 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31345 cleanup macros.
31346 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31347 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31348 cleanup macros.
31349 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31350 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31351 cleanup macros.
31352 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31353 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31354 macros.
31355 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31356 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31357 macros.
31358 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31359 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31360 macros.
31361 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31362 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31363 cleanup macros.
31364 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31365 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31366 cleanup macros.
31367 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31368 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31369 macros.
31370 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31371 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31372 cleanup macros.
31373 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31374 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31375 macros.
31376 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31377 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31378 macros.
31379 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31380 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31381 cleanup macros.
31382 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31383
31384 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31385
31386 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31387 to _sifields.sigfault.
31388 (si_addr_lsb): Define new macro.
31389 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31391 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31392
31393 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31394
31395 [BZ #15441]
31396 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31397 returns -1.
31398 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31399 null return -1.
31400 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31401 loading the domain.
31402
31403 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31404
31405 * math/gen-libm-test.pl (parse_args): Do not include expected
31406 result in test name.
31407 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31411 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413
31414 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31415
31416 * benchtests/Makefile: Sort function entries.
31417
31418 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31419 tanh, asinh, acosh, atanh.
31420 * benchtests/acos-inputs: New file.
31421 * benchtests/acosh-inputs: New file.
31422 * benchtests/asin-inputs: New file.
31423 * benchtests/asinh-inputs: New file.
31424 * benchtests/atanh-inputs: New file.
31425 * benchtests/cosh-inputs: New file.
31426 * benchtests/log-inputs: New file.
31427 * benchtests/sinh-inputs: New file.
31428 * benchtests/tanh-inputs: New file.
31429
31430 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31431
31432 [BZ #15339]
31433 * posix/tst-getaddrinfo4.c: New test.
31434 * posix/Makefile (tests): Add it.
31435
31436 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31437
31438 [BZ #15339]
31439 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31440 when no services were used.
31441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31442 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31443
31444 2013-05-21 Andreas Schwab <schwab@suse.de>
31445
31446 [BZ #15014]
31447 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31448 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31449 successful.
31450 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31451 redundant variable declarations and reallocation of buffer when
31452 parsing as IPv6 address. Always set NSS status when called from
31453 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31454 buffer too small. Correct computation of needed size.
31455 * nss/Makefile (tests): Add test-digits-dots.
31456 * nss/test-digits-dots.c: New test.
31457
31458 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31459
31460 * benchtests/Makefile: Remove instructions for adding
31461 benchmark tests.
31462 * benchtests/README: New file to explain how to execute and
31463 enhance the benchmark tests.
31464
31465 2013-05-21 Andreas Schwab <schwab@suse.de>
31466
31467 [BZ #15493]
31468 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31469 * setjmp/tst-sigsetjmp.c: New test.
31470
31471 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31472
31473 * sysdeps/x86_64/memset.S (memset): New implementation.
31474 (__bzero): Likewise.
31475 (__memset_tail): New function.
31476
31477 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31478
31479 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31480 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31481 __memcpy_sse2_unaligned ifunc selection.
31482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31483 Add memcpy-sse2-unaligned.S.
31484 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31485 Add: __memcpy_sse2_unaligned.
31486
31487 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31488
31489 [BZ #15490]
31490 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31491 math_force_eval before restoring floating-point envrionment.
31492 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31493 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31494 Likewise.
31495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31496 <math_private.h>.
31497 (__nearbyintl): Use math_force_eval before restoring
31498 floating-point environment.
31499 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31500
31501 * math/gen-libm-test.pl (special_functions): Remove.
31502 (parse_args): Don't handle TEST_extra. Handle functions with no
31503 return value.
31504 * math/libm-test.inc (struct test_sincos_data): Replace with
31505 struct test_fFF_11_data.
31506 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31507 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31508 (sincos_test_data): Change element type to struct
31509 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31510 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31511 RUN_TEST_LOOP_sincos.
31512 * math/README.libm-test: Don't mention special handling of
31513 individual functions.
31514 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31516 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31517 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31518 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31520
31521 * math/gen-libm-test.pl (get_variable): Remove function.
31522 (parse_args): Don't show pointer parameters to call in test
31523 names. Use "extra output N" in test names for extra outputs
31524 rather than naming variables.
31525
31526 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31527
31528 [BZ #15488]
31529 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31530 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31531 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31532 double tests.
31533 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31534 disable.
31535 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31536 check_long_double.
31537
31538 * math/gen-libm-test.pl (@tests): Remove variable.
31539 ($count): Likewise.
31540 (new_test): Remove function.
31541 (show_exceptions): New function.
31542 (special_functions): Use show_exceptions instead of new_test.
31543 (parse_args): Likewise.
31544 (generate_testfile): Pass only function name in generated call to
31545 print_max_error or print_complex_max_error.
31546 (get_ulps): Do not handle complex tests specially.
31547 (output_test): Rename to ...
31548 (get_all_ulps_for_test): ... this. Return a string rather than
31549 printing to a file. Require ulps to be present.
31550 (output_ulps): Generate arrays rather than #defines.
31551 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31552 (struct ulp_data): New type.
31553 (BUILD_COMPLEX_ULP): Remove macro.
31554 (compare_ulp_data): New function.
31555 (find_ulps): Likewise.
31556 (find_test_ulps): Likewise.
31557 (find_function_ulps): Likewise.
31558 (find_complex_function_ulps): Likewise.
31559 (print_max_error): Determine allowed ulps using
31560 find_function_ulps.
31561 (print_complex_max_error): Determine allowed ulps using
31562 find_complex_function_ulps.
31563 (check_float_internal): Determine max ulps using find_test_ulps.
31564 (check_float): Do not take max_ulp parameter. Update call to
31565 check_float_internal.
31566 (check_complex): Likewise.
31567 (check_int): Do not take max_ulp parameter.
31568 (check_long): Likewise.
31569 (check_bool): Likewise.
31570 (check_longlong): Likewise.
31571 (struct test_f_f_data): Remove max_ulp field.
31572 (struct test_ff_f_data): Likewise.
31573 (struct test_ff_f_data_nexttoward): Likewise.
31574 (struct test_fi_f_data): Likewise.
31575 (struct test_fl_f_data): Likewise.
31576 (struct test_if_f_data): Likewise.
31577 (struct test_fff_f_data): Likewise.
31578 (struct test_c_f_data): Likewise.
31579 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31580 (struct test_fF_f1_data): Likewise.
31581 (struct test_ffI_f1_data): Likewise.
31582 (struct test_c_c_data): Remove max_ulp field.
31583 (struct test_cc_c_data): Likewise.
31584 (struct test_f_i_data): Likewise.
31585 (struct test_ff_i_data): Likewise.
31586 (struct test_f_l_data): Likewise.
31587 (struct test_f_L_data): Likewise.
31588 (struct test_sincos_data): Likewise.
31589 (RUN_TEST_f_f): Do not handle ulps.
31590 (RUN_TEST_LOOP_f_f): Likewise.
31591 (RUN_TEST_2_f): Likewise.
31592 (RUN_TEST_LOOP_2_f): Likewise.
31593 (RUN_TEST_fff_f): Likewise.
31594 (RUN_TEST_LOOP_fff_f): Likewise.
31595 (RUN_TEST_c_f): Likewise.
31596 (RUN_TEST_LOOP_c_f): Likewise.
31597 (RUN_TEST_f_f1): Likewise.
31598 (RUN_TEST_LOOP_f_f1): Likewise.
31599 (RUN_TEST_fF_f1): Likewise.
31600 (RUN_TEST_LOOP_fF_f1): Likewise.
31601 (RUN_TEST_fI_f1): Likewise.
31602 (RUN_TEST_LOOP_fI_f1): Likewise.
31603 (RUN_TEST_ffI_f1): Likewise.
31604 (RUN_TEST_LOOP_ffI_f1): Likewise.
31605 (RUN_TEST_c_c): Likewise.
31606 (RUN_TEST_LOOP_c_c): Likewise.
31607 (RUN_TEST_cc_c): Likewise.
31608 (RUN_TEST_LOOP_cc_c): Likewise.
31609 (RUN_TEST_f_i): Likewise.
31610 (RUN_TEST_LOOP_f_i): Likewise.
31611 (RUN_TEST_f_i_tg): Likewise.
31612 (RUN_TEST_LOOP_f_i_tg): Likewise.
31613 (RUN_TEST_ff_i_tg): Likewise.
31614 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31615 (RUN_TEST_f_b): Likewise.
31616 (RUN_TEST_LOOP_f_b): Likewise.
31617 (RUN_TEST_f_b_tg): Likewise.
31618 (RUN_TEST_LOOP_f_b_tg): Likewise.
31619 (RUN_TEST_f_l): Likewise.
31620 (RUN_TEST_LOOP_f_l): Likewise.
31621 (RUN_TEST_f_L): Likewise.
31622 (RUN_TEST_LOOP_f_L): Likewise.
31623 (RUN_TEST_sincos): Likewise.
31624 (RUN_TEST_LOOP_sincos): Likewise.
31625
31626 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31627
31628 [BZ #15480]
31629 [BZ #15485]
31630 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31631 main case of finite arguments, set rounding mode to FE_TONEAREST
31632 and discard exceptions.
31633 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31634 exceptions.
31635 (remainder_tonearest_test_data): New variable.
31636 (remainder_test_tonearest): New function.
31637 (remainder_towardzero_test_data): New variable.
31638 (remainder_test_towardzero): New function.
31639 (remainder_downward_test_data): New variable.
31640 (remainder_test_downward): New function.
31641 (remainder_upward_test_data): New variable.
31642 (remainder_test_upward): New function.
31643 (main): Call the new test functions.
31644
31645 * math/libm-test.inc (struct test_f_f1_data): Remove field
31646 extra_init.
31647 (struct test_fF_f1_data): Likewise.
31648 (struct test_ffI_f1_data): Likewise.
31649 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31650 based on value of EXTRA_EXPECTED.
31651 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31652 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31653 EXTRA_VAR based on value of EXTRA_EXPECTED.
31654 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31655 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31656 EXTRA_VAR based on value of EXTRA_EXPECTED.
31657 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31658 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31659 EXTRA_VAR based on value of EXTRA_EXPECTED.
31660 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31661 * math/gen-libm-test.pl (parse_args): Don't output initializers
31662 for extra output values.
31663
31664 * math/libm-test.inc (check_int): Expect result to be exactly
31665 equal to expected value and do not handle ulps.
31666 (check_long): Likewise.
31667 (check_longlong): Likewise.
31668
31669 * math/libm-test.inc (ceil_test_data): Test for "inexact"
31670 exceptions.
31671 (cimag_test_data): Likewise.
31672 (conj_test_data): Likewise.
31673 (copysign_test_data): Likewise.
31674 (cproj_test_data): Likewise.
31675 (creal_test_data): Likewise.
31676 (fabs_test_data): Likewise.
31677 (fdim_test_data): Likewise.
31678 (finite_test_data): Likewise.
31679 (floor_test_data): Likewise.
31680 (fmax_test_data): Likewise.
31681 (fmin_test_data): Likewise.
31682 (fmod_test_data): Likewise.
31683 (fpclassify_test_data): Likewise.
31684 (frexp_test_data): Likewise.
31685 (ilogb_test_data): Likewise.
31686 (isfinite_test_data): Likewise.
31687 (isgreater_test_data): Likewise.
31688 (isgreaterequal_test_data): Likewise.
31689 (isinf_test_data): Likewise.
31690 (isless_test_data): Likewise.
31691 (islessequal_test_data): Likewise.
31692 (islessgreater_test_data): Likewise.
31693 (isnan_test_data): Likewise.
31694 (isnormal_test_data): Likewise.
31695 (issignaling_test_data): Likewise.
31696 (isunordered_test_data): Likewise.
31697 (ldexp_test_data): Likewise.
31698 (lrint_test_data): Likewise.
31699 (lrint_test_data) [TEST_FLOAT]: Disable one test.
31700 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31701 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31702 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31703 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31704 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31705 test input.
31706 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31707 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31708 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31709 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31710 that test input.
31711 (lrint_downward_test_data): Test for "inexact" exceptions.
31712 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31713 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31714 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31715 test input.
31716 (lrint_upward_test_data): Test for "inexact" exceptions.
31717 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31718 test input.
31719 (llrint_test_data): Test for "inexact" exceptions.
31720 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31721 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31722 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31723 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31724 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31725 (llrint_downward_test_data): Test for "inexact" exceptions.
31726 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31727 (llrint_upward_test_data): Test for "inexact" exceptions.
31728 (logb_test_data): Likewise.
31729 (logb_downward_test_data): Likewise.
31730 (nextafter_test_data): Likewise.
31731 (nexttoward_test_data): Likewise.
31732 (remainder_test_data): Likewise.
31733 (remquo_test_data): Likewise.
31734 (scalbn_test_data): Likewise.
31735 (scalbln_test_data): Likewise.
31736 (signbit_test_data): Likewise.
31737 (sqrt_test_data): Likewise.
31738 (significand_test_data): Likewise.
31739
31740 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31741
31742 [BZ #15424]
31743 * benchtests/bench-modf.c (struct args): Mark arg0 as
31744 volatile.
31745 * scripts/bench.pl: Mark members of struct args as volatile.
31746
31747 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31748
31749 [BZ # 15497]
31750 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31751 negative infinity on POWER6 or lower.
31752 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31753
31754 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31755
31756 [BZ #15442]
31757 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31758 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31759 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31760 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31761 (_FP_SETQNAN): New macro.
31762 (_FP_SETQNAN_SEMIRAW): Likewise.
31763 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31764 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31765 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31766 (FP_EXTEND): Use _FP_FRAC_SNANP.
31767 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31768 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31769 into account.
31770 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31771 New macro.
31772 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31773 Likewise.
31774
31775 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31776
31777 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31778 with DIVIDE_BY_ZERO_EXCEPTION.
31779 (gamma_test_data): Likewise.
31780 (lgamma_test_data): Likewise.
31781 (log_test_data): Likewise.
31782 (log10_test_data): Likewise.
31783 (log2_test_data): Likewise.
31784 (tgamma_test_data): Likewise.
31785
31786 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31787 (acos_test_tonearest): Likewise.
31788 (acos_test_towardzero): Likewise.
31789 (acos_test_downward): Likewise.
31790 (acos_test_upward): Likewise.
31791 (acosh_test): Likewise.
31792 (asin_test): Likewise.
31793 (asin_test_tonearest): Likewise.
31794 (asin_test_towardzero): Likewise.
31795 (asin_test_downward): Likewise.
31796 (asin_test_upward): Likewise.
31797 (asinh_test): Likewise.
31798 (atan_test): Likewise.
31799 (atanh_test): Likewise.
31800 (atan2_test): Likewise.
31801 (cabs_test): Likewise.
31802 (cacos_test): Likewise.
31803 (cacosh_test): Likewise.
31804 (casin_test): Likewise.
31805 (casinh_test): Likewise.
31806 (catan_test): Likewise.
31807 (catanh_test): Likewise.
31808 (cbrt_test): Likewise.
31809 (ccos_test): Likewise.
31810 (ccosh_test): Likewise.
31811 (cexp_test): Likewise.
31812 (clog_test): Likewise.
31813 (clog10_test): Likewise.
31814 (cos_test): Likewise.
31815 (cos_test_tonearest): Likewise.
31816 (cos_test_towardzero): Likewise.
31817 (cos_test_downward): Likewise.
31818 (cos_test_upward): Likewise.
31819 (cosh_test): Likewise.
31820 (cosh_test_tonearest): Likewise.
31821 (cosh_test_towardzero): Likewise.
31822 (cosh_test_downward): Likewise.
31823 (cosh_test_upward): Likewise.
31824 (cpow_test): Likewise.
31825 (csin_test): Likewise.
31826 (csinh_test): Likewise.
31827 (csqrt_test): Likewise.
31828 (ctan_test): Likewise.
31829 (ctan_test_tonearest): Likewise.
31830 (ctan_test_towardzero): Likewise.
31831 (ctan_test_downward): Likewise.
31832 (ctan_test_upward): Likewise.
31833 (ctanh_test): Likewise.
31834 (ctanh_test_tonearest): Likewise.
31835 (ctanh_test_towardzero): Likewise.
31836 (ctanh_test_downward): Likewise.
31837 (ctanh_test_upward): Likewise.
31838 (erf_test): Likewise.
31839 (erfc_test): Likewise.
31840 (exp_test): Likewise.
31841 (exp_test_tonearest): Likewise.
31842 (exp_test_towardzero): Likewise.
31843 (exp_test_downward): Likewise.
31844 (exp_test_upward): Likewise.
31845 (exp10_test): Likewise.
31846 (exp2_test): Likewise.
31847 (expm1_test): Likewise.
31848 (fmod_test): Likewise.
31849 (gamma_test): Likewise.
31850 (hypot_test): Likewise.
31851 (j0_test): Likewise.
31852 (j1_test): Likewise.
31853 (jn_test): Likewise.
31854 (lgamma_test): Likewise.
31855 (log_test): Likewise.
31856 (log10_test): Likewise.
31857 (log1p_test): Likewise.
31858 (log2_test): Likewise.
31859 (logb_test_downward): Likewise.
31860 (pow_test): Likewise.
31861 (pow_test_tonearest): Likewise.
31862 (pow_test_towardzero): Likewise.
31863 (pow_test_downward): Likewise.
31864 (pow_test_upward): Likewise.
31865 (remainder_test): Likewise.
31866 (remquo_test): Likewise.
31867 (sin_test): Likewise.
31868 (sin_test_tonearest): Likewise.
31869 (sin_test_towardzero): Likewise.
31870 (sin_test_downward): Likewise.
31871 (sin_test_upward): Likewise.
31872 (sincos_test): Likewise.
31873 (sinh_test): Likewise.
31874 (sinh_test_tonearest): Likewise.
31875 (sinh_test_towardzero): Likewise.
31876 (sinh_test_downward): Likewise.
31877 (sinh_test_upward): Likewise.
31878 (sqrt_test): Likewise.
31879 (tan_test): Likewise.
31880 (tan_test_tonearest): Likewise.
31881 (tan_test_towardzero): Likewise.
31882 (tan_test_downward): Likewise.
31883 (tan_test_upward): Likewise.
31884 (tanh_test): Likewise.
31885 (tgamma_test): Likewise.
31886 (y0_test): Likewise.
31887 (y1_test): Likewise.
31888 (yn_test): Likewise.
31889
31890 * math/gen-libm-test.pl (adjust_arg): Remove function.
31891 (special_function): Remove argument $in_func. Only handle
31892 generating output for tables of tests, not inside functions.
31893 (parse_args): Likewise.
31894 (generate_testfile): Remove variable $in_func. Update call to
31895 parse_args.
31896 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31897 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31898 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31899 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31900 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31901 (MAX_VALUE_INIT): Rename macro to max_value.
31902 (MIN_VALUE_INIT): Rename macro to min_value.
31903 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31904 (plus_zero): Remove variable.
31905 (minus_zero): Likewise.
31906 (plus_infty): Likewise.
31907 (minus_infty): Likewise.
31908 (qnan_value): Likewise.
31909 (max_value): Likewise.
31910 (min_value): Likewise.
31911 (min_subnorm_value): Likewise.
31912
31913 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31914
31915 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31916 uint64_t or uint32_t usage.
31917 * crypt/sha256-block.c: Likewise.
31918 * crypt/sha256-crypt.c: Likewise.
31919 * crypt/sha256.c: Likewise.
31920 * crypt/sha512-block.c: Likewise.
31921 * crypt/sha512-crypt.c: Likewise.
31922 * crypt/sha512.c: Likewise.
31923 * debug/backtrace-tst.c: Likewise.
31924 * debug/pcprofiledump.c: Likewise.
31925 * elf/cache.c: Likewise.
31926 * elf/dl-cache.c: Likewise.
31927 * elf/dl-misc.c: Likewise.
31928 * elf/dl-profile.c: Likewise.
31929 * elf/dl-support.c: Likewise.
31930 * elf/ldconfig.c: Likewise.
31931 * elf/sprof.c: Likewise.
31932 * iconv/dummy-repertoire.c: Likewise.
31933 * iconv/iconv_charmap.c: Likewise.
31934 * iconv/skeleton.c: Likewise.
31935 * iconvdata/8bit-generic.c: Likewise.
31936 * iconvdata/cp737.h: Likewise.
31937 * iconvdata/cp775.h: Likewise.
31938 * iconvdata/ibm1008.h: Likewise.
31939 * iconvdata/ibm1025.h: Likewise.
31940 * iconvdata/ibm1046.h: Likewise.
31941 * iconvdata/ibm1097.h: Likewise.
31942 * iconvdata/ibm1112.h: Likewise.
31943 * iconvdata/ibm1122.h: Likewise.
31944 * iconvdata/ibm1123.h: Likewise.
31945 * iconvdata/ibm1124.h: Likewise.
31946 * iconvdata/ibm1129.h: Likewise.
31947 * iconvdata/ibm1130.h: Likewise.
31948 * iconvdata/ibm1132.h: Likewise.
31949 * iconvdata/ibm1133.h: Likewise.
31950 * iconvdata/ibm1137.h: Likewise.
31951 * iconvdata/ibm1140.h: Likewise.
31952 * iconvdata/ibm1141.h: Likewise.
31953 * iconvdata/ibm1142.h: Likewise.
31954 * iconvdata/ibm1143.h: Likewise.
31955 * iconvdata/ibm1144.h: Likewise.
31956 * iconvdata/ibm1145.h: Likewise.
31957 * iconvdata/ibm1146.h: Likewise.
31958 * iconvdata/ibm1147.h: Likewise.
31959 * iconvdata/ibm1148.h: Likewise.
31960 * iconvdata/ibm1149.h: Likewise.
31961 * iconvdata/ibm1153.h: Likewise.
31962 * iconvdata/ibm1154.h: Likewise.
31963 * iconvdata/ibm1155.h: Likewise.
31964 * iconvdata/ibm1156.h: Likewise.
31965 * iconvdata/ibm1157.h: Likewise.
31966 * iconvdata/ibm1158.h: Likewise.
31967 * iconvdata/ibm1160.h: Likewise.
31968 * iconvdata/ibm1161.h: Likewise.
31969 * iconvdata/ibm1162.h: Likewise.
31970 * iconvdata/ibm1163.h: Likewise.
31971 * iconvdata/ibm1164.h: Likewise.
31972 * iconvdata/ibm1166.h: Likewise.
31973 * iconvdata/ibm1167.h: Likewise.
31974 * iconvdata/ibm12712.h: Likewise.
31975 * iconvdata/ibm1390.h: Likewise.
31976 * iconvdata/ibm1399.h: Likewise.
31977 * iconvdata/ibm16804.h: Likewise.
31978 * iconvdata/ibm4517.h: Likewise.
31979 * iconvdata/ibm4899.h: Likewise.
31980 * iconvdata/ibm4909.h: Likewise.
31981 * iconvdata/ibm4971.h: Likewise.
31982 * iconvdata/ibm5347.h: Likewise.
31983 * iconvdata/ibm803.h: Likewise.
31984 * iconvdata/ibm856.h: Likewise.
31985 * iconvdata/ibm901.h: Likewise.
31986 * iconvdata/ibm902.h: Likewise.
31987 * iconvdata/ibm9030.h: Likewise.
31988 * iconvdata/ibm9066.h: Likewise.
31989 * iconvdata/ibm921.h: Likewise.
31990 * iconvdata/ibm922.h: Likewise.
31991 * iconvdata/ibm9448.h: Likewise.
31992 * iconvdata/isiri-3342.h: Likewise.
31993 * iconvdata/jis0201.h: Likewise.
31994 * include/link.h: Likewise.
31995 * include/netdb.h: Likewise.
31996 * inet/check_native.c: Likewise.
31997 * inet/check_pf.c: Likewise.
31998 * inet/getipv4sourcefilter.c: Likewise.
31999 * inet/getnameinfo.c: Likewise.
32000 * inet/getsourcefilter.c: Likewise.
32001 * inet/htonl.c: Likewise.
32002 * inet/setipv4sourcefilter.c: Likewise.
32003 * inet/setsourcefilter.c: Likewise.
32004 * inet/test-inet6_opt.c: Likewise.
32005 * inet/tst-network.c: Likewise.
32006 * locale/C-collate.c: Likewise.
32007 * locale/C-ctype.c: Likewise.
32008 * locale/C-time.c: Likewise.
32009 * locale/C-translit.h: Likewise.
32010 * locale/loadarchive.c: Likewise.
32011 * locale/programs/3level.h: Likewise.
32012 * locale/programs/charmap.c: Likewise.
32013 * locale/programs/charmap.h: Likewise.
32014 * locale/programs/ld-address.c: Likewise.
32015 * locale/programs/ld-collate.c: Likewise.
32016 * locale/programs/ld-ctype.c: Likewise.
32017 * locale/programs/ld-identification.c: Likewise.
32018 * locale/programs/ld-measurement.c: Likewise.
32019 * locale/programs/ld-messages.c: Likewise.
32020 * locale/programs/ld-monetary.c: Likewise.
32021 * locale/programs/ld-name.c: Likewise.
32022 * locale/programs/ld-numeric.c: Likewise.
32023 * locale/programs/ld-paper.c: Likewise.
32024 * locale/programs/ld-telephone.c: Likewise.
32025 * locale/programs/ld-time.c: Likewise.
32026 * locale/programs/linereader.c: Likewise.
32027 * locale/programs/locale.c: Likewise.
32028 * locale/programs/locarchive.c: Likewise.
32029 * locale/programs/locfile.h: Likewise.
32030 * locale/programs/repertoire.c: Likewise.
32031 * locale/programs/simple-hash.c: Likewise.
32032 * locale/programs/simple-hash.h: Likewise.
32033 * malloc/memusage.c: Likewise.
32034 * malloc/memusagestat.c: Likewise.
32035 * nis/nis_defaults.c: Likewise.
32036 * nis/nis_hash.c: Likewise.
32037 * nis/nis_print.c: Likewise.
32038 * nis/nis_xdr.c: Likewise.
32039 * nscd/connections.c: Likewise.
32040 * nscd/hstcache.c: Likewise.
32041 * nscd/nscd_gethst_r.c: Likewise.
32042 * nscd/nscd_getserv_r.c: Likewise.
32043 * nscd/nscd_helper.c: Likewise.
32044 * nscd/servicescache.c: Likewise.
32045 * nss/makedb.c: Likewise.
32046 * nss/nss_db/db-XXX.c: Likewise.
32047 * nss/nss_db/db-initgroups.c: Likewise.
32048 * nss/nss_db/db-netgrp.c: Likewise.
32049 * nss/nss_files/files-network.c: Likewise.
32050 * nss/nss_files/files-parse.c: Likewise.
32051 * posix/bug-regex5.c: Likewise.
32052 * posix/fnmatch_loop.c: Likewise.
32053 * posix/regcomp.c: Likewise.
32054 * posix/regexec.c: Likewise.
32055 * posix/tst-rfc3484-2.c: Likewise.
32056 * posix/tst-rfc3484-3.c: Likewise.
32057 * posix/tst-rfc3484.c: Likewise.
32058 * resolv/nss_dns/dns-canon.c: Likewise.
32059 * resolv/nss_dns/dns-network.c: Likewise.
32060 * resolv/res_init.c: Likewise.
32061 * resolv/res_mkquery.c: Likewise.
32062 * resolv/tst-aton.c: Likewise.
32063 * stdlib/cxa_atexit.c: Likewise.
32064 * stdlib/cxa_finalize.c: Likewise.
32065 * stdlib/gen-fpioconst.c: Likewise.
32066 * stdlib/strtol_l.c: Likewise.
32067 * string/tst-endian.c: Likewise.
32068 * sunrpc/auth_des.c: Likewise.
32069 * sunrpc/clnt_udp.c: Likewise.
32070 * sunrpc/rtime.c: Likewise.
32071 * sunrpc/svcauth_des.c: Likewise.
32072 * sunrpc/xdr.c: Likewise.
32073 * sunrpc/xdr_intXX_t.c: Likewise.
32074 * sunrpc/xdr_rec.c: Likewise.
32075 * sysdeps/generic/ldconfig.h: Likewise.
32076 * sysdeps/generic/ldsodefs.h: Likewise.
32077 * sysdeps/generic/memusage.h: Likewise.
32078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32080 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32081 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32082 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32084 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32088 * sysdeps/posix/getaddrinfo.c: Likewise.
32089 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32090 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32091 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32092 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32093 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32094 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32095 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32096 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32097 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32098 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32099 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32100 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32101 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32102 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32103 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32104 * sysdeps/x86_64/dl-tls.h: Likewise.
32105 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32106 * time/alt_digit.c: Likewise.
32107 * time/era.c: Likewise.
32108 * wcsmbs/tst-c16c32-1.c: Likewise.
32109
32110 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32111
32112 * math/libm-test.inc (struct test_sincos_data): New type.
32113 (RUN_TEST_LOOP_sincos): New macro.
32114 (sincos_test_data): New variable.
32115 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32116
32117 2013-05-16 Richard Henderson <rth@redhat.com>
32118
32119 * math/atest-exp2.c (LIMB64): New macro.
32120 (CONSTSZ): New macro.
32121 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32122 (hexdig): Move ...
32123 (print_mpn_fp): ... to function scope.
32124 (read_mpn_hex): Remove.
32125 (get_log2): Remove.
32126 (exp2_mpn): Use mp_log2.
32127 (main): Use mp_exp1.
32128
32129 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32130
32131 * math/libm-test.inc: Remove comment about not testing "inexact"
32132 exceptions.
32133 (INEXACT_EXCEPTION): New macro.
32134 (NO_INEXACT_EXCEPTION): Likewise.
32135 (INVALID_EXCEPTION_OK): Update value.
32136 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32137 (OVERFLOW_EXCEPTION_OK): Likewise.
32138 (UNDERFLOW_EXCEPTION_OK): Likewise.
32139 (IGNORE_ZERO_INF_SIGN): Likewise.
32140 (ERRNO_UNCHANGED): Likewise.
32141 (ERRNO_EDOM): Likewise.
32142 (ERRNO_ERANGE): Likewise.
32143 (test_exceptions): Handle testing "inexact" exceptions.
32144 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32145 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32146 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32147 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32148 INEXACT_EXCEPTION.
32149 (rint_towardzero_test_data): Likewise.
32150 (rint_downward_test_data): Likewise.
32151 (rint_upward_test_data): Likewise.
32152
32153 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32154 with OVERFLOW_EXCEPTION.
32155 (exp10_test_data): Likewise.
32156 (exp2_test_data): Likewise.
32157 (expm1_test_data): Likewise.
32158 (lgamma_test_data): Likewise.
32159 (pow_test_data): Likewise.
32160 (tgamma_test_data): Likewise.
32161 (yn_test_data): Remove duplicate test of overflow.
32162
32163 * math/libm-test.inc (struct test_cc_c_data): New type.
32164 (RUN_TEST_LOOP_cc_c): New macro.
32165 (cpow_test_data): New variable.
32166 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32167
32168 * math/libm-test.inc (struct test_f_L_data): New type.
32169 (RUN_TEST_LOOP_f_L): New macro.
32170 (llrint_test_data): New variable.
32171 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32172 (llrint_tonearest_test_data): New variable.
32173 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32174 (llrint_towardzero_test_data): New variable.
32175 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32176 (llrint_downward_test_data): New variable.
32177 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32178 (llrint_upward_test_data): New variable.
32179 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32180 (llround_test_data): New variable.
32181 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32182
32183 2013-05-13 Peter Collingbourne <pcc@google.com>
32184
32185 * math/atest-exp2.c (get_log2): Remove const attribute.
32186
32187 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32188
32189 * math/libm-test.inc (struct test_f_l_data): New type.
32190 (RUN_TEST_LOOP_f_l): New macro.
32191 (lrint_test_data): New variable.
32192 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32193 (lrint_tonearest_test_data): New variable.
32194 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32195 (lrint_towardzero_test_data): New variable.
32196 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32197 (lrint_downward_test_data): New variable.
32198 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32199 (lrint_upward_test_data): New variable.
32200 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32201 (lround_test_data): New variable.
32202 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32203
32204 2013-05-15 Peter Collingbourne <pcc@google.com>
32205
32206 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32207 (EXTRACT_WORDS64) Use where appropriate.
32208 (INSERT_WORDS64) Likewise.
32209
32210 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32211 constraints with x constraints.
32212 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32213
32214 * malloc/obstack.c (_obstack_compat): Add initializer.
32215
32216 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32217
32218 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32219 si_trapno and add si_addr_lsb to _sifields.sigfault.
32220 (si_trapno): Remove macro.
32221 (si_addr_lsb): Define new macro.
32222 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32223
32224 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32225
32226 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32227 instead of TEST_f_l.
32228 (llrint_test_tonearest): Likewise.
32229 (llrint_test_towardzero): Likewise.
32230 (llrint_test_downward): Likewise.
32231 (llrint_test_upward): Likewise.
32232 (llround_test): Likewise.
32233
32234 * math/libm-test.inc (struct test_f_i_data): Add comment.
32235 (RUN_TEST_LOOP_f_b): New macro.
32236 (RUN_TEST_LOOP_f_b_tg): Likewise.
32237 (finite_test_data): New variable.
32238 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32239 (isfinite_test_data): New variable.
32240 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32241 (isinf_test_data): New variable.
32242 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32243 (isnan_test_data): New variable.
32244 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32245 (isnormal_test_data): New variable.
32246 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32247 (issignaling_test_data): New variable.
32248 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32249 (signbit_test_data): New variable.
32250 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32251
32252 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32253 with INVALID_EXCEPTION.
32254 (acosh_test_data): Likewise.
32255 (asin_test_data): Likewise.
32256 (atanh_test_data): Likewise.
32257 (fmod_test_data): Likewise.
32258 (log_test_data): Likewise.
32259 (log10_test_data): Likewise.
32260 (log2_test_data): Likewise.
32261 (pow_test_data): Likewise.
32262 (sqrt_test_data): Likewise.
32263 (y0_test_data): Likewise.
32264 (y1_test_data): Likewise.
32265 (yn_test_data): Likewise.
32266
32267 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32268 function contents.
32269
32270 * math/libm-test.inc (struct test_ff_i_data): New type.
32271 (RUN_TEST_LOOP_ff_i_tg): New macro.
32272 (isgreater_test_data): New variable.
32273 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32274 (isgreaterequal_test_data): New variable.
32275 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32276 (isless_test_data): New variable.
32277 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32278 (islessequal_test_data): New variable.
32279 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32280 (islessgreater_test_data): New variable.
32281 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32282 (isunordered_test_data): New variable.
32283 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32284
32285 2013-05-14 David S. Miller <davem@davemloft.net>
32286
32287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32288
32289 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32290
32291 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32292
32293 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32294 extra_test to int.
32295 (struct test_f_i_data): Change type of max_ulp to int.
32296
32297 * math/libm-test.inc (test_ffI_f1_data): New type.
32298 (RUN_TEST_LOOP_ffI_f1): New macro.
32299 (remquo_test_data): New variable.
32300 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32301
32302 * setjmp/tst-setjmp-fp.c: New file.
32303 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32304 (link-libm): New variable.
32305 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32306
32307 * math/libm-test.inc (struct test_f_i_data): New type.
32308 (RUN_TEST_LOOP_f_i): New macro.
32309 (RUN_TEST_LOOP_f_i_tg): Likewise.
32310 (fpclassify_test_data): New variable.
32311 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32312 (ilogb_test_data): New variable.
32313 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32314
32315 * math/libm-test.inc (scalbln_test): Correct function name in END
32316 call.
32317
32318 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32319 (RUN_TEST_LOOP_fI_f1): New macro.
32320 (frexp_test_data): New variable.
32321 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32322
32323 * math/libm-test.inc (struct test_fF_f1_data): New type.
32324 (RUN_TEST_LOOP_fF_f1): New macro.
32325 (modf_test_data): New variable.
32326 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32327
32328 * math/libm-test.inc (struct test_f_f1_data): New type.
32329 (RUN_TEST_LOOP_f_f1): New macro.
32330 (gamma_test_data): New variable.
32331 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32332 (lgamma_test_data): New variable.
32333 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32334
32335 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32336
32337 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32338 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32339 (main): Comment "tls" pseudo-hwcap.
32340
32341 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32342
32343 * math/libm-test.inc (struct test_fl_f_data): New type.
32344 (RUN_TEST_LOOP_fl_f): New variable.
32345 (scalbln_test_data): New variable.
32346 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32347
32348 * math/libm-test.inc (struct test_fi_f_data): New type.
32349 (RUN_TEST_LOOP_fi_f): New macro.
32350 (ldexp_test_data): New variable.
32351 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32352 (scalbn_test_data): New variable.
32353 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32354
32355 * math/libm-test.inc (struct test_c_f_data): New type.
32356 (RUN_TEST_LOOP_c_f): New macro.
32357 (cabs_test_data): New variable.
32358 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32359 (carg_test_data): New variable.
32360 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32361 (cimag_test_data): New variable.
32362 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32363 (creal_test_data): New variable.
32364 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32365
32366 * math/libm-test.inc (struct test_if_f_data): New type.
32367 (RUN_TEST_LOOP_if_f): New macro.
32368 (jn_test_data): New variable.
32369 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32370 (yn_test_data): New variable.
32371 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32372
32373 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32374
32375 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32376
32377 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32378 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32379
32380 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32381
32382 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32383 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32384 (bench-deps): Add bench-timing.h.
32385 * benchtests-bench-skeleton.c: Include bench-timing.h.
32386 (main): Use TIMING_* macros instead of clock_gettime.
32387 * benchtests/bench-timing.h: New file.
32388
32389 [BZ #14582]
32390 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32391 Renamed from _LIB_VERSION.
32392 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32393
32394 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32395
32396 * math/libm-test.inc (struct test_fff_f_data): New type.
32397 (RUN_TEST_LOOP_fff_f): New macro.
32398 (fma_test_data): New variable.
32399 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32400 (fma_towardzero_test_data): New variable.
32401 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32402 (fma_downward_test_data): New variable.
32403 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32404 (fma_upward_test_data): New variable.
32405 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32406
32407 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32408 (struct test_c_c_data): New type.
32409 (RUN_TEST_LOOP_c_c): New macro.
32410 (cacos_test_data): New variable.
32411 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32412 (cacosh_test_data): New variable.
32413 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32414 (casin_test_data): New variable.
32415 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32416 (casinh_test_data): New variable.
32417 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32418 (catan_test_data): New variable.
32419 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32420 (catanh_test_data): New variable.
32421 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32422 (ccos_test_data): New variable.
32423 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32424 (ccosh_test_data): New variable.
32425 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32426 (cexp_test_data): New variable.
32427 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32428 (clog_test_data): New variable.
32429 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32430 (clog10_test_data): New variable.
32431 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32432 (conj_test_data): New variable.
32433 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32434 (cproj_test_data): New variable.
32435 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32436 (csin_test_data): New variable.
32437 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32438 (csinh_test_data): New variable.
32439 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32440 (csqrt_test_data): New variable.
32441 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32442 (ctan_test_data): New variable.
32443 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32444 (ctan_tonearest_test_data): New variable.
32445 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32446 (ctan_towardzero_test_data): New variable.
32447 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32448 (ctan_downward_test_data): New variable.
32449 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32450 (ctan_upward_test_data): New variable.
32451 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32452 (ctanh_test_data): New variable.
32453 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32454 (ctanh_tonearest_test_data): New variable.
32455 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32456 (ctanh_towardzero_test_data): New variable.
32457 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32458 (ctanh_downward_test_data): New variable.
32459 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32460 (ctanh_upward_test_data): New variable.
32461 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32462 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32463 of BUILD_COMPLEX.
32464
32465 * math/libm-test.inc (struct test_ff_f_data): New type.
32466 (struct test_ff_f_data_nexttoward): Likewise.
32467 (RUN_TEST_LOOP_2_f): New macro.
32468 (RUN_TEST_LOOP_ff_f): Likewise.
32469 (atan2_test_data): New variable.
32470 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32471 (copysign_test_data): New variable.
32472 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32473 (fdim_test_data): New variable.
32474 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32475 (fmax_test_data): New variable.
32476 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32477 (fmin_test_data): New variable.
32478 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32479 (fmod_test_data): New variable.
32480 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32481 (hypot_test_data): New variable.
32482 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32483 (nextafter_test_data): New variable.
32484 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32485 (nexttoward_test_data): New variable.
32486 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32487 (pow_test_data): New variable.
32488 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32489 (pow_tonearest_test_data): New variable.
32490 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32491 (pow_towardzero_test_data): New variable.
32492 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32493 (pow_downward_test_data): New variable.
32494 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32495 (pow_upward_test_data): New variable.
32496 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32497 (remainder_test_data): New variable.
32498 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32499 (scalb_test_data): New variable.
32500 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32501 * sysdeps/i386/fpu/libm-test-ulps: Update.
32502
32503 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32504
32505 * math/libm-test.inc (fma_test): Use max_value instead of local
32506 variable fltmax.
32507 (nextafter_test): Likewise.
32508
32509 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32510 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32511 (acos_downward_test_data): New variable.
32512 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32513 (acos_upward_test_data): New variable.
32514 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32515 (acosh_test_data): New variable.
32516 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32517 (asin_test_data): New variable.
32518 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32519 (asin_tonearest_test_data): New variable.
32520 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32521 (asin_towardzero_test_data): New variable.
32522 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32523 (asin_downward_test_data): New variable.
32524 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32525 (asin_upward_test_data): New variable.
32526 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32527 (asinh_test_data): New variable.
32528 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32529 (atan_test_data): New variable.
32530 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32531 (atanh_test_data): New variable.
32532 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32533 (cbrt_test_data): New variable.
32534 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32535 (ceil_test_data): New variable.
32536 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32537 (cos_test_data): New variable.
32538 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32539 (cos_tonearest_test_data): New variable.
32540 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32541 (cos_towardzero_test_data): New variable.
32542 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32543 (cos_downward_test_data): New variable.
32544 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32545 (cos_upward_test_data): New variable.
32546 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32547 (cosh_test_data): New variable.
32548 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32549 (cosh_tonearest_test_data): New variable.
32550 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32551 (cosh_towardzero_test_data): New variable.
32552 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32553 (cosh_downward_test_data): New variable.
32554 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32555 (cosh_upward_test_data): New variable.
32556 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32557 (erf_test_data): New variable.
32558 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32559 (erfc_test_data): New variable.
32560 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32561 (exp_test_data): New variable.
32562 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32563 (exp_tonearest_test_data): New variable.
32564 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32565 (exp_towardzero_test_data): New variable.
32566 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32567 (exp_downward_test_data): New variable.
32568 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32569 (exp_upward_test_data): New variable.
32570 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32571 (exp10_test_data): New variable.
32572 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32573 (exp2_test_data): New variable.
32574 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32575 (expm1_test_data): New variable.
32576 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32577 (fabs_test_data): New variable.
32578 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32579 (floor_test_data): New variable.
32580 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32581 (j0_test_data): New variable.
32582 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32583 (j1_test_data): New variable.
32584 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32585 (log_test_data): New variable.
32586 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32587 (log10_test_data): New variable.
32588 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32589 (log1p_test_data): New variable.
32590 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32591 (log2_test_data): New variable.
32592 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32593 (logb_test_data): New variable.
32594 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32595 (logb_downward_test_data): New variable.
32596 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32597 (nearbyint_test_data): New variable.
32598 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32599 (rint_test_data): New variable.
32600 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32601 (rint_tonearest_test_data): New variable.
32602 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32603 (rint_towardzero_test_data): New variable.
32604 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32605 (rint_downward_test_data): New variable.
32606 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32607 (rint_upward_test_data): New variable.
32608 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32609 (round_test_data): New variable.
32610 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32611 (sin_test_data): New variable.
32612 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32613 (sin_tonearest_test_data): New variable.
32614 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32615 (sin_towardzero_test_data): New variable.
32616 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32617 (sin_downward_test_data): New variable.
32618 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32619 (sin_upward_test_data): New variable.
32620 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32621 (sinh_test_data): New variable.
32622 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32623 (sinh_tonearest_test_data): New variable.
32624 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32625 (sinh_towardzero_test_data): New variable.
32626 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32627 (sinh_downward_test_data): New variable.
32628 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32629 (sinh_upward_test_data): New variable.
32630 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32631 (sqrt_test_data): New variable.
32632 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32633 (tan_test_data): New variable.
32634 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32635 (tan_tonearest_test_data): New variable.
32636 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32637 (tan_towardzero_test_data): New variable.
32638 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32639 (tan_downward_test_data): New variable.
32640 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32641 (tan_upward_test_data): New variable.
32642 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32643 (tanh_test_data): New variable.
32644 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32645 (tgamma_test_data): New variable.
32646 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32647 (trunc_test_data): New variable.
32648 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32649 (y0_test_data): New variable.
32650 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32651 (y1_test_data): New variable.
32652 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32653 (significand_test_data): New variable.
32654 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32655
32656 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32657
32658 [BZ #12387]
32659 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32660
32661 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32662
32663 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32664
32665 2013-05-10 Andreas Jaeger <aj@suse.de>
32666
32667 [BZ #15448]
32668 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32669 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32670
32671 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32672
32673 * math/gen-libm-test.pl (adjust_arg): New function.
32674 (special_functions): Handle generating output in both functions
32675 and arrays.
32676 (parse_args): Likewise.
32677 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
32678 $in_func argument to parse_args.
32679 * math/libm-test.inc (struct test_f_f_data): New type.
32680 (IF_ROUND_INIT_): New macro.
32681 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32682 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32683 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32684 (IF_ROUND_INIT_FE_UPWARD): Likewise.
32685 (ROUND_RESTORE_): Likewise.
32686 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32687 (ROUND_RESTORE_FE_TONEAREST): Likewise.
32688 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32689 (ROUND_RESTORE_FE_UPWARD): Likewise.
32690 (RUN_TEST_LOOP_f_f): New macro.
32691 (acos_test_data): New variable.
32692 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32693 (acos_tonearest_test_data): New variable.
32694 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32695
32696 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32697
32698 * benchtests/bench-skeleton.c (startup): Fix coding style.
32699
32700 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32701
32702 [BZ #6809]
32703 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32704 negative infinity argument.
32705 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32706 negative infinity argument.
32707 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32708 negative infinity argument.
32709 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32710 domain errors.
32711
32712 2013-05-10 Florian Weimer <fweimer@redhat.com>
32713
32714 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32715 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32716 * iconv/iconv_prog.c (main): Likewise.
32717 * locale/programs/charmap-dir.c (charmap_readdir)
32718 (fopen_uncompressed): Likewise.
32719 * locale/programs/locfile.c (siblings_uncached)
32720 (write_locale_data): Use lstat64 instead of lstat.
32721 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32722 stat.
32723
32724 2013-05-10 Andreas Jaeger <aj@suse.de>
32725
32726 [BZ #15395]
32727 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32728 localization.
32729 Include <locale.h>.
32730
32731 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32732
32733 * elf/dl-close.c (_dl_close_worker): Add comments.
32734
32735 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32736
32737 [BZ #15359]
32738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32739 high part of pi/2.
32740 (__ieee754_rem_pio2l): Update comments.
32741
32742 [BZ #15429]
32743 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32744 high part of pi/2.
32745 (__ieee754_rem_pio2l): Update comments.
32746
32747 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32748 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32749
32750 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32751 M_PI_4l.
32752
32753 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32754 (M_PI_34_LOG10El): Likewise.
32755 (M_PI2_LOG10El): Likewise.
32756 (M_PI4_LOG10El): Likewise.
32757 (M_PI_LOG10El): Likewise.
32758
32759 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32760
32761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32762
32763 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32764
32765 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32766 (MINUS_ZERO_INIT): Likewise.
32767 (PLUS_INFTY_INIT): Likewise.
32768 (MINUS_INFTY_INIT): Likewise.
32769 (QNAN_VALUE_INIT): Likewise.
32770 (MAX_VALUE_INIT): Likewise.
32771 (MIN_VALUE_INIT): Likewise.
32772 (MIN_SUBNORM_VALUE_INIT): Likewise.
32773 (plus_zero): Initialize with PLUS_ZERO_INIT.
32774 (minus_zero): Initialize with MINUS_ZERO_INIT.
32775 (plus_infty): Initialize with PLUS_INFTY_INIT.
32776 (minus_infty): Initialize with MINUS_INFTY_INIT.
32777 (qnan_value): Initialize with QNAN_VALUE_INIT.
32778 (max_value): Initialize with MAX_VALUE_INIT.
32779 (min_value): Initialize with MIN_VALUE_INIT.
32780 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32781
32782 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32783 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32784 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32785 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32786
32787 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32788 (RUN_TEST_2_f): Likewise.
32789 (RUN_TEST_ff_f): Likewise.
32790 (RUN_TEST_fi_f): Likewise.
32791 (RUN_TEST_fl_f): Likewise.
32792 (RUN_TEST_fff_f): Likewise.
32793 (RUN_TEST_c_f): Likewise.
32794 (RUN_TEST_f_f1): Likewise.
32795 (RUN_TEST_fF_f1): Likewise.
32796 (RUN_TEST_fI_f1): Likewise.
32797 (RUN_TEST_ffI_f1): Likewise.
32798 (RUN_TEST_c_c): Likewise.
32799 (RUN_TEST_cc_c): Likewise.
32800 (RUN_TEST_f_i): Likewise.
32801 (RUN_TEST_f_i_tg): Likewise.
32802 (RUN_TEST_ff_i_tg): Likewise.
32803 (RUN_TEST_f_b): Likewise.
32804 (RUN_TEST_f_b_tg): Likewise.
32805 (RUN_TEST_f_l): Likewise.
32806 (RUN_TEST_f_L): Likewise.
32807 (RUN_TEST_sincos): Likewise.
32808 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32809 whether to show exceptions. Do not include ");\n" in return
32810 value.
32811 (special_functions): Output call to RUN_TEST_sincos instead of
32812 check_float calls. Update calls to new_test.
32813 (parse_args): Output call to single RUN_TEST_* macro instead of
32814 check_* calls and other assignments. Update calls to new_test.
32815
32816 [BZ #2546]
32817 [BZ #2560]
32818 [BZ #5159]
32819 [BZ #15426]
32820 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32821 input to result for tgamma overflow.
32822 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32823 (gamma_coeff): New variable.
32824 (NCOEFF): New macro.
32825 (gamma_positive): New function.
32826 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32827 underflow here. Use gamma_positive instead of exp (lgamma) for
32828 other arguments.
32829 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32830 (gamma_coeff): New variable.
32831 (NCOEFF): New macro.
32832 (gammaf_positive): New function.
32833 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32834 underflow here. Use gamma_positive instead of exp (lgamma) for
32835 other arguments.
32836 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32837 (gamma_coeff): New variable.
32838 (NCOEFF): New macro.
32839 (gammal_positive): New function.
32840 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32841 underflow here. Use gamma_positive instead of exp (lgamma) for
32842 other arguments.
32843 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32844 (gamma_coeff): New variable.
32845 (NCOEFF): New macro.
32846 (gammal_positive): New function.
32847 (__ieee754_gammal_r): Handle positive infinity, overflow and
32848 underflow here. Handle NaN the same as positive infinity. Remove
32849 check x < 0xffffffff for negative integers. Use gamma_positive
32850 instead of exp (lgamma) for other arguments.
32851 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32852 (gamma_coeff): New variable.
32853 (NCOEFF): New macro.
32854 (gammal_positive): New function.
32855 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32856 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32857 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32858 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32859 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32860 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32861 * sysdeps/generic/math_private.h (__gamma_productf): New
32862 prototype.
32863 (__gamma_product): Likewise.
32864 (__gamma_productl): Likewise.
32865 * math/Makefile (libm-calls): Add gamma_product.
32866 * math/libm-test.inc (tgamma_test): Add more tests.
32867 * sysdeps/i386/fpu/libm-test-ulps: Update.
32868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32869
32870 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32871
32872 * benchtests/bench-skeleton.c (main): Preheat CPU.
32873
32874 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32875
32876 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32877
32878 2013-05-07 Roland McGrath <roland@hack.frob.com>
32879
32880 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32881 and _dl_skip_args_internal.
32882
32883 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32884
32885 * manual/message.texi (Message Translation): Talk about users.
32886 Message to key mapping impacts design.
32887
32888 2013-05-06 Roland McGrath <roland@hack.frob.com>
32889
32890 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32891
32892 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32893
32894 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32895 * sysdeps/wordsize-64/glob64.c: ... here.
32896
32897 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32898 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32899 New macros.
32900
32901 * debug/getlogin_r_chk.c: Moved to ...
32902 * login/getlogin_r_chk.c: ... here.
32903 * debug/Makefile (routines): Move getlogin_r_chk to ...
32904 * login/Makefile (routines): ... here.
32905 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32906 * login/Versions (libc: GLIBC_2.4): ... here.
32907
32908 * io/poll.c (__poll): Renamed from poll.
32909 Add libc_hidden_def.
32910 (poll): Define as weak alias.
32911
32912 * debug/ptsname_r_chk.c: Moved to ...
32913 * login/ptsname_r_chk.c: ... here.
32914 * debug/Makefile (routines): Move ptsname_r_chk to ...
32915 * login/Makefile (routines): ... here.
32916 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32917 * login/Versions (libc: GLIBC_2.4): ... here.
32918
32919 * posix/getlogin.c: Moved to ...
32920 * login/getlogin.c: ... here.
32921 * posix/getlogin_r.c: Moved to ...
32922 * login/getlogin_r.c: ... here.
32923 * posix/getlogin_r.c: Moved to ...
32924 * login/getlogin_r.c: ... here.
32925 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32926 * login/Makefile (routines): ... here.
32927 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32928 * login/Versions (libc: GLIBC_2.0): ... here.
32929
32930 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32931 (setrlimit): Define as weak alias.
32932
32933 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32934 Call __ names for open, ftruncate, and close.
32935 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32936 (truncate): Define as weak alias.
32937
32938 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32939
32940 * math/gen-libm-test.pl (parse_args): Initialize x before each
32941 test of frexp, modf and remquo.
32942
32943 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32944 test signgam value.
32945
32946 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32947
32948 [BZ #15418]
32949 [BZ #15419]
32950 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32951 internal tests.
32952 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32953
32954 2013-05-06 Roland McGrath <roland@hack.frob.com>
32955
32956 * elf/dl-writev.h: New file.
32957 * elf/dl-misc.c: Include it.
32958 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32959 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32960
32961 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32962
32963 * math/libm-test.inc (noXFails): Remove variable.
32964 (noXPasses): Likewise.
32965 (BUILD_COMPLEX_INT): Remove macro.
32966 (print_screen): Remove xfail argument.
32967 (print_screen_max_error): Likewise.
32968 (update_stats): Likewise.
32969 (print_max_error): Likewise. Update calls to other affected
32970 functions.
32971 (print_complex_max_error): Likewise.
32972 (test_single_exception): Update calls to print_screen.
32973 (test_single_errno): Likewise.
32974 (check_float_internal): Remove xfail argument. Update calls to
32975 other affected functions.
32976 (check_float): Likewise.
32977 (check_complex): Likewise.
32978 (check_int): Likewise.
32979 (check_long): Likewise.
32980 (check_bool): Likewise.
32981 (check_longlong): Likewise.
32982 (main): Don't print noXFails and noXPasses.
32983 * math/gen-libm-test.pl (top level): Don't mention expected
32984 failure handling in comment.
32985 (new_test): Don't handle expected failures.
32986 (parse_args): Don't mention expected failure handling in comment.
32987 (generate_testfile): Don't handle expected failures.
32988 (parse_ulps): Likewise.
32989 (print_ulps_file): Likewise.
32990 (get_failure): Remove function.
32991 (output_test): Don't handle expected failures.
32992 * make/README.libm-test: Don't mention expected failure handling.
32993
32994 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32995 (minus_zero): Likewise.
32996 (plus_infty): Likewise.
32997 (minus_infty): Likewise.
32998 (qnan_value): Likewise.
32999 (max_value): Likewise.
33000 (min_value): Likewise.
33001 (min_subnorm_value): Likewise.
33002 (initialize): Do not initialize those variables dynamically.
33003
33004 2013-05-03 Roland McGrath <roland@hack.frob.com>
33005
33006 * io/open.c (__open_2): Moved to ...
33007 * io/open_2.c: ... this new file.
33008 * io/open64.c (__open64_2): Moved to ...
33009 * io/open64_2.c: ... this new file.
33010 * io/openat.c (__openat_2): Moved to ...
33011 * io/openat_2.c: ... this new file.
33012 * io/openat64.c (__openat64_2): Moved to ...
33013 * io/openat64_2.c: ... this new file.
33014 * io/Makefile (routines): Add them.
33015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33016 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33017 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33018 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33019 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33020 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33021 (__openat64): Add hidden_ver.
33022 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33023 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33024
33025 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33026 Separately conditionalize setting of GLRO(dl_sysinfo) so
33027 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33028 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33029
33030 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33031
33032 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33033 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33034 definition.
33035 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33036 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33037 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33038 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33039 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33040
33041 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33042
33043 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33044 test signgam value.
33045
33046 * math/libm-test.inc (hypot_test): Do not use
33047 IGNORE_ZERO_INF_SIGN.
33048
33049 2013-05-03 Andreas Jaeger <aj@suse.de>
33050
33051 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33052 Linux 3.9.
33053 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33054 (PF_MAX): Adjust for VSOCK change.
33055
33056 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33057
33058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33059
33060 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33061
33062 [BZ #15264]
33063 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33064 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33065 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33066
33067 2013-05-02 David S. Miller <davem@davemloft.net>
33068
33069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33070
33071 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33072
33073 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33074
33075 2013-05-01 Roland McGrath <roland@hack.frob.com>
33076
33077 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33078
33079 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33080
33081 [BZ #14952]
33082 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33083 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33084 Use __attribute__ ((__gnu_inline__)).
33085 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33086 Don't use __attribute__ ((__gnu_inline__)).
33087
33088 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33089
33090 [BZ #15423]
33091 * math/s_catan.c (__catan): Handle small real or imaginary part of
33092 input specially to avoid spurious underflow.
33093 * math/s_catanf.c (__catanf): Likewise.
33094 * math/s_catanh.c (__catanh): Likewise.
33095 * math/s_catanhf.c (__catanhf): Likewise.
33096 * math/s_catanhl.c (__catanhl): Likewise.
33097 * math/s_catanl.c (__catanl): Likewise.
33098 * math/libm-test.inc (catan_test): Add more tests.
33099 (catanh_test): Likewise.
33100 * sysdeps/i386/fpu/libm-test-ulps: Update.
33101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33102
33103 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33104
33105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33106
33107 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33108
33109 [BZ #15416]
33110 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33111 accurately for denominator in atan2.
33112 * math/s_catanf.c (__catanf): Likewise.
33113 * math/s_catanh.c (__catanh): Likewise.
33114 * math/s_catanhf.c (__catanhf): Likewise.
33115 * math/s_catanhl.c (__catanhl): Likewise.
33116 * math/s_catanl.c (__catanl): Likewise.
33117 * math/libm-test.inc (catan_test): Add more tests.
33118 (catanh_test): Likewise.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33121
33122 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33123
33124 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33125
33126 * benchtests/Makefile (bench): Remove slow benchmarks.
33127 * benchtests/atan-inputs: Add slow benchmark inputs.
33128 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33129 (BENCH_FUNC): Accept variant offset.
33130 (VARIANT): Define.
33131 * benchtests/bench-skeleton.c (main): Run benchmark for each
33132 variant.
33133 * benchtests/cos-inputs: Add slow benchmark inputs.
33134 * benchtests/exp-inputs: Likewise.
33135 * benchtests/pow-inputs: Likewise.
33136 * benchtests/sin-inputs: Likewise.
33137 * benchtests/slowatan-inputs: Remove.
33138 * benchtests/slowatan.c: Remove.
33139 * benchtests/slowcos-inputs: Remove.
33140 * benchtests/slowcos.c: Remove.
33141 * benchtests/slowexp-inputs: Remove.
33142 * benchtests/slowexp.c: Remove.
33143 * benchtests/slowpow-inputs: Remove.
33144 * benchtests/slowpow.c: Remove.
33145 * benchtests/slowsin-inputs: Remove.
33146 * benchtests/slowsin.c: Remove.
33147 * benchtests/slowtan-inputs: Remove.
33148 * benchtests/slowtan.c: Remove.
33149 * benchtests/tan-inputs: Add slow benchmark inputs.
33150 * scripts/bench.pl: Parse comments and directives.
33151
33152 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33153 in CPPFLAGS.
33154 ($(objpfx)bench-%.c): Remove *-ITER.
33155 * benchtests/bench-modf.c: Remove definition of ITER.
33156 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33157 (main): Loop for DURATION seconds instead of fixed number of
33158 iterations.
33159 * scripts/bench.pl: Don't expect iterations in parameters.
33160
33161 2013-04-29 Roland McGrath <roland@hack.frob.com>
33162
33163 * io/fchdir.c (__fchdir): Renamed from fchdir.
33164 (fchdir): Define as weak alias.
33165
33166 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33167
33168 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33169 (ERRNO_EDOM): Likewise.
33170 (ERRNO_ERANGE): Likewise.
33171 (noErrnoTests): New variable.
33172 (init_max_error): Set errno to 0.
33173 (test_single_errno): New function.
33174 (test_errno): Likewise.
33175 (check_float_internal): Call test_errno. Set errno to 0.
33176 (check_complex): Refer to errno tests in comment.
33177 (check_int): Call test_errno. Set errno to 0.
33178 (check_long): Likewise.
33179 (check_bool): Likewise.
33180 (check_longlong): Likewise.
33181 (cos_test): Use ERRNO_* flags for errno tests instead of
33182 check_int.
33183 (expm1_test): Likewise.
33184 (fmod_test): Likewise.
33185 (ilogb_test): Likewise.
33186 (lgamma_test): Likewise.
33187 (pow_test): Likewise.
33188 (remainder_test): Likewise.
33189 (sin_test): Likewise.
33190 (tan_test): Likewise.
33191 (yn_test): Likewise.
33192 (initialize): Set errno to 0.
33193 (main): Print number of errno tests.
33194 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33195
33196 2013-04-29 Andreas Jaeger <aj@suse.de>
33197
33198 [BZ #15084]
33199 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33200 and RES_USEVC.
33201
33202 [BZ #15085]
33203 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33204 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33205 unimplemented.
33206
33207 [BZ #15380]
33208 * stdlib/random.c (__initstate): Return NULL if
33209 __initstate fails.
33210
33211 [BZ #15086]
33212 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33213 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33214 RES_SNGLKUPREOP.
33215
33216 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33217
33218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33219
33220 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33221
33222 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33223 of individual tests.
33224 (casin_test): Likewise.
33225 (casinh_test): Likewise.
33226
33227 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33228
33229 [BZ #15409]
33230 * math/s_catan.c (__catan): Handle arguments with large real or
33231 imaginary part separately without squaring.
33232 * math/s_catanf.c (__catanf): Likewise.
33233 * math/s_catanh.c (__catanh): Likewise.
33234 * math/s_catanhf.c (__catanhf): Likewise.
33235 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33236 and redefine.
33237 (__catanhl): Handle arguments with large real or imaginary part
33238 separately without squaring.
33239 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33240 and redefine.
33241 (__catanl): Handle arguments with large real or imaginary part
33242 separately without squaring.
33243 * math/libm-test.inc (catan_test): Add more tests.
33244 (catanh_test): Likewise.
33245 * sysdeps/i386/fpu/libm-test-ulps: Update.
33246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33247
33248 2013-04-27 Andreas Jaeger <aj@suse.de>
33249
33250 [BZ #15007]
33251 * stdlib/stdlib.h: Update guards for qecvt.
33252 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33253 <stdlib.h>.
33254
33255 2013-04-27 Allan McRae <allan@archlinux.org>
33256
33257 * sysdeps/i386/fpu/libm-test-ulps: Update.
33258
33259 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33260
33261 [BZ #15406]
33262 * math/s_catan.c: Include <float.h>.
33263 (__catan): Ensure underflow exception occurs for underflowed
33264 result.
33265 * math/s_catanf.c: Include <float.h>.
33266 (__catanf): Ensure underflow exception occurs for underflowed
33267 result.
33268 * math/s_catanh.c: Include <float.h>.
33269 (__catanh): Ensure underflow exception occurs for underflowed
33270 result.
33271 * math/s_catanhf.c: Include <float.h>.
33272 (__catanhf): Ensure underflow exception occurs for underflowed
33273 result.
33274 * math/s_catanhl.c: Include <float.h>.
33275 (__catanhl): Ensure underflow exception occurs for underflowed
33276 result.
33277 * math/s_catanl.c: Include <float.h>.
33278 (__catanl): Ensure underflow exception occurs for underflowed
33279 result.
33280 * math/libm-test.inc (catan_test): Add more tests.
33281 (catanh_test): Likewise.
33282
33283 [BZ #15405]
33284 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33285 underflowed result.
33286 * math/s_ccoshf.c (__ccoshf): Likewise.
33287 * math/s_ccoshl.c (__ccoshl): Likewise.
33288 * math/s_csin.c (__csin): Likewise.
33289 * math/s_csinf.c (__csinf): Likewise.
33290 * math/s_csinh.c (__csinh): Likewise.
33291 * math/s_csinhf.c (__csinhf): Likewise.
33292 * math/s_csinhl.c (__csinhl): Likewise.
33293 * math/s_csinl.c (__csinl): Likewise.
33294 * math/libm-test.inc (ccos_test): Add more tests.
33295 (ccosh_test): Likewise.
33296 (csin_test): Likewise.
33297 (csinh_test): Likewise.
33298
33299 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33300
33301 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33302 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33303 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33304 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33305 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33306 powerpc/power5+/fpu folders.
33307 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33308
33309
33310 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33311
33312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33313
33314 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33315
33316 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33317 additions to variable.
33318 [$(config-machine) = x86_64] (modules-names): Likewise.
33319 ($(objpfx)tst-audit3): Remove dependency.
33320 ($(objpfx)tst-audit3.out): Likewise.
33321 ($(objpfx)tst-audit4): Likewise.
33322 ($(objpfx)tst-audit4.out): Likewise.
33323 ($(objpfx)tst-audit5): Likewise.
33324 ($(objpfx)tst-audit5.out): Likewise.
33325 ($(objpfx)tst-audit6): Likewise.
33326 ($(objpfx)tst-audit6.out): Likewise.
33327 ($(objpfx)tst-audit7): Likewise.
33328 ($(objpfx)tst-audit7.out): Likewise.
33329 (tst-audit3-ENV): Remove variable.
33330 (tst-audit4-ENV): Likewise.
33331 (tst-audit5-ENV): Likewise.
33332 (tst-audit6-ENV): Likewise.
33333 (tst-audit7-ENV): Likewise.
33334 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33335 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33336 addition to variable.
33337 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33338 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33342 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33343 tst-audit3, tst-audit4 and tst-audit5.
33344 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33345 tst-audit6 and tst-audit7.
33346 [$(subdir) = elf] (modules-names): Add audit modules for those
33347 tests.
33348 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33349 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33350 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33351 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33352 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33353 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33354 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33355 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33356 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33357 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33358 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33359 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33360 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33361 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33362 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33363 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33364 Likewise.
33365 [$(subdir) = elf && $(config-cflags-avx) = yes]
33366 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33367 [$(subdir) = elf && $(config-cflags-avx) = yes]
33368 (CFLAGS-tst-auditmod4a.c): Likewise.
33369 [$(subdir) = elf && $(config-cflags-avx) = yes]
33370 (CFLAGS-tst-auditmod4b.c): Likewise.
33371 [$(subdir) = elf && $(config-cflags-avx) = yes]
33372 (CFLAGS-tst-auditmod6b.c): Likewise.
33373 [$(subdir) = elf && $(config-cflags-avx) = yes]
33374 (CFLAGS-tst-auditmod6c.c): Likewise.
33375 [$(subdir) = elf && $(config-cflags-avx) = yes]
33376 (CFLAGS-tst-auditmod7b.c): Likewise.
33377 * elf/tst-audit3.c: Move to ...
33378 * sysdeps/x86_64/tst-audit3.c: ... here.
33379 * elf/tst-audit4.c: Move to ...
33380 * sysdeps/x86_64/tst-audit4.c: ... here.
33381 * elf/tst-audit5.c: Move to ...
33382 * sysdeps/x86_64/tst-audit5.c: ... here.
33383 * elf/tst-audit6.c: Move to ...
33384 * sysdeps/x86_64/tst-audit6.c: ... here.
33385 * elf/tst-audit7.c: Move to ...
33386 * sysdeps/x86_64/tst-audit7.c: ... here.
33387 * elf/tst-auditmod3a.c: Move to ...
33388 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33389 * elf/tst-auditmod3b.c: Move to ...
33390 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33391 * elf/tst-auditmod4a.c: Move to ...
33392 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33393 * elf/tst-auditmod4b.c: Move to ...
33394 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33395 * elf/tst-auditmod5a.c: Move to ...
33396 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33397 * elf/tst-auditmod5b.c: Move to ...
33398 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33399 * elf/tst-auditmod6a.c: Move to ...
33400 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33401 * elf/tst-auditmod6b.c: Move to ...
33402 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33403 * elf/tst-auditmod6c.c: Move to ...
33404 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33405 * elf/tst-auditmod7a.c: Move to ...
33406 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33407 * elf/tst-auditmod7b.c: Move to ...
33408 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33409
33410 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33411
33412 [BZ #15366]
33413 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33414 define unconditionally.
33415 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33416 define unconditionally.
33417 (INT8_C, INT16_C, etc.): Likewise.
33418
33419 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33420
33421 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33422 __ehdr_start with hidden visibility.
33423
33424 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33425
33426 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33427
33428 * math/libm-test.inc (cos_test): Use accurate hex constants.
33429 (sincost_test): Likewise.
33430
33431 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33432
33433 * math/libm-test.inc (catan_test): Add more tests.
33434 (catanh_test): Likewise.
33435
33436 * math/s_catanf.c (__catanf): Use suffixed floating-point
33437 constants.
33438 * math/s_catanhf.c (__catanhf): Likewise.
33439 * math/s_catanhl.c (__catanhl): Likewise.
33440 * math/s_catanl.c (__catanl): Likewise.
33441
33442 [BZ #15394]
33443 * math/s_catan.c (__catan): Calculate imaginary part of result
33444 with log1p not log unless computing log of number close to 0.
33445 * math/s_catanf.c (__catanf): Likewise.
33446 * math/s_catanl.c (__catanl): Likewise.
33447 * math/s_catanh.c (__catanh): Calculate real part of result with
33448 log1p not log unless computing log of number close to 0.
33449 * math/s_catanhf.c (__catanhf): Likewise.
33450 * math/s_catanhl.c (__catanhl): Likewise.
33451 * math/libm-test.inc (catan_test): Add more tests.
33452 (catanh_test): Likewise.
33453 * sysdeps/i386/fpu/libm-test-ulps: Update.
33454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33455
33456 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33457
33458 * benchtests/Makefile: Mention files in which fast and slow
33459 paths of math functions are implemented.
33460
33461 2013-04-23 Roland McGrath <roland@hack.frob.com>
33462
33463 * sysdeps/posix/timespec_get.c: New file.
33464
33465 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33466
33467 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33468 POWER.
33469 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33470 for POWER.
33471 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33472 powerpc/power5/fpu folders.
33473 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33474 * benchtests/Makefile: Add modf testcase.
33475 * benchtests/bench-modf.c: New file: Benchmark test for mo
33476
33477 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33478
33479 [BZ #14888]
33480 * time/Makefile (tests): Add tst-strptime-whitespace.
33481 * time/strptime_l.c (get_number): Use ISSPACE.
33482 (__strptime_internal): Likewise.
33483 * time/tst-strptime-whitespace.c: New test case.
33484
33485 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33486
33487 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33488 member.
33489 (_nss_files_init): Set it here.
33490
33491 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33492
33493 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33494 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33495 unsigned.
33496
33497 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33498
33499 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33500
33501 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33502
33503 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33504 size just once.
33505
33506 2013-04-21 David S. Miller <davem@davemloft.net>
33507
33508 * po/ru.po: Update Russion translation from translation project.
33509
33510 2013-04-17 Adam Conrad <adconrad@0c3.net>
33511
33512 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33513 and setfsgid.
33514
33515 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33516
33517 * configure.in: Remove i386 configure warning. Remove i386 case.
33518 * configure: Regenerate.
33519 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33520 Add example to error message.
33521 * sysdeps/i386/configure: Regenerate.
33522
33523 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33524
33525 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33526 slowtan.
33527 * benchtests/cos-inputs: New file.
33528 * benchtests/slowcos-inputs: New file.
33529 * benchtests/slowcos.c: New file.
33530 * benchtests/slowtan-inputs: New file.
33531 * benchtests/slowtan.c: New file.
33532 * benchtests/tan-inputs: New file.
33533
33534 2013-04-16 Roland McGrath <roland@hack.frob.com>
33535
33536 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33537 considered kosher.
33538
33539 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33540
33541 * benchtests/Makefile: Include cppflags-iterator.mk to add
33542 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33543
33544 * Makefile.in (bench-clean): New target.
33545 * benchtests/Makefile (bench-clean): Likewise.
33546
33547 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33548
33549 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33550
33551 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33552
33553 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33554
33555 2013-04-15 Andreas Schwab <schwab@suse.de>
33556
33557 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33559 * nscd/pwdcache.c (cache_addpw): Likewise.
33560 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33561 more than recsize.
33562
33563 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33564
33565 * benchtests/Makefile (bench): Write all output to
33566 bench-out.tmp together.
33567
33568 2013-04-15 Andreas Schwab <schwab@suse.de>
33569
33570 * nscd/nscd.c (main): Don't fork again after closing files.
33571
33572 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33573
33574 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33575
33576 * benchtests/Rules (bench-deps): Collect dependencies into a
33577 single variable. Add Makefile to dependencies.
33578 ($(objpfx)bench-%.c): Depend on bench-deps.
33579
33580 2013-04-12 Roland McGrath <roland@hack.frob.com>
33581 Xavier Roche <roche+kml2@exalead.com>
33582
33583 [BZ #15361]
33584 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33585 just that it's a file descriptor.
33586 * manual/llio.texi (Synchronizing AIO Operations): Update description
33587 for EBADF error from aio_fsync.
33588
33589 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33590
33591 * Rules (bench): Move target definition...
33592 * benchtests/Makefile: ... here.
33593
33594 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33595
33596 * math/libm-test.inc (cos_test): Fix PI/2 test.
33597 (sincos_test): Likewise.
33598 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33599 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33600
33601 2013-04-11 Andreas Schwab <schwab@suse.de>
33602
33603 [BZ #13988]
33604 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33605 accept exponent character only when digits were seen.
33606 * stdio-common/Makefile (tests): Add bug26.
33607 * stdio-common/bug26.c: New file.
33608
33609 [BZ #14293]
33610 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33611 non-freeable.
33612
33613 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33614
33615 * Makeconfig (rtld-prefix): Define built linker prefix.
33616 * Rules (run-bench): Use it.
33617 * math/Makefile (run-regen-ulps): Likewise.
33618
33619 * Rules (bench): Remove eval.
33620
33621 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33622 Roland McGrath <roland@hack.frob.com>
33623 Ondrej Bilka <neleai@seznam.cz>
33624
33625 [BZ #15346]
33626 * time/getdate.c: Include ctype.h and alloca.h.
33627 (__getdate_r): Trim leading and trailing spaces of input.
33628 * time/tst-getdate.c (tests): Add tests with leading and
33629 trailing spaces.
33630
33631 2013-04-08 Roland McGrath <roland@hack.frob.com>
33632
33633 [BZ #14280]
33634 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33635 when computing value.
33636
33637 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33638
33639 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33640 Use testrun.sh to run libm tests.
33641
33642 [BZ #15309]
33643 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33644
33645 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33646
33647 [BZ #15264]
33648 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33649
33650 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33651
33652 * Makefile.in (regen-ulps): New target.
33653 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33654 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33655 [ifneq (no,$(PERL)] (regen-ulps): New target.
33656 [ifeq (no,$(PERL)] (regen-ulps): New target.
33657 * math/libm-test.inc (ulps_file_name): Define.
33658 (output_dir): New variable.
33659 (options): Add "output-dir" option.
33660 (parse_opt): Handle 'o' case.
33661 (main): If output_dir is non-NULL use it as a prefix
33662 otherwise use "".
33663 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33664
33665 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33666
33667 [BZ #10060, #10062]
33668 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33669 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33670 fail configure if __sync_val_compare_and_swap is not inlined.
33671 * sysdeps/i386/configure: Regenerate.
33672 * configure.in: Build for i686 when configured for i386.
33673 * configure: Regenerate.
33674 * README: Remove i386 reference.
33675
33676 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33677
33678 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33679 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33680
33681 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33682
33683 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33684 (lmsnanval): New variables.
33685 (F): Add conversion tests.
33686 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33687 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33688
33689 * stdio-common/tstdiomisc.c (F): Properly collect individual
33690 tests' results.
33691
33692 [BZ #14686, #15336]
33693 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33694 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33695 Instead, use input NaN values or generate a qNaN by arithmetic
33696 operation. Also fix bugs to comply with the standard.
33697 * math/libm-test.inc (remainder_test): Add more tests.
33698
33699 [BZ #15335, #15342]
33700 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33702 input NaN values or generate a qNaN by arithmetic operation.
33703
33704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33705 unreachable code.
33706
33707 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33708 definitions.
33709
33710 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33711
33712 [BZ #14478]
33713 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33714 underflowed result.
33715 * math/s_cexpf.c (__cexpf): Likewise.
33716 * math/s_cexpl.c (__cexpl): Likewise.
33717 * math/libm-test.inc (cexp_test): Add more tests.
33718
33719 2013-04-03 Andreas Schwab <schwab@suse.de>
33720
33721 [BZ #15330]
33722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33723 order arrays from heap if bigger than alloca cutoff.
33724
33725 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33726
33727 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33728 (SNAN_TESTS_double): Refer to GCC PR56831.
33729 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33730 GCC PR56828.
33731
33732 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33733
33734 * Rules (bench): Move bench.out after the run is complete.
33735
33736 * Rules (bench): Echo currently running benchmark.
33737
33738 * benchtests/Makefile (bench): Add atan and slowatan.
33739 * benchtests/atan-inputs: New file.
33740 * benchtests/slowatan-inputs: New file.
33741 * benchtests/slowatan.c: New file.
33742
33743 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33744 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33745 its value.
33746
33747 [BZ #15305]
33748 * sysdeps/unix/sysv/linux/kernel-features.h
33749 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33750 __ASSUME_XFS_RESTRICTED_CHOWN.
33751 * sysdeps/unix/sysv/linux/pathconf.c
33752 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33753 Save and restore errno.
33754
33755 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33756
33757 [BZ #15327]
33758 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33759 arguments using __kernel_casinh.
33760 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33761 arguments using __kernel_casinhf.
33762 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33763 arguments using __kernel_casinhl.
33764 * math/libm-test.inc (cacosh_test): Add more tests.
33765 * sysdeps/i386/fpu/libm-test-ulps: Update.
33766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33767
33768 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33769
33770 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33772
33773 * bench/Makefile (bench): Add sin and slowsin.
33774 * benchtests/sin-inputs: New file.
33775 * benchtests/slowsin-inputs: New file.
33776 * benchtests/slowsin.c: New file.
33777
33778 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33779 (bench): Add slowexp and slowpow.
33780 (exp-ITER): Increase iterations.
33781 (pow-ITER): Likewise.
33782 * benchtests/exp-inputs: Change input.
33783 * benchtests/pow-inputs: Likewise.
33784 * benchtests/slowexp-inputs: New file.
33785 * benchtests/slowexp.c: New file.
33786 * benchtests/slowpow-inputs: New file.
33787 * benchtests/slowpow.c: New file.
33788
33789 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33790
33791 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33792 instructions.
33793 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33794 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33795 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33796 * benchtests/Makefile: Add rint benchtest.
33797 * benchtests/rint-inputs: Input for rint benchtest.
33798
33799 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33800
33801 * Versions.def (libm): Add GLIBC_2.18.
33802 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33803 hidden libm prototypes.
33804 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33805 * math/Makefile (libm-calls): Add s_issignaling.
33806 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33807 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33808 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33809 declaration.
33810 * math/math.h [__USE_GNU] (issignaling): New macro.
33811 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33812 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33817 * manual/arith.texi (issignaling): New section.
33818 * manual/libm-err-tab.pl (@all_functions): Update comment.
33819 * math/gen-libm-test.pl (parse_args): Apply special handling for
33820 issignaling.
33821 * math/libm-test.inc (print_float, issignaling_test): New
33822 functions.
33823 (check_float_internal): Add issignaling checks.
33824 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33825 default definition.
33826 * sysdeps/powerpc/math-tests.h: New file.
33827 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33828 tests.
33829 * math/test-snan.c (TEST_FUNC): Likewise.
33830
33831 2013-03-30 David S. Miller <davem@davemloft.net>
33832
33833 * po/de.po: Update from translation team.
33834
33835 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33836
33837 [BZ #10357]
33838 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33839 imaginary part less than 1.0 and real part less than 0.5
33840 specially.
33841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33843 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33844 (cacos_test): Add more tests.
33845 (casin_test): Likewise.
33846 (casinh_test): Likewise.
33847 * sysdeps/i386/fpu/libm-test-ulps: Update.
33848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33849
33850 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33851
33852 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33853 ONE with its value.
33854
33855 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33856 (__pow_mp): Replace ONE and MONE with their values.
33857 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33859 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33860 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33861 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33862 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33863
33864 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33865
33866 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33867 (__pow_mp): Replace ZERO and MZERO with their values.
33868 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33869 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33870 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33872 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33873 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33874 (__sqr): Likewise.
33875
33876 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33877
33878 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33879
33880 2013-03-28 Roland McGrath <roland@hack.frob.com>
33881
33882 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33883 Declare with __attribute__ ((weak)).
33884 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33885 Call __call_tls_dtors only if it's not NULL.
33886
33887 2013-03-28 Roland McGrath <roland@hack.frob.com>
33888
33889 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33890 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33891 magic __ehdr_start linker symbol if it's defined.
33892 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33893 them up here if it was already done.
33894
33895 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33896 (_dl_aux_init): Use const in cast when setting it.
33897 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33898 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33899 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33900
33901 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33902 Declare them here.
33903 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33904 * csu/libc-tls.c: Nor here.
33905 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33906
33907 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33908 (__libc_message): Never call vsyslog.
33909
33910 2013-03-28 Alan Modra <amodra@gmail.com>
33911
33912 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33913 Define as empty.
33914 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33915 Likewise.
33916
33917 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33918
33919 [BZ #15214]
33920 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33921 underflow.
33922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33923
33924 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33925
33926 [BZ #15304]
33927 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33928 Don't add gid passed as argument.
33929
33930 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33931
33932 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33933
33934 [BZ #15307]
33935 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33936 imaginary part between 1.0 and 1.5 and real part less than 0.5
33937 specially.
33938 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33939 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33940 * math/libm-test.inc (cacos_test): Add more tests.
33941 (casin_test): Likewise.
33942 (casinh_test): Likewise.
33943 * sysdeps/i386/fpu/libm-test-ulps: Update.
33944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33945
33946 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33947
33948 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33949 constants.
33950 (norm): Likewise.
33951 (denorm): Likewise.
33952 (__dbl_mp): Likewise.
33953 (add_magnitudes): Likewise.
33954 (sub_magnitudes): Likewise.
33955 (__add): Likewise.
33956 (__sub): Likewise.
33957 (__mul): Likewise.
33958 (__sqr): Likewise.
33959 (__inv): Likewise.
33960 (__dvd): Likewise.
33961
33962 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33963 commented code.
33964 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33965 (__dubcos): Likewise.
33966 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33967 (__ieee754_acos): Likewise.
33968 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33969 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33970 (__exp1): Likewise.
33971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33973 (log1): Likewise.
33974 (my_log2): Likewise.
33975 (checkint): Likewise.
33976 * sysdeps/ieee754/dbl-64/e_remainder.c
33977 (__ieee754_remainder): Likewise.
33978 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33979 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33980 (bsloww): Likewise.
33981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33982
33983 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33984 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33985 MANTISSA_STORE_T to store computations on mantissa. Use
33986 macros for rounding and division.
33987 (denorm): Likewise.
33988 (__dbl_mp): Likewise.
33989 (add_magnitudes): Likewise.
33990 (sub_magnitudes): Likewise.
33991 (__mul): Likewise.
33992 (__sqr): Likewise.
33993 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33994 powers of two in terms of TWOPOW macro.
33995 (mp_no): Make type of mantissa as MANTISSA_T.
33996 [!RADIXI]: Define RADIXI.
33997 [!TWO52]: Define TWO52.
33998 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33999
34000 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34001
34002 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34003 llroundl symbol when building for PPC32.
34004
34005 2013-03-24 Mark H Weaver <mhw@netris.org>
34006
34007 * manual/arith.texi (Normalization Functions): Fix prototypes for
34008 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34009
34010 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34011
34012 [BZ #13889]
34013 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34014 high value to check if expl overflow.
34015 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34016 to check for underflow and overflow.
34017 * math/libm-test.inc: Add exp test.
34018
34019 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34020
34021 [BZ #11120]
34022 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34023 with NOT_IN_libc.
34024
34025 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34026
34027 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34028 symbol.
34029
34030 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34031
34032 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34033 wrap blocks consisting of several statements.
34034
34035 * sysdeps/generic/math-tests.h: New file.
34036 * sysdeps/i386/fpu/math-tests.h: Likewise.
34037 * math/test-snan.c: Include it.
34038 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34039
34040 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34041
34042 [BZ #15285]
34043 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34044 (__ieee754_j0l): Do not improve calculations using cos of twice
34045 input for inputs above LDBL_MAX / 2.0L.
34046 (__ieee754_y0l): Likewise.
34047 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34048 (__ieee754_j1l): Do not improve calculations using cos of twice
34049 input for inputs above LDBL_MAX / 2.0L.
34050 (__ieee754_y1l): Likewise.
34051 * math/libm-test.inc (j0_test): Add another test.
34052 (j1_test): Likewise.
34053 (y0_test): Likewise.
34054 (y1_test): Likewise.
34055 * sysdeps/i386/fpu/libm-test-ulps: Update.
34056
34057 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34058
34059 * Rules ($(objpfx)bench-%.c): Include code from a C source
34060 file.
34061
34062 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34063
34064 [BZ #15287]
34065 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34066 imaginary part 1.0 and real part less than 0.5 specially.
34067 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34068 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34069 * math/libm-test.inc (cacos_test): Add more tests.
34070 (casin_test): Likewise.
34071 (casinh_test): Likewise.
34072 * sysdeps/i386/fpu/libm-test-ulps: Update.
34073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34074
34075 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34076
34077 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34078 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34079
34080 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34081
34082 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34083 * config.make.in (config-cflags-sse4): Remove variable.
34084 (config-cflags-avx): Likewise.
34085 (config-cflags-sse2avx): Likewise.
34086 (config-cflags-novzeroupper): Likewise.
34087 (config-asflags-i686): Likewise.
34088 (have-mfma4): Likewise.
34089 (have-as-vis3): Likewise.
34090 (MIG): Likewise.
34091 * configure.in (MIG): Do not AC_SUBST.
34092 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34093 (libc_cv_cc_sse4): Do not AC_SUBST.
34094 (libc_cv_cc_avx): Likewise.
34095 (libc_cv_cc_sse2avx): Likewise.
34096 (libc_cv_cc_novzeroupper): Likewise.
34097 (libc_cv_cc_fma4): Likewise.
34098 (libc_cv_as_i686): Likewise.
34099 (libc_cv_sparc_as_vis3): Likewise.
34100 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34101 LIBC_CONFIG_VAR.
34102 (config-asflags-i686): Likewise.
34103 (config-cflags-avx): Likewise.
34104 (config-cflags-sse2avx): Likewise.
34105 (have-mfma4): Likewise.
34106 (config-cflags-novzeroupper): Likewise.
34107 * sysdeps/mach/configure.in (MIG): Likewise.
34108 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34109 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34110 LIBC_CONFIG_VAR.
34111 (config-cflags-avx): Likewise.
34112 (config-cflags-sse2avx): Likewise.
34113 (have-mfma4): Likewise.
34114 (config-cflags-novzeroupper): Likewise.
34115 * configure: Regenerated.
34116 * sysdeps/i386/configure: Likewise.
34117 * sysdeps/mach/configure: Likewise.
34118 * sysdeps/sparc/configure: Likewise.
34119 * sysdeps/x86_64/configure: Likewise.
34120
34121 2013-03-20 Roland McGrath <roland@hack.frob.com>
34122
34123 [BZ #14812]
34124 * locale/programs/localedef.c (options): Put N_ translation marker
34125 on argument names, not just descriptions.
34126
34127 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34128
34129 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34130
34131 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34132
34133 [BZ #14176]
34134 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34135
34136 2013-03-19 Roland McGrath <roland@hack.frob.com>
34137
34138 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34139 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34140 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34141 [!BEFORE_ABORT] (before_abort): New function.
34142 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34143 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34144 (writev_for_fatal): New function.
34145 (WRITEV_FOR_FATAL): New macro; call that.
34146 (backtrace_and_maps): New function.
34147 (BEFORE_ABORT): New macro; call that.
34148 (struct str_list): Type removed.
34149 (__libc_message, __libc_fatal): Functions removed.
34150 Include <sysdeps/posix/libc_fatal.c> instead.
34151
34152 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34153
34154 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34155 constants.
34156 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34157 double constants.
34158
34159 2013-03-19 Andreas Schwab <schwab@suse.de>
34160
34161 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34162 * sysdeps/gnu/configure: Regenerate.
34163
34164 * configure.in: Substitute libc_cv_rtlddir.
34165 * configure: Regenerate.
34166 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34167 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34168 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34169 * elf/Makefile (install-others, CFLAGS-interp.c)
34170 (ldso_install, common-ldd-rewrite): Likewise.
34171 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34172 $(inst_slibdir)/$(rtld-installed-name).
34173 * scripts/rellns-sh: Add -p option.
34174 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34175 for source.
34176
34177 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34178
34179 * manual/nptl.texi: Renamed to ...
34180 * manual/threads.texi: ... this.
34181 * manual/Makefile (chapters): Update.
34182
34183 2013-03-18 Roland McGrath <roland@hack.frob.com>
34184
34185 [BZ #14812]
34186 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34187 on argument names, not just descriptions.
34188 * malloc/memusagestat.c (options): Likewise.
34189 * nss/getent.c (options): Likewise.
34190
34191 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34192
34193 [BZ #14812]
34194 * iconv/iconv_prog.c (options): Put N_ translation marker
34195 on argument names, not just descriptions.
34196 * iconv/iconvconfig.c (options): Likewise.
34197
34198 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34199
34200 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34201 implementation which is faster on all x86_64 architectures.
34202 Tested on AMD, Intel Nehalem, SNB, IVB.
34203 * sysdeps/x86_64/strnlen.S: Likewise.
34204
34205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34206 Remove all multiarch strlen and strnlen versions.
34207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34208 Remove strlen and strnlen related parts.
34209
34210 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34211 Inline strlen part.
34212 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34213
34214 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34215 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34217 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34218 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34219 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34220
34221 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34222
34223 * manual/memory.texi (Malloc Tunable Parameters):
34224 Sort parameters alphabetically. Add comments for missing entries.
34225
34226 2013-03-17 David S. Miller <davem@davemloft.net>
34227
34228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34229
34230 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34231
34232 [BZ #15283]
34233 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34234 for arguments at most half maximum finite value.
34235 * math/libm-test.inc (j0_test): Add more tests.
34236 (j1_test): Likewise.
34237 (y0_test): Likewise.
34238 (y1_test): Likewise.
34239 * sysdeps/i386/fpu/libm-test-ulps: Update.
34240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34241
34242 [BZ #14155]
34243 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34244 1 / x and functions P and Q for arguments above 0x1p256L.
34245 (__ieee754_y0l): Likewise.
34246 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34247 (__ieee754_y1l): Likewise.
34248 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34249 (j1_test): Likewise.
34250 (y0_test): Likewise.
34251 (y1_test): Likewise.
34252
34253 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34254
34255 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34256 variable.
34257
34258 2013-03-15 Roland McGrath <roland@hack.frob.com>
34259
34260 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34261 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34262 zero since it's initialized to EXEC_PAGESIZE.
34263
34264 * sysdeps/unix/sysv/linux/ldsodefs.h
34265 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34266 * sysdeps/generic/ldsodefs.h: ... here.
34267
34268 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34269
34270 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34271
34272 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34273 math/test-snan.c.
34274 * math/test-snan.c: Renamed from
34275 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34276 * math/Makefile (tests): Add test-snan.
34277 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34278 test-powerpc-snan.
34279
34280 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34281 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34282 functions.
34283 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34284 __builtin_nan family of functions.
34285 * math/libm-test.inc (initialize): Initialize qnan_value with
34286 __builtin_nan family of functions.
34287 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34288 Remove variables.
34289 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34290 Remove functions.
34291 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34292 storage class. Initialize qNaN_var and sNaN_var with
34293 __builtin_nan and __builtin_nans families of functions,
34294 respectively.
34295
34296 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34297 (sqrt_test): Remove duplicate test with qNaN input.
34298 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34299 (round_test, signbit_test, significand_test): Note missing +/-Inf
34300 as well as qNaN tests.
34301
34302 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34303 qNaN_var. Fix a few strings, too.
34304 * math/libm-test.inc (nan_value): Rename to qnan_value.
34305 * math/gen-libm-test.pl (%beautify): Adjust to that.
34306 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34307 * math/test-misc.c (main): Likewise.
34308 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34309 to __qnan_bytes, and __qnan_union, respectively.
34310 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34311 Likewise.
34312 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34313 and lqnanval, respectively.
34314 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34315 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34316 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34317 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34318
34319 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34320 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34321 doubles.
34322
34323 * math/test-misc.c (main): Fix copy'n'pastos.
34324 * misc/tst-efgcvt.c (special): Likewise.
34325
34326 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34327 Remove declarations.
34328
34329 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34330
34331 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34332 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34333 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34334 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34335
34336 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34337
34338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34339 macro to return vdso values correctly in IFUNC implementations.
34340 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34341 Optimization by using IFUNC.
34342
34343 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34344 Richard Henderson <rth@redhat.com>
34345 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34346
34347 * Makefile.in (bench): New target.
34348 * NEWS: Mention the benchmark framework.
34349 * Rules (bench): Likewise.
34350 (binaries-bench): Generate binaries for functions to
34351 benchmark.
34352 * benchtests/Makefile: New makefile for benchmark tests.
34353 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34354 programs.
34355 * benchtests/exp-inputs: New input file for EXP function.
34356 * benchtests/pow-inputs: New input file for POW function.
34357 * scripts/bench.pl: New script to generate source files for
34358 benchmark programs.
34359
34360 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34361
34362 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34364 computations on mantissa. Use macros for rounding and
34365 division.
34366 (denorm): Likewise.
34367 (__dbl_mp): Likewise.
34368 (add_magnitudes): Likewise.
34369 (sub_magnitudes): Likewise.
34370 (__mul): Likewise.
34371 (__sqr): Likewise.
34372 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34373 powers of two in terms of TWOPOW macro.
34374 (mp_no): Make type of mantissa as MANTISSA_T.
34375 [!RADIXI]: Define RADIXI.
34376 [!TWO52]: Define TWO52.
34377 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34378
34379 * manual/nptl.texi (cindex): Modify threads to pthreads.
34380
34381 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34382
34383 * sysdeps/x86_64/preconfigure: Regenerated.
34384
34385 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34386
34387 [BZ #14155]
34388 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34389 0x1p28 and above.
34390 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34391 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34392 0x1p28 and above.
34393 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34394 * math/libm-test.inc (j0_test): Do not allow one spurious
34395 underflow exception.
34396 (y1_test): Likewise.
34397
34398 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34399
34400 * manual/Makefile (chapters): Add nptl.
34401 * manual/debug.texi (Debugging Support): Add link to Threads
34402 chapter.
34403 * manual/nptl.texi: New file.
34404
34405 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34406
34407 2013-03-14 Petr Baudis <pasky@ucw.cz>
34408
34409 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34410 for non-NULL pointer before the memory validity test. Pointed
34411 out by Holger Brunck <holger.brunck@keymile.com>.
34412
34413 2013-03-13 Andreas Schwab <schwab@suse.de>
34414
34415 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34416 instead of .os.
34417
34418 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34419
34420 * timezone/zic.c: Update from tzcode 2013b.
34421
34422 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34423
34424 * manual/install.texi (Configuring and compiling):
34425 Mention i686 and i586.
34426 * INSTALL: Regenerate.
34427
34428 2013-03-12 Roland McGrath <roland@hack.frob.com>
34429
34430 * sysdeps/init_array/elf-init.c: New file.
34431 * csu/elf-init.c
34432 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34433 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34434
34435 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34436 __gmon_start__ as global, but as static with a .preinit_array pointer.
34437 * sysdeps/init_array/gmon-start.c: New file. Use that.
34438 * sysdeps/init_array/crti.S: New file, empty except for comments.
34439 * sysdeps/init_array/crtn.S: Likewise.
34440
34441 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34442
34443 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34444 definining bcopy.
34445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34446 Remove Prefer_SSE_for_memop.
34447 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34448 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34449 HAS_PREFER_SSE_FOR_MEMOP.
34450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34451 memset-x86-64.
34452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34453 Remove bzero, memset ifunc support.
34454 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34455 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34456 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34457 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34458
34459 2013-03-11 Andreas Schwab <schwab@suse.de>
34460
34461 [BZ #15234]
34462 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34463 by SHLIB_COMPAT.
34464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34465 (GLIBC_2.16): Remove pthread_atfork.
34466
34467 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34468
34469 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34470 (ptestcases.h): Likewise.
34471
34472 2013-03-08 Roland McGrath <roland@hack.frob.com>
34473
34474 * Makeconfig ($(common-objpfx)config.status): Depend on
34475 sysdeps/*/preconfigure{,.in} too.
34476
34477 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34478
34479 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34480 (__free_hook): Use void * instead of __malloc_ptr_t.
34481 (__malloc_hook): Likewise.
34482 (__realloc_hook): Likewise.
34483 (__memalign_hook): Likewise.
34484 (__after_morecore_hook): Likewise.
34485 * malloc/arena.c (save_malloc_hook): Likewise.
34486 (save_free_hook): Likewise.
34487 * malloc/hooks.c (malloc_hook_ini): Likewise.
34488 (realloc_hook_ini): Likewise.
34489 (memalign_hook_ini): Likewise.
34490 * malloc/malloc.c (malloc_hook_ini): Likewise.
34491 (realloc_hook_ini): Likewise.
34492 (memalign_hook_ini): Likewise.
34493 (__free_hook): Likewise.
34494 (__malloc_hook): Likewise.
34495 (__realloc_hook): Likewise.
34496 (__memalign_hook): Likewise.
34497 (__libc_malloc): Likewise.
34498 (__libc_free): Likewise.
34499 (__libc_realloc): Likewise.
34500 (__libc_memalign): Likewise.
34501 (__libc_valloc): Likewise.
34502 (__libc_pvalloc): Likewise.
34503 (__libc_calloc): Likewise.
34504 (__posix_memalign): Likewise.
34505 * malloc/morecore.c (__sbrk): Likewise.
34506 (__default_morecore): Likewise.
34507
34508 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34509
34510 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34511 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34512 __malloc_ptrdiff_t.
34513
34514 * malloc/malloc.h (__malloc_size_t): Remove macro.
34515 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34516 __malloc_size_t.
34517 (old_memalign_hook): Likewise.
34518 (old_realloc_hook): Likewise.
34519 (struct hdr): Likewise.
34520 (flood): Likewise.
34521 (mallochook): Likewise.
34522 (memalignhook): Likewise.
34523 (reallochook): Likewise.
34524 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34525 (tr_old_realloc_hook): Likewise.
34526 (tr_old_memalign_hook): Likewise.
34527 (tr_mallochook): Likewise.
34528 (tr_reallochook): Likewise.
34529 (tr_memalignhook): Likewise.
34530
34531 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34532
34533 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34534 default_ldbl_pack and using as default implementation.
34535 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34536 implementation.
34537 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34538 redundant definition.
34539 (ldbl_insert_mantissa): Likewise.
34540 (ldbl_canonicalize): Likewise.
34541 (ldbl_nearbyint): Likewise.
34542 (ldbl_pack): Rename to ldbl_pack_ppc.
34543 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34544 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34545 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34546
34547 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34548
34549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34550 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34551 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34552 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34555 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34556 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34557
34558 2013-03-07 Andreas Jaeger <aj@suse.de>
34559
34560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34561 bits/mman-linux.h.
34562
34563 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34564
34565 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34566 Include mpa.h and declare __MPEXP.
34567 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34568 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34569 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34571 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34572 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34573 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34574
34575 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34576 (__slowpow): Use long double EXPL and LOGL functions to
34577 compute POW.
34578 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34579 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34580 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34581 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34582 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34583 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34584
34585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34586 intermediate variable to calculate exponent.
34587 (__sqr): Likewise.
34588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34589 Likewise.
34590 (__sqr): Likewise.
34591
34592 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34593 [!NO__SQR]: Define __sqr.
34594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34595 and NO__SQR. Remove all code except __mul and __sqr. Include
34596 sysdeps/ieee754/dbl-64/mpa.c.
34597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34598
34599 [BZ #12723]
34600 * posix/Makefile (tests): Add tst-pathconf.
34601 * posix/tst-pathconf.c: New test case.
34602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34603 _PC_PIPE_BUF.
34604 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34605
34606 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34607
34608 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34609
34610 2013-03-06 Andreas Jaeger <aj@suse.de>
34611
34612 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34613 definition via __MAP_ANONYMOUS.
34614
34615 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34616 it's not part of Linux headers.
34617
34618 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34619 (MAP_HUGE_MASK): Define.
34620
34621 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34622 Define.
34623 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34625 Define.
34626 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34627 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34628 Define.
34629 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34631 Define.
34632 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34633
34634 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34635 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34636 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34637 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34638 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34639 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34640
34641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34642 Handle f2fs.
34643
34644 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34645 Handle f2fs and efivarfs.
34646
34647 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34648 f2fs.
34649
34650 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34651 (EFIVARFS_MAGIC): Add.
34652 (F2FS_LINK_MAX): Add.
34653
34654 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34655
34656 * stdio-common/vfprintf.c: Replace __builtin_expect with
34657 __glibc_unlikely.
34658
34659 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34660
34661 [BZ #13550]
34662 * sysdeps/generic/bp-sym.h: Remove file.
34663 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34664 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34665 <bp-sym.h> and <bp-asm.h>.
34666 (__longjmp): Don't use BP_SYM.
34667 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34668 and <bp-asm.h>.
34669 (memcpy): Don't use BP_SYM.
34670 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34671 <bp-sym.h> and <bp-asm.h>.
34672 (memcpy): Don't use BP_SYM.
34673 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34674 <bp-asm.h>.
34675 (memcpy): Don't use BP_SYM.
34676 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34677 <bp-asm.h>.
34678 (memset): Don't use BP_SYM.
34679 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34680 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34681 (__bzero): Don't use BP_SYM.
34682 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34683 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34684 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34685 <bp-sym.h> and <bp-asm.h>.
34686 (memcmp): Don't use BP_SYM. Remove comment about bounded
34687 pointers.
34688 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34689 <bp-sym.h> and <bp-asm.h>.
34690 (memcpy): Don't use BP_SYM.
34691 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34692 <bp-sym.h> and <bp-asm.h>.
34693 (memset): Don't use BP_SYM.
34694 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34695 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34696 (__bzero): Don't use BP_SYM.
34697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34699 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34700 <bp-sym.h> and <bp-asm.h>.
34701 (strncmp): Don't use BP_SYM. Remove comment about bounded
34702 pointers.
34703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34704 <bp-sym.h> and <bp-asm.h>.
34705 (memcpy): Don't use BP_SYM.
34706 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34707 <bp-sym.h> and <bp-asm.h>.
34708 (memset): Don't use BP_SYM.
34709 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34710 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34711 (__bzero): Don't use BP_SYM.
34712 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34713 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34715 <bp-sym.h> and <bp-asm.h>.
34716 (__memchr): Don't use BP_SYM.
34717 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34718 <bp-sym.h> and <bp-asm.h>.
34719 (memcmp): Don't use BP_SYM. Remove comment about bounded
34720 pointers.
34721 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34722 <bp-sym.h> and <bp-asm.h>.
34723 (memcpy): Don't use BP_SYM.
34724 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34725 <bp-sym.h> and <bp-asm.h>.
34726 (__mempcpy): Don't use BP_SYM.
34727 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34728 <bp-sym.h> and <bp-asm.h>.
34729 (__memrchr): Don't use BP_SYM.
34730 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34731 <bp-sym.h> and <bp-asm.h>.
34732 (memset): Don't use BP_SYM.
34733 (__bzero): Likewise.
34734 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34735 <bp-sym.h> and <bp-asm.h>.
34736 (__rawmemchr): Don't use BP_SYM.
34737 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34738 <bp-sym.h> and <bp-asm.h>.
34739 (__STRCMP): Don't use BP_SYM.
34740 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34741 <bp-sym.h> and <bp-asm.h>.
34742 (strchr): Don't use BP_SYM.
34743 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34744 <bp-sym.h> and <bp-asm.h>.
34745 (__strchrnul): Don't use BP_SYM.
34746 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34747 <bp-sym.h> and <bp-asm.h>.
34748 (strlen): Don't use BP_SYM.
34749 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34750 <bp-sym.h> and <bp-asm.h>.
34751 (strncmp): Don't use BP_SYM. Remove comment about bounded
34752 pointers.
34753 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34754 <bp-sym.h> and <bp-asm.h>.
34755 (__strnlen): Don't use BP_SYM.
34756 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34757 <bp-sym.h> and <bp-asm.h>.
34758 (__GI__setjmp): Don't use BP_SYM.
34759 (_setjmp): Likewise.
34760 (__sigsetjmp): Likewise.
34761 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34762 (L(start_addresses)): Don't use BP_SYM.
34763 (_start): Likewise.
34764 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34765 <bp-asm.h>.
34766 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34767 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34768 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34769 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34770 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34771 <bp-asm.h>.
34772 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34773 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34774 about bounded pointers.
34775 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34776 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34777 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34778 <bp-asm.h>.
34779 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34780 about bounded pointers. Remove GKM FIXME comments.
34781 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34782 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34783 <bp-asm.h>.
34784 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34785 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34786 Remove GKM FIXME comments.
34787 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34788 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34789 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34790 <bp-asm.h>.
34791 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34792 about bounded pointers. Remove GKM FIXME comment.
34793 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34794 and <bp-asm.h>.
34795 (strncmp): Don't use BP_SYM. Remove comment about bounded
34796 pointers.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34798 <bp-sym.h> and <bp-asm.h>.
34799 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34801 <bp-sym.h> and <bp-asm.h>.
34802 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34803 comment.
34804
34805 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34806
34807 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34808 call free(NULL).
34809
34810 2013-03-05 David S. Miller <davem@davemloft.net>
34811
34812 * po/es.po: Update from translation team.
34813
34814 2013-03-05 Andreas Jaeger <aj@suse.de>
34815
34816 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34817 <bits/mman-linux.h>.
34818 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34819 is fine.
34820 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34821 <bits/mman-linux.h> to end of file.
34822 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34823 is fine.
34824 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34825 <bits/mman-linux.h> to end of file.
34826 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34827 is fine.
34828 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34829 <bits/mman-linux.h> to end of file.
34830
34831 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34832 (MCL_CURRENT, MCL_FUTURE): Define here.
34833
34834 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34835
34836 [BZ #15232]
34837 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34838 attribute_hidden.
34839 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34840
34841 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34842
34843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34844 fourth parameter needed for rt_sigprocmask syscall.
34845 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34846 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34847 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34848 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34849 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34850 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34851
34852 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34853
34854 [BZ #13550]
34855 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34856 comment about bounded pointers.
34857 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34858 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34859
34860 2013-03-04 Andreas Jaeger <aj@suse.de>
34861
34862 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34863 common definitions.
34864
34865 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34866 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34867 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34868 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34869 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34871
34872 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34873
34874 [BZ #15055]
34875 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34876 __ieee754_sqrl instead of __sqrl.
34877
34878 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34879
34880 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34881 * sysdeps/powerpc/fpu_control.h: ... here.
34882 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34883 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34884 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34885 * sysdeps/powerpc/bits/mathinline.h: ... here.
34886
34887 2013-03-01 Roland McGrath <roland@hack.frob.com>
34888
34889 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34890 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34891 to just [NEED_DL_SYSINFO_DSO].
34892 * elf/dl-support.c: Likewise.
34893 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34894 * elf/rtld.c (dl_main): Likewise.
34895 * elf/setup-vdso.h (setup_vdso): Likewise.
34896 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34897 * sysdeps/unix/sysv/linux/dl-sysdep.c
34898 (_dl_discover_osversion): Likewise.
34899
34900 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34901
34902 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34903 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34904
34905 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34906
34907 * NEWS: Mention libm performance improvements and non-x86 PI
34908 futex support.
34909
34910 * csu/libc-start.c (__pthread_initialize_minimal): Change
34911 function arguments.
34912 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34913
34914 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34915
34916 [BZ #13550]
34917 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34918 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34919 <bp-sym.h> and <bp-asm.h>.
34920 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34921 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34922 and <bp-asm.h>.
34923 (memcpy): Don't use BP_SYM.
34924 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34925 <bp-asm.h>.
34926 (__mpn_add_n): Don't use BP_SYM.
34927 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34928 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34929 and <bp-asm.h>.
34930 (__mpn_addmul_1): Don't use BP_SYM.
34931 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34932 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34933 <bp-sym.h>.
34934 (_setjmp): Don't use BP_SYM.
34935 (__novmx_setjmp): Likewise.
34936 (__GI__setjmp): Likewise.
34937 (__vmx_setjmp): Likewise.
34938 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34939 <bp-sym.h>.
34940 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34941 (__bzero): Don't use BP_SYM.
34942 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34943 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34944 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34945 <bp-sym.h> and <bp-asm.h>.
34946 (memcpy): Don't use BP_SYM.
34947 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34948 <bp-sym.h> and <bp-asm.h>.
34949 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34950 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34951 <bp-sym.h> and <bp-asm.h>.
34952 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34953 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34954 <bp-asm.h>.
34955 (__mpn_lshift): Don't use BP_SYM.
34956 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34957 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34958 <bp-asm.h>.
34959 (memset): Don't use BP_SYM.
34960 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34961 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34962 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34963 <bp-asm.h>.
34964 (__mpn_mul_1): Don't use BP_SYM.
34965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34966 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34967 <bp-sym.h> and <bp-asm.h>.
34968 (memcmp): Don't use BP_SYM.
34969 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34970 <bp-sym.h> and <bp-asm.h>.
34971 (memcpy): Don't use BP_SYM.
34972 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34973 <bp-sym.h> and <bp-asm.h>.
34974 (memset): Don't use BP_SYM.
34975 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34976 <bp-sym.h> and <bp-asm.h>.
34977 (strncmp): Don't use BP_SYM.
34978 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34979 <bp-sym.h> and <bp-asm.h>.
34980 (memcpy): Don't use BP_SYM.
34981 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34982 <bp-sym.h> and <bp-asm.h>.
34983 (memset): Don't use BP_SYM.
34984 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34985 <bp-sym.h> and <bp-asm.h>.
34986 (__memchr): Don't use BP_SYM.
34987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34988 <bp-sym.h> and <bp-asm.h>.
34989 (memcmp): Don't use BP_SYM.
34990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34991 <bp-sym.h> and <bp-asm.h>.
34992 (memcpy): Don't use BP_SYM.
34993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34994 <bp-sym.h> and <bp-asm.h>.
34995 (__mempcpy): Don't use BP_SYM.
34996 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34997 <bp-sym.h> and <bp-asm.h>.
34998 (__memrchr): Don't use BP_SYM.
34999 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35000 <bp-sym.h> and <bp-asm.h>.
35001 (memset): Don't use BP_SYM.
35002 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35003 <bp-sym.h> and <bp-asm.h>.
35004 (__rawmemchr): Don't use BP_SYM.
35005 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35006 <bp-sym.h> and <bp-asm.h>.
35007 (__STRCMP): Don't use BP_SYM.
35008 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35009 <bp-sym.h> and <bp-asm.h>.
35010 (strchr): Don't use BP_SYM.
35011 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35012 <bp-sym.h> and <bp-asm.h>.
35013 (__strchrnul): Don't use BP_SYM.
35014 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35015 <bp-sym.h> and <bp-asm.h>.
35016 (strlen): Don't use BP_SYM.
35017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35018 <bp-sym.h> and <bp-asm.h>.
35019 (strncmp): Don't use BP_SYM.
35020 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35021 <bp-sym.h> and <bp-asm.h>.
35022 (__strnlen): Don't use BP_SYM.
35023 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35024 <bp-asm.h>.
35025 (__mpn_rshift): Don't use BP_SYM.
35026 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35027 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35028 <bp-sym.h> and <bp-asm.h>.
35029 (__sigsetjmp): Don't use BP_SYM.
35030 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35031 (L(start_addresses)): Don't use BP_SYM.
35032 (_start): Likewise.
35033 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35034 <bp-asm.h>.
35035 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35036 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35037 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35038 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35039 <bp-asm.h>.
35040 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35041 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35042 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35043 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35044 <bp-asm.h>.
35045 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35046 comments.
35047 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35048 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35049 <bp-asm.h>.
35050 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35051 FIXME comments.
35052 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35053 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35054 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35055 <bp-asm.h>.
35056 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35057 comment.
35058 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35059 and <bp-asm.h>.
35060 (strncmp): Don't use BP_SYM,
35061 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35062 <bp-asm.h>.
35063 (__mpn_sub_n): Don't use BP_SYM.
35064 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35065 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35066 and <bp-asm.h>.
35067 (__mpn_submul_1): Don't use BP_SYM.
35068 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35070 <bp-sym.h> and <bp-asm.h>.
35071 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35073 <bp-sym.h> and <bp-asm.h>.
35074 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35075 comment.
35076
35077 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35078
35079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35080 Use ZK to minimize writes to Z.
35081 (sub_magnitudes): Simplify code a bit.
35082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35083 Use ZK to minimize writes to Z.
35084 (sub_magnitudes): Simplify code a bit.
35085
35086 2013-02-27 Roland McGrath <roland@hack.frob.com>
35087
35088 * csu/gmon-start.c: Add special exception to license text.
35089
35090 2013-02-27 Richard Henderson <rth@redhat.com>
35091
35092 * scripts/config.guess: Update from config.git.
35093 * scripts/config.sub: Likewise.
35094
35095 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35096
35097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35098
35099 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35100
35101 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35102
35103 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35104
35105 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35106
35107 2013-02-26 Roland McGrath <roland@hack.frob.com>
35108
35109 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35110 [$(build-shared = yes].
35111
35112 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35113
35114 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35115 (__mul): Reduce iterations for calculating mantissa.
35116
35117 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35118 MPTWO.
35119 (__mpranred): Likewise.
35120
35121 [BZ #15160]
35122 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35123 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35124
35125 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35126
35127 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35128 Define __attribute__.
35129
35130 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35131
35132 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35133 unused.
35134 * posix/regex_internal.h (__attribute): Remove.
35135 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35136 (re_string_context_at): Likewise.
35137 (bitset_not): Use __attribute__ and mark function as possibly
35138 unused.
35139 (bitset_merge): Likewise.
35140 (bitset_mask): Likewise.
35141 (re_string_char_size_at): Likewise.
35142 (re_string_wchar_at): Likewise.
35143 (re_string_elem_size_at): Likewise.
35144
35145 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35146
35147 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35148 code.
35149 (cc32): Likewise.
35150
35151 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35152 (__acr): Likewise.
35153 (__cpy): Likewise.
35154 (norm): Likewise.
35155 (denorm): Likewise.
35156 (__dbl_mp): Likewise.
35157 (add_magnitudes): Likewise.
35158 (sub_magnitudes): Likewise.
35159 (__mul): Likewise.
35160 (__inv): Likewise.
35161
35162 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35163 style.
35164
35165 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35166 style.
35167
35168 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35169 code.
35170
35171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35172 up changes with default code.
35173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35174 Likewise.
35175
35176 2013-02-24 Allan McRae <allan@archlinux.org>
35177
35178 * manual/socket.texi (The Internet Namespace): Order menu items
35179 to match that in the file.
35180
35181 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35182 node listing of the info page menu.
35183
35184 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35185
35186 [BZ #13550]
35187 * sysdeps/i386/bp-asm.h: Remove file.
35188 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35189 (PARMS): Do not use macros from bp-asm.h.
35190 (S1): Likewise.
35191 (S2): Likewise.
35192 (SIZE): Likewise.
35193 (__mpn_add_n): Do not use BP_SYM
35194 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35195 "bp-asm.h".
35196 (PARMS): Do not use macros from bp-asm.h.
35197 (S1): Likewise.
35198 (SIZE): Likewise.
35199 (__mpn_addmul_1): Do not use BP_SYM
35200 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35201 "bp-asm.h".
35202 (PARMS): Do not use macros from bp-asm.h.
35203 (SIGMSK): Likewise.
35204 (_setjmp): Likewise. Do not use BP_SYM.
35205 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35206 "bp-asm.h".
35207 (PARMS): Do not use macros from bp-asm.h.
35208 (SIGMSK): Likewise.
35209 (setjmp): Likewise. Do not use BP_SYM.
35210 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35211 "bp-asm.h".
35212 (PARMS): Do not use macros from bp-asm.h.
35213 (__frexp): Do not use BP_SYM.
35214 (frexp): Likewise.
35215 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35216 "bp-asm.h".
35217 (PARMS): Do not use macros from bp-asm.h.
35218 (__frexpf): Do not use BP_SYM.
35219 (frexpf): Likewise.
35220 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35221 "bp-asm.h".
35222 (PARMS): Do not use macros from bp-asm.h.
35223 (__frexpl): Do not use BP_SYM.
35224 (frexpl): Likewise.
35225 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35226 "bp-asm.h".
35227 (PARMS): Do not use macros from bp-asm.h.
35228 (__remquo): Do not use BP_SYM.
35229 (remquo): Likewise.
35230 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35231 "bp-asm.h".
35232 (PARMS): Do not use macros from bp-asm.h.
35233 (__remquof): Do not use BP_SYM.
35234 (remquof): Likewise.
35235 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35236 "bp-asm.h".
35237 (PARMS): Do not use macros from bp-asm.h.
35238 (__remquol): Do not use BP_SYM.
35239 (remquol): Likewise.
35240 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35241 "bp-asm.h".
35242 (PARMS): Do not use macros from bp-asm.h.
35243 (DEST): Likewise.
35244 (SRC): Likewise.
35245 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35246 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35247 "bp-asm.h".
35248 (PARMS): Do not use macros from bp-asm.h.
35249 (strlen): Do not use BP_SYM.
35250 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35251 "bp-asm.h".
35252 (PARMS): Do not use macros from bp-asm.h.
35253 (S1): Likewise.
35254 (S2): Likewise.
35255 (SIZE): Likewise.
35256 (__mpn_add_n): Do not use BP_SYM.
35257 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35258 "bp-asm.h".
35259 (PARMS): Do not use macros from bp-asm.h.
35260 (S1): Likewise.
35261 (SIZE): Likewise.
35262 (__mpn_addmul_1): Do not use BP_SYM.
35263 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35264 weak_alias.
35265 (bzero): Likewise.
35266 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35267 "bp-asm.h".
35268 (PARMS): Do not use macros from bp-asm.h.
35269 (S): Likewise.
35270 (SIZE): Likewise.
35271 (__mpn_lshift): Do not use BP_SYM.
35272 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35273 "bp-asm.h".
35274 (PARMS): Do not use macros from bp-asm.h.
35275 (DEST): Likewise.
35276 (SRC): Likewise.
35277 (LEN): Likewise.
35278 (memcpy): Likewise. Do not use BP_SYM.
35279 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35280 libc_hidden_def and weak_alias.
35281 (mempcpy): Do not use BP_SYM in weak_alias.
35282 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35283 "bp-asm.h".
35284 (PARMS): Do not use macros from bp-asm.h.
35285 (DEST): Likewise.
35286 (LEN): Likewise.
35287 [!BZERO_P] (CHR): Likewise.
35288 (memset): Likewise. Do not use BP_SYM.
35289 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35290 "bp-asm.h".
35291 (PARMS): Do not use macros from bp-asm.h.
35292 (S1): Likewise.
35293 (SIZE): Likewise.
35294 (__mpn_mul_1): Do not use BP_SYM.
35295 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35296 "bp-asm.h".
35297 (PARMS): Do not use macros from bp-asm.h.
35298 (S): Likewise.
35299 (SIZE): Likewise.
35300 (__mpn_rshift): Do not use BP_SYM.
35301 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35302 "bp-asm.h".
35303 (PARMS): Do not use macros from bp-asm.h.
35304 (STR): Likewise.
35305 (CHR): Likewise.
35306 (strchr): Likewise. Do not use BP_SYM.
35307 (index): Do not use BP_SYM in weak_alias.
35308 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35314 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35315 "bp-asm.h".
35316 (PARMS): Do not use macros from bp-asm.h.
35317 (strlen): Do not use BP_SYM.
35318 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35319 "bp-asm.h".
35320 (PARMS): Do not use macros from bp-asm.h.
35321 (S1): Likewise.
35322 (S2): Likewise.
35323 (SIZE): Likewise.
35324 (__mpn_sub_n): Do not use BP_SYM.
35325 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35326 "bp-asm.h".
35327 (PARMS): Do not use macros from bp-asm.h.
35328 (S1): Likewise.
35329 (SIZE): Likewise.
35330 (__mpn_submul_1): Do not use BP_SYM.
35331 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35332 "bp-asm.h".
35333 (PARMS): Do not use macros from bp-asm.h.
35334 (S1): Likewise.
35335 (S2): Likewise.
35336 (SIZE): Likewise.
35337 (__mpn_add_n): Do not use BP_SYM.
35338 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35339 weak_alias.
35340 (bzero): Likewise.
35341 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35342 "bp-asm.h".
35343 (PARMS): Do not use macros from bp-asm.h.
35344 (BLK2): Likewise.
35345 (LEN): Likewise.
35346 (memcmp): Do not use BP_SYM.
35347 (bcmp): Do not use BP_SYM in weak_alias.
35348 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35349 "bp-asm.h".
35350 (PARMS): Do not use macros from bp-asm.h.
35351 (DEST): Likewise.
35352 (SRC): Likewise.
35353 (LEN): Likewise.
35354 (memcpy): Likewise. Do not use BP_SYM.
35355 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35356 "bp-asm.h".
35357 (PARMS): Do not use macros from bp-asm.h.
35358 (DEST): Likewise.
35359 (SRC): Likewise.
35360 (LEN): Likewise.
35361 (memmove): Likewise. Do not use BP_SYM.
35362 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35363 "bp-asm.h".
35364 (PARMS): Do not use macros from bp-asm.h.
35365 (DEST): Likewise.
35366 (SRC): Likewise.
35367 (LEN): Likewise.
35368 (__mempcpy): Likewise. Do not use BP_SYM.
35369 (mempcpy): Do not use BP_SYM in weak_alias.
35370 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35371 "bp-asm.h".
35372 (PARMS): Do not use macros from bp-asm.h.
35373 (DEST): Likewise.
35374 (LEN): Likewise.
35375 [!BZERO_P] (CHR): Likewise.
35376 (memset): Likewise. Do not use BP_SYM.
35377 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35378 "bp-asm.h".
35379 (PARMS): Do not use macros from bp-asm.h.
35380 (STR2): Likewise.
35381 (strcmp): Do not use BP_SYM.
35382 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35383 "bp-asm.h".
35384 (PARMS): Do not use macros from bp-asm.h.
35385 (STR): Likewise.
35386 (DELIM): Likewise.
35387 [USE_AS_STRTOK_R] (SAVE): Likewise.
35388 (FUNCTION): Likewise. Do not use BP_SYM.
35389 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35390 aliases.
35391 (strtok_r): Likewise.
35392 (__GI___strtok_r): Likewise.
35393 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35394 (PARMS): Do not use macros from bp-asm.h.
35395 (S): Likewise.
35396 (SIZE): Likewise.
35397 (__mpn_lshift): Do not use BP_SYM.
35398 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35399 (PARMS): Do not use macros from bp-asm.h.
35400 (STR): Likewise.
35401 (CHR): Likewise.
35402 (__memchr): Do not use BP_SYM.
35403 (memchr): Do not use BP_SYM in weak_alias.
35404 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35405 (PARMS): Do not use macros from bp-asm.h.
35406 (BLK2): Likewise.
35407 (LEN): Likewise.
35408 (memcmp): Do not use BP_SYM.
35409 (bcmp): Do not use BP_SYM in weak_alias.
35410 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35411 (PARMS): Do not use macros from bp-asm.h.
35412 (S1): Likewise.
35413 (SIZE): Likewise.
35414 (__mpn_mul_1): Do not use BP_SYM.
35415 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35416 "bp-asm.h".
35417 (PARMS): Do not use macros from bp-asm.h.
35418 (STR): Likewise.
35419 (CHR): Likewise.
35420 (__rawmemchr): Do not use BP_SYM.
35421 (rawmemchr): Do not use BP_SYM in weak_alias.
35422 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35423 (PARMS): Do not use macros from bp-asm.h.
35424 (S): Likewise.
35425 (SIZE): Likewise.
35426 (__mpn_rshift): Do not use BP_SYM.
35427 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35428 (PARMS): Do not use macros from bp-asm.h.
35429 (SIGMSK): Likewise.
35430 (__sigsetjmp): Likewise. Do not use BP_SYM.
35431 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35432 (_start): Do not use BP_SYM.
35433 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35434 (PARMS): Do not use macros from bp-asm.h.
35435 (DEST): Likewise.
35436 (SRC): Likewise.
35437 (__stpcpy): Likewise. Do not use BP_SYM.
35438 (stpcpy): Do not use BP_SYM in weak_alias.
35439 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35440 "bp-asm.h".
35441 (PARMS): Do not use macros from bp-asm.h.
35442 (DEST): Likewise.
35443 (SRC): Likewise.
35444 (LEN): Likewise.
35445 (__stpncpy): Likewise. Do not use BP_SYM.
35446 (stpncpy): Do not use BP_SYM in weak_alias.
35447 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35448 (PARMS): Do not use macros from bp-asm.h.
35449 (STR): Likewise.
35450 (CHR): Likewise.
35451 (strchr): Likewise. Do not use BP_SYM.
35452 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35453 "bp-asm.h".
35454 (PARMS): Do not use macros from bp-asm.h.
35455 (STR): Likewise.
35456 (CHR): Likewise.
35457 (__strchrnul): Likewise. Do not use BP_SYM.
35458 (strchrnul): Do not use BP_SYM in weak_alias.
35459 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35460 "bp-asm.h".
35461 (PARMS): Do not use macros from bp-asm.h.
35462 (STOP): Likewise.
35463 (strcspn): Do not use BP_SYM.
35464 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35465 "bp-asm.h".
35466 (PARMS): Do not use macros from bp-asm.h.
35467 (STR): Likewise.
35468 (STOP): Likewise.
35469 (strpbrk): Likewise. Do not use BP_SYM.
35470 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35471 "bp-asm.h".
35472 (PARMS): Do not use macros from bp-asm.h.
35473 (STR): Likewise.
35474 (CHR): Likewise.
35475 (strrchr): Likewise. Do not use BP_SYM.
35476 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35477 (PARMS): Do not use macros from bp-asm.h.
35478 (SKIP): Likewise.
35479 (strspn): Do not use BP_SYM.
35480 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35481 (PARMS): Do not use macros from bp-asm.h.
35482 (STR): Likewise.
35483 (DELIM): Likewise.
35484 (SAVE): Likewise.
35485 (FUNCTION): Likewise. Do not use BP_SYM.
35486 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35487 aliases.
35488 (strtok_r): Likewise.
35489 (__GI___strtok_r): Likewise.
35490 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35491 (PARMS): Do not use macros from bp-asm.h.
35492 (S1): Likewise.
35493 (S2): Likewise.
35494 (SIZE): Likewise.
35495 (__mpn_sub_n): Do not use BP_SYM.
35496 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35497 "bp-asm.h".
35498 (PARMS): Do not use macros from bp-asm.h.
35499 (S1): Likewise.
35500 (SIZE): Likewise.
35501 (__mpn_submul_1): Do not use BP_SYM.
35502 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35503 <bp-sym.h>.
35504 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35505 and <bp-asm.h>.
35506 (PARMS): Do not use macros from bp-asm.h.
35507 (FLAGS): Likewise.
35508 (PTID): Likewise.
35509 (TLS): Likewise.
35510 (CTID): Likewise.
35511 (__clone): Do not use BP_SYM.
35512 (clone): Do not use BP_SYM in weak_alias.
35513 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35514 and <bp-asm.h>.
35515 (PARMS): Do not use macros from bp-asm.h.
35516 (LEN): Likewise.
35517 (__mmap64): Do not use BP_SYM.
35518 (mmap64): Do not use BP_SYM in weak_alias.
35519 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35520 <bp-sym.h> and <bp-asm.h>.
35521 (PARMS): Do not use macros from bp-asm.h.
35522 (__posix_fadvise64_l64): Do not use BP_SYM.
35523 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35524 (PARMS): Do not use macros from bp-asm.h.
35525 (NSOPS): Likewise.
35526 (semtimedop): Do not use BP_SYM.
35527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35528 and <bp-asm.h>.
35529
35530 2013-02-21 Allan McRae <allan@archlinux.org>
35531
35532 * manual/message.texi (Charset conversion in gettext):
35533 Move @end statement to beginning of line.
35534
35535 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35536
35537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35538 static.
35539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35540 Likewise.
35541
35542 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35543 (denorm): Likewise.
35544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35546
35547 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35548
35549 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35550 tail-call to the resolved function if pltexit isn't needed.
35551
35552 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35553
35554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35555 or Y being zero as being unlikely.
35556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35557 Likewise.
35558
35559 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35560
35561 * manual/nss.texi (System Databases and Name Service Switch):
35562 Remove frobnicate @pxref.
35563
35564 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35565
35566 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35567 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35568
35569 2013-02-20 Petr Machata <pmachata@redhat.com>
35570
35571 * elf/elf.h (R_ARM_TARGET1): New macro.
35572 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35573 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35574 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35575 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35576 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35577 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35578 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35579 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35580 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35581 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35582 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35583 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35584 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35585 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35586 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35587 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35588 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35589 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35590 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35591 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35592 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35593 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35594 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35595 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35596 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35597 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35598 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35599 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35600 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35601 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35602 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35603 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35604 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35605 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35606 (R_ARM_THM_GOT_BREL12): Likewise.
35607 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35608 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35609 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35610 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35611 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35612 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35613 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35614 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35615 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35616
35617 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35618
35619 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35620 __attribute_used__ to __attribute__ ((unused)).
35621
35622 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35623
35624 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35625 powerpc mpa.c.
35626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35627 comment formatting.
35628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35629
35630 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35631
35632 [BZ #13550]
35633 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35634 Remove macro.
35635 (ENTER): Remove both macro definitions.
35636 (LEAVE): Likewise.
35637 (CHECK_BOUNDS_LOW): Likewise.
35638 (CHECK_BOUNDS_HIGH): Likewise.
35639 (CHECK_BOUNDS_BOTH): Likewise.
35640 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35641 (RETURN_BOUNDED_POINTER): Likewise.
35642 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35643 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35644 (POP_ERRNO_LOCATION_RETURN): Likewise.
35645 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35646 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35647 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35648 macros.
35649 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35650 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35651 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35652 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35653 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35654 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35655 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35656 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35657 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35658 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35659 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35660 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35661 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35662 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35663 removed macros.
35664 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35665 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35666 macros.
35667 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35668 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35669 * sysdeps/i386/i586/memset.S (memset): Likewise.
35670 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35671 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35672 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35673 macros.
35674 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35675 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35676 Change uses of L(2) to L(out).
35677 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35678 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35679 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35680 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35681 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35682 removed macros.
35683 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35684 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35685 macros.
35686 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35687 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35688 (RETURN): Do not use macro LEAVE.
35689 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35690 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35691 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35692 * sysdeps/i386/i686/memset.S (memset): Likewise.
35693 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35694 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35695 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35696 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35697 Likewise.
35698 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35699 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
35700 L(1_2) and L(1_3) into L(1).
35701 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35702 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35703 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35704 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35705 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35706 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35707 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35709 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35710 macros.
35711 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35712 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35713 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35714 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35715 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35716 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35717 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35718 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35719 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35720 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35721 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35722 * sysdeps/i386/strspn.S (strspn): Likewise.
35723 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35724 conditional code.
35725 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35726 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35727 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35728 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35729 L(1_3) into L(1_1).
35730 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35731 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35732 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35733 macros.
35734 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35735
35736 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35737
35738 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35739 macro.
35740
35741 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35742
35743 * math/atest-exp.c (exp_mpn): Remove ROUND.
35744 * math/atest-exp2.c (exp_mpn): Likewise.
35745 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35746
35747 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35748 * stdlib/tst-tls-atexit-lib.c: Likewise.
35749 * stdlib/tst-tls-atexit.c: Likewise.
35750
35751 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35752
35753 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35754 and __attribute_alloc_size__.
35755
35756 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35757
35758 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35759 __attribute_alloc_size__.
35760 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35761 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35762
35763 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35764
35765 * include/programs/xmalloc.h: New file.
35766 * catgets/gencat.c: Include it.
35767 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35768 * elf/pldd.c: Likewise.
35769 * iconv/iconv_charmap.c: Likewise.
35770 * iconv/iconvconfig.c: Likewise.
35771 * iconv/strtab.c: Likewise.
35772 * locale/programs/locale.c: Likewise.
35773 * locale/programs/localedef.h: Likewise.
35774 * locale/programs/simple-hash.c: Likewise.
35775 * nscd/nscd.h: Likewise.
35776 * nss/makedb.c: Likewise.
35777 * sysdeps/generic/ldconfig.h: Likewise.
35778
35779 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35780
35781 * Versions.def: Add GLIBC_2.18.
35782 * include/link.h (struct link_map): New member l_tls_dtor_count.
35783 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35784 (__call_tls_dtors): Likewise.
35785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35786 __cxa_thread_atexit_impl.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35788 Likewise.
35789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35790 Likewise.
35791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35792 Likewise.
35793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35794 Likewise.
35795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35797 Likewise.
35798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35799 Likewise.
35800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35802 Likewise.
35803 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35804 (tests): Add test case tst-tls-atexit.
35805 (modules-names): Add shared library for tst-tls-atexit.
35806 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35807 (GLIBC_PRIVATE): Add __call_tls_dtors.
35808 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35809 for libstdc++.
35810 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35811 * stdlib/tst-tls-atexit.c: New test case.
35812 * stdlib/tst-tls-atexit-lib.c: New test case.
35813
35814 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35815
35816 * elf/Versions (ld): Add _dl_find_dso_for_object.
35817 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35818 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35819 (dl_open_worker): Use _dl_find_dso_for_object.
35820 * elf/dl-sym.c (do_sym): Likewise.
35821 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35822
35823 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35824
35825 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35826 Syntactic changes only.
35827 (_dl_runtime_profile): Do a tail-call to the resolved function.
35828
35829 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35830
35831 [BZ #13550]
35832 * sysdeps/x86_64/bp-asm.h: Remove file.
35833 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35834 <bp-sym.h> and <bp-asm.h>.
35835 (__clone): Do not use BP_SYM.
35836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35837 <bp-sym.h> and <bp-asm.h>.
35838 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35839 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35840 "bp-asm.h".
35841 (_setjmp): Do not use BP_SYM.
35842 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35843 "bp-asm.h".
35844 (setjmp): Do not use BP_SYM.
35845 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35846 libc_hidden_def.
35847 (mempcpy): Do not use BP_SYM in weak_alias.
35848 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35849 "bp-asm.h".
35850 (strchr): Do not use BP_SYM.
35851 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35852 "bp-asm.h".
35853 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35854 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35855 (_start): Do not use BP_SYM.
35856 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35857 "bp-asm.h".
35858 (strcat): Do not use BP_SYM.
35859 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35860 "bp-asm.h".
35861 (STRCMP): Do not use BP_SYM.
35862 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35863 "bp-asm.h".
35864 (STRCPY): Do not use BP_SYM.
35865 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35866 "bp-asm.h".
35867 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35868 "bp-asm.h".
35869 (FUNCTION): Do not use BP_SYM.
35870 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35871 weak_alias.
35872 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35873
35874 2013-02-17 Andreas Jaeger <aj@suse.de>
35875
35876 * time/Versions: Sort entries.
35877 * string/Versions: Likewise.
35878 * resolv/Versions: Likewise.
35879 * posix/Versions: Likewise.
35880 * iconv/Versions: Likewise.
35881 * elf/Versions: Likewise.
35882 * wcsmbs/Versions: Likewise.
35883
35884 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35885
35886 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35887 loop termination condition.
35888
35889 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35890 variable to calculate EZ.
35891 (__sqr): Likewise.
35892
35893 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35894 the lower precision input.
35895
35896 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35897
35898 [BZ #13550]
35899 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35900 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35901 (run-via-rtld-prefix): Do not handle %-bp tests.
35902 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35903 (all-object-suffixes): Remove .ob.
35904 (bppfx): Remove variable.
35905 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35906 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35907 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35908 [$(build-bounded) = yes] (libtype.ob): Likewise.
35909 * Makerules (elide-routines.ob): Remove variable.
35910 (do-tests-clean): Do not handle *-bp.out.
35911 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35912 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35913 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35914 (tests): Do not include $(tests-bp.out).
35915 (xtests): Do not include $(xtests-bp.out).
35916 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35917 [$(build-bounded) = yes] ($(addprefix
35918 $(objpfx),$(binaries-bounded))): Remove rule.
35919 ($(objpfx)%-bp.out): Remove rule.
35920 * config.make.in (build-bounded): Remove variable.
35921 * crypt/Makefile [$(build-bounded) = yes]
35922 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35923 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35924 append to variable.
35925 [$(build-bounded) = yes] (install-lib): Likewise.
35926 [$(build-bounded) = yes] (generated): Likewise.
35927 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35928 Remove rule.
35929 * intl/Makefile [$(build-bounded) = yes]
35930 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35931 * math/Makefile [$(build-bounded) = yes]
35932 ($(tests:%=$(objpfx)%-bp): Likewise.
35933 * misc/Makefile [$(build-bounded) = yes]
35934 ($(objpfx)tst-tsearch-bp): Likewise.
35935 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35936 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35937 Remove dependency.
35938 * string/Makefile (o-objects.ob): Remove variable.
35939 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35940 (CFLAGS-.ob): Remove variable.
35941 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35942 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35943 both definitions of variable.
35944 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35945 (ASFLAGS-.ob): Remove variable.
35946
35947 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35948
35949 [BZ #13550]
35950 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35951 Remove __BOUNDED_POINTERS__ from condition.
35952 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35953 * string/bits/string2.h [!__NO_STRING_INLINES &&
35954 !__BOUNDED_POINTERS__]: Likewise.
35955 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35956 Likewise.
35957 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35958 Remove conditional code.
35959 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35960 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35961 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35962 condition.
35963
35964 [BZ #13550]
35965 * csu/libc-start.c: Do not include <bp-sym.h>.
35966 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35967 * elf/dl-open.c: Do not include <bp-sym.h>.
35968 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35969 * math/fegetenv.c: Do not include <bp-sym.h>.
35970 (fegetenv): Do not use BP_SYM in versioned symbols.
35971 * nptl/sysdeps/pthread/bits/libc-lockP.h
35972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35973 <bp-sym.h>.
35974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35975 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35977 (__pthread_mutex_destroy): Likewise.
35978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35979 (__pthread_mutex_lock): Likewise.
35980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35981 (__pthread_mutex_trylock): Likewise.
35982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35983 (__pthread_mutex_unlock): Likewise.
35984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35985 (__pthread_mutexattr_init): Likewise.
35986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35987 (__pthread_mutexattr_destroy): Likewise.
35988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35989 (__pthread_mutexattr_settype): Likewise.
35990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35991 (__pthread_rwlock_init): Likewise.
35992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35993 (__pthread_rwlock_destroy): Likewise.
35994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35995 (__pthread_rwlock_rdlock): Likewise.
35996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35997 (__pthread_rwlock_tryrdlock): Likewise.
35998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35999 (__pthread_rwlock_wrlock): Likewise.
36000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36001 (__pthread_rwlock_trywrlock): Likewise.
36002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36003 (__pthread_rwlock_unlock): Likewise.
36004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36005 (__pthread_key_create): Likewise.
36006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36007 (__pthread_setspecific): Likewise.
36008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36009 (__pthread_getspecific): Likewise.
36010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36011 Likewise.
36012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36013 (_pthread_cleanup_push_defer): Likewise.
36014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36015 (_pthread_cleanup_pop_restore): Likewise.
36016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36017 (pthread_setcancelstate): Likewise.
36018 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36019 <bp-sym.h>.
36020 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36021 (memchr): Do not use BP_SYM in weak_alias.
36022 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36023 (fegetenv): Do not use BP_SYM in versioned symbols.
36024 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36025 (fesetenv): Do not use BP_SYM in versioned symbols.
36026 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36027 (feupdateenv): Do not use BP_SYM in versioned symbols.
36028 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36029 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36030 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36031 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36032 (open64): Do not use BP_SYM in weak_alias.
36033 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36034 (fegetenv): Do not use BP_SYM in versioned symbols.
36035 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36036 (fesetenv): Do not use BP_SYM in versioned symbols.
36037 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36038 (feupdateenv): Do not use BP_SYM in versioned symbols.
36039 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36040 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36041 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36042 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36043 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36044 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36045 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36046 <bp-sym.h>.
36047 (__libc_start_main): Do not use BP_SYM.
36048
36049 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36050
36051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36052 redundant return line.
36053 (norm): Likewise.
36054 (denorm): Likewise.
36055 (dbl_mp): Likewise.
36056 (sub_magnitudes): Likewise.
36057 (__add): Likewise.
36058 (__sub): Likewise.
36059 (__mul): Likewise.
36060 (__inv): Likewise.
36061 (__dvd): Likewise.
36062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36063 (norm): Likewise.
36064 (denorm): Likewise.
36065 (dbl_mp): Likewise.
36066 (sub_magnitudes): Likewise.
36067 (__add): Likewise.
36068 (__sub): Likewise.
36069 (__mul): Likewise.
36070 (__inv): Likewise.
36071 (__dvd): Likewise.
36072
36073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36074 instead of __mul.
36075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36076 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36077 (cc32): Likewise.
36078
36079 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36080 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36082 of __mul for squares.
36083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36084 function
36085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36086 Likewise.
36087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36088 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36089
36090 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36091
36092 [BZ #13550]
36093 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36094 code.
36095 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36096 prototype or function definition. Rename ubp_* variables and
36097 parameters. Remove argv definitions conditional on
36098 [__BOUNDED_POINTERS__].
36099 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36100 * elf/dl-runtime.c (_dl_fixup): Likewise.
36101 * include/set-hooks.h (RUN_HOOK): Likewise.
36102 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36103 definition.
36104 * string/strcpy.c (strcpy): Do not use __unbounded.
36105 * sysdeps/generic/frame.h (struct layout): Likewise.
36106 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36107 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36108 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36109 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36110 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36111 (__backtrace): Likewise.
36112 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36113 use __ptrvalue.
36114 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36115 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36116 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36117 Likewise.
36118 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36119 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36120 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36121 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36122 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36123 Do not use __unbounded.
36124 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36125 Rename __unboundedrlimits parameter to rlimits in prototype.
36126 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36127 Do not use __unbounded.
36128 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36129 not use __ptrvalue.
36130 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36131 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36132 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36133 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36134 __ptrvalue or __unbounded.
36135 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36136 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36137 use __unbounded.
36138 (__new_msgctl): Do not use __ptrvalue.
36139 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36140 __unbounded.
36141 (__libc_msgrcv): Do not use __ptrvalue.
36142 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36143 startup_info): Do not use __unbounded.
36144 (__libc_start_main): Likewise. Rename ubp_* variables and
36145 parameters. Remove argv definitions conditional on
36146 [__BOUNDED_POINTERS__].
36147 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36148 __ptrvalue.
36149 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36150 use __unbounded.
36151 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36152 or __ptrvalue.
36153 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36154 use __unbounded.
36155 (__new_shmctl): Do not use __ptrvalue.
36156 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36157 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36158 Likewise.
36159 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36161 (__libc_sigaction): Likewise.
36162 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36163 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36164 Likewise.
36165 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36166
36167 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36168
36169 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36170
36171 * string/mempcpy.c: Implement by calling memcpy.
36172
36173 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36174
36175 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36176
36177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36178 evaluation.
36179
36180 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36181 values in the mantissa.
36182
36183 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36184 minimize writes to Z.
36185 (sub_magnitudes): Simplify code a bit.
36186
36187 2013-02-12 Roland McGrath <roland@hack.frob.com>
36188
36189 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36190 from the message. The linker prefixes all warnings with that already.
36191
36192 2013-02-12 Andreas Schwab <schwab@suse.de>
36193
36194 [BZ #15078]
36195 * posix/regexec.c (extend_buffers): Add parameter min_len.
36196 (check_matching): Pass minimum needed length.
36197 (clean_state_log_if_needed): Likewise.
36198 (get_subexp): Likewise.
36199 * posix/Makefile (tests): Add bug-regex34.
36200 (bug-regex34-ENV): Define.
36201 * posix/bug-regex34.c: New file.
36202
36203 [BZ #11561]
36204 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36205 elements compare against the byte sequence of it, not its name.
36206 * posix/Makefile (tests): Add bug-regex35.
36207 (bug-regex35-ENV): Define.
36208 * posix/bug-regex35.c: New file.
36209
36210 2013-02-11 Tom de Vries <tom@codesourcery.com>
36211
36212 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36213 comment.
36214 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36215 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36216 (CHECK_EOL): Add undef.
36217
36218 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36219
36220 * bits/stdlib-bsearch.h: New file.
36221 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36222 * stdlib/stdlib.h: Likewise.
36223
36224 2013-02-11 Roland McGrath <roland@hack.frob.com>
36225
36226 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36227 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36228 declaration.
36229 * manual/search.texi (Array Search Function): Add missing const in
36230 lfind prototype.
36231 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36232 declaration to use rlim_t.
36233 (Basic Scheduling Functions): Remove erroneous const from
36234 sched_getparam prototype. Remove erroneous * from
36235 sched_get_priority_max and sched_get_priority_min prototypes.
36236 (Resource Usage): Fix summary @comment on vtimes to refer to
36237 sys/vtimes.h rather than vtimes.h.
36238 Add missing *s in vtimes prototype.
36239 (Limits on Resources): Fix ulimit prototype to return long int.
36240 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36241 prototypes to use long int rather than double.
36242 (BSD Random): Fix initstate and setstate to use char *, not void *.
36243 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36244 prototype to make second argument 'struct aiocb64 *const[]'.
36245 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36246 (Status of AIO Operations): Remove erroneous const in aio_return and
36247 aio_return64 prototypes.
36248 (Synchronizing I/O): Fix sync prototype to return void.
36249 * manual/startup.texi (Suboptions): Remove an erroneous const in
36250 getsubopt prototype.
36251 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36252 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36253 use size_t rather than int.
36254 (Scanning All Users): Likewise for getpwent_r.
36255 (Setting Groups): Add missing const to setgroups prototype.
36256 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36257 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36258 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36259 'const void *' rather than 'const char *'.
36260 (Host Address Functions): Likewise for inet_ntop.
36261 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36262 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36263 ssize_t for return value.
36264 (Sending Data): Likewise for send, sendto, sendmsg.
36265 (Socket Option Functions): Add a missing const in setsockopt prototype.
36266 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36267 use wchar_t for the argument.
36268 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36269 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36270 take no arguments.
36271 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36272 double/float/long double for second argument.
36273 Fix return types of significand, significandf, significandl.
36274 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36275 argument in fchmod prototype.
36276 (File Owner): Use uid_t and gid_t in fchown prototype.
36277 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36278 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36279 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36280 use 'const struct dirent **' as argument types to CMP function pointer
36281 argument.
36282 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36283 (File Times): Fix summary magic @comment for struct utimbuf and utime
36284 to refer to utime.h, not time.h.
36285 * manual/string.texi (Argz Functions): Add missing const in
36286 argz_extract and argz_next prototypes.
36287 (Finding Tokens in a String): Likewise for basename.
36288 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36289 (Copying and Concatenation): Fix typo in wmemmove prototype.
36290 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36291 (Signal Stack): Remove erroneous const in sigstack prototype.
36292 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36293 prototype.
36294 (Simple Calendar Time): Likewise for stime.
36295 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36296 prototype.
36297 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36298 say sys/sysctl.h instead.
36299 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36300 and vsyslog prototypes.
36301
36302 2013-02-11 Tom de Vries <tom@codesourcery.com>
36303
36304 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36305 Remove.
36306
36307 2013-02-11 Roland McGrath <roland@hack.frob.com>
36308
36309 * misc/sys/mman.h: Fix typo in mremap comment.
36310
36311 2013-02-08 Roland McGrath <roland@hack.frob.com>
36312
36313 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36314 the '\0' terminator.
36315
36316 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36317
36318 [BZ #13550]
36319 * debug/segfault.c: Don't include <bp-checks.h>.
36320 * sysdeps/generic/bp-checks.h: Remove file.
36321 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36322 (__GETDENTS): Don't use CHECK_N.
36323 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36324 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36325 (__getgroups): Don't use CHECK_N.
36326 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36327 (setgroups): Don't use CHECK_N.
36328 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36329 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36330 (__libc_msgrcv): Don't use CHECK_N.
36331 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36332 (__libc_msgsnd): Don't use CHECK_N.
36333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36334 <bp-checks.h>.
36335 (__libc_pread): Don't use CHECK_N.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36337 include <bp-checks.h>.
36338 (__libc_pread64): Don't use CHECK_N.
36339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36340 include <bp-checks.h>.
36341 (__libc_pwrite): Don't use CHECK_N.
36342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36343 include <bp-checks.h>.
36344 (__libc_pwrite64): Don't use CHECK_N.
36345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36346 <bp-checks.h>.
36347 (__libc_pread): Don't use CHECK_N.
36348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36349 include <bp-checks.h>.
36350 (__libc_pread64): Don't use CHECK_N.
36351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36352 include <bp-checks.h>.
36353 (__libc_pwrite): Don't use CHECK_N.
36354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36355 include <bp-checks.h>.
36356 (__libc_pwrite64): Don't use CHECK_N.
36357 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36358 (do_pread): Don't use CHECK_N.
36359 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36360 (do_pread64): Don't use CHECK_N.
36361 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36362 (do_pwrite): Don't use CHECK_N.
36363 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36364 (do_pwrite64): Don't use CHECK_N.
36365 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36366 (__libc_readv): Don't use CHECK_N.
36367 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36368 (semop): Don't use CHECK_N.
36369 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36370 <bp-checks.h>.
36371 (semtimedop): Don't use CHECK_N.
36372 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36373 (__libc_pread): Don't use CHECK_N.
36374 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36375 <bp-checks.h>.
36376 (__libc_pread64): Don't use CHECK_N.
36377 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36378 <bp-checks.h>.
36379 (__libc_pwrite): Don't use CHECK_N.
36380 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36381 <bp-checks.h>.
36382 (__libc_pwrite64): Don't use CHECK_N.
36383 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36384 <bp-checks.h>.
36385 (__libc_msgrcv): Don't use CHECK_N.
36386 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36387 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36388 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36389 (__libc_writev): Don't use CHECK_N.
36390
36391 2013-02-08 Roland McGrath <roland@hack.frob.com>
36392
36393 * string/strcpy.c: Removed unused variable.
36394
36395 * Makeconfig (+sysdep-includes): Define with := rather than =.
36396 Use an existing include/ subdir of each sysdeps dir before it.
36397
36398 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36399
36400 * nscd/connection.c (register_traced_file): Comment function.
36401 [HAVE_INOTIFY] (union __inev): Define.
36402 [HAVE_INOTIFY] (inotify_check_files): New function.
36403 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36404 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36405 clear_db_cache.
36406 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36407
36408 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36409
36410 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36411 loaded if not already and that a failure is permanent.
36412
36413 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36414
36415 [BZ #15006]
36416 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36417 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36418
36419 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36420
36421 [BZ #13550]
36422 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36423 (CHECK_1_NULL_OK): Likewise.
36424 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36425 (__fxstat): Do not use CHECK_1.
36426 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36427 <bp-checks.h>.
36428 (___fxstat64): Do not use CHECK_1.
36429 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36430 <bp-checks.h>.
36431 (__fxstatat): Do not use CHECK_1.
36432 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36433 <bp-checks.h>.
36434 (__fxstatat64): Do not use CHECK_1.
36435 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36436 <bp-checks.h>.
36437 (__fxstat): Do not use CHECK_1.
36438 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36439 <bp-checks.h>.
36440 (__fxstatat): Do not use CHECK_1.
36441 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36442 <bp-checks.h>.
36443 (__getresgid): Do not use CHECK_1.
36444 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36445 <bp-checks.h>.
36446 (__getresuid): Do not use CHECK_1.
36447 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36448 <bp-checks.h>.
36449 (__lxstat): Do not use CHECK_1.
36450 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36451 <bp-checks.h>.
36452 (__old_msgctl): Do not use CHECK_1.
36453 (__new_msgctl): Likewise.
36454 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36455 <bp-checks.h>.
36456 (__new_setrlimit): Do not use CHECK_1.
36457 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36458 <bp-checks.h>.
36459 (__old_shmctl): Do not use CHECK_1.
36460 (__new_shmctl): Likewise.
36461 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36462 <bp-checks.h>.
36463 (__xstat): Do not use CHECK_1.
36464 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36465 (__lxstat): Do not use CHECK_1.
36466 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36467 <bp-checks.h>.
36468 (___lxstat64): Do not use CHECK_1.
36469 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36470 (__old_msgctl): Do not use CHECK_1.
36471 (__new_msgctl): Likewise.
36472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36473 <bp-checks.h>.
36474 (__gettimeofday): Do not use CHECK_1.
36475 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36476 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36477 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36478 <bp-checks.h>.
36479 (__gettimeofday): Do not use CHECK_1.
36480 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36481 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36482 (__new_shmctl): Do not use CHECK_1.
36483 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36484 <bp-checks.h>.
36485 (do_sigtimedwait): Do not use CHECK_1.
36486 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36487 <bp-checks.h>.
36488 (do_sigwaitinfo): Do not use CHECK_1.
36489 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36490 <bp-checks.h>.
36491 (msgctl): Do not use CHECK_1.
36492 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36493 <bp-checks.h>.
36494 (shmctl): Do not use CHECK_1.
36495 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36496 (ustat): Do not use CHECK_1.
36497 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36498 <bp-checks.h>.
36499 (__fxstat): Do not use CHECK_1.
36500 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36501 <bp-checks.h>.
36502 (__fxstatat): Do not use CHECK_1.
36503 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36504 <bp-checks.h>.
36505 (__lxstat): Do not use CHECK_1.
36506 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36507 <bp-checks.h>.
36508 (__xstat): Do not use CHECK_1.
36509 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36510 (__xstat): Do not use CHECK_1.
36511 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36512 (___xstat64): Do not use CHECK_1.
36513
36514 [BZ #13550]
36515 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36516 definitions.
36517 (CHECK_BOUNDS_HIGH): Likewise.
36518 * string/strcpy.c: Do not include <bp-checks.h>.
36519 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36520
36521 2013-02-07 Roland McGrath <roland@hack.frob.com>
36522
36523 * nscd/nscd-client.h (__nscd_drop_map_ref):
36524 Add __attribute__ ((unused)).
36525 * nis/nss-nisplus.h (niserr2nss): Likewise.
36526
36527 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36528 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36529
36530 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36531 Remove inline keyword.
36532 * include/rounding-mode.h (round_away): Likewise.
36533 * libio/wfileops.c (adjust_wide_data): Likewise.
36534 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36535 (__m128i_strloadu_tolower): Likewise.
36536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36537 (__m128i_strloadu_tolower): Likewise.
36538 * time/mktime.c (ydhms_diff): Likewise.
36539 * locale/elem-hash.h (elem_hash): Likewise.
36540 * locale/setlocale.c (setdata): Likewise.
36541 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36542 (re_string_wchar_at): Likewise.
36543 (bitset_not, bitset_merge, bitset_mask): Likewise.
36544 [!(__GNUC__ > 3)] (inline): Remove macro.
36545 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36546 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36547 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36548 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36549 * string/memcmp.c (memcmp_bytes): Likewise.
36550 * locale/programs/locarchive.c (compute_hashval): Likewise.
36551 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36552 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36553 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36554 * nss/getent.c (print_rpc, print_protocols): Likewise.
36555 (print_passwd, print_group, print_aliases): Likewise.
36556 * nis/nss-nisplus.h (niserr2nss): Likewise.
36557 * nscd/connections.c (restart_p): Likewise.
36558 Change return type to bool.
36559
36560 2013-02-05 Roland McGrath <roland@hack.frob.com>
36561
36562 * Makeconfig (all-Depend-files): Add existing
36563 $(sorted-subdirs:=/Depend) files.
36564 (all-subdirs): Remove nss.
36565 * sysdeps/unix/inet/Subdirs: Add it here instead.
36566 * hesiod/Depend: New file.
36567
36568 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36569 instead of calling alloca.
36570
36571 * io/lseek.c (__lseek): Rename to __libc_lseek.
36572 Define __lseek as an alias.
36573
36574 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36575
36576 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36577
36578 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36579 else clause and remove check for non-standard endianness.
36580
36581 2013-02-04 David S. Miller <davem@davemloft.net>
36582
36583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36584
36585 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36586
36587 [BZ #13550]
36588 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36589 (__ubp_memchr): Remove prototype.
36590 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36591 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36592 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36593 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36594 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36595 Remove alias.
36596 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36597 (__ubp_memchr): Likewise.
36598 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36599 (__ubp_memchr): Likewise.
36600 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36601 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36602 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36603 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36604 CHECK_STRING.
36605 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36606 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36607 (__getcwd): Do not use CHECK_STRING.
36608 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36609 <bp-checks.h>.
36610 (__real_chown): Do not use CHECK_STRING.
36611 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36612 <bp-checks.h>.
36613 (fchownat): Do not use CHECK_STRING.
36614 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36615 CHECK_STRING.
36616 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36617 <bp-checks.h>.
36618 (__lchown): Do not use CHECK_STRING.
36619 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36620 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36621 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36622 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36624 include <bp-checks.h>.
36625 (truncate64): Do not use CHECK_STRING.
36626 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36627 <bp-checks.h>.
36628 (__real_chown): Do not use CHECK_STRING.
36629 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36630 <bp-checks.h>.
36631 (__lchown): Do not use CHECK_STRING.
36632 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36633 <bp-checks.h>.
36634 (__chown): Do not use CHECK_STRING.
36635 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36636 <bp-checks.h>.
36637 (truncate64): Do not use CHECK_STRING.
36638 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36639 Likewise.
36640 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36641 (__xmknod): Do not use CHECK_STRING.
36642 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36643 <bp-checks.h>.
36644 (__xmknodat): Do not use CHECK_STRING.
36645 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36646 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36647
36648 2013-02-04 Andreas Schwab <schwab@suse.de>
36649
36650 [BZ #14142]
36651 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36652 * include/netdb.h: Likewise for h_errno.
36653 * elf/tst-stackguard1.c: Include <tls.h>.
36654
36655 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36656
36657 * elf/link.h (struct link_map): Extend the l_addr comment.
36658 * include/link.h (struct link_map): Likewise.
36659
36660 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36661
36662 [BZ #13550]
36663 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36664 (BOUNDED_1): Remove macro.
36665 * debug/backtrace.c: Don't include <bp-checks.h>.
36666 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36667 (__backtrace): Likewise.
36668 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36669 <bp-checks.h>.
36670 (__backtrace): Don't use BOUNDED_1.
36671 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36672 <bp-checks.h>.
36673 (__backtrace): Don't use BOUNDED_1.
36674 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36675 (__backtrace): Don't use BOUNDED_1.
36676 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36677 (shmat): Don't use BOUNDED_N.
36678
36679 2013-01-31 Joseph Myers <joseph@codesourcery.com>
36680
36681 [BZ #13550]
36682 * sysdeps/generic/bp-start.h: Remove file.
36683 * csu/libc-start.c: Don't include <bp-start.h>.
36684 (LIBC_START_MAIN): Set up __environ directly instead of using
36685 INIT_ARGV_and_ENVIRON.
36686 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36687 <bp-start.h>.
36688
36689 [BZ #13550]
36690 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36691 definitions.
36692 (CHECK_FCNTL): Likewise.
36693 (CHECK_N_PAGES): Likewise.
36694
36695 [BZ #13550]
36696 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36697 definitions.
36698 (CHECK_SIGSET_NULL_OK): Likewise.
36699 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36700 <bp-checks.h>.
36701 (sigpending): Don't use CHECK_SIGSET.
36702 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36703 <bp-checks.h>.
36704 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36705 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36706 <bp-checks.h>.
36707 (do_sigsuspend): Don't use CHECK_SIGSET.
36708 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36709 use CHECK_SIGSET.
36710 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36711 (do_sigwait): Don't use CHECK_SIGSET.
36712 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36713 use CHECK_SIGSET.
36714 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36715 include <bp-checks.h>.
36716 (sigpending): Don't use CHECK_SIGSET.
36717 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36718 include <bp-checks.h>.
36719 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36720 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36721 <bp-checks.h>.
36722 (sigpending): Don't use CHECK_SIGSET.
36723 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36724 <bp-checks.h>.
36725 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36726
36727 [BZ #13550]
36728 * sysdeps/generic/bp-semctl.h: Remove file.
36729 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36730 <bp-checks.h> and <bp-semctl.h>.
36731 (__old_semctl): Don't use CHECK_SEMCTL.
36732 (__new_semctl): Likewise.
36733 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36734 and <bp-semctl.h>.
36735 (__old_semctl): Don't use CHECK_SEMCTL.
36736 (__new_semctl): Likewise.
36737 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36738 <bp-checks.h> and <bp-semctl.h>.
36739 (__old_semctl): Don't use CHECK_SEMCTL.
36740 (__new_semctl): Likewise.
36741 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36742 <bp-checks.h> and <bp-semctl.h>.
36743 (semctl): Don't use CHECK_SEMCTL.
36744
36745 [BZ #13550]
36746 * Makerules (elide-bp-thunks): Remove variable.
36747 (elide-routines.oS): Don't use $(elide-bp-thunks).
36748 (elide-routines.os): Likewise.
36749 (elide-routines.o): Likewise.
36750 (elide-routines.op): Likewise.
36751 (elide-routines.og): Likewise.
36752 (objects): Don't use $(bp-thunks).
36753 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36754 include.
36755 (common-generated): Do not add s-proto-bp.d.
36756 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36757 (int): Likewise.
36758 (typ): Likewise.
36759 Do not generate makefile rules for bounded-pointer thunks.
36760 * sysdeps/generic/bp-thunks.h: Remove file.
36761 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36762 * sysdeps/unix/s-proto-bp.S: Likewise.
36763
36764 [BZ #15062]
36765 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36766 parts of result separately when argument is not close to line from
36767 -i to i and one part of argument is small.
36768 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36769 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36770 * math/libm-test.inc (cacos_test): Add more tests.
36771 (casin_test): Likewise.
36772 (casinh_test): Likewise.
36773 * sysdeps/i386/fpu/libm-test-ulps: Update.
36774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36775
36776 2013-01-31 David S. Miller <davem@davemloft.net>
36777
36778 * po/de.po: Update from translation team.
36779
36780 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36781
36782 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36783
36784 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36785
36786 * configure.in (_AC_PROG_CC_C89): New definition.
36787 * configure: Regenerate.
36788
36789 * configure.in (AC_PROG_CPP): New definition.
36790 * configure: Regenerate.
36791
36792 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36793
36794 * debug/tst-backtrace.h: New file.
36795 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36796 (ret): Remove variable.
36797 (x): Likewise.
36798 (FAIL): Remove macro.
36799 (NO_INLINE): Likewise.
36800 (fn1): Use match function instead of strstr.
36801 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36802 (ret): Remove variable.
36803 (x): Likewise.
36804 (FAIL): Remove macro.
36805 (NO_INLINE): Likewise.
36806 (fn): Use match function instead of strstr.
36807 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36808 (ret): Remove variable.
36809 (x): Likewise.
36810 (FAIL): Remove macro.
36811 (NO_INLINE): Likewise.
36812 (handle_signal): Use match function instead of strstr.
36813 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36814 (ret): Remove variable.
36815 (x): Likewise.
36816 (FAIL): Remove macro.
36817 (NO_INLINE): Likewise.
36818 (handle_signal): Use match function instead of strstr.
36819
36820 2013-01-23 Roland McGrath <roland@hack.frob.com>
36821
36822 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36823
36824 2013-01-23 David S. Miller <davem@davemloft.net>
36825
36826 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36827 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36828 argument of CAS if possible.
36829 * sysdeps/sparc/sparc64/bits/atomic.h
36830 (__arch_compare_and_exchange_val_32_acq): Likewise.
36831 (__arch_compare_and_exchange_val_64_acq): Likewise.
36832
36833 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36834
36835 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36836 * sysdeps/posix/ulimit.c: ... this.
36837 Include <limits.h>.
36838 * sysdeps/unix/bsd/ulimit.c: Remove file.
36839
36840 2013-01-23 Adam Conrad <adconrad@0c3.net>
36841
36842 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36843 (LDFLAGS-tst-array5): Likewise.
36844
36845 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36846
36847 [BZ #15036]
36848 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36849 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36850 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36851 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36852
36853 2013-01-21 David S. Miller <davem@davemloft.net>
36854
36855 * sysdeps/sparc/backtrace.c: New file.
36856 * sysdeps/sparc/sparc32/backtrace.h: New file.
36857 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36858 * sysdeps/sparc/sparc64/backtrace.h: New file.
36859 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36860 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36861 -funwind-tables.
36862
36863 2013-01-21 Andreas Schwab <schwab@suse.de>
36864
36865 [BZ #15020]
36866 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36867 closed its stdout.
36868
36869 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36870
36871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36872 "mpa2.h".
36873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36874
36875 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36876 Mark Mitchell <mark@codesourcery.com>
36877 Tom de Vries <tom@codesourcery.com>
36878 Paul Pluzhnikov <ppluzhnikov@google.com>
36879
36880 * debug/tst-backtrace2.c: New file.
36881 * debug/tst-backtrace3.c: Likewise.
36882 * debug/tst-backtrace4.c: Likewise.
36883 * debug/tst-backtrace5.c: Likewise.
36884 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36885 (CFLAGS-tst-backtrace3.c): Likewise.
36886 (CFLAGS-tst-backtrace4.c): Likewise.
36887 (CFLAGS-tst-backtrace5.c): Likewise.
36888 (LDFLAGS-tst-backtrace2): Likewise.
36889 (LDFLAGS-tst-backtrace3): Likewise.
36890 (LDFLAGS-tst-backtrace4): Likewise.
36891 (LDFLAGS-tst-backtrace5): Likewise.
36892 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36893 tst-backtrace4 and tst-backtrace5.
36894
36895 2013-01-18 Anton Blanchard <anton@samba.org>
36896 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36897
36898 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36899 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36900 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36901 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36903 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36904 "+r" and remove output regs list as redundant. Add explicit inline
36905 asm to specify register of return val to work around compiler codegen
36906 bug. Remove (int) cast on return value. Add return type parameter to
36907 use in macro so that this macro does not truncate return value for
36908 64-bit values.
36909 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36910 pass to INTERNAL_VSYSCALL_NCS.
36911 (INLINE_VSYSCALL): Add 'long int' as return type to
36912 INTERNAL_VSYSCALL_NCS macro invocation.
36913 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36914 INTERNAL_VSYSCALL_NCS macro invocation.
36915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36916
36917 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36918
36919 [BZ #14496]
36920 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36921 Fix application of SIMD FP exception mask.
36922
36923 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36924 mp_no from a power of two.
36925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36926 __mpexp_twomm1. Use __pow_mp.
36927
36928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36929 multiplication.
36930
36931 2013-01-17 David S. Miller <davem@davemloft.net>
36932
36933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36934
36935 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36936
36937 [BZ #15023]
36938 * include/complex.h: Condition contents on [!_COMPLEX_H].
36939 (__kernel_casinhf): New prototype.
36940 (__kernel_casinh): Likewise.
36941 (__kernel_casinhl): Likewise.
36942 * math/Makefile (libm_calls): Add k_casinh.
36943 * math/k_casinh.c: New file.
36944 * math/k_casinhf.c: Likewise.
36945 * math/k_casinhl.c: Likewise.
36946 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36947 finite nonzero arguments.
36948 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36949 finite nonzero arguments.
36950 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36951 finite nonzero arguments.
36952 * math/s_casinh.c: Do not include <float.h>.
36953 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36954 * math/s_casinhf.c: Do not include <float.h>.
36955 (__casinhf): Move code for finite nonzero arguments to
36956 k_casinhf.c.
36957 * math/s_casinhl.c: Do not include <float.h>.
36958 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36959 redefine.
36960 (__casinhl): Move code for finite nonzero arguments to
36961 k_casinhl.c.
36962 * math/libm-test.inc (cacos_test): Add more tests.
36963 * sysdeps/i386/fpu/libm-test-ulps: Update.
36964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36965
36966 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36967
36968 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36969 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36970 [!HAVE_MREMAP]: Remove [defined linux] case.
36971 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36972
36973 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36974
36975 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36976
36977 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36978
36979 * elf/elf.h (R_386_SIZE32): New relocation.
36980 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36981 R_386_SIZE32.
36982 (elf_machine_rela): Likewise.
36983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36984 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36985
36986 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36987
36988 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36989 (FP_FAST_FMA): Do not define.
36990 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36991 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36992 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36993 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36994 !_SOFT_FLOAT]: Likewise.
36995 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36996 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36997 value.
36998 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36999 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37000 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37001 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37002 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37003 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37004 file.
37005
37006 2013-01-16 Andreas Schwab <schwab@suse.de>
37007
37008 [BZ #14327]
37009 * include/stdlib.h (__mktemp): Add declaration.
37010 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37011 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37012
37013 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37014
37015 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37016 definitions.
37017 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37018 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37019 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37020 definitions here.
37021 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37022 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37023 definitions.
37024 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37025 and ONE.
37026 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37027 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37028 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37029 definitions.
37030 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37031 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37032 definitions.
37033 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37034
37035 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37036
37037 2013-01-15 David S. Miller <davem@davemloft.net>
37038
37039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37040 trunc{,f} to libm-sysdep_routes.
37041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37043 file.
37044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37046 file.
37047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37048 file.
37049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37051 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37052 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37053 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37054 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37055 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37056 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37057
37058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37059 nearbyint{,f} to libm-sysdep_routes.
37060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37062 New file.
37063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37064 file.
37065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37066 New file.
37067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37068 file.
37069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37071 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37072 file.
37073 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37075 file.
37076 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37077 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37078 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37079
37080 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37081 libc_feholdexcept and libc_fesetenv.
37082
37083 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37084
37085 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37086
37087 2013-01-14 David S. Miller <davem@davemloft.net>
37088
37089 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37090 (SPARC_ASM_VIS2_IFUNC): Likewise.
37091 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37093 use of 'siam' instruction.
37094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37095 Likewise.
37096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37097 Likewise.
37098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37099 Likewise.
37100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37105 file.
37106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37107 file.
37108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37109 file.
37110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37111 file.
37112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37117 new VIS2 routines.
37118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37121 Likewise.
37122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37127 routines to libm-sysdep_routines.
37128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37129
37130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37131 fdim/fdimf to libm-sysdep_routines.
37132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37133 file.
37134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37136 file.
37137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37140 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37141 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37142 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37143 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37144
37145 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37146
37147 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37148 to optimize copies.
37149
37150 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37153
37154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37155 local variable MPTWO.
37156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37157 Likewise.
37158
37159 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37160
37161 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37162 GLOB_NOESCAPE.
37163
37164 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37165
37166 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37167
37168 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37169
37170 * manual/pattern.texi (glob_t): Document gl_flags.
37171 (glob64_t): Likewise.
37172
37173 2013-01-11 David S. Miller <davem@davemloft.net>
37174
37175 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37176 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37177 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37178 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37179 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37180 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37181 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37182 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37183 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37184 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37185 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37186 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37187 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37188
37189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37190 sparc V9 rather than using V8 code.
37191 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37192 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37193
37194 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37195 Move to...
37196 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37197 Here.
37198
37199 2013-01-11 Roland McGrath <roland@hack.frob.com>
37200
37201 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37202 not in the main loop.
37203 * configure: Regenerated.
37204
37205 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37206
37207 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37208 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37209 to just #else.
37210 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37211 [!__GLIBC_HAVE_LONG_LONG] case.
37212 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37213 condition to just #else.
37214 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37215 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37216 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37217 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37218 unconditional.
37219 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37220 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37221 #elif condition to just #else.
37222 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37223 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37224 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37225 #elif condition to just #else.
37226
37227 2013-01-11 Steve Ellcey <sellcey@mips.com>
37228
37229 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37230 (EF_MIPS_ARCH_64): Fix value.
37231 (EF_MIPS_ARCH_32R2): New.
37232 (EF_MIPS_ARCH_64R2): New.
37233
37234 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37235
37236 * Makeconfig (+link-pie-before-libc): New.
37237 (+link-pie-after-libc): Likewise.
37238 (+link-pie-tests): Likewise.
37239 (+link-pie): Rewritten.
37240 (link-before-libc): Remove $(config-LDFLAGS).
37241 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37242 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37243 (config-LDFLAGS): Renamed to ...
37244 (rtld-LDFLAGS): This.
37245 (rtld-tests-LDFLAGS): New macro.
37246 (link-libc-rpath-link): Likewise.
37247 (link-libc-tests-rpath-link): Likewise.
37248 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37249 (link-libc): Prepand $(link-libc-rpath-link).
37250 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37251 (test-program-prefix): New macro.
37252 (test-via-rtld-prefix): Likewise.
37253 (test-program-cmd): Likewise.
37254 (host-test-program-cmd): Likewise.
37255 * Makefile ($(common-objpfx)testrun.sh): Replace
37256 $(run-program-prefix) with $(test-program-prefix).
37257 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37258 $(rtld-LDFLAGS).
37259 ($(common-objpfx)shlib.lds): Likewise.
37260 (build-module-helper): Likewise.
37261 ($(common-objpfx)format.lds): Likewise.
37262 * Rules (binaries-pie-tests): New.
37263 (binaries-pie-notests): Likewise.
37264 (binaries-pie): Rewritten.
37265 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37266 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37267 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37268 (make-test-out): Replace $(host-built-program-cmd) with
37269 $(host-test-program-cmd).
37270 * config.make.in (build-hardcoded-path-in-tests): New variable.
37271 * configure.in (--enable-hardcoded-path-in-tests): New configure
37272 option.
37273 (hardcoded_path_in_tests): New AC_SUBST.
37274 * configure: Regenerated.
37275 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37276 $(built-program-cmd) with $(test-program-cmd).
37277 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37278 (test_program_cmd): This.
37279 * elf/Makefile ($(objpfx)order.out): Run test with
37280 $(test-program-prefix).
37281 ($(objpfx)order2.out): Likewise.
37282 ($(objpfx)tst-initorder.out): Likewise.
37283 ($(objpfx)tst-initorder2.out): Likewise.
37284 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37285 $(test-program-cmd).
37286 ($(objpfx)tst-array1-static.out): Likewise.
37287 ($(objpfx)tst-array2.out): Likewise.
37288 ($(objpfx)tst-array3.out): Likewise.
37289 ($(objpfx)tst-array4.out): Likewise.
37290 ($(objpfx)tst-array5.out): Likewise.
37291 ($(objpfx)tst-array5-static.out): Likewise.
37292 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37293 $(test-program-cmd).
37294 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37295 $(run-program-prefix) with $(test-program-prefix).
37296 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37297 (test_program_prefix): This.
37298 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37299 $(run-program-prefix) with $(test-program-prefix).
37300 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37301 (test_program_prefix): This.
37302 * iconvdata/tst-tables.sh: Likewise.
37303 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37304 $(run-program-prefix) with $(test-program-prefix).
37305 ($(objpfx)tst-translit.out): Likewise.
37306 ($(objpfx)tst-gettext2.out): Likewise.
37307 ($(objpfx)tst-gettext4.out): Likewise.
37308 ($(objpfx)tst-gettext6.out): Likewise.
37309 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37310 (test_program_prefix): This.
37311 * intl/tst-gettext2.sh: Likewise.
37312 * intl/tst-gettext4.sh Likewise.
37313 * intl/tst-gettext6.sh: Likewise.
37314 * intl/tst-translit.sh: Likewise.
37315 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37316 with $(test-program-cmd).
37317 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37318 $(run-program-prefix) with $(test-program-prefix).
37319 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37320 (test_program_prefix): This.
37321 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37322 $(run-program-prefix) with $(test-program-prefix).
37323 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37324 (test_program_prefix): This.
37325 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37326 * posix/Makefile ($(objpfx)globtest.out): Replace
37327 $(run-via-rtld-prefix) and $(test-wrapper) with
37328 $(test-program-prefix) and $(test-via-rtld-prefix).
37329 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37330 $(test-program-prefix).
37331 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37332 $(host-test-program-cmd).
37333 (tst-spawn-ARGS): Likewise.
37334 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37335 $(test-program-prefix).
37336 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37337 (test_via_rtld_prefix): This.
37338 (test_wrapper): Renamed to ...
37339 (test_program_prefix): This.
37340 (run_program_prefix): Replaced by test_program_prefix.
37341 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37342 (test_program_prefix): This.
37343 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37344 with $(host-test-program-cmd).
37345 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37346 $(run-program-prefix) with $(test-program-prefix).
37347 ($(objpfx)tst-printf.out): Likewise.
37348 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37349 $(test-program-cmd).
37350 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37351 (test_program_prefix): This.
37352 * stdio-common/tst-unbputc.sh: Likewise.
37353 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37354 $(run-program-prefix) with $(test-program-prefix).
37355 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37356 (test_program_prefix): This.
37357 * string/Makefile ($(objpfx)tst-svc.out): Replace
37358 $(built-program-cmd) with $(test-program-cmd).
37359
37360 2013-01-11 Andreas Jaeger <aj@suse.de>
37361
37362 [BZ #15003]
37363 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37364 value. Sync with Linux 3.7.
37365
37366 2013-01-10 David S. Miller <davem@davemloft.net>
37367
37368 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37369 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37370 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37371
37372 2013-01-10 Roland McGrath <roland@hack.frob.com>
37373
37374 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37375 never set.
37376 * configure: Regenerated.
37377
37378 2013-01-10 David S. Miller <davem@davemloft.net>
37379
37380 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37381 sparc V9 rather than using V8 code.
37382 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37383 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37384
37385 2013-01-10 Roland McGrath <roland@hack.frob.com>
37386
37387 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37388 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37389 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37390 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37391 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37392 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37393 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37394 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37395 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37396 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37397 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37398 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37399 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37400 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37401 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37402 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37403 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37404 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37405 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37406 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37407 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37408 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37409 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37410 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37411 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37412 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37413 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37414
37415 2013-01-10 David S. Miller <davem@davemloft.net>
37416
37417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37418
37419 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37420
37421 * posix/Makefile (tests-static): New variable.
37422 (tests): Add $(tests-static).
37423 (tst-exec-static-ARGS): New variable.
37424 (tst-spawn-static-ARGS): Likewise.
37425 * posix/tst-exec-static.c: New file.
37426 * posix/tst-spawn-static.c: Likewise.
37427 * posix/tst-exec.c: Support run directly.
37428 * posix/tst-spawn.c: Likewise.
37429
37430 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37431
37432 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37433 long.
37434 * math/bits/mathcalls.h (llrint): Likewise.
37435 (llround): Likewise.
37436 * stdlib/stdlib.h (struct drand48_data): Likewise.
37437 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37438 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37439 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37440 Likewise.
37441 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37442 Likewise.
37443 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37444 (elf_greg_t): Likewise.
37445 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37446 (__jmp_buf): Likewise.
37447 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37448 definitions.
37449 (llrint): Likewise, for all definitions.
37450 (llrintl): Likewise.
37451
37452 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37453 Remove [__GNUC__] condition.
37454 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37455 condition to just [__USE_ISOC99].
37456 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37457
37458 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37459
37460 [BZ #14200]
37461 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37462 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37463 defined.
37464 (_POSIX_V6_ILP32_OFF32): Likewise.
37465 (_XBS5_ILP32_OFF32): Likewise.
37466 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37467 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37468
37469 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37470
37471 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37472
37473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37474 doubles __mpexp_twomm1. Adjust usage.
37475 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37476 Remove.
37477
37478 2013-01-10 Andreas Schwab <schwab@suse.de>
37479
37480 [BZ #14964]
37481 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37482 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37483
37484 2013-01-09 David S. Miller <davem@davemloft.net>
37485
37486 [BZ #15003]
37487 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37488 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37489 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37490 (TCP_FASTOPEN): Define.
37491 (tcp_repair_opt): New structure.
37492 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37493 enum values.
37494 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37495 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37496 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37497 (tcp_cookie_transactions): New structure.
37498
37499 2013-01-09 Anton Blanchard <anton@samba.org>
37500
37501 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37503 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37504 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37505
37506 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37507
37508 * include/features.h (__USE_ANSI): Remove.
37509
37510 2013-01-09 Roland McGrath <roland@hack.frob.com>
37511
37512 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37513
37514 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37515
37516 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37517
37518 * sysdeps/s390/fpu/libm-test-ulps: Update.
37519
37520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37521
37522 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37523 (__acr): Likewise.
37524 (__cpy): Likewise.
37525 (norm): Likewise.
37526 (denorm): Likewise.
37527 (__mp_dbl): Likewise.
37528 (__dbl_mp): Likewise.
37529 (add_magnitudes): Likewise.
37530 (sub_magnitudes): Likewise.
37531 (__add): Likewise.
37532 (__sub): Likewise.
37533 (__mul): Likewise.
37534 (__inv): Likewise.
37535 (__dvd): Likewise.
37536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37537 (__acr): Likewise.
37538 (__cpy): Likewise.
37539 (norm): Likewise.
37540 (denorm): Likewise.
37541 (__mp_dbl): Likewise.
37542 (__dbl_mp): Likewise.
37543 (add_magnitudes): Likewise.
37544 (sub_magnitudes): Likewise.
37545 (__add): Likewise.
37546 (__sub): Likewise.
37547 (__mul): Likewise.
37548 (__inv): Likewise.
37549 (__dvd): Likewise.
37550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37551 (__acr): Likewise.
37552 (__cpy): Likewise.
37553 (norm): Likewise.
37554 (denorm): Likewise.
37555 (__mp_dbl): Likewise.
37556 (__dbl_mp): Likewise.
37557 (add_magnitudes): Likewise.
37558 (sub_magnitudes): Likewise.
37559 (__add): Likewise.
37560 (__sub): Likewise.
37561 (__mul): Likewise.
37562 (__inv): Likewise.
37563 (__dvd): Likewise.
37564
37565 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37566
37567 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37568 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37569 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37570 2 && __USE_EXTERN_INLINES]: Likewise.
37571
37572 2013-01-08 Andreas Jaeger <aj@suse.de>
37573
37574 [BZ# 14985]
37575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37576 Remove.
37577 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37578 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37579
37580 2013-01-07 Anton Blanchard <anton@samba.org>
37581
37582 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37583 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37584 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37585 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37586 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37587 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37588 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37589 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37591 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37592 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37595 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37596 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37597 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37599 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37600 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37602 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37603 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37605 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37606 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37607 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37608 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37609 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37611 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37612 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37614 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37615 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37616 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37617 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37618 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37620 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37622 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37624 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37625
37626 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37627
37628 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37629 (__MALLOC_PMT): Likewise.
37630 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37631 [__GNUC__], only on [_LIBC].
37632 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37633 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37634 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37635 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37636 forward declaration.
37637 (realloc_hook_ini): Likewise.
37638 (memalign_hook_ini): Likewise.
37639 (__libc_memalign): Do not use __MALLOC_PMT in variable
37640 declaration.
37641 (__libc_valloc): Likewise.
37642 (__libc_pvalloc): Likewise.
37643 (__libc_calloc): Likewise.
37644 (__posix_memalign): Likewise.
37645
37646 [BZ #14996]
37647 * math/s_casinh.c: Include <float.h>.
37648 (__casinh): Do not do computation with squaring and square root
37649 for large arguments.
37650 * math/s_casinhf.c: Include <float.h>.
37651 (__casinhf): Do not do computation with squaring and square root
37652 for large arguments.
37653 * math/s_casinhl.c: Include <float.h>.
37654 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37655 (__casinhl): Do not do computation with squaring and square root
37656 for large arguments.
37657 * math/libm-test.inc (casin_test): Add more tests.
37658 (casinh_test): Likewise.
37659 * sysdeps/i386/fpu/libm-test-ulps: Update.
37660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37661
37662 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37663
37664 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37665 (__x86_64_raw_data_cache_size): Likewise.
37666 (__x86_64_data_cache_size_half): Likewise.
37667 (__x86_64_raw_data_cache_size_half): Likewise.
37668 (__x86_64_shared_cache_size): Likewise.
37669 (__x86_64_raw_shared_cache_size): Likewise.
37670 (__x86_64_shared_cache_size_half): Likewise.
37671 (__x86_64_raw_shared_cache_size_half): Likewise.
37672 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37673 to ...
37674 (__x86_data_cache_size): This.
37675 (__x86_64_raw_data_cache_size): Renamed to ...
37676 (__x86_raw_data_cache_size): This.
37677 (__x86_64_data_cache_size_half): Renamed to ...
37678 (__x86_data_cache_size_half): This.
37679 (__x86_64_raw_data_cache_size_half): Renamed to ...
37680 (__x86_raw_data_cache_size_half): This.
37681 (__x86_64_shared_cache_size): Renamed to ...
37682 (__x86_shared_cache_size): This.
37683 (__x86_64_raw_shared_cache_size): Renamed to ...
37684 (__x86_raw_shared_cache_size): This.
37685 (__x86_64_shared_cache_size_half): Renamed to ...
37686 (__x86_shared_cache_size_half): This.
37687 (__x86_64_raw_shared_cache_size_half): Renamed to ...
37688 (__x86_raw_shared_cache_size_half): This.
37689 * sysdeps/x86_64/memcpy.S: Updated.
37690 * sysdeps/x86_64/memset.S: Likewise.
37691 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37693 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37694
37695 2013-01-04 David S. Miller <davem@davemloft.net>
37696
37697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37698
37699 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
37700
37701 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37702 1 to avoid redefinition warning.
37703 (__USE_GNU): Don't define.
37704 (init_signaling_nan): Protoize.
37705
37706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37707
37708 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37709
37710 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37712 (__cpymn): Likewise.
37713 (norm): Remove commented code.
37714 (denorm): Likewise.
37715 (__mp_dbl): Likewise.
37716 (__inv): Likewise.
37717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37718 (__cpymn): Likewise.
37719 (norm): Remove commented code.
37720 (denorm): Likewise.
37721 (__mp_dbl): Likewise.
37722 (__inv): Likewise.
37723
37724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37725 mp_no value for 1.0 and 2.0.
37726 (norm): Use RADIXI instead of radixi.d.
37727 (denorm): Likewise.
37728 (__mul): Use 0.0 instead of zero.d.
37729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37730 mp_no value for 1.0 and 2.0.
37731 (norm): Use RADIXI instead of radixi.d.
37732 (denorm): Likewise.
37733 (__mul): Use 0.0 instead of zero.d.
37734
37735 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37736
37737 [BZ #14994]
37738 * math/s_casinh.c (__casinh): Reduce finite argument to first
37739 quadrant then set signs of results at the end.
37740 * math/s_casinhf.c (__casinhf): Likewise.
37741 * math/s_casinhl.c (__casinhl): Likewise.
37742 * math/libm-test.inc (casin_test): Add more tests.
37743 (casinh_test): Likewise.
37744 * sysdeps/i386/fpu/libm-test-ulps: Update.
37745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37746
37747 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37748
37749 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37750
37751 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37752
37753 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37754 declarations.
37755 (denorm): Likewise.
37756 (__mp_dbl): Likewise.
37757 (__inv): Likewise.
37758
37759 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37760 and adjust the header comment.
37761
37762 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37763 variable name from declaration.
37764
37765 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37766
37767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37768 Initialize COMMON_CPUID_INDEX_7 element.
37769 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37770 (CPUID_RTM): Likewise.
37771 (HAS_RTM): Likewise.
37772 (COMMON_CPUID_INDEX_7): New enum.
37773
37774 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37775
37776 [BZ #14981]
37777 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37778 size is zero, record memory as freed.
37779
37780 2013-01-03 Andreas Jaeger <aj@suse.de>
37781
37782 * po/ia.po: Add new Interlingua translation.
37783
37784 2012-01-03 Allan McRae <allan@archlinux.org>
37785
37786 * locale/programs/localedef.c: Fix description of '--posix' flag.
37787
37788 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37789
37790 * NEWS: Update dates in second copyright notice.
37791 * README: Update copyright dates in example.
37792 * manual/libc.texinfo: Update copyright dates.
37793 * scripts/test-installation.pl: Update copyright date in --version
37794 output.
37795
37796 * hurd/ctty-input.c: Fix copyright notice formatting.
37797 * hurd/ctty-output.c: Likewise.
37798 * hurd/dtable.c: Likewise.
37799 * hurd/hurd-raise.c: Likewise.
37800 * hurd/hurdprio.c: Likewise.
37801 * hurd/msgportdemux.c: Likewise.
37802 * misc/sys/file.h: Likewise.
37803 * misc/sys/ioctl.h: Likewise.
37804 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37805 * sysdeps/mach/hurd/chdir.c: Likewise.
37806 * sysdeps/mach/hurd/fchdir.c: Likewise.
37807 * sysdeps/mach/hurd/rename.c: Likewise.
37808 * sysdeps/mach/hurd/rmdir.c: Likewise.
37809 * sysdeps/mach/hurd/seekdir.c: Likewise.
37810 * sysdeps/mach/hurd/setsid.c: Likewise.
37811 * sysdeps/posix/wait3.c: Likewise.
37812
37813 * All files with FSF copyright notices: Update copyright dates
37814 using scripts/update-copyrights.
37815 * intl/plural.c: Regenerated.
37816 * locale/programs/charmap-kw.h: Likewise.
37817 * locale/programs/locfile-kw.h: Likewise.
37818
37819 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37820
37821 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37822 four values.
37823
37824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37825 calculation loop and add branch prediction.
37826
37827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37828 check access beyond bounds of m1np.
37829
37830 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37831 MPTWO.
37832 (__inv): Remove local variable MPTWO to use the global
37833 constant.
37834 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37836 variable MPTWO.
37837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37838 MP3HALFS static const.
37839
37840 2013-01-01 David S. Miller <davem@davemloft.net>
37841
37842 * po/ca.po: Update from translation team.
37843
37844 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37845
37846 * scripts/update-copyrights: New file.
37847 * Makeconfig: Reformat copyright notice.
37848 * ctype/ctype.h: Likewise.
37849 * debug/swprintf_chk.c: Likewise.
37850 * elf/dl-cache.c: Likewise.
37851 * elf/dl-debug.c: Likewise.
37852 * elf/dl-object.c: Likewise.
37853 * grp/initgroups.c: Likewise.
37854 * hurd/Makefile: Likewise.
37855 * hurd/hurd/signal.h: Likewise.
37856 * hurd/hurdfault.c: Likewise.
37857 * hurd/hurdioctl.c: Likewise.
37858 * hurd/hurdlookup.c: Likewise.
37859 * hurd/intr-msg.c: Likewise.
37860 * iconv/gconv_open.c: Likewise.
37861 * libio/swprintf.c: Likewise.
37862 * locale/lc-ctype.c: Likewise.
37863 * locale/nl_langinfo.c: Likewise.
37864 * mach/Machrules: Likewise.
37865 * mach/Makefile: Likewise.
37866 * malloc/obstack.h: Likewise.
37867 * manual/Makefile: Likewise.
37868 * manual/tsort.awk: Likewise.
37869 * misc/bits/stab.def: Likewise.
37870 * nis/nis_print_group_entry.c: Likewise.
37871 * nis/nis_table.c: Likewise.
37872 * nis/nss_compat/compat-pwd.c: Likewise.
37873 * nis/nss_compat/compat-spwd.c: Likewise.
37874 * po/Makefile: Likewise.
37875 * posix/fnmatch.c: Likewise.
37876 * posix/regex.h: Likewise.
37877 * resolv/Makefile: Likewise.
37878 * resolv/nss_dns/dns-network.c: Likewise.
37879 * resolv/res_hconf.c: Likewise.
37880 * scripts/gen-sorted.awk: Likewise.
37881 * soft-fp/soft-fp.h: Likewise.
37882 * stdio-common/printf.h: Likewise.
37883 * stdlib/monetary.h: Likewise.
37884 * stdlib/random.c: Likewise.
37885 * stdlib/random_r.c: Likewise.
37886 * sysdeps/generic/Makefile: Likewise.
37887 * sysdeps/gnu/Makefile: Likewise.
37888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37902 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37904 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37911 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37912 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37915 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37916 * sysdeps/mach/hurd/errnos.awk: Likewise.
37917 * sysdeps/mach/hurd/fork.c: Likewise.
37918 * sysdeps/mach/hurd/getcwd.c: Likewise.
37919 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37920 * sysdeps/mach/hurd/mmap.c: Likewise.
37921 * sysdeps/mach/hurd/utimes.c: Likewise.
37922 * sysdeps/mach/hurd/xmknod.c: Likewise.
37923 * sysdeps/posix/profil.c: Likewise.
37924 * sysdeps/posix/readdir_r.c: Likewise.
37925 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37926 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37927 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37928 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37930 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37932 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37934 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37935 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37936 * sysdeps/pthread/lio_listio.c: Likewise.
37937 * sysdeps/sparc/dl-procinfo.h: Likewise.
37938 * sysdeps/unix/i386/sysdep.S: Likewise.
37939 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37940 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37941 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37942 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37944 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37945 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37946 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37947 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37948 * sysdeps/wordsize-32/divdi3.c: Likewise.
37949 * time/sys/time.h: Likewise.
37950 * wcsmbs/Makefile: Likewise.
37951
37952 2013-01-01 David S. Miller <davem@davemloft.net>
37953
37954 * po/fr.po: Update from translation team.
37955
37956 * catgets/gencat.c: Update copyright year.
37957 * csu/version.c: Likewise.
37958 * debug/catchsegv.sh: Likewise.
37959 * debug/pcprofiledump.c: Likewise.
37960 * debug/xtrace.sh: Likewise.
37961 * elf/ldconfig.c: Likewise.
37962 * elf/ldd.bash.in: Likewise.
37963 * elf/pldd.c: Likewise.
37964 * elf/sotruss.ksh: Likewise.
37965 * elf/sprof.c: Likewise.
37966 * iconv/iconv_prog.c: Likewise.
37967 * iconv/iconvconfig.c: Likewise.
37968 * locale/programs/locale.c: Likewise.
37969 * locale/programs/localedef.c: Likewise.
37970 * login/programs/pt_chown.c: Likewise.
37971 * malloc/memusage.sh: Likewise.
37972 * malloc/memusagestat.c: Likewise.
37973 * malloc/mtrace.pl: Likewise.
37974 * nscd/nscd.c: Likewise.
37975 * nss/getent.c: Likewise.
37976 * nss/makedb.c: Likewise.
37977 * posix/getconf.c: Likewise.
37978
37979 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37980
37981 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37982 numbers.
37983
37984 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37985
37986 * math/bits/mathcalls.h (modf): Use __nonnull.
37987
37988 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37989
37990 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37991 (split): Use macro CN instead of the bare value.
37992 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37993 could be used.
37994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37995 instead of the bare value.
37996 (power1): Likewise.
37997
37998 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37999
38000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38001 __ATAN_TWOM.
38002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38003
38004 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38005 their values.
38006 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38007 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38008 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38009 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38010
38011 2012-12-28 Andreas Jaeger <aj@suse.de>
38012
38013 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38014 values are from Linux 3.7.
38015
38016 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38017 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38018
38019 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38020
38021 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38022 TRUE case.
38023
38024 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38025 (norm): Likewise.
38026 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38027 variables with preprocessor constants.
38028 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38029 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38030 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38031
38032 2012-12-27 Bruno Haible <bruno@clisp.org>
38033
38034 [BZ #14317]
38035 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38036 only if needed.
38037
38038 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38039
38040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38041 and use variable directly.
38042 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38043
38044 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38045 MPONE.
38046 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38048 variable MPONE.
38049 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38051 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38052 include directive. Remove local variable MPONE.
38053 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38054 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38055 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38056
38057 2012-12-25 David S. Miller <davem@davemloft.net>
38058
38059 * version.h (RELEASE): Set to "development".
38060 (VERSION): Set to "2.17.90".
38061 * NEWS: Add 2.18 section.
38062
38063 2012-12-21 David S. Miller <davem@davemloft.net>
38064
38065 * po/hr.po: Update from translation team.
38066
38067 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38068
38069 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38070
38071 2012-12-19 Steve Ellcey <sellcey@mips.com>
38072
38073 * NEWS: Mention new memcpy for MIPS.
38074
38075 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38076
38077 * manual/contrib.texi (Contributors): Spelling correction.
38078
38079 2012-12-15 David S. Miller <davem@davemloft.net>
38080
38081 * po/ru.po: Update from translation team.
38082
38083 2012-12-13 David S. Miller <davem@davemloft.net>
38084
38085 * NEWS: Mention IFUNC testsuite enhancements.
38086
38087 * po/pl.po: Update from translation team.
38088 * po/bg.po: Likewise.
38089
38090 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38091 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38092
38093 2012-12-11 David S. Miller <davem@davemloft.net>
38094
38095 * po/sv.po: Update from translation team.
38096
38097 * po/vi.po: Update from translation team.
38098
38099 * po/cs.po: Update from translation team.
38100
38101 * po/de.po: Update from translation team.
38102 * po/eo.po: Likewise.
38103 * po/nl.po: Likewise.
38104
38105 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38106
38107 [BZ #14246]
38108 * manual/argp.texi (Argp Helper Functions): Move node to follow
38109 Argp Parsing State.
38110
38111 [BZ #14872]
38112 * manual/conf.texi (Limits on File System Capacity): Mention if
38113 terminating null is included in the max size.
38114
38115 2012-12-10 Andreas Jaeger <aj@suse.de>
38116
38117 * po/cs.po: Update from translation team.
38118
38119 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38120
38121 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38122 void pointer and cast to uintptr_t.
38123 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38124 path.
38125 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38126 * sysdeps/s390/s390-64/memset.S: Likewise.
38127
38128 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38129
38130 [BZ #14833]
38131 * menual/message.texi (Message Translation): Fix typos.
38132 (Helper programs for gettext): Likewise.
38133
38134 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38135
38136 [BZ #14898]
38137 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38138 Change to -1.
38139
38140 2012-12-07 David S. Miller <davem@davemloft.net>
38141
38142 * po/libc.pot: Update.
38143
38144 2012-12-07 Richard Henderson <rth@redhat.com>
38145
38146 [BZ #10114]
38147 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38148 normal/normal case to before the switch.
38149 (_FP_DIV): Likewise.
38150
38151 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38152 Mike Frysinger <vapier@gentoo.org>
38153
38154 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38155 check for __NR_fadvise64_64.
38156
38157 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38158
38159 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38160 0, not just to plain "0" as a statement.
38161 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38162 with cw.
38163
38164 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38165
38166 * NEWS: Use sourceware.org in Bugzilla URL.
38167
38168 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38169
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38171 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38172
38173 * stdio-common/tst-put-error.c (do_test): Add newline to the
38174 padded test to ensure flush.
38175
38176 2012-12-05 Jeff Law <law@redhat.com>
38177
38178 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38179
38180 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38181
38182 * README: Don't refer to ports add-on as distributed separately.
38183 Mention AArch64 in list of systems supported in the ports add-on.
38184
38185 * LICENSES: Add more non-FSF copyright and license notices.
38186
38187 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38188 ((unused)).
38189
38190 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38191
38192 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38193 10000 as width of padded output.
38194
38195 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38196
38197 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38198
38199 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38200 variable LX with __attribute__ ((unused)).
38201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38202 Likewise.
38203 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38206 with __attribute__ ((unused)).
38207
38208 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38209
38210 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38211
38212 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38213
38214 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38215 (CFLAGS-nldbl-acos.c): New variable.
38216 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38217 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38218 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38219 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38220 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38221 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38222 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38223 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38224 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38225 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38226 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38227 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38228 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38229 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38230 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38231 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38232 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38233 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38234 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38235 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38236 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38237 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38238 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38239 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38240 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38241 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38242 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38243 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38244 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38245 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38246 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38247 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38248 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38249 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38250 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38251 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38252 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38253 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38254 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38255 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38256 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38257 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38258 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38259 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38260 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38261 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38262 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38263 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38264 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38265 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38266 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38267 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38268 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38269 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38270 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38271 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38272 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38273 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38274 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38275 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38276 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38277 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38278 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38279 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38280 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38281 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38282 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38283 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38284 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38285 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38286 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38287 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38288 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38289 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38290 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38291 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38292 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38293 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38294 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38295 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38296 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38297 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38298 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38299 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38300 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38301 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38302 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38303 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38304 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38305 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38306 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38307 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38308 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38309 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38310 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38311 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38312 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38313
38314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38315 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38316
38317 [BZ #14914]
38318 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38319 whole low double instead of just low 47 bits when splitting values
38320 into two parts.
38321
38322 2012-12-03 Allan McRae <allan@archlinux.org>
38323
38324 * manual/stdio.texi (Predefined Printf Handlers): Remove
38325 @hsep and @vsep usage.
38326
38327 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38328
38329 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38330 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38331
38332 2012-12-03 Jeff Law <law@redhat.com>
38333
38334 * time/sys/time.h (settimeofday): Do not mark TV argument
38335 as __nonnull.
38336
38337 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38338
38339 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38340 when currently writing and seek to current position when not.
38341 * libio/Makefile (tests): Remove bug-fclose1.
38342 * libio/bug-fclose1.c: Delete.
38343
38344 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38345
38346 * manual/arith.texi (feenableexcept): Fix typo.
38347 (fedisableexcept): Likewise.
38348
38349 2012-11-30 Roland McGrath <roland@hack.frob.com>
38350
38351 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38352 second, differently-typed declaration, rather than a cast.
38353
38354 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38355
38356 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38357 * include/rpc/svc.h: ... here.
38358
38359 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38360
38361 [BZ #13013]
38362 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38363 depending n and resplen2 to catch cases where answer
38364 equals answerp2.
38365
38366 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38367
38368 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38369 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38370
38371 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38372
38373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38374
38375 2012-11-29 Roland McGrath <roland@hack.frob.com>
38376
38377 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38378
38379 2012-11-28 Jeff Law <law@redhat.com>
38380
38381 [BZ #13761]
38382 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38383 dataset_temporary. Track alloca usage into alloca_used.
38384 If dataset is large allocate and release it via malloc/free.
38385
38386 2012-06-04 Florian Weimer <fweimer@redhat.com>
38387
38388 [BZ #14197]
38389 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38390
38391 2012-11-28 David S. Miller <davem@davemloft.net>
38392
38393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38394
38395 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38396
38397 [BZ #14803]
38398 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38399 of pi/2 rounded to nearest to 64 bits.
38400 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38401 nearest to 64 bits.
38402 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38403 bits.
38404
38405 2012-11-28 Jeff Law <law@redhat.com>
38406 Martin Osvald <mosvald@redhat.com>
38407
38408 [BZ #14889]
38409 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38410 * sunrpc/svc.c: Include time.h.
38411 (__svc_accept_failed): New function.
38412 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38413 any reason other than EINTR, call __svc_accept_failed.
38414 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38415 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38416
38417 2012-11-28 Andreas Schwab <schwab@suse.de>
38418
38419 * scripts/abilist.awk: Also handle indirect functions in .opd
38420 section.
38421
38422 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38423
38424 [BZ #13881]
38425 * sysdeps/x86/fpu/powl_helper.c: New file.
38426 * sysdeps/x86/fpu/Makefile: Likewise.
38427 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38428 (p3): New object.
38429 (__ieee754_powl): Use __powl_helper for finite arguments except
38430 integer exponents below 8.
38431 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38432 (p3): New object.
38433 (__ieee754_powl): Use __powl_helper for finite arguments except
38434 integer exponents below 8.
38435 * math/libm-test.inc (pow_test): Add more tests and enable some
38436 previously disabled tests.
38437 * sysdeps/i386/fpu/libm-test-ulps: Update.
38438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38439
38440 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38441 Carlos O'Donell <carlos_odonell@mentor.com>
38442
38443 * nss/makedb.c (is_prime): Assert that input is odd and greater
38444 than 4. Note that fact in a comment too.
38445 (next_prime): Add 4 to input.
38446
38447 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38448
38449 [BZ #11741]
38450 * libio/Makefile (tests): Add test case tst-fwrite-error.
38451 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38452 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38453 * libio/tst-fwrite-error.c: New test case.
38454
38455 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38456
38457 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38458 before casting to void *.
38459 * include/libc-internal.h (__pointer_type): New macro.
38460 (__integer_if_pointer_type_sub): Likewise.
38461 (__integer_if_pointer_type): Likewise.
38462 (cast_to_integer): Likewise.
38463 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38464 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38465 before casting to atomic64_t.
38466 (atomic_exchange_acq): Likewise.
38467 (__arch_exchange_and_add_body): Likewise.
38468 (__arch_add_body): Likewise.
38469 (atomic_add_negative): Likewise.
38470 (atomic_add_zero): Likewise.
38471
38472 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38473
38474 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38475 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38476 (add_fdes): Likewise.
38477 (linear_search_fdes): Likewise.
38478 (binary_search_unencoded_fdes): Likewise.
38479
38480 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38481
38482 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38483
38484 2012-11-24 Adam Conrad <adconrad@0c3.net>
38485
38486 * configure.in: Autodetect C++ header directories.
38487 * configure: Regenerated.
38488
38489 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38490
38491 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38492
38493 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38494
38495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38496
38497 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38498
38499 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38500 LDBL_MANT_DIG == 106]: Disable some tests.
38501 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38502 Likewise.
38503 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38504 Likewise.
38505
38506 [BZ #14871]
38507 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38508 input for small inputs. Return +/- pi/2 for large inputs.
38509 * math/libm-test.inc (atan_test): Add more tests.
38510
38511 * sysdeps/generic/unwind-dw2-fde-glibc.c
38512 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38513 __attribute__ ((unused)).
38514
38515 [BZ #14645]
38516 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38517 x * y if x and y are nonzero and z is zero.
38518
38519 [BZ #14811]
38520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38521 nonzero exponents with absolute value below 0x1p-117 to +/-
38522 0x1p-117.
38523
38524 [BZ #14869]
38525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38526 up arguments below 2**-450, not just those below 2**-500.
38527 * math/libm-test.inc (hypot_test): Add another test.
38528
38529 [BZ #14868]
38530 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38531 Return a+b for ratio over 2**120, not 2**60.
38532 * math/libm-test.inc (hypot_test): Add another test.
38533
38534 * math/libm-test.inc (clog_test): Use
38535 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38536 (clog10_test): Likewise.
38537
38538 [BZ #6778]
38539 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38540
38541 2012-11-22 Andreas Schwab <schwab@suse.de>
38542
38543 * sysdeps/i386/fpu/libm-test-ulps: Update.
38544
38545 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38546
38547 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38548 printf output with newline.
38549
38550 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38551
38552 [BZ #14865]
38553 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38554 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38555 -z nodlopen, -z initfirst and -z execstack support.
38556 * configure: Regenerated.
38557
38558 * elf/elf.h (DF_1_NODIRECT): New macro.
38559 (DF_1_IGNMULDEF): Likewise.
38560 (DF_1_NOKSYMS): Likewise.
38561 (DF_1_NOHDR): Likewise.
38562 (DF_1_EDITED): Likewise.
38563 (DF_1_NORELOC): Likewise.
38564 (DF_1_SYMINTPOSE): Likewise.
38565 (DF_1_GLOBAUDIT): Likewise.
38566 (DF_1_SINGLETON): Likewise.
38567 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38568 DT_1_SUPPORTED_MASK bits.
38569 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38570
38571 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38572
38573 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38574
38575 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38576
38577 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38578 macro.
38579
38580 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38581 (sendmmsg): Move declarations...
38582 * socket/sys/socket.h: ... here.
38583 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38584 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38585 include it from...
38586 * socket/recvmmsg.c: ... this new file.
38587 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38588 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38589 definition of __sendmmsg hidden.
38590 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38591 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38592 Move ENOSYS stub into and include it from...
38593 * socket/sendmmsg.c: ... this new file.
38594 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38595 (sysdep_routines): Move recvmmsg and sendmmsg...
38596 * socket/Makefile (routines): ... here.
38597 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38598 (GLIBC_PRIVATE): Add __sendmmsg.
38599 * include/sys/socket.h (__sendmmsg): Add declarations.
38600 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38601 sendmmsg.
38602
38603 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38604
38605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38606 variable I1 with __attribute__ ((unused)).
38607 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38608
38609 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38610
38611 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38612 DUMMY variables with __attribute__ ((unused)).
38613
38614 * bits/byteswap.h: Include <bits/types.h>.
38615 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38616
38617 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38618
38619 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38620 string_t. Do not manually set errno.
38621 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38622 length with __strnlen. Make sure to both set errno and return it on
38623 failure.
38624
38625 2012-11-19 David S. Miller <davem@davemloft.net>
38626
38627 With help from Joseph Myers.
38628 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38629 very large arguments properly.
38630 * math/libm-test.inc (atan_test): New tests.
38631 (atan2_test): New tests.
38632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38634
38635 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38636
38637 [BZ #14856]
38638 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38639 Define to 3.
38640
38641 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38642 [POSIX] (EADDRNOTAVAIL): Likewise.
38643 [POSIX] (EAFNOSUPPORT): Likewise.
38644 [POSIX] (EALREADY): Likewise.
38645 [POSIX] (ECONNABORTED): Likewise.
38646 [POSIX] (ECONNREFUSED): Likewise.
38647 [POSIX] (ECONNRESET): Likewise.
38648 [POSIX] (EDESTADDRREQ): Likewise.
38649 [POSIX] (EDQUOT): Likewise.
38650 [POSIX] (EHOSTUNREACH): Likewise.
38651 [POSIX] (EIDRM): Likewise.
38652 [POSIX] (EISCONN): Likewise.
38653 [POSIX] (ELOOP): Likewise.
38654 [POSIX] (EMULTIHOP): Likewise.
38655 [POSIX] (ENETDOWN): Likewise.
38656 [POSIX] (ENETUNREACH): Likewise.
38657 [POSIX] (ENOBUFS): Likewise.
38658 [POSIX] (ENODATA): Likewise.
38659 [POSIX] (ENOLINK): Likewise.
38660 [POSIX] (ENOMSG): Likewise.
38661 [POSIX] (ENOPROTOOPT): Likewise.
38662 [POSIX] (ENOSR): Likewise.
38663 [POSIX] (ENOSTR): Likewise.
38664 [POSIX] (ENOTCONN): Likewise.
38665 [POSIX] (ENOTSOCK): Likewise.
38666 [POSIX] (EOPNOTSUPP): Likewise.
38667 [POSIX] (EOVERFLOW): Likewise.
38668 [POSIX] (EPROTO): Likewise.
38669 [POSIX] (EPROTONOSUPPORT): Likewise.
38670 [POSIX] (EPROTOTYPE): Likewise.
38671 [POSIX] (ESTALE): Likewise.
38672 [POSIX] (ETIME): Likewise.
38673 [POSIX] (ETXTBSY): Likewise.
38674 [POSIX] (EWOULDBLOCK): Likewise.
38675 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38676 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38677 [POSIX] (SEEK_CUR): Likewise.
38678 [POSIX] (SEEK_END): Likewise.
38679 [POSIX || UNIX98] (mode_t): Do not require.
38680 [POSIX] (off_t): Likewise.
38681 [POSIX] (pid_t): Likewise.
38682 [POSIX] (sys/stat.h): Do not allow header.
38683 [POSIX] (unistd.h): Likewise.
38684 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38685 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38686 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38687 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38688 require.
38689 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38690 sigevent): Specify elements.
38691 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38692 entry.
38693 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38694 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38695
38696 * conform/data/cpio.h-data [POSIX]: Disable whole file.
38697 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38698 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38699 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38700 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38701 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38702 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38703 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38704 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38705 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38706 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38707 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38708 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38709 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38710 Likewise.
38711 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38712 Likewise.
38713 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38714 Likewise.
38715 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38716 Likewise.
38717 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38718 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38719 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38720 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38721 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38722 Specify lower bound on value.
38723 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38724 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38725 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38726 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38727 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38728 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38729 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38730 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38731 value.
38732 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38733 as optional.
38734 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38735 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38736 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38737 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38738 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38739 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38740 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38741 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38750 entry.
38751 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38752 optional.
38753 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38759 Likewise.
38760 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38765 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38766 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38767 as optional.
38768 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38772 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38773 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38774 specify as optional.
38775 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38778 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38779 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38780 [XPG3] (NL_LANGMAX): Likewise.
38781 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38782 [POSIX || XPG3] (NL_NMAX): Likewise.
38783 [POSIX || XPG3] (NL_SETMAX): Likewise.
38784 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38785 [XPG3] (NZERO): Likewise.
38786 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38787 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38788 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38789 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38790 (REG_ERANGE): Expect.
38791 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38792 optional-constant.
38793 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38794 Use (void) in prototype.
38795 [POSIX] (*_t): Allow.
38796 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38797 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38798 (WRDE_BADVAL): Expect.
38799
38800 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38801 expect.
38802 [XPG3 || XPG4] (O_RSYNC): Likewise.
38803 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38804 Likewise.
38805 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38806 [XPG3 || XPG4] (sigqueue): Likewise.
38807 [XPG3 || XPG4] (sigtimedwait): Likewise.
38808 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38809 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38810 [XPG3 || XPG4] (vsnprintf): Likewise.
38811 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38812 Likewise.
38813 [XPG3 || XPG4] (blksize_t): Likewise.
38814 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38815 Likewise.
38816 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38817 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38818 [XPG3 || XPG4] (struct itimerspec): Likewise.
38819 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38820 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38821 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38822 [XPG3 || XPG4] (clockid_t): Likewise.
38823 [XPG3 || XPG4] (timer_t): Likewise.
38824 [XPG3 || XPG4] (clock_getres): Likewise.
38825 [XPG3 || XPG4] (clock_gettime): Likewise.
38826 [XPG3 || XPG4] (clock_settime): Likewise.
38827 [XPG3 || XPG4] (nanosleep): Likewise.
38828 [XPG3 || XPG4] (timer_create): Likewise.
38829 [XPG3 || XPG4] (timer_delete): Likewise.
38830 [XPG3 || XPG4] (timer_gettime): Likewise.
38831 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38832 [XPG3 || XPG4] (timer_settime): Likewise.
38833 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38834 [XPG3 || XPG4] (getlogin_r): Likewise.
38835 [XPG3 || XPG4] (pread): Likewise.
38836 [XPG3 || XPG4] (pthread_atfork): Likewise.
38837 [XPG3 || XPG4] (pwrite): Likewise.
38838
38839 [BZ #14835]
38840 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38841 <bits/siginfo.h>.
38842
38843 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38844
38845 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38846 finalizing MALLSTREAM.
38847
38848 * sysdeps/mach/hurd/syncfs.c: New file.
38849
38850 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38851
38852 [BZ #14719]
38853 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38854 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38855 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38856 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38857 (_nss_dns_gethostbyname4_r): Likewise.
38858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38859 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38860
38861 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38862
38863 [BZ #13763]
38864 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38865
38866 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38867
38868 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38869 * elf/cache.c (print_entry): Print ",AArch64" for
38870 FLAG_AARCH64_LIB64
38871
38872 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38873 * elf/cache.c (print_entry): Print ",hard-float" for
38874 FLAG_ARM_LIBHF.
38875
38876 2012-11-18 David S. Miller <davem@davemloft.net>
38877
38878 With help from Joseph Myers.
38879 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38880 cutoff to 2**-13.
38881 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38882 cutoff to 2**-25.
38883 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38884 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38885 small.
38886 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38887 * math/libm-test.inc (y0_test): New tests.
38888 (y1_test): New tests.
38889 * sysdeps/i386/fpu/libm-test-ulps: Update.
38890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38892
38893 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38894
38895 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38896 64-bit targets.
38897 * configure: Regenerated.
38898
38899 2012-11-17 David S. Miller <davem@davemloft.net>
38900
38901 [BZ #14811]
38902 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38903 nonzero exponents with absolute value below 0x1p-128 to +/-
38904 0x1p-128.
38905
38906 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38907
38908 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38909
38910 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38911
38912 * posix/getconf-speclist.c: New file.
38913 * posix/posix-envs.def: Likewise.
38914 * posix/confstr.c (START_ENV_GROUP): New macro.
38915 (END_ENV_GROUP): Likewise.
38916 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38917 (KNOWN_PRESENT_ENV_STRING): Likewise.
38918 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38919 (UNKNOWN_ENVIRONMENT): Likewise.
38920 (confstr): Include posix-envs.def instead of handling
38921 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38922 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38923 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38924 (END_ENV_GROUP): Likewise.
38925 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38926 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38927 (UNKNOWN_ENVIRONMENT): Likewise.
38928 (__sysconf): Include posix-envs.def instead of handling associated
38929 cases directly here.
38930 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38931 preprocessing getconf-speclist.c rather than running getconf or
38932 generating empty file.
38933
38934 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38935
38936 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38937
38938 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38939
38940 [BZ #14672]
38941 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38942
38943 2012-11-16 David S. Miller <davem@davemloft.net>
38944
38945 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38946 smaller than LDBL_EPSILON/2.0L, just return xm1.
38947
38948 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38949
38950 * elf/tst-array1.c (init): Set constructor priority to 1000.
38951 (fini): Set destructor priority to 1000.
38952 * elf/tst-array2dep.c: Likewise.
38953
38954 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38955
38956 [BZ #11741]
38957 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38958 (_IO_new_file_xsputn): Also return EOF if none of the input
38959 data was written when overflow failed.
38960 * libio/iopadn.c (_IO_padn): Likewise.
38961 * libio/iowpadn.c (_IO_wpadn): Likewise.
38962 * stdio-common/tst-put-error.c: Add copyright notice.
38963 (do_test): Add case for printing padded string.
38964 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38965 _IO_padn returned error.
38966 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38967 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38968 return EOF.
38969
38970 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38971
38972 * libio/libioP.h: Add comment note that the references to C++
38973 bits are now obsolete.
38974
38975 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38976
38977 * math/libm-test.inc (check_complex): Use asprintf.
38978
38979 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38980
38981 * debug/pcprofiledump.c (print_version): Update copyright year.
38982 * malloc/memusagestat.c (print_version): Likewise.
38983
38984 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38985
38986 [BZ #14831]
38987 * elf/Makefile (tests): Add tst-audit8.
38988 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38989 ($(objpfx)tst-audit8.out): New target.
38990 (tst-audit8-ENV): New variable.
38991 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38992 audit if l_reloc_result is NULL.
38993 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38994 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38995 * elf/tst-audit8.c: New file.
38996
38997 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38998
38999 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39000 * misc/Makefile (CFLAGS-select.c): Define.
39001 * posix/Makefile (CFLAGS-pause.c): Define.
39002
39003 2012-11-13 David S. Miller <davem@davemloft.net>
39004
39005 * crypt/Makefile: Move test targets after toplevel Rules
39006 inclusion. Grab any necessary sysdep routines when linking.
39007 * crypt/md5.c (md5_process_block): Remove define, we will always
39008 name it __md5_process_block.
39009 (md5_finish_ctx): Update md5_process_block call.
39010 (md5_stream): Likewise.
39011 (md5_process_bytes): Likewise.
39012 (md5_process_block): Rename to __md5_process_block and move to ...
39013 * crypt/md5-block.c: ... here.
39014 * crypt/sha256.c (sha256_process_block): Move to ...
39015 * crypt/sha256-block.c: ... here.
39016 * crypt/sha512.c (sha512_process_block): Move to ...
39017 * crypt/sha512-block.c: ... here.
39018 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39019 path.
39020 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39021 * sysdeps/sparc/sparc64/multiarch/Makefile
39022 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39023 crypt subdir.
39024 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39025 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39026 multiarch changes.
39027 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39028 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39029 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39030 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39031 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39032 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39033 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39034 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39035 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39036 file.
39037 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39039 file.
39040 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39041
39042 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39043
39044 * timezone/tzselect.ksh: Update from tzcode git revision
39045 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39046 * timezone/zdump.c: Likewise.
39047 * timezone/zic.c: Likewise.
39048 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39049 in TZVERSION setting, not $(PKGVERSION).
39050 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39051 REPORT_BUGS_TO settings.
39052
39053 [BZ #14838]
39054 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39055 macro.
39056
39057 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39058
39059 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39060 detection to immediately after _FP_ROUND().
39061 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39062 bits are 0.
39063
39064 2012-11-11 David S. Miller <davem@davemloft.net>
39065
39066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39067 inttypes.h
39068 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39069 __close rather than their public counterparts.
39070
39071 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39072
39073 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39074 file.
39075 [UNIX98] (sem_timedwait): Do not expect.
39076 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39077 [XPG4 || UNIX98] (sockatmark): Do not expect.
39078 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39079 (clock_getcpuclockid): Do not expect.
39080 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39081 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39082 Do not expect.
39083 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39084 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39085 [UNIX98] (vwscanf): Likewise.
39086 [UNIX98] (vswscanf): Likewise.
39087
39088 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39089
39090 * timezone/version.h: Remove file.
39091 * timezone/README: Do not refer to version.h.
39092 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39093 $(objpfx)version.h.
39094 ($(objpfx)zdump.o): Likewise.
39095 ($(objpfx)version.h): New target.
39096
39097 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39098 2012i.
39099 * timezone/README: Don't mention modification to tzselect.ksh.
39100 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39101 work on unmodified tzselect.ksh. Substitute version numbers in
39102 tzselect.ksh.
39103
39104 * Makefile (format-me): Remove.
39105 (INSTALL): Adjust indentation. Use commands directly instead of
39106 using $(format-me).
39107
39108 * aclocal.m4 (ACX_PKGVERSION): New macro.
39109 (ACX_BUGURL): Likewise.
39110 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39111 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39112 (REPORT_BUGS_TO): Likewise.
39113 * configure: Regenerated.
39114 * config.h.in (PKGVERSION): New macro.
39115 (REPORT_BUGS_TO): Likewise.
39116 * config.make.in (PKGVERSION): New variable.
39117 (PKGVERSION_TEXI): Likewise.
39118 (REPORT_BUGS_TO): Likewise.
39119 (REPORT_BUGS_TEXI): Likewise.
39120 * Makefile (format-me): Use -I$(common-objpfx)manual.
39121 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39122 ($(common-objpfx)manual/%): New target.
39123 (manual/%): Remove target.
39124 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39125 (print_version): Use PKGVERSION.
39126 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39127 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39128 and REPORT_BUGS_TO.
39129 ($(objpfx)xtrace): Likewise.
39130 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39131 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39132 (print_version): Use PKGVERSION.
39133 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39134 (do_version): Use PKGVERSION.
39135 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39136 REPORT_BUGS_TO.
39137 (common-ldd-rewrite): Likewise.
39138 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39139 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39140 (print_version): Use PKGVERSION.
39141 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39142 * elf/pldd.c (argp_program_bug_address): Remove variable.
39143 (more_help): New function.
39144 (argp): Use more_help.
39145 (print_version): Use PKGVERSION.
39146 * elf/sln.c (main): Use PKGVERSION.
39147 (usage): Use REPORT_BUGS_TO.
39148 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39149 (top level): Use PKGVERSION.
39150 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39151 (print_version): Use PKGVERSION.
39152 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39153 (print_version): Use PKGVERSION.
39154 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39155 (print_version): Use PKGVERSION.
39156 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39157 (print_version): Use PKGVERSION.
39158 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39159 (print_version): Use PKGVERSION.
39160 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39161 (print_version): Use PKGVERSION.
39162 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39163 and BUGURL.
39164 ($(objpfx)memusage): Likewise.
39165 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39166 (do_version): Use PKGVERSION.
39167 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39168 (print_version): Use PKGVERSION.
39169 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39170 ($PKGVERSION): New variable.
39171 ($REPORT_BUGS_TO): Likewise.
39172 (usage): Use $REPORT_BUGS_TO.
39173 (top level): Use $PKGVERSION.
39174 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39175 ($(objpfx)pkgvers.texi): New rule.
39176 ($(objpfx)stamp-pkgvers): Likewise.
39177 * manual/install.texi: Include pkgvers.texi.
39178 (--with-pkgversion): Document new configure option.
39179 (--with-bugurl): Likewise.
39180 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39181 than necessarily for this particular distribution. Use
39182 REPORT_BUGS_TO for where to report bugs.
39183 * INSTALL: Regenerated.
39184 * manual/libc.texinfo: Include pkgvers.texi.
39185 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39186 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39187 (print_version): Use PKGVERSION.
39188 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39189 (print_version): Use PKGVERSION.
39190 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39191 (print_version): Use PKGVERSION.
39192 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39193 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39194 macro.
39195 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39196 (print_version): Use PKGVERSION.
39197 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39198 (print_version): Use PKGVERSION.
39199 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39200 and PKGVERSION.
39201
39202 * timezone/checktab.awk: Update from tzcode 2012i.
39203 * timezone/ialloc.c: Likewise.
39204 * timezone/private.h: Likewise.
39205 * timezone/scheck.c: Likewise.
39206 * timezone/tzfile.h: Likewise.
39207 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39208 (TZVERSION): Hardcode tzcode version number.
39209 * timezone/zdump.c: Update from tzcode 2012i.
39210 * timezone/zic.c: Likewise.
39211 * timezone/version.h: New file.
39212 * timezone/README: Describe version.h. Update upstream location.
39213
39214 [BZ #14824]
39215 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39216 (mktemp): Enable declaration.
39217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39221 Likewise.
39222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39223 Likewise.
39224 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39225 Likewise.
39226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39227 Likewise.
39228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39229 Likewise.
39230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39231 Likewise.
39232
39233 [BZ #14821]
39234 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39235 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39236 for copies of such integer values.
39237 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39238 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39239
39240 2012-11-09 Andreas Jaeger <aj@suse.de>
39241
39242 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39243 definitions and declarations that are provided by
39244 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39245
39246 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39247
39248 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39249 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39250 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39251 definition.
39252
39253 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39254
39255 * elf/elf.h: Update comment before AArch64 relocations.
39256
39257 2012-11-07 David S. Miller <davem@davemloft.net>
39258
39259 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39260 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39261 (__start_context): Declare.
39262 (__makecontext_ret): Delete.
39263 (__makecontext): Hook up __start_context instead of
39264 __makecontext_ret.
39265 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39266 (sysdep_routines): Add __start_context when in stdlib.
39267
39268 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39269
39270 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39271 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39272 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39273 hardcoded "nm".
39274 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39275 (READELF): New variable. Use it instead of hardcoded "readelf".
39276
39277 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39278
39279 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39280 * sysdeps/x86/Makefile: Here.
39281 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39282 * sysdeps/x86/tst-xmmymm.sh: This.
39283
39284 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39285
39286 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39287 expectations.
39288 [UNIX98] (pthread_barrier_t): Do not expect.
39289 [UNIX98] (pthread_barrierattr_t): Likewise.
39290 [UNIX98] (pthread_spinlock_t): Likewise.
39291 [UNIX98] (pthread_barrier_destroy): Likewise.
39292 [UNIX98] (pthread_barrier_init): Likewise.
39293 [UNIX98] (pthread_barrier_wait): Likewise.
39294 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39295 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39296 [UNIX98] (pthread_barrierattr_init): Likewise.
39297 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39298 [UNIX98] (pthread_getcpuclockid): Likewise.
39299 [UNIX98] (pthread_mutex_timedlock): Likewise.
39300 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39301 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39302 [UNIX98] (pthread_sigmask): Likewise.
39303 [UNIX98] (pthread_spin_destroy): Likewise.
39304 [UNIX98] (pthread_spin_init): Likewise.
39305 [UNIX98] (pthread_spin_lock): Likewise.
39306 [UNIX98] (pthread_spin_trylock): Likewise.
39307 [UNIX98] (pthread_spin_unlock): Likewise.
39308 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39309 Do not expect.
39310 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39311 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39312 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39313 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39314 [XPG3 || XPG4] (pthread_key_t): Likewise.
39315 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39316 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39317 [XPG3 || XPG4] (pthread_once_t): Likewise.
39318 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39319 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39320 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39321 [XPG3 || XPG4] (pthread_t): Likewise.
39322
39323 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39324 not expect.
39325 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39326
39327 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39328 Change function return type to int.
39329
39330 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39331 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39332 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39333 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39334 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39335 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39336 [!POSIX] (posix_madvise): Likewise.
39337 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39338 && !UNIX98].
39339 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39340 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39341 (mode_t): Likewise.
39342 (posix_mem_offset): Likewise.
39343 (posix_typed_mem_get_info): Likewise.
39344 (posix_typed_mem_open): Likewise.
39345
39346 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39347 Change condition to [XOPEN2K8].
39348
39349 * conform/conformtest.pl: Preprocess allow-header data with -x c
39350 instead of from stdin.
39351 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39352 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39353 [C99-based standards] (cerfc): Likewise.
39354 [C99-based standards] (cexp2): Likewise.
39355 [C99-based standards] (cexpm1): Likewise.
39356 [C99-based standards] (clog10): Likewise.
39357 [C99-based standards] (clog1p): Likewise.
39358 [C99-based standards] (clog2): Likewise.
39359 [C99-based standards] (clgamma): Likewise.
39360 [C99-based standards] (ctgamma): Likewise.
39361 [C99-based standards] (cerff): Likewise.
39362 [C99-based standards] (cerfcf): Likewise.
39363 [C99-based standards] (cexp2f): Likewise.
39364 [C99-based standards] (cexpm1f): Likewise.
39365 [C99-based standards] (clog10f): Likewise.
39366 [C99-based standards] (clog1pf): Likewise.
39367 [C99-based standards] (clog2f): Likewise.
39368 [C99-based standards] (clgammaf): Likewise.
39369 [C99-based standards] (ctgammaf): Likewise.
39370 [C99-based standards] (cerfl): Likewise.
39371 [C99-based standards] (cerfcl): Likewise.
39372 [C99-based standards] (cexp2l): Likewise.
39373 [C99-based standards] (cexpm1l): Likewise.
39374 [C99-based standards] (clog10l): Likewise.
39375 [C99-based standards] (clog1pl): Likewise.
39376 [C99-based standards] (clog2l): Likewise.
39377 [C99-based standards] (clgammal): Likewise.
39378 [C99-based standards] (ctgammal): Likewise.
39379 * conform/data/inttypes.h-data [C99-based standards]: Include
39380 stdint.h-data. Remove all expectations for stdint.h contents.
39381 [C99-based standards] (PRI*): Do not allow.
39382 [C99-based standards] (SCN*): Likewise.
39383 [C99-based standards] (*_t): Likewise.
39384 [C99-based-standards] (PRId8): Expect macro.
39385 [C99-based-standards] (PRIi8): Likewise.
39386 [C99-based-standards] (PRIo8): Likewise.
39387 [C99-based-standards] (PRIu8): Likewise.
39388 [C99-based-standards] (PRIx8): Likewise.
39389 [C99-based-standards] (PRIX8): Likewise.
39390 [C99-based-standards] (SCNd8): Likewise.
39391 [C99-based-standards] (SCNi8): Likewise.
39392 [C99-based-standards] (SCNo8): Likewise.
39393 [C99-based-standards] (SCNu8): Likewise.
39394 [C99-based-standards] (SCNx8): Likewise.
39395 [C99-based-standards] (PRIdLEAST8): Likewise.
39396 [C99-based-standards] (PRIiLEAST8): Likewise.
39397 [C99-based-standards] (PRIoLEAST8): Likewise.
39398 [C99-based-standards] (PRIuLEAST8): Likewise.
39399 [C99-based-standards] (PRIxLEAST8): Likewise.
39400 [C99-based-standards] (PRIXLEAST8): Likewise.
39401 [C99-based-standards] (SCNdLEAST8): Likewise.
39402 [C99-based-standards] (SCNiLEAST8): Likewise.
39403 [C99-based-standards] (SCNoLEAST8): Likewise.
39404 [C99-based-standards] (SCNuLEAST8): Likewise.
39405 [C99-based-standards] (SCNxLEAST8): Likewise.
39406 [C99-based-standards] (PRIdFAST8): Likewise.
39407 [C99-based-standards] (PRIiFAST8): Likewise.
39408 [C99-based-standards] (PRIoFAST8): Likewise.
39409 [C99-based-standards] (PRIuFAST8): Likewise.
39410 [C99-based-standards] (PRIxFAST8): Likewise.
39411 [C99-based-standards] (PRIXFAST8): Likewise.
39412 [C99-based-standards] (SCNdFAST8): Likewise.
39413 [C99-based-standards] (SCNiFAST8): Likewise.
39414 [C99-based-standards] (SCNoFAST8): Likewise.
39415 [C99-based-standards] (SCNuFAST8): Likewise.
39416 [C99-based-standards] (SCNxFAST8): Likewise.
39417 [C99-based-standards] (PRId16): Likewise.
39418 [C99-based-standards] (PRIi16): Likewise.
39419 [C99-based-standards] (PRIo16): Likewise.
39420 [C99-based-standards] (PRIu16): Likewise.
39421 [C99-based-standards] (PRIx16): Likewise.
39422 [C99-based-standards] (PRIX16): Likewise.
39423 [C99-based-standards] (SCNd16): Likewise.
39424 [C99-based-standards] (SCNi16): Likewise.
39425 [C99-based-standards] (SCNo16): Likewise.
39426 [C99-based-standards] (SCNu16): Likewise.
39427 [C99-based-standards] (SCNx16): Likewise.
39428 [C99-based-standards] (PRIdLEAST16): Likewise.
39429 [C99-based-standards] (PRIiLEAST16): Likewise.
39430 [C99-based-standards] (PRIoLEAST16): Likewise.
39431 [C99-based-standards] (PRIuLEAST16): Likewise.
39432 [C99-based-standards] (PRIxLEAST16): Likewise.
39433 [C99-based-standards] (PRIXLEAST16): Likewise.
39434 [C99-based-standards] (SCNdLEAST16): Likewise.
39435 [C99-based-standards] (SCNiLEAST16): Likewise.
39436 [C99-based-standards] (SCNoLEAST16): Likewise.
39437 [C99-based-standards] (SCNuLEAST16): Likewise.
39438 [C99-based-standards] (SCNxLEAST16): Likewise.
39439 [C99-based-standards] (PRIdFAST16): Likewise.
39440 [C99-based-standards] (PRIiFAST16): Likewise.
39441 [C99-based-standards] (PRIoFAST16): Likewise.
39442 [C99-based-standards] (PRIuFAST16): Likewise.
39443 [C99-based-standards] (PRIxFAST16): Likewise.
39444 [C99-based-standards] (PRIXFAST16): Likewise.
39445 [C99-based-standards] (SCNdFAST16): Likewise.
39446 [C99-based-standards] (SCNiFAST16): Likewise.
39447 [C99-based-standards] (SCNoFAST16): Likewise.
39448 [C99-based-standards] (SCNuFAST16): Likewise.
39449 [C99-based-standards] (SCNxFAST16): Likewise.
39450 [C99-based-standards] (PRId32): Likewise.
39451 [C99-based-standards] (PRIi32): Likewise.
39452 [C99-based-standards] (PRIo32): Likewise.
39453 [C99-based-standards] (PRIu32): Likewise.
39454 [C99-based-standards] (PRIx32): Likewise.
39455 [C99-based-standards] (PRIX32): Likewise.
39456 [C99-based-standards] (SCNd32): Likewise.
39457 [C99-based-standards] (SCNi32): Likewise.
39458 [C99-based-standards] (SCNo32): Likewise.
39459 [C99-based-standards] (SCNu32): Likewise.
39460 [C99-based-standards] (SCNx32): Likewise.
39461 [C99-based-standards] (PRIdLEAST32): Likewise.
39462 [C99-based-standards] (PRIiLEAST32): Likewise.
39463 [C99-based-standards] (PRIoLEAST32): Likewise.
39464 [C99-based-standards] (PRIuLEAST32): Likewise.
39465 [C99-based-standards] (PRIxLEAST32): Likewise.
39466 [C99-based-standards] (PRIXLEAST32): Likewise.
39467 [C99-based-standards] (SCNdLEAST32): Likewise.
39468 [C99-based-standards] (SCNiLEAST32): Likewise.
39469 [C99-based-standards] (SCNoLEAST32): Likewise.
39470 [C99-based-standards] (SCNuLEAST32): Likewise.
39471 [C99-based-standards] (SCNxLEAST32): Likewise.
39472 [C99-based-standards] (PRIdFAST32): Likewise.
39473 [C99-based-standards] (PRIiFAST32): Likewise.
39474 [C99-based-standards] (PRIoFAST32): Likewise.
39475 [C99-based-standards] (PRIuFAST32): Likewise.
39476 [C99-based-standards] (PRIxFAST32): Likewise.
39477 [C99-based-standards] (PRIXFAST32): Likewise.
39478 [C99-based-standards] (SCNdFAST32): Likewise.
39479 [C99-based-standards] (SCNiFAST32): Likewise.
39480 [C99-based-standards] (SCNoFAST32): Likewise.
39481 [C99-based-standards] (SCNuFAST32): Likewise.
39482 [C99-based-standards] (SCNxFAST32): Likewise.
39483 [C99-based-standards] (PRId64): Likewise.
39484 [C99-based-standards] (PRIi64): Likewise.
39485 [C99-based-standards] (PRIo64): Likewise.
39486 [C99-based-standards] (PRIu64): Likewise.
39487 [C99-based-standards] (PRIx64): Likewise.
39488 [C99-based-standards] (PRIX64): Likewise.
39489 [C99-based-standards] (SCNd64): Likewise.
39490 [C99-based-standards] (SCNi64): Likewise.
39491 [C99-based-standards] (SCNo64): Likewise.
39492 [C99-based-standards] (SCNu64): Likewise.
39493 [C99-based-standards] (SCNx64): Likewise.
39494 [C99-based-standards] (PRIdLEAST64): Likewise.
39495 [C99-based-standards] (PRIiLEAST64): Likewise.
39496 [C99-based-standards] (PRIoLEAST64): Likewise.
39497 [C99-based-standards] (PRIuLEAST64): Likewise.
39498 [C99-based-standards] (PRIxLEAST64): Likewise.
39499 [C99-based-standards] (PRIXLEAST64): Likewise.
39500 [C99-based-standards] (SCNdLEAST64): Likewise.
39501 [C99-based-standards] (SCNiLEAST64): Likewise.
39502 [C99-based-standards] (SCNoLEAST64): Likewise.
39503 [C99-based-standards] (SCNuLEAST64): Likewise.
39504 [C99-based-standards] (SCNxLEAST64): Likewise.
39505 [C99-based-standards] (PRIdFAST64): Likewise.
39506 [C99-based-standards] (PRIiFAST64): Likewise.
39507 [C99-based-standards] (PRIoFAST64): Likewise.
39508 [C99-based-standards] (PRIuFAST64): Likewise.
39509 [C99-based-standards] (PRIxFAST64): Likewise.
39510 [C99-based-standards] (PRIXFAST64): Likewise.
39511 [C99-based-standards] (SCNdFAST64): Likewise.
39512 [C99-based-standards] (SCNiFAST64): Likewise.
39513 [C99-based-standards] (SCNoFAST64): Likewise.
39514 [C99-based-standards] (SCNuFAST64): Likewise.
39515 [C99-based-standards] (SCNxFAST64): Likewise.
39516 [C99-based-standards] (PRIdMAX): Likewise.
39517 [C99-based-standards] (PRIiMAX): Likewise.
39518 [C99-based-standards] (PRIoMAX): Likewise.
39519 [C99-based-standards] (PRIuMAX): Likewise.
39520 [C99-based-standards] (PRIxMAX): Likewise.
39521 [C99-based-standards] (PRIXMAX): Likewise.
39522 [C99-based-standards] (SCNdMAX): Likewise.
39523 [C99-based-standards] (SCNiMAX): Likewise.
39524 [C99-based-standards] (SCNoMAX): Likewise.
39525 [C99-based-standards] (SCNuMAX): Likewise.
39526 [C99-based-standards] (SCNxMAX): Likewise.
39527 [C99-based-standards] (PRIdPTR): Likewise.
39528 [C99-based-standards] (PRIiPTR): Likewise.
39529 [C99-based-standards] (PRIoPTR): Likewise.
39530 [C99-based-standards] (PRIuPTR): Likewise.
39531 [C99-based-standards] (PRIxPTR): Likewise.
39532 [C99-based-standards] (PRIXPTR): Likewise.
39533 [C99-based-standards] (SCNdPTR): Likewise.
39534 [C99-based-standards] (SCNiPTR): Likewise.
39535 [C99-based-standards] (SCNoPTR): Likewise.
39536 [C99-based-standards] (SCNuPTR): Likewise.
39537 [C99-based-standards] (SCNxPTR): Likewise.
39538 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39539 allow.
39540 * conform/data/stdint.h-data: Update comments to clarify
39541 requirements.
39542 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39543 type.
39544 [C99-based standards] (INT8_MAX): Likewise.
39545 [C99-based standards] (INT16_MIN): Likewise.
39546 [C99-based standards] (INT16_MAX): Likewise.
39547 [C99-based standards] (INT32_MIN): Likewise.
39548 [C99-based standards] (INT32_MAX): Likewise.
39549 [C99-based standards] (INT64_MIN): Likewise.
39550 [C99-based standards] (INT64_MAX): Likewise.
39551 [C99-based standards] (UINT8_MAX): Likewise.
39552 [C99-based standards] (UINT16_MAX): Likewise.
39553 [C99-based standards] (UINT32_MAX): Likewise.
39554 [C99-based standards] (UINT64_MAX): Likewise.
39555 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39556 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39557 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39558 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39559 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39560 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39561 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39562 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39563 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39564 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39565 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39566 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39567 [C99-based standards] (INT_FAST8_MIN): Likewise.
39568 [C99-based standards] (INT_FAST8_MAX): Likewise.
39569 [C99-based standards] (INT_FAST16_MIN): Likewise.
39570 [C99-based standards] (INT_FAST16_MAX): Likewise.
39571 [C99-based standards] (INT_FAST32_MIN): Likewise.
39572 [C99-based standards] (INT_FAST32_MAX): Likewise.
39573 [C99-based standards] (INT_FAST64_MIN): Likewise.
39574 [C99-based standards] (INT_FAST64_MAX): Likewise.
39575 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39576 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39577 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39578 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39579 [C99-based standards] (INTPTR_MIN): Likewise.
39580 [C99-based standards] (INTPTR_MAX): Likewise.
39581 [C99-based standards] (UINTPTR_MAX): Likewise.
39582 [C99-based standards] (INTMAX_MIN): Likewise.
39583 [C99-based standards] (INTMAX_MAX): Likewise.
39584 [C99-based standards] (UINTMAX_MAX): Likewise.
39585 [C99-based standards] (PTRDIFF_MIN): Likewise.
39586 [C99-based standards] (PTRDIFF_MAX): Likewise.
39587 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39588 [C99-based standards] (SIZE_MAX): Likewise.
39589 [C99-based standards] (WCHAR_MAX): Likewise.
39590 [C99-based standards] (WINT_MAX): Likewise.
39591 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39592 constraint on value.
39593 [C99-based standards] (WCHAR_MIN): Likewise.
39594 [C99-based standards] (WINT_MIN): Likewise.
39595 [C99-based standards] (*_t): Allow.
39596 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39597 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39598 Include math.h-data and complex.h-data. Remove all expectations
39599 of math.h and complex.h contents.
39600 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39601 at end of line.
39602 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39603 (struct tm): Expect tag.
39604 [C99-based-standards] (wcstof): Expect function.
39605 [C99-based-standards] (wcstold): Likewise.
39606 [C99-based-standards] (wcstoll): Likewise.
39607 [C99-based-standards] (wcstoull): Likewise.
39608 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39609 macro-int-constant. Specify type.
39610 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39611 constraint on value.
39612 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39613 Specify type.
39614 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39615 Specify value.
39616 [ISO C standards]: Do not allow headers.
39617 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39618 wcs[abcdefghijklmnopqrstuvwxyz]*.
39619 [ISO C standards] (*_t): Do not allow.
39620 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39621 Expect function.
39622 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39623 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39624 Specify type.
39625 [ISO C standards]: Do not allow headers.
39626 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39627 is[abcdefghijklmnopqrstuvwxyz]*.
39628 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39629 to[abcdefghijklmnopqrstuvwxyz]*.
39630 [ISO C standards] (*_t): Do not allow.
39631 * conform/data/stdalign.h-data: New file.
39632 * conform/data/stdbool.h-data: Likewise.
39633 * conform/data/stdnoreturn.h-data: Likewise.
39634
39635 2012-11-07 Roland McGrath <roland@hack.frob.com>
39636
39637 [BZ #14815]
39638 * manual/filesys.texi (Directory Entries): Typo fix.
39639 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39640
39641 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39642
39643 * elf/elf.h (EM_AARCH64): New macro.
39644 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39645 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39646 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39647 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39648 (R_AARCH64_TLSDESC): Likewise.
39649 (NT_ARM_TLS): Likewise.
39650 (NT_ARM_HW_BREAK): Likewise.
39651 (NT_ARM_HW_WATCH): Likewise.
39652
39653 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39654
39655 [BZ #14811]
39656 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39657 (__ieee754_powl): Saturate nonzero exponents with absolute value
39658 below 0x1p-79 to +/- 0x1p-79.
39659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39660 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39661 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39662 nonzero exponents with absolute value below 0x1p-32 to +/-
39663 0x1p-32.
39664 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39665 (__ieee754_powl): Saturate nonzero exponents with absolute value
39666 below 0x1p-79 to +/- 0x1p-79.
39667 * math/libm-test.inc (pow_test): Add more tests.
39668
39669 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39670
39671 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39672 _dl_s390_cap_flags with kernel. Increase string length.
39673 (_dl_s390_platforms): Add z196 and zEC12.
39674
39675 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39676
39677 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39678 Change XOPEN21K to XOPEN2K.
39679
39680 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
39681
39682 * string/memmove.c: Use memcpy when possible.
39683
39684 2012-11-06 Andreas Jaeger <aj@suse.de>
39685
39686 * po/eo.po: Update from translation team.
39687
39688 2012-11-06 Joseph Myers <joseph@codesourcery.com>
39689
39690 [BZ #14793]
39691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39692 exponent and small x and y exponents, scale x or y up. Increase
39693 by 2 the exponent used in scaling up.
39694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39696 * math/libm-test.inc (fma_test): Add more tests.
39697 (fma_test_towardzero): Likewise.
39698 (fma_test_downward): Likewise.
39699 (fma_test_upward): Likewise.
39700
39701 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39702
39703 [BZ #14805]
39704 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39705 fenv_t *.
39706
39707 [BZ #14801]
39708 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39709 namespace for names of struct fields.
39710 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39711 fenv_t fields.
39712 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39713 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39714
39715 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39716
39717 [BZ #3665]
39718 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39719
39720 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39721
39722 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39723 PTR_DEMANGLE.
39724
39725 [BZ #5246]
39726 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39727 PTR_DEMANGLE.
39728
39729 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39730
39731 [BZ #14797]
39732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39733 definitely overflow as x * y not x * y + z.
39734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39736 * math/libm-test.inc (fma_test): Add more tests.
39737 (fma_test_towardzero): Likewise.
39738 (fma_test_downward): Likewise.
39739 (fma_test_upward): Likewise.
39740
39741 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39742
39743 [BZ #157]
39744
39745 * include/stub-tag.h: Remove file.
39746 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39747 '#include' of it.
39748 * manual/maint.texi (Porting): Don't reference it.
39749 * Makerules ($(objpfx)stubs): Likewise.
39750 * dirent/closedir.c: Don't include <stub-tag.h>.
39751 * dirent/dirfd.c: Likewise.
39752 * dirent/fdopendir.c: Likewise.
39753 * dirent/getdents.c: Likewise.
39754 * dirent/getdents64.c: Likewise.
39755 * dirent/opendir.c: Likewise.
39756 * dirent/readdir.c: Likewise.
39757 * dirent/readdir64.c: Likewise.
39758 * dirent/readdir64_r.c: Likewise.
39759 * dirent/readdir_r.c: Likewise.
39760 * dirent/rewinddir.c: Likewise.
39761 * dirent/seekdir.c: Likewise.
39762 * dirent/telldir.c: Likewise.
39763 * gmon/profil.c: Likewise.
39764 * grp/setgroups.c: Likewise.
39765 * inet/if_index.c: Likewise.
39766 * io/access.c: Likewise.
39767 * io/chdir.c: Likewise.
39768 * io/chmod.c: Likewise.
39769 * io/chown.c: Likewise.
39770 * io/close.c: Likewise.
39771 * io/dup.c: Likewise.
39772 * io/dup2.c: Likewise.
39773 * io/dup3.c: Likewise.
39774 * io/euidaccess.c: Likewise.
39775 * io/faccessat.c: Likewise.
39776 * io/fchdir.c: Likewise.
39777 * io/fchmod.c: Likewise.
39778 * io/fchmodat.c: Likewise.
39779 * io/fchown.c: Likewise.
39780 * io/fchownat.c: Likewise.
39781 * io/fcntl.c: Likewise.
39782 * io/flock.c: Likewise.
39783 * io/fstatfs.c: Likewise.
39784 * io/fstatfs64.c: Likewise.
39785 * io/fstatvfs.c: Likewise.
39786 * io/fstatvfs64.c: Likewise.
39787 * io/futimens.c: Likewise.
39788 * io/fxstat.c: Likewise.
39789 * io/fxstat64.c: Likewise.
39790 * io/fxstatat.c: Likewise.
39791 * io/fxstatat64.c: Likewise.
39792 * io/getcwd.c: Likewise.
39793 * io/isatty.c: Likewise.
39794 * io/lchmod.c: Likewise.
39795 * io/lchown.c: Likewise.
39796 * io/link.c: Likewise.
39797 * io/linkat.c: Likewise.
39798 * io/lseek.c: Likewise.
39799 * io/lseek64.c: Likewise.
39800 * io/lxstat64.c: Likewise.
39801 * io/mkdir.c: Likewise.
39802 * io/mkdirat.c: Likewise.
39803 * io/mkfifo.c: Likewise.
39804 * io/mkfifoat.c: Likewise.
39805 * io/open.c: Likewise.
39806 * io/open64.c: Likewise.
39807 * io/openat.c: Likewise.
39808 * io/openat64.c: Likewise.
39809 * io/pipe.c: Likewise.
39810 * io/pipe2.c: Likewise.
39811 * io/poll.c: Likewise.
39812 * io/posix_fadvise.c: Likewise.
39813 * io/posix_fadvise64.c: Likewise.
39814 * io/posix_fallocate.c: Likewise.
39815 * io/posix_fallocate64.c: Likewise.
39816 * io/read.c: Likewise.
39817 * io/readlink.c: Likewise.
39818 * io/readlinkat.c: Likewise.
39819 * io/rmdir.c: Likewise.
39820 * io/sendfile.c: Likewise.
39821 * io/sendfile64.c: Likewise.
39822 * io/statfs.c: Likewise.
39823 * io/statfs64.c: Likewise.
39824 * io/statvfs.c: Likewise.
39825 * io/statvfs64.c: Likewise.
39826 * io/symlink.c: Likewise.
39827 * io/symlinkat.c: Likewise.
39828 * io/ttyname.c: Likewise.
39829 * io/ttyname_r.c: Likewise.
39830 * io/umask.c: Likewise.
39831 * io/unlink.c: Likewise.
39832 * io/unlinkat.c: Likewise.
39833 * io/utime.c: Likewise.
39834 * io/utimensat.c: Likewise.
39835 * io/write.c: Likewise.
39836 * io/xmknod.c: Likewise.
39837 * io/xmknodat.c: Likewise.
39838 * io/xstat.c: Likewise.
39839 * io/xstat64.c: Likewise.
39840 * login/getpt.c: Likewise.
39841 * login/grantpt.c: Likewise.
39842 * login/unlockpt.c: Likewise.
39843 * math/e_acoshl.c: Likewise.
39844 * math/e_acosl.c: Likewise.
39845 * math/e_asinl.c: Likewise.
39846 * math/e_atan2l.c: Likewise.
39847 * math/e_atanhl.c: Likewise.
39848 * math/e_coshl.c: Likewise.
39849 * math/e_expl.c: Likewise.
39850 * math/e_fmodl.c: Likewise.
39851 * math/e_gammal_r.c: Likewise.
39852 * math/e_hypotl.c: Likewise.
39853 * math/e_j0l.c: Likewise.
39854 * math/e_j1l.c: Likewise.
39855 * math/e_jnl.c: Likewise.
39856 * math/e_lgammal_r.c: Likewise.
39857 * math/e_log10l.c: Likewise.
39858 * math/e_log2l.c: Likewise.
39859 * math/e_logl.c: Likewise.
39860 * math/e_powl.c: Likewise.
39861 * math/e_rem_pio2l.c: Likewise.
39862 * math/e_sinhl.c: Likewise.
39863 * math/e_sqrtl.c: Likewise.
39864 * math/fclrexcpt.c: Likewise.
39865 * math/fedisblxcpt.c: Likewise.
39866 * math/feenablxcpt.c: Likewise.
39867 * math/fegetenv.c: Likewise.
39868 * math/fegetexcept.c: Likewise.
39869 * math/fegetround.c: Likewise.
39870 * math/feholdexcpt.c: Likewise.
39871 * math/fesetenv.c: Likewise.
39872 * math/fesetround.c: Likewise.
39873 * math/feupdateenv.c: Likewise.
39874 * math/fgetexcptflg.c: Likewise.
39875 * math/fraiseexcpt.c: Likewise.
39876 * math/fsetexcptflg.c: Likewise.
39877 * math/ftestexcept.c: Likewise.
39878 * math/k_cosl.c: Likewise.
39879 * math/k_rem_pio2l.c: Likewise.
39880 * math/k_sinl.c: Likewise.
39881 * math/k_tanl.c: Likewise.
39882 * math/s_asinhl.c: Likewise.
39883 * math/s_atanl.c: Likewise.
39884 * math/s_cbrtl.c: Likewise.
39885 * math/s_erfl.c: Likewise.
39886 * math/s_expm1l.c: Likewise.
39887 * math/s_log1pl.c: Likewise.
39888 * math/s_tanhl.c: Likewise.
39889 * misc/acct.c: Likewise.
39890 * misc/brk.c: Likewise.
39891 * misc/chflags.c: Likewise.
39892 * misc/chroot.c: Likewise.
39893 * misc/fchflags.c: Likewise.
39894 * misc/fgetxattr.c: Likewise.
39895 * misc/flistxattr.c: Likewise.
39896 * misc/fremovexattr.c: Likewise.
39897 * misc/fsetxattr.c: Likewise.
39898 * misc/fsync.c: Likewise.
39899 * misc/ftruncate.c: Likewise.
39900 * misc/futimes.c: Likewise.
39901 * misc/futimesat.c: Likewise.
39902 * misc/getdomain.c: Likewise.
39903 * misc/getdtsz.c: Likewise.
39904 * misc/gethostid.c: Likewise.
39905 * misc/gethostname.c: Likewise.
39906 * misc/getloadavg.c: Likewise.
39907 * misc/getpagesize.c: Likewise.
39908 * misc/getsysstats.c: Likewise.
39909 * misc/getxattr.c: Likewise.
39910 * misc/gtty.c: Likewise.
39911 * misc/ioctl.c: Likewise.
39912 * misc/lgetxattr.c: Likewise.
39913 * misc/listxattr.c: Likewise.
39914 * misc/llistxattr.c: Likewise.
39915 * misc/lremovexattr.c: Likewise.
39916 * misc/lsetxattr.c: Likewise.
39917 * misc/lutimes.c: Likewise.
39918 * misc/madvise.c: Likewise.
39919 * misc/mincore.c: Likewise.
39920 * misc/mlock.c: Likewise.
39921 * misc/mlockall.c: Likewise.
39922 * misc/mmap.c: Likewise.
39923 * misc/mprotect.c: Likewise.
39924 * misc/msync.c: Likewise.
39925 * misc/munlock.c: Likewise.
39926 * misc/munlockall.c: Likewise.
39927 * misc/munmap.c: Likewise.
39928 * misc/preadv.c: Likewise.
39929 * misc/preadv64.c: Likewise.
39930 * misc/ptrace.c: Likewise.
39931 * misc/pwritev.c: Likewise.
39932 * misc/pwritev64.c: Likewise.
39933 * misc/readv.c: Likewise.
39934 * misc/reboot.c: Likewise.
39935 * misc/remap_file_pages.c: Likewise.
39936 * misc/removexattr.c: Likewise.
39937 * misc/revoke.c: Likewise.
39938 * misc/select.c: Likewise.
39939 * misc/setdomain.c: Likewise.
39940 * misc/setegid.c: Likewise.
39941 * misc/seteuid.c: Likewise.
39942 * misc/sethostid.c: Likewise.
39943 * misc/sethostname.c: Likewise.
39944 * misc/setregid.c: Likewise.
39945 * misc/setreuid.c: Likewise.
39946 * misc/setxattr.c: Likewise.
39947 * misc/sstk.c: Likewise.
39948 * misc/stty.c: Likewise.
39949 * misc/swapoff.c: Likewise.
39950 * misc/swapon.c: Likewise.
39951 * misc/sync.c: Likewise.
39952 * misc/syncfs.c: Likewise.
39953 * misc/syscall.c: Likewise.
39954 * misc/truncate.c: Likewise.
39955 * misc/ualarm.c: Likewise.
39956 * misc/usleep.c: Likewise.
39957 * misc/ustat.c: Likewise.
39958 * misc/utimes.c: Likewise.
39959 * misc/vhangup.c: Likewise.
39960 * misc/writev.c: Likewise.
39961 * posix/_exit.c: Likewise.
39962 * posix/alarm.c: Likewise.
39963 * posix/execve.c: Likewise.
39964 * posix/fexecve.c: Likewise.
39965 * posix/fork.c: Likewise.
39966 * posix/fpathconf.c: Likewise.
39967 * posix/getaddrinfo.c: Likewise.
39968 * posix/getegid.c: Likewise.
39969 * posix/geteuid.c: Likewise.
39970 * posix/getgid.c: Likewise.
39971 * posix/getgroups.c: Likewise.
39972 * posix/getlogin.c: Likewise.
39973 * posix/getlogin_r.c: Likewise.
39974 * posix/getpgid.c: Likewise.
39975 * posix/getpid.c: Likewise.
39976 * posix/getppid.c: Likewise.
39977 * posix/getresgid.c: Likewise.
39978 * posix/getresuid.c: Likewise.
39979 * posix/getsid.c: Likewise.
39980 * posix/getuid.c: Likewise.
39981 * posix/glob64.c: Likewise.
39982 * posix/nanosleep.c: Likewise.
39983 * posix/pathconf.c: Likewise.
39984 * posix/pause.c: Likewise.
39985 * posix/posix_madvise.c: Likewise.
39986 * posix/pread.c: Likewise.
39987 * posix/pread64.c: Likewise.
39988 * posix/pwrite.c: Likewise.
39989 * posix/pwrite64.c: Likewise.
39990 * posix/sched_getaffinity.c: Likewise.
39991 * posix/sched_getp.c: Likewise.
39992 * posix/sched_gets.c: Likewise.
39993 * posix/sched_primax.c: Likewise.
39994 * posix/sched_primin.c: Likewise.
39995 * posix/sched_rr_gi.c: Likewise.
39996 * posix/sched_setaffinity.c: Likewise.
39997 * posix/sched_setp.c: Likewise.
39998 * posix/sched_sets.c: Likewise.
39999 * posix/sched_yield.c: Likewise.
40000 * posix/setgid.c: Likewise.
40001 * posix/setlogin.c: Likewise.
40002 * posix/setpgid.c: Likewise.
40003 * posix/setresgid.c: Likewise.
40004 * posix/setresuid.c: Likewise.
40005 * posix/setsid.c: Likewise.
40006 * posix/setuid.c: Likewise.
40007 * posix/sleep.c: Likewise.
40008 * posix/spawni.c: Likewise.
40009 * posix/sysconf.c: Likewise.
40010 * posix/times.c: Likewise.
40011 * posix/wait.c: Likewise.
40012 * posix/wait3.c: Likewise.
40013 * posix/wait4.c: Likewise.
40014 * posix/waitpid.c: Likewise.
40015 * resolv/gai_sigqueue.c: Likewise.
40016 * resource/getpriority.c: Likewise.
40017 * resource/getrlimit.c: Likewise.
40018 * resource/getrusage.c: Likewise.
40019 * resource/nice.c: Likewise.
40020 * resource/setpriority.c: Likewise.
40021 * resource/setrlimit.c: Likewise.
40022 * resource/ulimit.c: Likewise.
40023 * rt/aio_cancel.c: Likewise.
40024 * rt/aio_fsync.c: Likewise.
40025 * rt/aio_read.c: Likewise.
40026 * rt/aio_sigqueue.c: Likewise.
40027 * rt/aio_suspend.c: Likewise.
40028 * rt/aio_write.c: Likewise.
40029 * rt/clock_getres.c: Likewise.
40030 * rt/clock_gettime.c: Likewise.
40031 * rt/clock_nanosleep.c: Likewise.
40032 * rt/clock_settime.c: Likewise.
40033 * rt/lio_listio.c: Likewise.
40034 * rt/mq_close.c: Likewise.
40035 * rt/mq_getattr.c: Likewise.
40036 * rt/mq_notify.c: Likewise.
40037 * rt/mq_open.c: Likewise.
40038 * rt/mq_receive.c: Likewise.
40039 * rt/mq_send.c: Likewise.
40040 * rt/mq_setattr.c: Likewise.
40041 * rt/mq_timedreceive.c: Likewise.
40042 * rt/mq_timedsend.c: Likewise.
40043 * rt/mq_unlink.c: Likewise.
40044 * rt/shm_open.c: Likewise.
40045 * rt/shm_unlink.c: Likewise.
40046 * rt/timer_create.c: Likewise.
40047 * rt/timer_delete.c: Likewise.
40048 * rt/timer_getoverr.c: Likewise.
40049 * rt/timer_gettime.c: Likewise.
40050 * rt/timer_settime.c: Likewise.
40051 * setjmp/__longjmp.c: Likewise.
40052 * setjmp/setjmp.c: Likewise.
40053 * signal/kill.c: Likewise.
40054 * signal/killpg.c: Likewise.
40055 * signal/raise.c: Likewise.
40056 * signal/sigaction.c: Likewise.
40057 * signal/sigaltstack.c: Likewise.
40058 * signal/sigblock.c: Likewise.
40059 * signal/sigignore.c: Likewise.
40060 * signal/sigintr.c: Likewise.
40061 * signal/signal.c: Likewise.
40062 * signal/sigpause.c: Likewise.
40063 * signal/sigpending.c: Likewise.
40064 * signal/sigqueue.c: Likewise.
40065 * signal/sigreturn.c: Likewise.
40066 * signal/sigset.c: Likewise.
40067 * signal/sigsetmask.c: Likewise.
40068 * signal/sigstack.c: Likewise.
40069 * signal/sigsuspend.c: Likewise.
40070 * signal/sigtimedwait.c: Likewise.
40071 * signal/sigvec.c: Likewise.
40072 * signal/sigwait.c: Likewise.
40073 * signal/sigwaitinfo.c: Likewise.
40074 * signal/sysv_signal.c: Likewise.
40075 * socket/accept.c: Likewise.
40076 * socket/accept4.c: Likewise.
40077 * socket/bind.c: Likewise.
40078 * socket/connect.c: Likewise.
40079 * socket/getpeername.c: Likewise.
40080 * socket/getsockname.c: Likewise.
40081 * socket/getsockopt.c: Likewise.
40082 * socket/isfdtype.c: Likewise.
40083 * socket/listen.c: Likewise.
40084 * socket/recv.c: Likewise.
40085 * socket/recvfrom.c: Likewise.
40086 * socket/recvmsg.c: Likewise.
40087 * socket/send.c: Likewise.
40088 * socket/sendmsg.c: Likewise.
40089 * socket/sendto.c: Likewise.
40090 * socket/setsockopt.c: Likewise.
40091 * socket/shutdown.c: Likewise.
40092 * socket/sockatmark.c: Likewise.
40093 * socket/socket.c: Likewise.
40094 * socket/socketpair.c: Likewise.
40095 * stdio-common/ctermid.c: Likewise.
40096 * stdio-common/cuserid.c: Likewise.
40097 * stdio-common/remove.c: Likewise.
40098 * stdio-common/rename.c: Likewise.
40099 * stdio-common/renameat.c: Likewise.
40100 * stdio-common/tempname.c: Likewise.
40101 * stdlib/getcontext.c: Likewise.
40102 * stdlib/makecontext.c: Likewise.
40103 * stdlib/setcontext.c: Likewise.
40104 * stdlib/swapcontext.c: Likewise.
40105 * stdlib/system.c: Likewise.
40106 * streams/fattach.c: Likewise.
40107 * streams/fdetach.c: Likewise.
40108 * streams/getmsg.c: Likewise.
40109 * streams/getpmsg.c: Likewise.
40110 * streams/putmsg.c: Likewise.
40111 * streams/putpmsg.c: Likewise.
40112 * sysdeps/unix/bsd/getpt.c: Likewise.
40113 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40114 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40115 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40117 Likewise.
40118 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40119 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40120 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40121 * sysvipc/msgctl.c: Likewise.
40122 * sysvipc/msgget.c: Likewise.
40123 * sysvipc/msgrcv.c: Likewise.
40124 * sysvipc/msgsnd.c: Likewise.
40125 * sysvipc/semctl.c: Likewise.
40126 * sysvipc/semget.c: Likewise.
40127 * sysvipc/semop.c: Likewise.
40128 * sysvipc/semtimedop.c: Likewise.
40129 * sysvipc/shmat.c: Likewise.
40130 * sysvipc/shmctl.c: Likewise.
40131 * sysvipc/shmdt.c: Likewise.
40132 * sysvipc/shmget.c: Likewise.
40133 * termios/tcdrain.c: Likewise.
40134 * termios/tcflow.c: Likewise.
40135 * termios/tcflush.c: Likewise.
40136 * termios/tcgetattr.c: Likewise.
40137 * termios/tcgetpgrp.c: Likewise.
40138 * termios/tcsendbrk.c: Likewise.
40139 * termios/tcsetattr.c: Likewise.
40140 * termios/tcsetpgrp.c: Likewise.
40141 * time/adjtime.c: Likewise.
40142 * time/clock.c: Likewise.
40143 * time/getitimer.c: Likewise.
40144 * time/gettimeofday.c: Likewise.
40145 * time/setitimer.c: Likewise.
40146 * time/settimeofday.c: Likewise.
40147 * time/stime.c: Likewise.
40148 * time/time.c: Likewise.
40149
40150 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40151
40152 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40153 /usr/old/bin.
40154
40155 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40156 instead of spaces.
40157 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40158
40159 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40160
40161 [BZ #14796]
40162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40163 FE_TONEAREST before applying Dekker multiplication and Knuth
40164 addition. Clear inexact exceptions and check for exact zero
40165 results afterwards.
40166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40167 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40169 * math/libm-test.inc (fma_test): Add more tests.
40170 (fma_test_towardzero): Likewise.
40171 (fma_test_downward): Likewise.
40172 (fma_test_upward): Likewise.
40173 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40174 function.
40175 (libc_fesetround): New macro.
40176 (libc_fesetroundf): Likewise.
40177 (libc_fesetroundl): Likewise.
40178 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40179 function.
40180 (libc_fesetround_387): Likewise.
40181 (libc_fesetroundf): New macro.
40182 (libc_fesetround): Likewise.
40183 (libc_fesetroundl): Likewise.
40184 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40185 function.
40186 (libc_fesetroundf): New macro.
40187 (libc_fesetround): Likewise.
40188 (libc_fesetroundl): Likewise.
40189 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40190 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40191 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40192 libm_hidden_ver.
40193 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40194 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40195 libm_hidden_def.
40196 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40197 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40198 libm_hidden_ver.
40199 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40200 libm_hidden_def.
40201
40202 [BZ #3439]
40203 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40204 integer constant usable in #if and use that to give value to enum
40205 constant.
40206 (FE_DIVBYZERO): Likewise.
40207 (FE_UNDERFLOW): Likewise.
40208 (FE_OVERFLOW): Likewise.
40209 (FE_INVALID): Likewise.
40210 (FE_INVALID_SNAN): Likewise.
40211 (FE_INVALID_ISI): Likewise.
40212 (FE_INVALID_IDI): Likewise.
40213 (FE_INVALID_ZDZ): Likewise.
40214 (FE_INVALID_IMZ): Likewise.
40215 (FE_INVALID_COMPARE): Likewise.
40216 (FE_INVALID_SOFTWARE): Likewise.
40217 (FE_INVALID_SQRT): Likewise.
40218 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40219 (FE_TONEAREST): Likewise.
40220 (FE_TOWARDZERO): Likewise.
40221 (FE_UPWARD): Likewise.
40222 (FE_DOWNWARD): Likewise.
40223 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40224 (FE_DIVBYZERO): Likewise.
40225 (FE_OVERFLOW): Likewise.
40226 (FE_UNDERFLOW): Likewise.
40227 (FE_INEXACT): Likewise.
40228 (FE_TONEAREST): Likewise.
40229 (FE_DOWNWARD): Likewise.
40230 (FE_UPWARD): Likewise.
40231 (FE_TOWARDZERO): Likewise.
40232 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40233 (FE_UNDERFLOW): Likewise.
40234 (FE_OVERFLOW): Likewise.
40235 (FE_DIVBYZERO): Likewise.
40236 (FE_INVALID): Likewise.
40237 (FE_TONEAREST): Likewise.
40238 (FE_TOWARDZERO): Likewise.
40239 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40240 (FE_OVERFLOW): Likewise.
40241 (FE_UNDERFLOW): Likewise.
40242 (FE_DIVBYZERO): Likewise.
40243 (FE_INEXACT): Likewise.
40244 (FE_TONEAREST): Likewise.
40245 (FE_TOWARDZERO): Likewise.
40246 (FE_UPWARD): Likewise.
40247 (FE_DOWNWARD): Likewise.
40248 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40249 (FE_DIVBYZERO): Likewise.
40250 (FE_OVERFLOW): Likewise.
40251 (FE_UNDERFLOW): Likewise.
40252 (FE_INEXACT): Likewise.
40253 (FE_TONEAREST): Likewise.
40254 (FE_DOWNWARD): Likewise.
40255 (FE_UPWARD): Likewise.
40256 (FE_TOWARDZERO): Likewise.
40257
40258 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40259
40260 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40261
40262 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40263
40264 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40265 commands. Quote $PWD.
40266 (blacklist_exports): Don't use remove_newlines. Replace "declare
40267 -x" by "export".
40268 (remove_newlines): Remove.
40269
40270 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40271
40272 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40273 * stdlib/stdlib.h (atof): Moved to ...
40274 * include/bits/stdlib-float.h: Here. New file.
40275 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40276 * stdlib/bits/stdlib-float.h: New file.
40277 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40278 -mno-sse -mno-mmx.
40279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40280 <xmmintrin.h>.
40281
40282 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40283
40284 * conform/conformtest.pl (@headers): Add fenv.h.
40285 * conform/data/fenv.h-data: New file.
40286 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40287 include of <math/fenv.h>.
40288
40289 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40290 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40291 && !UNIX98]. Enables tests for XOPEN2K8.
40292 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40293 POSIX2008]: Likewise.
40294
40295 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40296 (struct rusage): Do not expect type or its members.
40297
40298 [BZ #3439]
40299 * math/math.h (FP_NAN): Define macro to integer constant usable in
40300 #if and use that to give value to enum constant.
40301 (FP_INFINITE): Likewise.
40302 (FP_ZERO): Likewise.
40303 (FP_SUBNORMAL): Likewise.
40304 (FP_NORMAL): Likewise.
40305
40306 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40307
40308 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40309 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40310 arguments.
40311
40312 2012-11-02 Roland McGrath <roland@hack.frob.com>
40313
40314 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40315 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40316 autoconf-time if not.
40317 * configure.in: Remove AC_PREREQ.
40318
40319 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40320
40321 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40322 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40323 of the internal implementation.
40324
40325 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40326
40327 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40328 except include of <misc/sys/syslog.h>.
40329
40330 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40331
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40333 function returns with a NULL context exit with zero.
40334
40335 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40336
40337 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40338
40339 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40340
40341 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40342 (run_program_cmd): This.
40343 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40344 (tst_langinfo): New variable. Use it.
40345
40346 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40347
40348 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40349 floating point opcodes.
40350
40351 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40352
40353 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40354 variable.
40355
40356 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40357
40358 * sysdeps/mach/hurd/powerpc: Remove directory.
40359 * sysdeps/mach/powerpc: Likewise.
40360
40361 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40362
40363 * scripts/check-local-headers.sh: Ignore c++ headers.
40364
40365 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40366
40367 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40368 __libc_cleanup_region_start argument.
40369
40370 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40371
40372 [BZ #14784]
40373 [BZ #14785]
40374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40375 x * y using scaling, not as x * y + z.
40376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40378 * math/libm-test.inc (fma_test): Add more tests.
40379 (fma_test_towardzero): Likewise.
40380 (fma_test_downward): Likewise.
40381 (fma_test_upward): Likewise.
40382
40383 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40384
40385 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40386
40387 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40388
40389 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40390 New variable.
40391
40392 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40393
40394 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40395
40396 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40397
40398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40399 Fix sort order.
40400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40401 Likewise.
40402
40403 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40404
40405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40406 Fix the order of the list for glibc 2.17.
40407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40408 Likewise.
40409
40410 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40411
40412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40413
40414 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40415
40416 [BZ #14610]
40417 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40418 for low part of x being zero before using __atanl (y).
40419 * math/libm-test.inc (atan2_test): Add another test.
40420
40421 * manual/install.texi (Configuring and compiling): Document
40422 general use of test-wrapper and test-wrapper-env.
40423 * INSTALL: Regenerated.
40424
40425 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40426 (__fma): Do not extract and scale down low bits on after-rounding
40427 systems when result rounded to normal precision would have normal
40428 exponent.
40429 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40430 (__fmal): Do not extract and scale down low bits on after-rounding
40431 systems when result rounded to normal precision would have normal
40432 exponent.
40433 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40434 (__fmal): Do not extract and scale down low bits on after-rounding
40435 systems when result rounded to normal precision would have normal
40436 exponent.
40437 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40438 macro.
40439 (fma_test): Add more tests.
40440 (fma_test_towardzero): Likewise.
40441 (fma_test_downward): Likewise.
40442 (fma_test_upward): Likewise.
40443
40444 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40445
40446 * sysdeps/i386/tininess.h: Renamed to ...
40447 * sysdeps/x86/tininess.h: This.
40448 * sysdeps/x86_64/tininess.h: Removed.
40449
40450 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40451
40452 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40453 input. Use $(build-program-cmd).
40454 ($(objpfx)tst-array1-static.out): Likewise.
40455 ($(objpfx)tst-array2.out): Likewise.
40456 ($(objpfx)tst-array3.out): Likewise.
40457 ($(objpfx)tst-array4.out): Likewise.
40458 ($(objpfx)tst-array5.out): Likewise.
40459 ($(objpfx)tst-array5-static.out): Likewise.
40460
40461 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40462
40463 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40464 if defined.
40465
40466 * nss/nsswitch.h (nss_interface_function): Provide new
40467 macro for use with NSS functions.
40468 * grp/initgroups.c: Use new macro.
40469 * nss/getXXbyYY.c: Likewise.
40470 * nss/getXXbyYY_r.c: Likewise.
40471 * nss/getXXent.c: Likewise.
40472 * nss/getXXent_r.c: Likewise.
40473 * sysdeps/posix/getaddrinfo.c: Likewise.
40474
40475 2012-10-30 Andreas Jaeger <aj@suse.de>
40476
40477 * po/ru.po: Update Russion translation from translation project.
40478
40479 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40480
40481 [BZ #14152]
40482 [BZ #14783]
40483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40484 result and shift together with sticky bit instead of replicating
40485 round-to-nearest rounding.
40486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40488 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40489 missing underflow exceptions.
40490 (fma_test_towardzero): Add more tests.
40491 (fma_test_downward): Likewise.
40492 (fma_test_upward): Likewise.
40493
40494 [BZ #14047]
40495 * sysdeps/generic/tininess.h: New file.
40496 * sysdeps/i386/tininess.h: Likewise.
40497 * sysdeps/sh/tininess.h: Likewise.
40498 * sysdeps/x86_64/tininess.h: Likewise.
40499 * stdlib/tst-strtod-underflow.c: Likewise.
40500 * stdlib/tst-tininess.c: Likewise.
40501 * stdlib/strtod_l.c: Include <tininess.h>.
40502 (round_and_return): Do not set errno for exact underflow cases.
40503 Force an underflow exception when setting errno for underflow.
40504 Determine underflow based on rounding to normal precision if
40505 TININESS_AFTER_ROUNDING.
40506 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40507 ERANGE for exact underflow cases.
40508 * stdlib/Makefile (tests): Add tst-tininess and
40509 tst-strtod-underflow.
40510 ($(objpfx)tst-tininess): Use $(link-libm).
40511 ($(objpfx)tst-strtod-underflow): Likewise.
40512
40513 2012-10-30 Andreas Jaeger <aj@suse.de>
40514
40515 [BZ#14767]
40516 * elf/Makefile (tests): Remove conditional for have-initfini-array
40517 since this is now always required and the variable does not exist
40518 anymore.
40519 (tests-static): Likewise.
40520 (modules-names): Likewise.
40521
40522 * po/eo.po: Add Esperanto translation from translation project.
40523
40524 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40525 merged with constructor/destructor.
40526 (init_array): Likewise.
40527 * elf/tst-array2dep.c (fini_array): Likewise.
40528 (init_array): Likewise.
40529
40530 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40531
40532 * manual/message.texi: Delete @cartouche tags.
40533
40534 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40535
40536 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40537 EOPNOTSUPP.
40538 * sysdeps/mach/hurd/fsync.c: Likewise.
40539
40540 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40541 [_POSIX_REALTIME_SIGNALS]: Change condition to
40542 [_POSIX_REALTIME_SIGNALS > 0].
40543
40544 2012-10-27 Andreas Jaeger <aj@suse.de>
40545
40546 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40547 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40549 [__WORDSIZE != 64]: Likewise.
40550
40551 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40552
40553 * iconvdata/tst-table.sh: Remove ${SHELL}.
40554 * iconvdata/tst-tables.sh: Likewise.
40555
40556 2012-10-25 David S. Miller <davem@davemloft.net>
40557
40558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40559 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40560 of strtoull.
40561
40562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40563 ifunc-impl-list.c
40564 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40565 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40566 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40567 file.
40568
40569 2012-10-25 Roland McGrath <roland@hack.frob.com>
40570
40571 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40572 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40573 __getdirentries.
40574
40575 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40576 Jim Blandy <jimb@codesourcery.com>
40577
40578 * scripts/cross-test-ssh.sh: New file.
40579 * manual/install.texi (Configuring and compiling): Document use of
40580 cross-test-ssh.sh.
40581 * INSTALL: Regenerated.
40582
40583 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40584
40585 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40586 EOPNOTSUPP.
40587
40588 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40589
40590 * Makeconfig (run-program-prefix): Fix comment.
40591
40592 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40593 Jim Blandy <jimb@codesourcery.com>
40594
40595 * Makeconfig (test-wrapper): New variable,
40596 (test-wrapper-env): Likewise.
40597 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40598 (run-built-tests): Define to yes.
40599 (run-program-prefix): Use $(test-wrapper).
40600 (built-program-cmd): Likewise.
40601 * Rules (make-test-out): Use $(test-wrapper-env) and
40602 $(host-built-program-cmd).
40603 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40604 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40605 tst-pathopt.sh.
40606 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40607 $(test-wrapper-env) to tst-rtld-load-self.sh.
40608 ($(objpfx)order2.out): Use $(test-wrapper).
40609 ($(objpfx)tst-initorder.out): Likewise.
40610 ($(objpfx)tst-initorder2.out): Likewise.
40611 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40612 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40613 (test_wrapper_env): New variable. Use it to run ld.so.
40614 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40615 Use it to run ld.so.
40616 (test_wrapper_env): Likewise.
40617 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40618 $(test-wrapper) to run-iconv-test.sh.
40619 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40620 (ICONV): Use $test_wrapper.
40621 * posix/Makefile ($(objpfx)globtest.out): Pass
40622 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40623 globtest.sh, not $(run-program-prefix).
40624 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40625 (test_wrapper): Likewise.
40626 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40627 set together with run_via_rtld_prefix.
40628 (run_program_prefix): Define in terms of test_wrapper and
40629 run_via_rtld_prefix.
40630
40631 2012-10-24 Roland McGrath <roland@hack.frob.com>
40632
40633 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40634 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40635 Targets removed.
40636
40637 [BZ #14743]
40638 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40639 Declare __clock_getres, __clock_gettime, __clock_settime,
40640 __clock_nanosleep, and __clock_getcpuclockid.
40641 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40642 Remove librt_hidden_def (clock_gettime).
40643 * sysdeps/unix/clock_gettime.c: Likewise.
40644 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40645 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40646 * rt/clock_getres.c: Define __clock_getres as an alias.
40647 * sysdeps/posix/clock_getres.c: Likewise.
40648 * rt/clock_settime.c: Define __clock_settime as an alias.
40649 * sysdeps/unix/clock_settime.c: Likewise.
40650 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40651 * sysdeps/unix/clock_nanosleep.c: Likewise.
40652 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40653 * rt/clock-compat.c: New file.
40654 * rt/Makefile (librt-routines): Add clock-compat and move
40655 $(clock-routines) to ...
40656 (routines): ... here, new variable.
40657 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40658 Don't add get_clockfreq here.
40659 * rt/Versions (libc: GLIBC_2.17): New version set.
40660 Add clock_* symbols here.
40661 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40663 (GLIBC_2.17): Add clock_* symbols.
40664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40668 Likewise.
40669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40670 Likewise.
40671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40675 * NEWS: Mention the move.
40676
40677 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40678 Use __open, __read, __close rather than their public counterparts.
40679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40680 (__get_clockfreq_via_cpuinfo): Likewise.
40681 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40682 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40683
40684 * config.h.in (HAVE_IFUNC): New #undef.
40685 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40686 was successful.
40687 * configure: Regenerated.
40688
40689 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40690
40691 * configure.in: Move READELF check to start of file.
40692 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40693 libc_cv_asm_gnu_indirect_function in the process.
40694 * configure: Regenerated.
40695
40696 2012-10-24 Mike Frysinger <vapier@gentoo.org>
40697
40698 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40699 send the output to /dev/null.
40700 (libc_cv_cc_with_libunwind): Likewise.
40701 (libc_cv_as_noexecstack): Likewise.
40702 * configure: Regenerate.
40703
40704 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40705
40706 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40707
40708 * posix/globtest.sh (TMPDIR): Do not set.
40709 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40710 (testout): Likewise.
40711
40712 2012-10-24 Andreas Jaeger <aj@suse.de>
40713
40714 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40715 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40716 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40717 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40718 posix_fadvise64, posix_fallocate64.
40719
40720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40721 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40722 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40723 Likewise.
40724 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40725 Likewise.
40726 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40727
40728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40729 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40730 <bits/fcntl-linux.h>.
40731 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40732
40733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40734 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40735 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40736 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40737 [__WORDSIZE != 64]: Likewise.
40738
40739 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40740
40741 * Makeconfig (run-built-tests): New variable.
40742 * Rules [$(cross-compiling) = yes]: Change condition to
40743 [$(run-built-tests) = no].
40744 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40745 to [$(run-built-tests) = yes].
40746 * elf/Makefile [$(cross-compiling) = no]: Likewise
40747 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40748 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40749 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40750 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40751 * io/Makefile [$(cross-compiling) = no]: Likewise.
40752 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40753 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40754 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40755 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40756 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40757 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40758 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40759 * string/Makefile [$(cross-compiling) = no]: Likewise.
40760
40761 * posix/Makefile ($(objpfx)globtest.out): Pass
40762 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40763 $(rtld-installed-name).
40764 * posix/globtest.sh (elf_objpfx): Remove variable.
40765 (rtld_installed_name): Likewise.
40766 (library_path): Likewise.
40767 (run_program_prefix): New variable. Use for running globtest
40768 binary.
40769
40770 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40771 Joseph Myers <joseph@codesourcery.com>
40772
40773 * Makeconfig (host-built-program-cmd): New variable.
40774 * elf/Makefile (tst-stackguard1-ARGS): Use
40775 $(host-built-program-cmd).
40776 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40777 (tst-spawn-ARGS): Likewise.
40778 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40779
40780 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40781 Jim Blandy <jimb@codesourcery.com>
40782
40783 * Makeconfig (run-via-rtld-prefix): New variable.
40784 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40785 (built-program-cmd): Likewise.
40786
40787 2012-10-22 Andreas Jaeger <aj@suse.de>
40788
40789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40790 __O_RSYNC if it exists, otherwise to O_SYNC.
40791
40792 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40793 Joseph Myers <joseph@codesourcery.com>
40794
40795 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40796 /dev/null.
40797 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40798 from /dev/null
40799 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40800 /dev/null.
40801
40802 2012-10-22 Andreas Jaeger <aj@suse.de>
40803
40804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40805 Define always.
40806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40807
40808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40809 bits/fcntl-linux.h.
40810
40811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40812 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40813
40814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40815 to __O_LARGEFILE.
40816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40817 to __O_LARGEFILE.
40818
40819 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40820 Joseph Myers <joseph@codesourcery.com>
40821
40822 * config.make.in (NM): New variable.
40823
40824 2012-10-21 Andreas Jaeger <aj@suse.de>
40825
40826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40827 definitions and declarations that are provided by
40828 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40829
40830 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40831
40832 [BZ #14683]
40833 * elf/Makefile (tests-static): Add tst-leaks1-static.
40834 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40835 ($(objpfx)tst-leaks1-static): New rule.
40836 ($(objpfx)tst-leaks1-static-mem): Likewise.
40837 (tst-leaks1-static-ENV): New macro.
40838 * elf/dl-open.c (dl_open_worker): Check the main application
40839 only if SHARED is defined.
40840 * elf/tst-leaks1-static.c: New file.
40841
40842 2012-10-20 Andreas Jaeger <aj@suse.de>
40843
40844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40845 generic values for Linux.
40846 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40847 and declarations that are provided by <bits/fcntl-linux.h> and
40848 include <bits/fcntl-linux.h>.
40849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40850 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40851
40852 2012-10-20 Roland McGrath <roland@hack.frob.com>
40853
40854 * io/fcntl.h: Move include of <bits/types.h> to the top and
40855 include it unconditionally.
40856
40857 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40858
40859 * wcsmbs/Makefile (tests-ifunc): New variable.
40860 (tests): Add $(tests-ifunc).
40861 * wcsmbs/test-wcschr-ifunc.c: New file.
40862 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40863 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40864 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40865 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40866 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40867
40868 * string/Makefile (tests-ifunc): New variable.
40869 (tests): Add $(tests-ifunc).
40870 * string/test-memccpy.c (TEST_NAME): New macro.
40871 * string/test-memchr.c (TEST_NAME): Likewise.
40872 * string/test-memcmp.c (TEST_NAME): Likewise.
40873 * string/test-memcpy.c (TEST_NAME): Likewise.
40874 * string/test-memmem.c (TEST_NAME): Likewise.
40875 * string/test-memmove.c (TEST_NAME): Likewise.
40876 * string/test-memset.c (TEST_NAME): Likewise.
40877 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40878 * string/test-stpcpy.c (TEST_NAME): Likewise.
40879 * string/test-stpncpy.c (TEST_NAME): Likewise.
40880 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40881 * string/test-strcasestr.c (TEST_NAME): Likewise.
40882 * string/test-strcat.c (TEST_NAME): Likewise.
40883 * string/test-strchr.c (TEST_NAME): Likewise.
40884 * string/test-strcmp.c(TEST_NAME): Likewise.
40885 * string/test-strcpy.c (TEST_NAME): Likewise.
40886 * string/test-strcspn.c (TEST_NAME): Likewise.
40887 * string/test-strlen.c (TEST_NAME): Likewise.
40888 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40889 * string/test-strncmp.c (TEST_NAME): Likewise.
40890 * string/test-strncpy.c (TEST_NAME): Likewise.
40891 * string/test-strnlen.c (TEST_NAME): Likewise.
40892 * string/test-strpbrk.c (TEST_NAME): Likewise.
40893 * string/test-strrchr.c (TEST_NAME): Likewise.
40894 * string/test-strspn.c (TEST_NAME): Likewise.
40895 * string/test-strstr.c (TEST_NAME): Likewise.
40896 * string/test-bcopy-ifunc.c: New file.
40897 * string/test-bzero-ifunc.c: Likewise.
40898 * string/test-memccpy-ifunc.c: Likewise.
40899 * string/test-memchr-ifunc.c: Likewise.
40900 * string/test-memcmp-ifunc.c: Likewise.
40901 * string/test-memcpy-ifunc.c: Likewise.
40902 * string/test-memmem-ifunc.c: Likewise.
40903 * string/test-memmove-ifunc.c: Likewise.
40904 * string/test-mempcpy-ifunc.c: Likewise.
40905 * string/test-memset-ifunc.c: Likewise.
40906 * string/test-rawmemchr-ifunc.c: Likewise.
40907 * string/test-stpcpy-ifunc.c: Likewise.
40908 * string/test-stpncpy-ifunc.c: Likewise.
40909 * string/test-strcasecmp-ifunc.c: Likewise.
40910 * string/test-strcasestr-ifunc.c: Likewise.
40911 * string/test-strcat-ifunc.c: Likewise.
40912 * string/test-strchr-ifunc.c: Likewise.
40913 * string/test-strchrnul-ifunc.c: Likewise.
40914 * string/test-strcmp-ifunc.c: Likewise.
40915 * string/test-strcpy-ifunc.c: Likewise.
40916 * string/test-strcspn-ifunc.c: Likewise.
40917 * string/test-strlen-ifunc.c: Likewise.
40918 * string/test-strncasecmp-ifunc.c: Likewise.
40919 * string/test-strncat-ifunc.c: Likewise.
40920 * string/test-strncmp-ifunc.c: Likewise.
40921 * string/test-strncpy-ifunc.c: Likewise.
40922 * string/test-strnlen-ifunc.c: Likewise.
40923 * string/test-strpbrk-ifunc.c: Likewise.
40924 * string/test-strrchr-ifunc.c: Likewise.
40925 * string/test-strspn-ifunc.c: Likewise.
40926 * string/test-strstr-ifunc.c: Likewise.
40927
40928 * debug/Makefile (tests-ifunc): New variable.
40929 (tests): Add $(tests-ifunc).
40930 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40931 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40932 * debug/test-stpcpy_chk-ifunc.c: New file.
40933 * debug/test-strcpy_chk-ifunc.c: Likewise.
40934
40935 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40936
40937 [BZ #13601]
40938 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40939 header is not read in.
40940
40941 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40942
40943 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40944 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40945 directly. Pass built executable to script as
40946 $(built-program-cmd).
40947 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40948 $testprogram without using LD_LIBRARY_PATH and $ldso.
40949
40950 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40951 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40952 $(rtld-installed-name).
40953 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40954 (rtld_installed_name): Likewise.
40955 (library_path): Likewise.
40956 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40957 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40958 $(run-program-prefix) to tst-tables.sh.
40959 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40960 it to run tst-table-from and tst-table-to.
40961 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40962 Pass it to tst-table.sh.
40963 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40964 $(run-program-prefix) to tst-gettext.sh.
40965 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40966 tst-translit.sh.
40967 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40968 tst-gettext2.sh.
40969 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40970 to run tst-gettext.
40971 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40972 to run tst-gettext2.
40973 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40974 to run tst-translit.
40975 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40976 $(run-program-prefix) to tst-mtrace.sh.
40977 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40978 to run tst-mtrace.
40979 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40980 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40981 $(rtld-installed-name).
40982 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40983 (rtld_installed_name): Likewise.
40984 (run_program_prefix): New variable. Use it to run wordexp-test.
40985
40986 * Makeconfig (ARCH): Remove all definitions.
40987 (machine): Likewise.
40988 [ARCH]: Remove conditional code.
40989 [!objdir]: Give error.
40990 [!objdir] (objpfx): Remove.
40991 [!objdir] (common-objpfx): Likewise.
40992 [!objdir] (common-objdir): Likewise.
40993 * configure.in (config_makefile): Remove. Hardcode Makefile in
40994 AC_CONFIG_FILES call.
40995 * configure: Regenerated.
40996
40997 [BZ #13888]
40998 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40999 or TMPDIR.
41000 (testout): Likewise.
41001
41002 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41003 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41004 $(rtld-installed-name).
41005 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41006 (rtld_installed_name): Likwise.
41007 (runit): Remove function.
41008 (run_getconf): New variable, Use it for running getconf binary.
41009
41010 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41011
41012 [BZ #14716]
41013 * string/test-memmem.c (check_result): New function.
41014 (do_one_test): Use it.
41015 (check1): New function.
41016 (test_main): Use it.
41017
41018 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41019
41020 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41021
41022 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41023
41024 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41025 (_G_LSEEK64): Likewise.
41026 (_G_MMAP64): Likewise.
41027 (_G_FSTAT64): Likewise.
41028 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41029 (_G_LSEEK64): Likewise.
41030 (_G_MMAP64): Likewise.
41031 (_G_FSTAT64): Likewise.
41032 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41033 unconditional. Call __mmap64 directly.
41034 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41035 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41036 __lseek64 directly.
41037 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41038 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41039 __mmap64 directly.
41040 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41041 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41042 __lseek64 directly.
41043 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41044 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41045 __lseek64 directly.
41046 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41047 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41048 __lseek64 directly.
41049 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41050 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41051 __fxstat64 directly.
41052 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41053 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41054 unconditional.
41055 (freopen64) [!_G_OPEN64]: Remove conditional code.
41056 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41057 unconditional.
41058 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41059 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41060 unconditional.
41061 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41062 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41063 unconditional.
41064 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41065 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41066 unconditional.
41067 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41068 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41069 unconditional.
41070 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41071 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41072 unconditional.
41073 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41074 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41075 unconditional.
41076 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41077
41078 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41079
41080 [BZ #12140]
41081 * manual/memory.texi (Malloc Tunable Parameters): Add note
41082 about free list pointers overwriting some perturb bytes.
41083 Wording suggested by Roland McGrath.
41084
41085 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41086
41087 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41088 (lgamma_test): Likewise.
41089 (tgamma_test): Likewise.
41090
41091 2012-10-16 Florian Weimer <fweimer@redhat.com>
41092
41093 [BZ #14700]
41094 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41095 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41096
41097 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41098
41099 * NEWS: Mention BZ #14716.
41100 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41101 when removing AVAILABLE1_USES_J macro.
41102
41103 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41104
41105 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41106 (__bswap_64): __uint64_t for unsigned 64-bit int.
41107
41108 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41109
41110 * include/string.h (memmem): Declare libc hidden alias.
41111 * string/memmem.c (memmem): Define libc hidden alias.
41112 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41113 __read, __close instead of open, read, close.
41114
41115 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41116
41117 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41118 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41119 global and hidden.
41120 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41121 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41122 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41123 Likewise.
41124 (__rawmemchr_sse2): Likewise.
41125 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41126 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41127 (__strchr_sse2): Likewise.
41128 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41129 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41130 (__strcasecmp_sse2): Likewise.
41131 (__strncasecmp_sse2): Likewise.
41132 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41133 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41134 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41135 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41136 (__strrchr_sse2): Likewise.
41137 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41138 ifunc-impl-list.c.
41139 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41140 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41141 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41142 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41143 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41144 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41145 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41146 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41147 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41148 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41149 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41150 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41151 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41152 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41153 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41154 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41155 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41156 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41157 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41158 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41159 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41160 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41161 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41162 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41163 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41164 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41165 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41166 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41167 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41168 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41169
41170 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41171 global and hidden.
41172 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41173 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41174 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41175 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41176 Likewise.
41177 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41178 Likewise.
41179 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41180 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41181 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41182 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41183 ifunc-impl-list.c.
41184 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41185 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41186 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41187 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41188 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41189 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41190 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41191 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41192 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41193 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41194 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41195 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41196 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41197 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41198 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41199 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41200 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41201 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41202 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41203 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41204 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41205 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41206 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41207 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41208 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41209 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41210 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41211 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41212 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41213 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41214 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41215 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41216 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41217 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41218 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41219 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41220 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41221 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41222 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41223 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41224 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41225
41226 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41227 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41228 * include/ifunc-impl-list.h: New file.
41229 * misc/ifunc-impl-list.c: Likewise.
41230 * misc/Makefile (routines): Add ifunc-impl-list.
41231 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41232 * string/test-string.h: Include <ifunc-impl-list.h>.
41233 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41234 TEST_NAME]: New variables.
41235 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41236 are defined.
41237 (test_init): Call __libc_ifunc_impl_list to initialize
41238 func_list if TEST_IFUNC and TEST_NAME are defined.
41239
41240 * string/Makefile (strop-tests): Add bcopy and bzero.
41241 * string/test-bcopy.c: New file.
41242 * string/test-bzero.c: Likewise.
41243 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41244 defined.
41245 * string/test-memset.c: Support bzero test if TEST_BZERO is
41246 defined.
41247 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41248 __libc_memmove.
41249 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41250 __libc_memset.
41251 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41252 of memset.
41253
41254 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41255
41256 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41257 * configure: Regenerated.
41258
41259 * Makeconfig (+link-static-before-libc): Don't include
41260 $(link-static-libc).
41261
41262 * libio/libio.h (_IO_pos_t): Remove.
41263
41264 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41265
41266 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41267 McGrath.
41268
41269 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41270
41271 * crypt/crypt-entry.c: Include fips-private.h.
41272 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41273 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41274 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41275 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41276
41277 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41278
41279 * crypt/crypt-private.h: Include stdbool.h.
41280 (_ufc_setup_salt_r): Return bool.
41281 * crypt/crypt-entry.c: Include errno.h.
41282 (__crypt_r): Return NULL with EINVAL for bad salt.
41283 * crypt/crypt_util.c (bad_for_salt): New.
41284 (_ufc_setup_salt_r): Check that salt is long enough and within
41285 the specified alphabet.
41286 * crypt/badsalttest.c: New file.
41287 * crypt/Makefile (tests): Add it.
41288 ($(objpfx)badsalttest): New.
41289
41290 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41291
41292 * NEWS: Add entry for BZ #14602.
41293
41294 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41295
41296 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41297 type-generic.
41298 * math/libm-test.inc: Update comment listing what functions and
41299 macros are tested.
41300 (isgreater_test): New function.
41301 (isgreaterequal_test): Likewise.
41302 (isless_test): Likewise.
41303 (islessequal_test): Likewise.
41304 (islessgreater_test): Likewise.
41305 (isunordered_test): Likewise.
41306 (main): Call the new functions.
41307
41308 2012-10-09 Roland McGrath <roland@hack.frob.com>
41309
41310 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41311 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41312 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41313 * sysdeps/i386/configure: Regenerated.
41314 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41315 * sysdeps/mach/configure: Regenerated.
41316 * sysdeps/mach/hurd/configure: Regenerated.
41317 * sysdeps/powerpc/configure: Regenerated.
41318 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41319 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41320 * sysdeps/s390/s390-32/configure: Regenerated.
41321 * sysdeps/s390/s390-64/configure: Regenerated.
41322 * sysdeps/sh/configure: Regenerated.
41323 * sysdeps/sparc/configure: Regenerated.
41324 * sysdeps/unix/sysv/linux/configure: Regenerated.
41325 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41326 * sysdeps/x86_64/configure: Regenerated.
41327
41328 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41329 defined. Don't check if MAP is NULL.
41330
41331 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41332
41333 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41334 (_G_stat64): Likewise.
41335 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41336 (_G_stat64): Likewise.
41337 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41338 instead of struct _G_stat64.
41339 * libio/fileops.c (mmap_remap_check): Likewise.
41340 (decide_maybe_mmap): Likewise.
41341 (_IO_new_file_seekoff): Likewise.
41342 (_IO_file_stat): Likewise.
41343 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41344 _G_off64_t.
41345 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41346 instead of struct _G_stat64.
41347 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41348
41349 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41350
41351 [BZ #14602]
41352 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41353 Replace with ...
41354 (CHECK_EOL): New macro.
41355 (two_way_short_needle): Check beginning of haystack for EOL. Use
41356 CHECK_EOL.
41357 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41358 Replace with CHECK_EOL.
41359 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41360 Replace with CHECK_EOL.
41361
41362 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41363
41364 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41365 type-generic.
41366 * math/libm-test.inc: Update comment listing what functions and
41367 macros are tested.
41368 (finite_test): New function.
41369 (isinf_test): Likewise.
41370 (isnan_test): Likewise.
41371 (fpclassify_test): Test subnormal input.
41372 (isfinite_test): Likewise.
41373 (isnormal_test): Likewise.
41374 (main): Call the new functions.
41375
41376 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41377
41378 [BZ #14660]
41379 * Makerules (%.dynsym): Force C locale when running
41380 $(OBJDUMP) --dynamic-syms.
41381
41382 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41383
41384 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41385 <stdint.h>.
41386
41387 2012-10-06 David S. Miller <davem@davemloft.net>
41388
41389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41390 upper 32-bits of the length value in %o2 since we use branch-on-register
41391 tests which consider the entire 64-bit register.
41392
41393 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41394
41395 * string/test-strstr.c (check2): Add a test for page boundary.
41396
41397 2012-10-05 David S. Miller <davem@davemloft.net>
41398
41399 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41400 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41401 file.
41402 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41403 sysdep_routines.
41404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41405 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41406 and bzero when HWCAP_SPARC_CRYPTO is present.
41407
41408 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41409
41410 [BZ #14602]
41411 * string/test-strstr.c (check2): New function.
41412 (test_main): Call check2.
41413
41414 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41415 and bug-strchr1.
41416 * string/bug-strcasestr1.c (do_test): Moved to ...
41417 * string/test-strcasestr.c (check1): Here. New function.
41418 (do_one_test): Break out result checking code into ...
41419 (check_result): This. New function.
41420 (do_one_test): Call check_result.
41421 (test_main): Call check1.
41422 * string/bug-strchr1.c (do_test): Moved to ...
41423 * string/test-strchr.c (check1): Here. New function.
41424 (do_one_test): Break out result checking code into ...
41425 (check_result): This. New function.
41426 (do_one_test): Call check_result.
41427 (test_main): Call check1.
41428 * string/bug-strstr1.c (main): Moved to ...
41429 * string/test-strstr.c (check1): Here. New function.
41430 (do_one_test): Break out result checking code into ...
41431 (check_result): This. New function.
41432 (do_one_test): Call check_result.
41433 (test_main): Call check1.
41434 * string/bug-strcasestr1.c: Removed.
41435 * string/bug-strchr1.c: Likewise.
41436 * string/bug-strstr1.c: Likewise.
41437
41438 * elf/Makefile (dl-routines): Add hwcaps.
41439 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41440 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41441 (_dl_important_hwcaps): Moved to ...
41442 * elf/dl-hwcaps.c: Here. New file.
41443 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41444
41445 [BZ #14557]
41446 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41447 if IS_IN_rtld isn't defined.
41448
41449 * elf/dl-support.c (_dl_sysinfo_map): New.
41450 Include "get-dynamic-info.h" and "setup-vdso.h".
41451 (_dl_non_dynamic_init): Call setup_vdso.
41452 * elf/dynamic-link.h: Don't include <assert.h>.
41453 (elf_get_dynamic_info): Moved to ...
41454 * elf/get-dynamic-info.h: Here. New file.
41455 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41456 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41457 * elf/setup-vdso.h: Here. New file.
41458 * elf/rtld.c: Include "setup-vdso.h".
41459 (dl_main): Call setup_vdso.
41460
41461 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41462
41463 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41464 creal in comment listing functions tested. List finite, isinf,
41465 isnan, isless, islessequal, isgreater, isgreaterequal,
41466 islessgreater, isunordered, lgamma_r and pow10 as functions and
41467 macros not tested. Mention which functions not tested are aliases
41468 for other functions. Fix typo. Note that signs of NaNs are not
41469 tested.
41470
41471 * scripts/config.guess: Update from config.git.
41472 * scripts/config.sub: Likewise.
41473
41474 2012-10-04 Roland McGrath <roland@hack.frob.com>
41475
41476 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41477 * misc/madvise.c (madvise): Renamed to __madvise.
41478 Make madvise a weak alias.
41479 * include/sys/mman.h: Declare __madvise.
41480 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41481 * sysdeps/unix/syscalls.list
41482 (madvise): Make __madvise the strong name, and madvise a weak alias.
41483 * sysdeps/unix/sysv/linux/syscalls.list
41484 (madvise, mmap): Remove redundant entries.
41485 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41486 * malloc/malloc.c (mtrim): Likewise.
41487 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41488
41489 2012-10-03 Roland McGrath <roland@hack.frob.com>
41490
41491 * sysdeps/mach/hurd/dl-cache.c: File removed.
41492 * config.h.in (USE_LDCONFIG): New #undef.
41493 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41494 * configure: Regenerated.
41495 * elf/Makefile (dl-routines): Add dl-cache only under
41496 [$(use-ldconfig) = yes].
41497 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41498 cache on [USE_LDCONFIG].
41499 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41500 [USE_LDCONFIG].
41501 * elf/rtld.c (dl_main): Likewise.
41502
41503 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41504
41505 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41506 _SC_LEVEL4_CACHE_LINESIZE.
41507
41508 2012-10-03 Roland McGrath <roland@hack.frob.com>
41509
41510 * sysdeps/unix/bsd/confstr.h: File removed.
41511
41512 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41513
41514 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41515 sys/sdt-config.h.
41516
41517 2012-10-02 Roland McGrath <roland@hack.frob.com>
41518
41519 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41520 Make 'mapoff' field ElfW(Off) rather than off_t.
41521
41522 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41523
41524 * nscd/Makefile: Remove nscd-cflags and all its users.
41525 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41526 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41527
41528 [BZ #10631]
41529 * malloc.c (malloc_printerr): Clarify error message.
41530
41531 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41532
41533 [BZ #14648]
41534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41535 Set bit_FMA_Usable if FMA is supported.
41536 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41537 macro.
41538 (bit_FMA4_Usable): Updated.
41539 (index_FMA_Usable): New macro.
41540 (CPUID_FMA): Likewise
41541 (HAS_FMA): Defined with bit_FMA_Usable.
41542
41543 2012-10-01 Roland McGrath <roland@hack.frob.com>
41544
41545 * bits/types.h (__swblk_t): Type removed.
41546 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41547 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41549 (__SWBLK_T_TYPE): Likewise.
41550 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41551 (__SWBLK_T_TYPE): Likewise.
41552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41553 (__SWBLK_T_TYPE): Likewise.
41554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41555 (__SWBLK_T_TYPE): Likewise.
41556
41557 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41558 Honza Horak <hhorak@redhat.com>
41559
41560 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41561 (xdr_mapname): Use YPMAXMAP as maxsize.
41562 (xdr_peername): Use YPMAXPEER as maxsize.
41563 (xdr_keydat): Use YPAXRECORD as maxsize.
41564 (xdr_valdat): Use YPMAXRECORD as maxsize.
41565
41566 2012-10-01 Roland McGrath <roland@hack.frob.com>
41567
41568 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41569
41570 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41571 * csu/init-first.c: ... here.
41572 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41573 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41574 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41575 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41576 * sysdeps/i386/init-first.c: File removed.
41577 * sysdeps/sh/init-first.c: File removed.
41578
41579 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41580
41581 [BZ #14645]
41582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41583 if x * y might underflow to zero and z is zero.
41584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41586 * math/libm-test.inc (min_subnorm_value): New variable.
41587 (fma_test): Add more tests.
41588 (fma_test_towardzero): Likewise.
41589 (fma_test_downward): Likewise
41590 (fma_test_upward): Likewise.
41591 (initialize): Set min_subnorm_value.
41592
41593 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41594
41595 [BZ #14638]
41596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41597 0 + 0.
41598 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41599 mode for addition resulting in exact zero.
41600 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41602 exact 0 + 0.
41603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41605 * math/libm-test.inc (fma_test): Add more tests.
41606 (fma_test_towardzero): New function.
41607 (fma_test_downward): Likewise.
41608 (fma_test_upward): Likewise.
41609 (main): Call the new functions.
41610
41611 2012-09-28 David S. Miller <davem@davemloft.net>
41612
41613 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41614
41615 2012-09-28 Roland McGrath <roland@hack.frob.com>
41616
41617 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41618 instead of SIGALRM.
41619
41620 * sysdeps/gnu/_G_config.h: Moved to ...
41621 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41622 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41623 * sysdeps/generic/_G_config.h: ... here.
41624
41625 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41626
41627 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41628
41629 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41630 Conditionalize target on [libnss_test1.so-version].
41631
41632 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41633
41634 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41635 (elfobjdir): Move out of conditionals.
41636
41637 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41638 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41639 (__nss_lookup_function): Conditionalize label remove_from_tree on
41640 [!DO_STATIC_NSS || SHARED], matching its only use.
41641
41642 2012-09-28 David S. Miller <davem@davemloft.net>
41643
41644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41645 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41646 file.
41647 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41648 sysdep_routines.
41649 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41651 when HWCAP_SPARC_CRYPTO is present.
41652
41653 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41654
41655 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41656
41657 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41658
41659 [BZ #6530]
41660 * stdio-common/vfprintf.c (process_string_arg): Revert
41661 2000-07-22 change.
41662
41663 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41664
41665 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41666 for testcase.
41667 * stdio-common/tst-sprintf.c: Include <locale.h>
41668 (main): Test sprintf's handling of incomplete multibyte
41669 characters.
41670
41671 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
41672
41673 * elf/dl-runtime.c (VERSYMIDX): Removed.
41674 * elf/dl-version.c (VERSYMIDX): Likewise.
41675 * elf/do-rel.h (VERSYMIDX): Likewise.
41676 (VALIDX): Likewise.
41677 * elf/dynamic-link.h (VERSYMIDX): Likewise.
41678 * elf/rtld.c (VALIDX): Likewise.
41679 (ADDRIDX): Likewise.
41680 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41681 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41682 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41683 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41684 (VALIDX): Likewise.
41685 (ADDRIDX): Likewise.
41686
41687 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41688
41689 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41690
41691 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
41692
41693 [BZ #11438]
41694 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41695 to global scope.
41696 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41697 addresses are in the same scope as 192.0.2/24.
41698 * posix/gai.conf: Document new scope table defaults.
41699
41700 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41701
41702 [BZ #5298]
41703 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41704 for ftell. Compute offsets from write pointers instead.
41705 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41706
41707 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41708
41709 [BZ #14543]
41710 * libio/Makefile (tests): New test case tst-fseek.
41711 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41712 combination works in wide mode.
41713 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41714 state when the external buffer state changes.
41715
41716 2012-09-27 David S. Miller <davem@davemloft.net>
41717
41718 [BZ #14376]
41719 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41720 pass reloc->r_addend in as the 'high' argument to
41721 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41722
41723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41724
41725 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41726
41727 * rt/tst-aio2.c: Include <pthread.h>.
41728 * rt/tst-aio3.c: Likewise.
41729
41730 2012-09-27 Steve Ellcey <sellcey@mips.com>
41731
41732 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41733
41734 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41735
41736 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41737 contents on [SHARED].
41738
41739 2012-09-26 Marek Polacek <polacek@redhat.com>
41740
41741 [BZ #14530]
41742 [BZ #13741]
41743 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41744 for C++ and GCC <4.3 as well as for non GCC compilers.
41745
41746 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41747
41748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41749
41750 2012-09-25 Roland McGrath <roland@hack.frob.com>
41751
41752 * Makefile.in (all, install): Declare with .PHONY.
41753 Reported by Michael Hope <michael.hope@linaro.org>.
41754
41755 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41756
41757 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41758 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41759 system header.
41760 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41761 Likewise.
41762 (sydep_routines): Add the new and the internal functions.
41763 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41764 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41766 (GLIBC_2.17): Add the new function.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41768 (GLIBC_2.17): Likewise.
41769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41770 (GLIBC_2.17): Likewise.
41771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41772 (GLIBC_2.17): Likewise.
41773 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41774
41775 2012-09-25 Alan Modra <amodra@gmail.com>
41776
41777 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41778 Add release barrier before setting once_control to say
41779 initialisation is done. Add hints on lwarx. Use macro in
41780 place of isync.
41781 (clear_once_control): Add release barrier.
41782
41783 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41784
41785 [BZ #13629]
41786 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41787 specially.
41788 * math/s_clog10.c (__clog10): Likewise.
41789 * math/s_clog10f.c (__clog10f): Likewise.
41790 * math/s_clog10l.c (__clog10l): Likewise.
41791 * math/s_clogf.c (__clogf): Likewise.
41792 * math/s_clogl.c (__clogl): Likewise.
41793 * math/Makefile (libm-calls): Add x2y2m1.
41794 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41795 (__x2y2m1): Likewise.
41796 (__x2y2m1l): Likewise.
41797 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41798 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41799 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41800 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41801 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41802 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41803 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41804 * sysdeps/i386/fpu/libm-test-ulps: Update.
41805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41806
41807 [BZ #14621]
41808 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41809 int as type of variable DEPTH.
41810 (glob): Use size_t instead of int as type of variables NEWCOUNT
41811 and OLD_PATHC.
41812
41813 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41814
41815 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41816 Add s_sincosf-sse2.
41817 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41818 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41819 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41820 macros for using routine as __sincosf_ia32.
41821 Use macro for function declaration and weak_alias.
41822 * sysdeps/i386/fpu/libm-test-ulps: Update.
41823
41824 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41826
41827 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41828 subnormal argument.
41829 * math/s_cexpf.c (__cexpf): Likewise.
41830 * math/s_csinf.c (__csinf): Likewise.
41831 * math/s_csinhf.c (__csinhf): Likewise.
41832 * math/s_ctanf.c (__ctanf): Likewise.
41833 * math/s_ctanhf.c (__ctanhf): Likewise.
41834 * math/s_ccosh.c (__ccoshf): Likewise.
41835 * math/s_cexp.c (__cexpl): Likewise.
41836 * math/s_csin.c (__csin): Likewise.
41837 * math/s_csinh.c (__csinh): Likewise.
41838 * math/s_ctan.c (__ctan): Likewise.
41839 * math/s_ctanh.c (ctanh): Likewise.
41840 * math/s_ccoshl.c (__ccoshl): Likewise.
41841 * math/s_cexpl.c (__cexpl): Likewise.
41842 * math/s_csinl.c (__csinl): Likewise.
41843 * math/s_csinhl.c (__csinhl): Likewise.
41844 * math/s_ctanl.c (__ctanl): Likewise.
41845 * math/s_ctanhl.c (__ctanhl): Likewise.
41846
41847 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41848
41849 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41850 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41851 (_IO_off_t): Define to __off_t, not _G_off_t.
41852 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41853 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41854 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41855 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41856 type of __dummy and __dummy2 fields.
41857 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41858 (_G_ssize_t): Likewise.
41859 (_G_off_t): Likewise.
41860 (_G_pid_t): Likewise.
41861 (_G_uid_t): Likewise.
41862 (_G_wchar_t): Likewise.
41863 (_G_wint_t): Likewise.
41864 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41865 (_G_ssize_t): Likewise.
41866 (_G_off_t): Likewise.
41867 (_G_pid_t): Likewise.
41868 (_G_uid_t): Likewise.
41869 (_G_wchar_t): Likewise.
41870 (_G_wint_t): Likewise.
41871 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41872 (_G_ssize_t): Likewise.
41873 (_G_off_t): Likewise.
41874 (_G_pid_t): Likewise.
41875 (_G_uid_t): Likewise.
41876 (_G_wchar_t): Likewise.
41877 (_G_wint_t): Likewise.
41878
41879 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41880
41881 * malloc/arena.c: Include malloc-sysdep.h.
41882 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41883 is sufficient to shrink the heap or an unmap is needed.
41884 * sysdeps/generic/malloc-sysdep.h: New file. Define
41885 new function check_may_shrink_heap.
41886 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41887 new function check_may_shrink_heap.
41888
41889 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41890
41891 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41892 comments.
41893
41894 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41895
41896 * catgets/test-gencat.sh: Add "set -e".
41897 * elf/tst-pathopt.sh: Likewise.
41898 * grp/tst_fgetgrent.sh: Likewise.
41899 * iconvdata/run-iconv-test.sh: Likewise.
41900 * intl/tst-gettext.sh: Likewise.
41901 * intl/tst-gettext2.sh: Likewise.
41902 * intl/tst-gettext4.sh: Likewise.
41903 * intl/tst-gettext6.sh: Likewise.
41904 * intl/tst-translit.sh: Likewise.
41905 * io/ftwtest-sh: Likewise.
41906 * libio/test-freopen.sh: Likewise.
41907 * malloc/tst-mtrace.sh: Likewise.
41908 * posix/globtest.sh: Likewise.
41909 * posix/tst-getconf.sh: Likewise.
41910 * posix/wordexp-tst.sh: Likewise.
41911 * stdio-common/tst-printf.sh: Likewise.
41912 * stdio-common/tst-unbputc.sh: Likewise.
41913 * stdlib/tst-fmtmsg.sh: Likewise.
41914 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41915 * catgets/Makefile: Do not specify -e option when running
41916 testsuite shell scripts.
41917 * elf/Makefile: Likewise.
41918 * grp/Makefile: Likewise.
41919 * iconvdata/Makefile: Likewise.
41920 * intl/Makefile: Likewise.
41921 * io/Makefile: Likewise.
41922 * libio/Makefile: Likewise.
41923 * malloc/Makefile: Likewise.
41924 * posix/Makefile: Likewise.
41925 * stdio-common/Makefile: Likewise.
41926 * stdlib/Makefile: Likewise.
41927 * sysdeps/x86_64/Makefile: Likewise.
41928
41929 * io/ftwtest-sh: Add copyright header.
41930 * posix/globtest.sh: Likewise.
41931 * posix/tst-getconf.sh: Likewise.
41932 * posix/wordexp-tst.sh: Likewise.
41933 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41934
41935 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41936
41937 [BZ #13679]
41938 * Makeconfig (+link): Defined as $(+link-static) if
41939 $(build-shared) isn't yes.
41940 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41941 isn't yes.
41942 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41943
41944 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41945
41946 [BZ #14562]
41947 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41948 new chunk size with MALLOC_ALIGN_MASK.
41949
41950 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41951
41952 [BZ #5044]
41953 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41954 <rounding-mode.h>.
41955 (__printf_fphex): Determine rounding using get_rounding_mode and
41956 round_away.
41957 * stdio-common/tst-printf-round.c (struct hex_test): New
41958 structure.
41959 (hex_tests): New variable.
41960 (test_hex_in_one_mode): New function.
41961 (do_test): Also run tests for hex float output.
41962
41963 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41964
41965 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41966 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41967 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41968 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41969 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41970 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41971 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41972 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41973
41974 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41975
41976 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41977 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41978 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41979 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41980
41981 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41982
41983 [BZ #14579]
41984 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41985 mode only.
41986 * elf/tst-rtld-load-self.sh: New test.
41987 * elf/Makefile: Run it.
41988
41989 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41990
41991 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41992 (tst-writev-ENV): Remove.
41993 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41994
41995 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41996
41997 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41998
41999 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42000
42001 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42002 unconditional.
42003 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42004 Likewise.
42005 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42006 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42007 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42008 Likewise.
42009
42010 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42011
42012 [BZ #14587]
42013 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42014 * config.make.in (have-cpp-asm-debuginfo): Removed.
42015 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42016 * configure: Regenerated.
42017
42018 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42019
42020 [BZ #5044]
42021 * stdio-common/printf_fp.c: Include <stdbool.h> and
42022 <rounding-mode.h>.
42023 (___printf_fp): Determine rounding using get_rounding_mode and
42024 round_away.
42025 * stdio-common/tst-printf-round.c: New file.
42026 * stdio-common/Makefile (tests): Add tst-printf-round.
42027 (link-libm): New variable.
42028 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42029
42030 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42031
42032 [BZ #14576]
42033 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42034 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42035 Likewise.
42036 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42037 Likewise.
42038
42039 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42040
42041 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42042 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42043 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42044 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42045
42046 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42047
42048 [BZ #14518]
42049 * include/rounding-mode.h: New file.
42050 * sysdeps/generic/get-rounding-mode.h: Likewise.
42051 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42052 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42053 (MAX_VALUE): New macro.
42054 (MIN_VALUE): Likewise.
42055 (overflow_value): New function.
42056 (underflow_value): Likewise.
42057 (round_and_return): Use overflow_value and underflow_value to
42058 determine return values in overflow and underflow cases. Use
42059 round_away to determine rounding depending on rounding mode.
42060 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42061 determine return values in overflow and underflow cases.
42062 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42063 (struct test_results): New structure.
42064 (struct test): Use struct test_results to store expected results
42065 for all rounding modes.
42066 (TEST): Include expected results for all rounding modes.
42067 (test_in_one_mode): New function.
42068 (do_test): Use test_in_one_mode to compute and check results.
42069 Check results for all rounding modes.
42070 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42071 $(link-libm).
42072
42073 2012-12-09 Allan McRae <allan@archlinux.org>
42074
42075 * sysdeps/i386/fpu/libm-test-ulps: Update
42076
42077 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42078
42079 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42080 (_G_int32_t): Likewise.
42081 (_G_uint16_t): Likewise.
42082 (_G_uint32_t): Likewise.
42083 (_G_HAVE_BOOL): Likewise.
42084 (_G_HAVE_ATEXIT): Likewise.
42085 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42086 (_G_HAVE_IO_FILE_OPEN): Likewise.
42087 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42088 (_G_int32_t): Likewise.
42089 (_G_uint16_t): Likewise.
42090 (_G_uint32_t): Likewise.
42091 (_G_HAVE_BOOL): Likewise.
42092 (_G_HAVE_ATEXIT): Likewise.
42093 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42094 (_G_HAVE_IO_FILE_OPEN): Likewise.
42095 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42096 (_G_int32_t): Likewise.
42097 (_G_uint16_t): Likewise.
42098 (_G_uint32_t): Likewise.
42099 (_G_HAVE_BOOL): Likewise.
42100 (_G_HAVE_ATEXIT): Likewise.
42101 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42102 (_G_HAVE_IO_FILE_OPEN): Likewise.
42103
42104 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42105
42106 * csu/libc-tls.c: Update copyright years.
42107
42108 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42109
42110 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42111 [!_G_USING_THUNKS]: Remove conditional code.
42112 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42113 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42114
42115 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42116 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42117 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42118 (_G_VTABLE_LABEL_PREFIX): Likewise.
42119 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42120 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42121 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42122 (_G_VTABLE_LABEL_PREFIX): Likewise.
42123 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42124 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42125 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42126 (_G_VTABLE_LABEL_PREFIX): Likewise.
42127 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42128
42129 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42130
42131 * libio/Makefile: Include ../Makeconfig before tests.
42132 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42133 only if $(build-shared) is yes.
42134
42135 * iconv/gconv_db.c: Update copyright years.
42136
42137 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42138
42139 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42140 unwind info if defined PIC. Fix special cases description.
42141 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42142
42143 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42144 DP_HI_MASK entry.
42145 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42146
42147 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42148
42149 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42150
42151 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42152 is NULL.
42153
42154 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42155 (LDLIBS-tst-chk4): This.
42156 (LDFLAGS-tst-chk5): Renamed to ...
42157 (LDLIBS-tst-chk5): This.
42158 (LDFLAGS-tst-chk6): Renamed to ...
42159 (LDLIBS-tst-chk6): This.
42160 (LDFLAGS-tst-lfschk4): Renamed to ...
42161 (LDLIBS-tst-lfschk4): This.
42162 (LDFLAGS-tst-lfschk5): Renamed to ...
42163 (LDLIBS-tst-lfschk5): This.
42164 (LDFLAGS-tst-lfschk6): Renamed to ...
42165 (LDLIBS-tst-lfschk6): This.
42166
42167 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42168 on $(common-objpfx)soversions.mk.
42169
42170 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42171
42172 [BZ #10014]
42173 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42174 example host name.
42175
42176 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42177
42178 * malloc/arena.c (arena_get_retry): New function that gets
42179 another arena for the caller to try its request on.
42180 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42181 current arena cannot fulfill the request.
42182 (__libc_memalign): Likewise.
42183 (__libc_memalign): Likewise.
42184 (__libc_pvalloc): Likewise.
42185 (__libc_calloc): Likewise.
42186
42187 2012-09-05 John Tobey <john.tobey@gmail.com>
42188
42189 [BZ #13542]
42190 * manual/arith.texi (Operations on Complex): Fix description
42191 of carg branch cut.
42192
42193 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42194
42195 [BZ #10014]
42196 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42197 host name.
42198
42199 [BZ #10038]
42200 * manual/memory.texi (Memory): Make order of menu items match
42201 order of sections.
42202
42203 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42204
42205 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42206 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42207 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42208
42209 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42210
42211 * csu/libc-tls.c (static_dtv): Renamed to ...
42212 (_dl_static_dtv): This. Make it global.
42213 (_dl_initial_dtv): Removed.
42214 (__libc_setup_tls): Updated.
42215 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42216 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42217 DL_INITIAL_DTV.
42218
42219 2012-09-06 Petr Machata <pmachata@redhat.com>
42220
42221 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42222 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42223 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42224 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42225
42226 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42227
42228 [BZ #14545]
42229 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42230 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42231 freeing dtv[-1].
42232
42233 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 [BZ #14544]
42236 * Makeconfig (link-static-before-libc): Replace $(+prector)
42237 with $(+prectorT).
42238 (link-static-after-libc): Replace $(+postctor) with
42239 $(+postctorT).
42240 (link-bounded): Replace $(+prector)/$(+postctor) with
42241 $(+prectorT)/$(+postctorT).
42242 (+prectorT): New macro.
42243 (+postctorT): Likewise.
42244
42245 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42246
42247 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42248 (round_str): Handle values above the maximum for IBM long double
42249 as inexact.
42250 * stdlib/tst-strtod-round.c (tests): Regenerated.
42251
42252 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42253
42254 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42255 assembler flag.
42256 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42257 zarch_nohighgprs around the zarch optimized routines.
42258 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42259 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42261 for zarch.
42262
42263 2012-09-05 David S. Miller <davem@davemloft.net>
42264
42265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42266
42267 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42268 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42269 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42270 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42271 entries.
42272
42273 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42274
42275 * malloc/arena.c: Fold copyright years.
42276 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42277
42278 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42279
42280 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42281
42282 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42283
42284 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42285
42286 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42287
42288 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42289 change internal state upon failure.
42290
42291 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42292
42293 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42294 * malloc/memusage.c (mmap): Likewise.
42295 (mmap64, mremap): Likewise. Adjust name in comment.
42296
42297 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42298
42299 * libio/fileops.c: Fix typos in comments.
42300 * libio/oldfileops.c: Likewise.
42301 * libio/wfileops.c: Likewise.
42302
42303 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42304
42305 [BZ #1349]
42306 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42307 (tst-malloc-usable-ENV): Set environment for test case.
42308 * malloc/hooks.c (malloc_check_get_size): New function to get
42309 requested size.
42310 * malloc/malloc.c (musable): Use malloc_check_get_size.
42311 * malloc/tst-malloc-usable.c: New test case.
42312
42313 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42314
42315 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42316
42317 2012-09-05 Allan McRae <allan@archlinux.org>
42318
42319 [BZ #13966]
42320 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42321 determine header location.
42322 * configure: Regenerated.
42323
42324 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42325
42326 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42327 float format.
42328 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42329 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42330 format.
42331 (test): Regenerate.
42332
42333 2012-09-04 David S. Miller <davem@davemloft.net>
42334
42335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42337 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42338
42339 2012-09-04 Florian Weimer <fweimer@redhat.com>
42340
42341 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42342 failures.
42343
42344 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42345
42346 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42347
42348 [BZ #9914]
42349 * libio/iogetdelim.c: Include <limits.h>.
42350 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42351 + len + 1 would overflow.
42352
42353 2012-09-03 Andreas Jaeger <aj@suse.de>
42354
42355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42356 * sysdeps/i386/fpu/libm-test-ulps: Update.
42357
42358 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42359
42360 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42361 Add s_sinf-sse2, s_conf-sse2.
42362
42363 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42364 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42365 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42366 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42367
42368 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42369 for using routine as __sinf_ia32.
42370 Use macro for function declaration and weak_alias.
42371 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42372 for using routine as __cosf_ia32.
42373 Use macro for function declaration and weak_alias.
42374
42375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42376 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42377
42378 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42379 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42381
42382 * math/libm-test.inc (cos_test): Add more test cases.
42383 (sin_test): Likewise.
42384 (sincos_test): Likewise.
42385
42386 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42387
42388 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42389 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42390 hidden.
42391 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42392
42393 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42394
42395 [BZ #14538]
42396 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42397 first element of the GOT.
42398 (elf_machine_load_address): Return the difference between
42399 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42400
42401 2012-09-01 Allan McRae <allan@archlinux.org>
42402
42403 [BZ #13412]
42404 * configure.in (AWK): Require gawk version 3.0 or later.
42405 * configure: Regenerated.
42406
42407 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42408
42409 * sysdeps/unix/sysv/linux/kernel-features.h
42410 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42412 [__NR_clock_getres]: Make code unconditional.
42413 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42414 (clock_getcpuclockid): Remove code left unreachable by removal of
42415 conditionals.
42416 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42417 code unconditional.
42418 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42419 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42420 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42421 Make code unconditional.
42422 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42423 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42424 * sysdeps/unix/sysv/linux/clock_settime.c
42425 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42426 conditional code.
42427 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42428 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42429
42430 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42431
42432 [BZ #14476]
42433 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42434 scripts/test-installation.pl.
42435
42436 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42437 and $ld_so_version if it is set.
42438
42439 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42440
42441 [BZ #14516]
42442 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42443 failure if reading from procfs failed.
42444 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42445
42446 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42447
42448 * sysdeps/unix/sysv/linux/kernel-features.h
42449 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42450 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42451 Remove conditional code.
42452 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42453 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42454 Remove conditional code.
42455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42456 * sysdeps/unix/sysv/linux/i386/fxstat.c
42457 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42458 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42459 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42460 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42462 * sysdeps/unix/sysv/linux/i386/lxstat.c
42463 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42465 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42466 Remove conditional code.
42467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42468 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42469 Remove conditional code.
42470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42471 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42472 <kernel-features.h>.
42473 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42474 Remove.
42475 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42476 Remove conditional code.
42477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42478 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42479 Remove conditional.
42480
42481 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42482
42483 [BZ #5400]
42484 * NEWS: Add fixed bug number.
42485
42486 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42487
42488 [BZ #14519]
42489 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42490 underflowing exponent in case of negative sign.
42491 * stdlib/tst-strtod-round-data: Add more tests.
42492 * stdlib/tst-strtod-round.c (tests): Regenerated.
42493
42494 [BZ #3479]
42495 * stdlib/strtod_l.c (NDIG): Remove.
42496 (HEXNDIG): Likewise.
42497 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42498 smallest representable value.
42499 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42500 lie within an exact representation of 1/2 ulp of the result.
42501 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42502 unconditionally.
42503 (TENS_P9_IDX): Define unconditionally.
42504 (TENS_P9_SIZE): Likewise.
42505 (TENS_P10_IDX): Likewise.
42506 (TENS_P10_SIZE): Likewise.
42507 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42508 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42509 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42510 entries for 10^2^13 and 10^2^14.
42511 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42512 (TENS_P13_IDX): Define.
42513 (TENS_P13_SIZE): Likewise.
42514 (TENS_P14_IDX): Likewise.
42515 (TENS_P14_SIZE): Likewise.
42516 (_fpioconst_pow10): Change array size to
42517 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42518 unconditional.
42519 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42520 1024]: Add entries for 10^2^13 and 10^2^14.
42521 [LAST_POW10 > _LAST_POW10]: Remove #error.
42522 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42523 (_fpioconst_pow10): Change array size to
42524 FPIOCONST_POW10_ARRAY_SIZE.
42525 * stdlib/gen-fpioconst.c: New file.
42526 * stdlib/gen-tst-strtod-round.c: Likewise.
42527 * stdlib/tst-strtod-round-data: Likewise.
42528 * stdlib/tst-strtod-round.c: Likewise.
42529 * stdlib/Makefile (tests): Add tst-strtod-round.
42530
42531 [BZ #14459]
42532 * stdlib/strtod_l.c: Include <stdint.h>.
42533 (NDEBUG): Do not define.
42534 (round_and_return): Change EXPONENT parameter to type intmax_t.
42535 Rearrange calculations to avoid internal overflow possibilities.
42536 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42537 Rearrange calculations to avoid internal overflow possibilities.
42538 Assert that number fits inside MPNSIZE limbs.
42539 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42540 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42541 calculations and add assertions to avoid internal overflow
42542 possibilities. Add casts to avoid signed/unsigned operations.
42543 * stdlib/tst-strtod-overflow.c: New file.
42544 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42545
42546 2012-08-25 Marek Polacek <polacek@redhat.com>
42547
42548 * time/time.h: Fix some typos in comments.
42549
42550 2012-08-23 Roland McGrath <roland@hack.frob.com>
42551
42552 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42553 * posix/tst-rfc3484-2.c: Likewise.
42554 * posix/tst-rfc3484-3.c: Likewise.
42555
42556 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42557
42558 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42559 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42560
42561 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42562
42563 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42564 #include of fxstatat64.c.
42565
42566 2012-08-22 Roland McGrath <roland@hack.frob.com>
42567
42568 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42569 * shadow/getspent_r.c: Likewise.
42570 * shadow/getspnam.c: Likewise.
42571 * shadow/getspnam_r.c: Likewise.
42572 * gshadow/getsgent.c: Likewise.
42573 * gshadow/getsgent_r.c: Likewise.
42574 * gshadow/getsgnam.c: Likewise.
42575 * gshadow/getsgnam_r.c: Likewise.
42576 * inet/getnetbyad.c: Likewise.
42577 * inet/getnetbyad_r.c: Likewise.
42578 * inet/getnetbynm.c: Likewise.
42579 * inet/getnetbynm_r.c: Likewise.
42580 * inet/getnetent.c: Likewise.
42581 * inet/getnetent_r.c: Likewise.
42582 * inet/getproto.c: Likewise.
42583 * inet/getproto_r.c: Likewise.
42584 * inet/getprtent.c: Likewise.
42585 * inet/getprtent_r.c: Likewise.
42586 * inet/getprtname.c: Likewise.
42587 * inet/getprtname_r.c: Likewise.
42588 * inet/getrpcbyname.c: Likewise.
42589 * inet/getrpcbyname_r.c: Likewise.
42590 * inet/getrpcbynumber.c: Likewise.
42591 * inet/getrpcbynumber_r.c: Likewise.
42592 * inet/getrpcent.c: Likewise.
42593 * inet/getrpcent_r.c: Likewise.
42594 * inet/getaliasent.c: Likewise.
42595 * inet/getaliasent_r.c: Likewise.
42596 * inet/getaliasname.c: Likewise.
42597 * inet/getaliasname_r.c: Likewise.
42598 * nscd/getgrgid_r.c: Likewise.
42599 * nscd/getgrnam_r.c: Likewise.
42600 * nscd/gethstbyad_r.c: Likewise.
42601 * nscd/gethstbynm3_r.c: Likewise.
42602 * nscd/getpwnam_r.c: Likewise.
42603 * nscd/getpwuid_r.c: Likewise.
42604 * nscd/getsrvbynm_r.c: Likewise.
42605 * nscd/getsrvbypt_r.c: Likewise.
42606 * nscd/gai.c: Likewise.
42607
42608 * configure.in (build_nscd): New substituted variable, set
42609 by --disable-build-nscd and defaults to $use_nscd.
42610 * configure: Regenerated.
42611 * config.make.in (build-nscd): New substituted variable.
42612 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42613 Change conditional to require [$(build-nscd) = yes] as well.
42614 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42615
42616 [BZ# 13696]
42617 * configure.in (use_nscd): New substituted variable, set by
42618 --disable-nscd. If enabled, define USE_NSCD.
42619 * configure: Regenerated.
42620 * config.h.in: Add USE_NSCD.
42621 * config.make.in (use-nscd): New substituted variable.
42622 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42623 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42624 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42625 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42626 (CFLAGS-getgrnam_r.c): Likewise.
42627 (CFLAGS-initgroups.c): Likewise.
42628 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42629 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42630 Variables removed.
42631 * inet/getnetgrent_r.c
42632 (nscd_setnetgrent): New function, broken out of ...
42633 (setnetgrent): ... here. Call it.
42634 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42635 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42636 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42637 * nscd/Makefile (routines, aux): Move definitions after include of
42638 Makeconfig. Conditionalize on [$(use-nscd) != no].
42639 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42640 Conditionalize on [USE_NSCD].
42641 (is_nscd, nscd_init_cb): Likewise.
42642 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42643 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42644 * nss/nss_db/db-init.c: Likewise.
42645 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42646 [USE_NSCD].
42647 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42648 (make_request): Use it.
42649 (cache_valid_p): New function.
42650 (__check_pf): Use it.
42651 * NEWS: Add item for --disable-nscd.
42652
42653 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42654
42655 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42656 to support sed >= 4.2.1-20-ga9bf076.
42657 * configure: Regenerated.
42658
42659 2012-08-22 Roland McGrath <roland@hack.frob.com>
42660
42661 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42662 Conditionalize whole body on [IREL].
42663
42664 2012-08-22 Jeff Law <law@redhat.com>
42665
42666 [BZ #14505]
42667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42668 if the family is PF_UNSPEC.
42669
42670 2012-08-22 Mike Frysinger <vapier@gentoo.org>
42671
42672 * Makerules (lib-version): Rename from V.
42673 (install-lib-nosubdir): Change V to lib-version.
42674
42675 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
42676
42677 [BZ #14252]
42678 * powerpc32/power6/wcschr.c: New file.
42679 * powerpc32/power6/wcscpy.c: New file.
42680 * powerpc32/power6/wcsrchr.c: New file.
42681 * powerpc64/power6/wcschr.c: New file.
42682 * powerpc64/power6/wcscpy.c: New file.
42683 * powerpc64/power6/wcsrchr.c: New file.
42684
42685 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42686
42687 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42688 (two_way_short_needle): Use it.
42689 * string/strstr.c (AVAILABLE1_USES_J): Define.
42690 * string/strcasestr.c: Likewise.
42691
42692 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42693 array references.
42694 * string/strcasestr.c (TOLOWER): Make side-effect safe.
42695
42696 [BZ #11607]
42697 * NEWS: Add an entry.
42698 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42699 define their defaults.
42700 (two_way_short_needle): Detect end-of-string on-the-fly.
42701 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42702 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42703 * string/bug-strcasestr1.c: New test.
42704 * string/Makefile: Run it.
42705
42706 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42707
42708 [BZ #11607]
42709 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42710 the first character.
42711
42712 2012-08-21 Roland McGrath <roland@hack.frob.com>
42713
42714 * csu/elf-init.c (__libc_csu_irel): Function removed.
42715 * csu/libc-start.c (apply_irel): New function.
42716 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42717
42718 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42719
42720 * sysdeps/unix/sysv/linux/kernel-features.h
42721 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42722 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42723 <kernel-features.h>.
42724 [__NR_fadvise64_64]: Make code unconditional.
42725 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42726 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42727 !__NR_fadvise64_64)]: Likewise.
42728 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42729 !__NR_fadvise64_64))]: Likewise.
42730 [__NR_fadvise64]: Make code unconditional.
42731 [!__NR_fadvise64]: Remove conditional code.
42732 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42733 <kernel-features.h>.
42734 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42735 unconditional.
42736 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42737 conditional code.
42738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42739 not include <kernel-features.h>.
42740 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42741 unconditional.
42742 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42743 conditional code.
42744 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42745 include <kernel-features.h>.
42746 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42747 unconditional.
42748 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42749 conditional code.
42750
42751 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42752
42753 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42754 slight instruction rearrangements per scrollpipe analysis.
42755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42756
42757 2012-08-20 Roland McGrath <roland@hack.frob.com>
42758
42759 * manual/syslog.texi (syslog; vsyslog, closelog):
42760 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42761 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42762
42763 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42764 DSOCAPS to match condition on defining it.
42765
42766 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42767
42768 * sysdeps/unix/sysv/linux/kernel-features.h
42769 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42771 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42772 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42774 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42775 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42777 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42778 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42779
42780 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42781 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42782
42783 * sysdeps/unix/sysv/linux/kernel-features.h
42784 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42785 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42786 unconditional.
42787 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42788 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42789 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42790 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42791 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42792 Make code unconditional.
42793 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42794 (__mmap64) [!__NR_mmap2]: Likewise.
42795 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42796 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42797 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42798 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42799 [__NR_mmap2]: Make code unconditional.
42800 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42801 (__mmap64) [!__NR_mmap2]: Likewise.
42802
42803 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42804
42805 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42806
42807 2012-08-18 Andreas Jaeger <aj@suse.de>
42808
42809 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42810
42811 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42812
42813 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42814 * include/unistd.h (__have_sock_cloexec): Likewise.
42815 (__have_pipe2): Likewise.
42816 (__have_dup3): Likewise.
42817
42818 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42819
42820 [BZ #9685]
42821 * include/unistd.h (__have_pipe2): Change define into an extern int.
42822 (__have_dup3): Likewise.
42823 * socket/have_sock_cloexec.c: Include fcntl.h.
42824 (__have_pipe2): New variable.
42825 (__have_dup3): Likewise.
42826
42827 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42828
42829 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42830
42831 2012-08-17 Marek Polacek <polacek@redhat.com>
42832
42833 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42834 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42835
42836 2012-08-17 Roland McGrath <roland@hack.frob.com>
42837
42838 * configure.in: Add AC_SUBST for sysheaders.
42839 * configure: Regenerated.
42840 * config.make.in (sysheaders): New substituted variable.
42841
42842 * sysdeps/unix/mkfifo.c: Moved ...
42843 * sysdeps/posix/mkfifo.c: ... here.
42844 * sysdeps/unix/mkfifoat.c: Moved ...
42845 * sysdeps/posix/mkfifoat.c: ... here.
42846
42847 * sysdeps/unix/utime.c: Moved ...
42848 * sysdeps/posix/utime.c: ... here.
42849
42850 * sysdeps/unix/time.c: Moved ...
42851 * sysdeps/posix/time.c: ... here.
42852 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42853 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42854
42855 * sysdeps/unix/nice.c: Moved ...
42856 * sysdeps/posix/nice.c: ... here.
42857
42858 * sysdeps/unix/alarm.c: Moved ...
42859 * sysdeps/posix/alarm.c: ... here.
42860
42861 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42862
42863 2012-08-17 Jeff Law <law@redhat.com>
42864
42865 * intl/Makefile (codeset_mo): New variable.
42866 ($(codeset_mo)): New target.
42867 (tst-codeset.out): Depend on that. Remove explicit rule.
42868 (tst-gettext3.out, tst-gettext5.out): Likewise.
42869 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42870 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42871 * intl/tst-codeset.sh: Remove.
42872 * intl/tst-gettext3.sh: Likewise.
42873 * intl/tst-gettext5.sh: Likewise.
42874
42875 2012-08-17 Roland McGrath <roland@hack.frob.com>
42876
42877 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42878 * sysdeps/unix/syscalls.list: ... here.
42879
42880 * sysdeps/posix/getaddrinfo.c
42881 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42882 (gaiconf_init, gaiconf_reload): Use them.
42883 [!_STATBUF_ST_NSEC]
42884 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42885 Define using time_t rather than struct timespec.
42886
42887 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42888 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42889 Macros removed.
42890 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42891 [!NO_THREADS].
42892 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42893 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42894 Likewise.
42895
42896 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42897 __libc_cleanup_push argument.
42898
42899 * bits/param.h: New file.
42900 * misc/sys/param.h: New file.
42901 * include/sys/param.h: New file.
42902 * misc/Makefile (headers): Add bits/param.h.
42903 * sysdeps/generic/sys/param.h: File removed.
42904 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42905 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42906 * sysdeps/mach/hurd/bits/param.h: New file.
42907 * sysdeps/mach/hurd/sys/param.h: File removed.
42908
42909 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42910 last change.
42911
42912 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42913 [_IO_MTSAFE_IO].
42914 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42915 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42916 New macros.
42917
42918 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42919 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42920 rather than -D_IO_MTSAFE_IO conditionally.
42921 * stdio-common/Makefile (CPPFLAGS): Likewise.
42922 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42923 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42924 Use $(libio-mtsafe).
42925 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42926 of -D_IO_MTSAFE_IO.
42927 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42928 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42929 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42930 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42931 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42932 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42933 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42934 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42935 (CFLAGS-fread_u_chk.c): Likewise.
42936 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42937 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42938 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42939 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42940 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42941 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42942 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42943 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42944 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42945
42946 * libio/Makefile: Test [$(libc-reentrant) = yes]
42947 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42948
42949 * Makeconfig
42950 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42951 * sysdeps/pthread/configure: File removed.
42952 * sysdeps/pthread/Makeconfig: New file.
42953 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42954 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42955
42956 2012-08-16 Gary Benson <gbenson@redhat.com>
42957
42958 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42959 unmapping the first object in a namespace.
42960
42961 2012-08-16 Roland McGrath <roland@hack.frob.com>
42962
42963 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42964 (__internal_setnetgrent): ... this. Add internal_function to
42965 definition. Add libc_hidden_def.
42966 (setnetgrent): Update caller.
42967 (internal_endnetgrent): Renamed to ...
42968 (__internal_endnetgrent): ... this. Add internal_function to
42969 definition. Add libc_hidden_def.
42970 (endnetgrent): Update caller.
42971 (internal_getnetgrent_r): Renamed to ...
42972 (__internal_getnetgrent_r): ... this. Add internal_function to
42973 definition. Add libc_hidden_def.
42974 (__getnetgrent_r): Update caller.
42975 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42976
42977 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42978
42979 * stdlib/longlong.h: Update from GCC.
42980
42981 2012-08-16 Roland McGrath <roland@hack.frob.com>
42982
42983 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42984 on _QL, which is set by umul_ppmm but never used.
42985 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42986 variables, which are set by GMP macros but never used.
42987 * stdio-common/_itowa.c (_itowa): Likewise.
42988 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42989 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42990
42991 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42992
42993 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42994 struct La_sh_regs is not constant.
42995 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42996 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42997 and struct La_sparc64_regs are not constant.
42998
42999 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43000
43001 * sysdeps/unix/sysv/linux/kernel-features.h
43002 (__ASSUME_POSIX_TIMERS): Remove.
43003 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43004 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43005 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43006 Make code unconditional.
43007 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43008 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43009 Make code unconditional.
43010 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43011 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43012 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43013 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43014 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43015 Make code unconditional.
43016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43017 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43018 (__libc_missing_posix_timers): Remove.
43019
43020 2012-08-15 Roland McGrath <roland@hack.frob.com>
43021
43022 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43023 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43024
43025 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43026
43027 * elf/dl-sym.c: Include <stdlib.h>.
43028
43029 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43030 constants, which avoids warnings in 32-bit builds.
43031
43032 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43033 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43034
43035 * misc/lseek.c: File moved to ...
43036 * io/lseek.c: ... here.
43037
43038 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43039
43040 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43041 shifting LEN more than 31 bits at once.
43042
43043 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43044
43045 [BZ #14195]
43046 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43047 segmentation fault for a case of two empty input strings.
43048 * string/test-strncasecmp.c (check1): Renamed to...
43049 (bz12205): ...this.
43050 (bz14195): Add new testcase for two empty input strings and N > 0.
43051 (test_main): Call new testcase, adapt for renamed function.
43052
43053 2012-08-15 Andreas Jaeger <aj@suse.de>
43054
43055 [BZ #14090]
43056 * crypt/md5test2.c: New test, based on test supplied by Serge
43057 Belyshev <belyshev@depni.sinp.msu.ru>.
43058 * crypt/Makefile (xtests): Add md5test-giant..
43059 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43060
43061 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43062
43063 [BZ #14090]
43064 * crypt/md5.c (md5_process_block): Don't assume the buffer
43065 length is less than 2**32.
43066 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43067 length is less than 2**64.
43068
43069 2012-08-15 Roland McGrath <roland@hack.frob.com>
43070
43071 * string/str-two-way.h: Include <sys/param.h>.
43072 (MAX): Macro removed.
43073
43074 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43075 Move #define and #undef of memmove to just before and after
43076 including <string.h>.
43077
43078 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43079 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43080 and after including <string.h>. Move declarations of
43081 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43082 to before #include "string/memmove.c".
43083
43084 * include/dirent.h: Declare __getdirentries.
43085
43086 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43087 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43088
43089 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43090
43091 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43092 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43093 * sysdeps/i386/configure: Regenerated.
43094 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43095 STABS_CURRENT_FILE, and STABS_FUN.
43096 (END): Remove call to STABS_FUN_END.
43097 (STABS_CURRENT_FILE1): Delete.
43098 (STABS_CURRENT_FILE): Likewise.
43099 (STABS_FUN): Likewise.
43100 (STABS_FUN_END): Likewise.
43101 (STABS_FUN2): Likewise.
43102 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43103 * sysdeps/x86_64/configure: Regenerated.
43104
43105 2012-08-14 Roland McGrath <roland@hack.frob.com>
43106
43107 * elf/dl-open.c: Include <atomic.h>.
43108 * elf/dl-lookup.c: Likewise.
43109
43110 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43111
43112 * sysdeps/unix/sysv/linux/kernel-features.h
43113 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43114 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43115 unconditionally.
43116 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43117 unconditionally.
43118 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43119 condition on __ASSUME_CLONE_THREAD_FLAGS.
43120
43121 2012-08-14 Andreas Jaeger <aj@suse.de>
43122
43123 * sysdeps/i386/fpu/libm-test-ulps: Update.
43124
43125 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43126
43127 * include/atomic.h (atomic_exchange_and_add): Split into ...
43128 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43129 New atomic macros.
43130
43131 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43132
43133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43134
43135 2012-08-13 Jeff Law <law@redhat.com>
43136
43137 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43138 null byte in the output string.
43139
43140 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43141
43142 * sysdeps/unix/sysv/linux/kernel-features.h
43143 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43144 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43145 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43146 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43147 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43148 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43149 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43150
43151 2012-08-09 Jeff Law <law@redhat.com>
43152
43153 [BZ #13939]
43154 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43155 When avoid_arena is set, don't retry in the that arena. Pick the
43156 next one, whatever it might be.
43157 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43158 (arena_lock): Pass in new parameter to arena_get2.
43159 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43160 arena_get2.
43161 (__libc_malloc): Unify retrying after main arena failure with
43162 __libc_memalign version.
43163 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43164
43165 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43166
43167 [BZ #14166]
43168 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43169 to __redirect_strstr.
43170 (__strstr_sse42): Use typeof __redirect_strstr.
43171 (__strstr_ia32): Likewise.
43172 (__libc_strstr): New prototype.
43173 (strstr): Renamed to ...
43174 (__libc_strstr): This.
43175 (strstr): New strong alias of __libc_strstr.
43176 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43177 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43178 __redirect_time.
43179 Include <time.h>.
43180 (__libc_time): New prototype.
43181 (time_ifunc): Replace time with __libc_time.
43182 (time): New strong alias and hidden definition of __libc_time.
43183 (__GI_time): Remove strong alias.
43184 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43185 Include <stddef.h>.
43186 (memmove): Redefined to __redirect_memmove.
43187 (__memmove_sse2): Use typeof __redirect_memmove.
43188 (__memmove_ssse3): Likewise.
43189 (__memmove_ssse3_back): Likewise.
43190 (__libc_memmove): New prototype.
43191 (memmove): Renamed to ...
43192 (__libc_memmove): This.
43193 (memmove): New strong alias of __libc_memmove.
43194
43195 2012-08-08 Mark Salter <msalter@redhat.com>
43196
43197 * elf/elf.h
43198 (R_MN10300_TLS_GD): Define.
43199 (R_MN10300_TLS_LD): Likewise.
43200 (R_MN10300_TLS_LDO): Likewise.
43201 (R_MN10300_TLS_GOTIE): Likewise.
43202 (R_MN10300_TLS_IE): Likewise.
43203 (R_MN10300_TLS_LE): Likewise.
43204 (R_MN10300_TLS_DTPMOD): Likewise.
43205 (R_MN10300_TLS_DTPOFF): Likewise.
43206 (R_MN10300_TLS_TPOFF): Likewise.
43207 (R_MN10300_SYM_DIFF): Likewise.
43208 (R_MN10300_ALIGN): Likewise.
43209 (R_MN10300_NUM): Update.
43210
43211 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43212
43213 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43214 Remove.
43215
43216 2012-08-08 Roland McGrath <roland@hack.frob.com>
43217
43218 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43219
43220 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43221 sysdeps/unix -> sysdeps/posix move.
43222 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43223
43224 2012-08-07 Allan McRae <allan@archlinux.org>
43225
43226 [BZ #14303]
43227 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43228 (SUNOS_CPP): Likewise.
43229 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43230 not found.
43231 (open_input): Call CPP using execvp.
43232
43233 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43234
43235 * sysdeps/unix/sysv/linux/kernel-features.h
43236 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43237 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43238 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43239 (__ASSUME_WAITID_SYSCALL): Likewise.
43240 * sysdeps/unix/sysv/linux/dl-execstack.c
43241 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43242 code unconditional.
43243 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43244 conditional code.
43245 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43246 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43247 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43248 code.
43249 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43250 unconditional.
43251 [__ASSUME_WAITID_SYSCALL]: Likewise.
43252 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43253
43254 2012-08-07 Roland McGrath <roland@hack.frob.com>
43255
43256 * sysdeps/unix/closedir.c: Renamed to ...
43257 * sysdeps/posix/closedir.c: ... here.
43258 * sysdeps/unix/dirfd.c: Renamed to ...
43259 * sysdeps/posix/dirfd.c: ... here.
43260 * sysdeps/unix/dirstream.h: Renamed to ...
43261 * sysdeps/posix/dirstream.h: ... here.
43262 * sysdeps/unix/fdopendir.c: Renamed to ...
43263 * sysdeps/posix/fdopendir.c: ... here.
43264 * sysdeps/unix/opendir.c: Renamed to ...
43265 * sysdeps/posix/opendir.c: ... here.
43266 * sysdeps/unix/readdir.c: Renamed to ...
43267 * sysdeps/posix/readdir.c: ... here.
43268 * sysdeps/unix/readdir_r.c: Renamed to ...
43269 * sysdeps/posix/readdir_r.c: ... here.
43270 * sysdeps/unix/rewinddir.c: Renamed to ...
43271 * sysdeps/posix/rewinddir.c: ... here.
43272 * sysdeps/unix/seekdir.c: Renamed to ...
43273 * sysdeps/posix/seekdir.c: ... here.
43274 * sysdeps/unix/telldir.c: Renamed to ...
43275 * sysdeps/posix/telldir.c: ... here.
43276 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43277 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43278 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43279 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43280
43281 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43282 * bits/fcntl.h: ... here.
43283
43284 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43285 not 0.
43286 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43287 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43288 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43289 (struct flock): Move l_start, l_len to the beginning.
43290 Use __pid_t for l_pid.
43291 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43292 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43293 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43294 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43295 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43296 [__USE_LARGEFILE64] (struct flock64): New type.
43297 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43298
43299 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43300 * bits/dirent.h: ... here.
43301
43302 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43303 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43304
43305 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43306
43307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43308 Change from 2.6.0 to 2.6.16.
43309 * sysdeps/unix/sysv/linux/configure: Regenerated.
43310 * sysdeps/unix/sysv/linux/kernel-features.h
43311 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43312 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43313 version.
43314 (__ASSUME_UTIMES): Likewise.
43315 (__ASSUME_CLONE_STOPPED): Remove.
43316 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43317 architectures, not kernel version.
43318 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43319 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43320 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43321 (__ASSUME_WAITID_SYSCALL): Likewise.
43322 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43323 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43324 * README: State 2.6.16 as minimum Linux kernel version. Do not
43325 refer to older versions.
43326
43327 2012-08-06 Roland McGrath <roland@hack.frob.com>
43328
43329 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43330 Define alphasort64 as an alias.
43331 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43332 Define versionsort64 as an alias.
43333 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43334 Define scandir64 as an alias.
43335 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43336 Define scandirat64 as an alias.
43337 * dirent/alphasort64.c (alphasort64):
43338 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43339 * dirent/versionsort64.c: Likewise.
43340 * dirent/scandir64.c: Likewise.
43341 * dirent/scandirat64.c: Likewise.
43342 * sysdeps/wordsize-64/alphasort.c: File removed.
43343 * sysdeps/wordsize-64/alphasort64.c: File removed.
43344 * sysdeps/wordsize-64/scandir.c: File removed.
43345 * sysdeps/wordsize-64/scandir64.c: File removed.
43346 * sysdeps/wordsize-64/scandirat.c: File removed.
43347 * sysdeps/wordsize-64/scandirat64.c: File removed.
43348 * sysdeps/wordsize-64/versionsort.c: File removed.
43349 * sysdeps/wordsize-64/versionsort64.c: File removed.
43350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43352 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43354 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43356 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43358
43359 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43361 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43363 [defined __arch64__ || defined __sparcv9]
43364 (__INO_T_MATCHES_INO64_T): New macro.
43365 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43366 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43367 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43368 * sysdeps/unix/sysv/linux/bits/dirent.h
43369 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43370 (_DIRENT_MATCHES_DIRENT64): New macro.
43371
43372 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43373 Define lockf64 as an alias.
43374 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43375 Define fseeko64 as an alias.
43376 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43377 Define ftello64 as an alias.
43378 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43379 Define _IO_fgetpos64 and fgetpos64 as aliases.
43380 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43381 Define _IO_fsetpos64 and fsetpos64 as aliases.
43382 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43383 Conditionalize body on this.
43384 * libio/fseeko64.c: Likewise.
43385 * libio/ftello64.c: Likewise.
43386 * libio/iofgetpos64.c: Likewise.
43387 * libio/iofsetpos64.c: Likewise.
43388 * sysdeps/wordsize-64/lockf.c: File removed.
43389 * sysdeps/wordsize-64/lockf64.c: File removed.
43390 * sysdeps/wordsize-64/fseeko.c: File removed.
43391 * sysdeps/wordsize-64/fseeko64.c: File removed.
43392 * sysdeps/wordsize-64/ftello.c: File removed.
43393 * sysdeps/wordsize-64/ftello64.c: File removed.
43394 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43395 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43396 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43397 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43398 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43399 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43400 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43402 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43404 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43405 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43406 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43407 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43408
43409 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43411 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43413 [defined __arch64__ || defined __sparcv9]
43414 (__OFF_T_MATCHES_OFF64_T): New macro.
43415 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43416 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43418 (__OFF_T_MATCHES_OFF64_T): New macro.
43419
43420 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43421
43422 * stdlib/secure-getenv.c (__secure_getenv): Replace
43423 GLIBC_2_16 with GLIBC_2_17.
43424
43425 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43426
43427 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43429
43430 2012-08-03 David S. Miller <davem@davemloft.net>
43431
43432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43433
43434 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43435
43436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43437 Remove.
43438 (__ASSUME_CORRECT_SI_PID): Likewise.
43439 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43440 (__ASSUME_TMPFS_NAME): Likewise.
43441 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43442 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43443 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43444 (HAVE_AUX_SECURE): Make definition unconditional.
43445 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43446 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43447
43448 2012-08-03 Roland McGrath <roland@hack.frob.com>
43449
43450 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43451 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43452 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43453 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43454 __eloop_threshold instead of SYMLOOP_MAX.
43455
43456 * sysdeps/generic/eloop-threshold.h: New file.
43457 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43458 of MAXSYMLINKS.
43459 * elf/chroot_canon.c (chroot_canon): Likewise.
43460
43461 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43462
43463 [BZ #13717]
43464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43465 Change to 2.6.0 everywhere.
43466 * sysdeps/unix/sysv/linux/configure: Regenerated.
43467 * sysdeps/unix/sysv/linux/kernel-features.h
43468 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43469 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43470 kernel versions.
43471 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43472 (__ASSUME_FUTEX_REQUEUE): Remove.
43473 (__ASSUME_STATFS64): Define unconditionally.
43474 (__ASSUME_AT_SECURE): Likewise.
43475 (__ASSUME_CORRECT_SI_PID): Likewise.
43476 (__ASSUME_TGKILL): Define without depending on kernel version for
43477 i386.
43478 (__ASSUME_UTIMES): Likewise.
43479 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43480 kernel version.
43481 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43482 (__ASSUME_TMPFS_NAME): Likewise.
43483 * README: Update reference to Linux kernel versions.
43484
43485 2012-08-02 Marek Polacek <polacek@redhat.com>
43486
43487 [BZ# 14150]
43488 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43489 libc_cv_asm_type_prefix with %.
43490 * configure: Regenerated.
43491 * include/libc-symbols.h: Remove comment about
43492 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43493 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43494 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43495 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43496 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43497 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43498 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43499 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43500 * elf/tst-unique2mod1.c: Likewise.
43501 * elf/tst-unique1mod2.c: Likewise.
43502 * elf/tst-unique1mod1.c: Likewise.
43503 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43504 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43505 Replace ASM_TYPE_DIRECTIVE with .type.
43506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43507 * sysdeps/i386/sysdep.h: Likewise.
43508 * sysdeps/x86_64/sysdep.h: Likewise.
43509 * sysdeps/sh/sysdep.h: Likewise.
43510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43511 Do not define ASM_TYPE_DIRECTIVE.
43512 * sysdeps/powerpc/sysdep.h: Likewise.
43513 * sysdeps/powerpc/powerpc32/sysdep.h:
43514 Replace ASM_TYPE_DIRECTIVE with .type.
43515 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43516 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43517 * sysdeps/i386/fpu/e_powf.S: Likewise.
43518 * sysdeps/i386/fpu/e_expl.S: Likewise.
43519 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43520 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43521 * sysdeps/i386/fpu/e_pow.S: Likewise.
43522 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43523 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43524 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43525 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43526 * sysdeps/i386/fpu/e_log2.S: Likewise.
43527 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43528 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43529 * sysdeps/i386/fpu/e_powl.S: Likewise.
43530 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43531 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43532 * sysdeps/i386/fpu/e_logl.S: Likewise.
43533 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43534 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43535 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43536 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43537 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43538 * sysdeps/i386/fpu/e_log.S: Likewise.
43539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43540 * sysdeps/i386/fpu/e_logf.S: Likewise.
43541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43542 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43543 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43544 * sysdeps/i386/fpu/e_log10.S: Likewise.
43545 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43546 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43547 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43548 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43549 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43551 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43552 * sysdeps/i386/i686/strtok.S: Likewise.
43553 * sysdeps/i386/i386-mcount.S: Likewise.
43554 * sysdeps/i386/strtok.S: Likewise.
43555 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43559 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43560 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43561 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43562 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43563 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43564 * sysdeps/x86_64/_mcount.S: Likewise.
43565 * sysdeps/x86_64/strtok.S: Likewise.
43566 * sysdeps/sh/_mcount.S: Likewise.
43567
43568 2012-08-01 Roland McGrath <roland@hack.frob.com>
43569
43570 * libio/iofopen.c: Include <fcntl.h>.
43571 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43572 (_IO_fopen64, fopen64): Define as aliases.
43573 * libio/iofopen64.c: Include <fcntl.h>.
43574 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43575 Conditionalize body on this.
43576 * sysdeps/wordsize-64/iofopen.c: File removed.
43577 * sysdeps/wordsize-64/iofopen64.c: File removed.
43578
43579 2012-08-01 Marek Polacek <polacek@redhat.com>
43580
43581 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43582 Use dlfcn directly instead of a variable.
43583 (binfmt-subdir): Do not define.
43584 (dlfcn): Likewise.
43585
43586 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43587
43588 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43589 Remove all definitions.
43590 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43591 <kernel-features.h>.
43592 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43593 (miss_F_GETOWN_EX): Remove all definitions.
43594 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43595 macro definition.
43596 [!__ASSUME_FCNTL64]: Remove conditional code.
43597 [__ASSUME_FCNTL64]: Make code unconditional.
43598 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43599 <kernel-features.h>.
43600 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43601 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43602 (lockf64) [__NR_fcntl64]: Make code unconditional.
43603 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43604
43605 * sysdeps/unix/sysv/linux/kernel-features.h
43606 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43607 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43608 Make code unconditional.
43609 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43610 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43612 [__NR_vfork]: Make code unconditional.
43613 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43614 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43616 [__NR_vfork]: Make code unconditional.
43617 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43618 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43619
43620 2012-08-01 Roland McGrath <roland@hack.frob.com>
43621
43622 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43623 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43624
43625 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43626 Define mkstemp64 as an alias.
43627 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43628 Define mkstemps64 as an alias.
43629 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43630 Define mkostemp64 as an alias.
43631 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43632 Define mkostemps64 as an alias.
43633 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43634 Conditionalize body on this.
43635 * misc/mkostemp64.c: Likewise.
43636 * misc/mkostemps64.c: Likewise.
43637 * misc/mkstemps64.c: Likewise.
43638 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43639 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43640 * sysdeps/wordsize-64/mkostemp.c: File removed.
43641 * sysdeps/wordsize-64/mkstemp.c: File removed.
43642 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43643 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43646
43647 [BZ #14138]
43648 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43649 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43650 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43651 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43652
43653 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43654 compat_symbol macros from <shlib-compat.h> rather than the underlying
43655 default_symbol_version and symbol_version macros, so that DEFAULT
43656 lines in shlib-versions are respected.
43657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43658
43659 2012-08-01 Florian Weimer <fweimer@redhat.com>
43660
43661 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43662 Declare with warn_unused_result.
43663 (setgid, setregid, setegid, setresgid): Likewise.
43664 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43665 Likewise.
43666 * WUR-REPORT: Remove set*id functions.
43667
43668 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
43669
43670 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43671
43672 2012-07-31 Roland McGrath <roland@hack.frob.com>
43673
43674 [BZ #10191]
43675 * include/sys/socket.h (__libc_accept, __libc_accept4):
43676 Add attribute_hidden.
43677 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43678
43679 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43680 use of PTR_MANGLE.
43681 * inet/getnetgrent_r.c (setup): Likewise.
43682
43683 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43684
43685 2012-07-31 David S. Miller <davem@davemloft.net>
43686
43687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43688
43689 2012-07-31 Joseph Myers <joseph@codesourcery.com>
43690
43691 [BZ #13629]
43692 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43693 value between 1.0 and 2.0 and smaller part has absolute value less
43694 than 1.0.
43695 * math/s_clog10.c (__clog10): Likewise.
43696 * math/s_clog10f.c (__clog10f): Likewise.
43697 * math/s_clog10l.c (__clog10l): Likewise.
43698 * math/s_clogf.c (__clogf): Likewise.
43699 * math/s_clogl.c (__clogl): Likewise.
43700 * math/libm-test.inc (clog_test): Add more tests.
43701 (clog10_test): Likewise.
43702 * sysdeps/i386/fpu/libm-test-ulps: Update.
43703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43704
43705 2012-07-31 Florian Weimer <fweimer@redhat.com>
43706
43707 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43708 Exit with zero in case no suitable GID is found, and write a
43709 message to standard error.
43710
43711 2012-07-30 Roland McGrath <roland@hack.frob.com>
43712
43713 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43714 rather than to 1.
43715 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43716 (MAXPATHLEN): Removed.
43717 (NOGROUP, NODEV): New macros.
43718 (setbit, clrbit, isset, isclr): New macros.
43719 (howmany, roundup, powerof2): New macros.
43720 (DEV_BSIZE): New macro.
43721
43722 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43723 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43724
43725 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43726 definition on [!__NO_LONG_DOUBLE_MATH].
43727
43728 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43729 PTR_MANGLE and PTR_DEMANGLE.
43730
43731 * socket/accept4.c (accept4): Rename to __libc_accept4.
43732 Define accept4 as a weak alias.
43733
43734 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43735 on [_DIRENT_HAVE_D_TYPE].
43736 * io/ftw.c (ftw_dir): Likewise.
43737
43738 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43739
43740 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43741
43742 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43743 Use the BSD numbers rather than the arbitrary ones we had.
43744 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43745 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43746 (SIGXCPU, SIGXFSZ): New macros.
43747 (_NSIG): Now 32.
43748
43749 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43750 initializer on [_LIBC_REENTRANT].
43751
43752 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43753 definitions inside [_POSIX_MAPPED_FILES].
43754
43755 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43756
43757 * dirent/opendir.c: Include <fcntl.h>.
43758
43759 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43760 (__libc_getspecific): Likewise.
43761 (__libc_key_create): Likewise.
43762
43763 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43764 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43765 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43766 (tmpfile64): Define as alias.
43767 * sysdeps/wordsize-64/tmpfile.c: File removed.
43768 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43769 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43771
43772 * stdio-common/vfscanf.c: Include <stdbool.h>.
43773 * nss/makedb.c: Likewise.
43774 * stdio-common/_i18n_number.h: Likewise.
43775 * argp/argp-help.c: Likewise.
43776 * posix/wordexp.c: Likewise.
43777 * sysdeps/posix/spawni.c: Likewise.
43778 * nss/nss_files/files-initgroups.c: Likewise.
43779 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43780 * nss/nss_files/files-initgroups.c: Likewise.
43781 * nss/nss_db/db-netgrp.c: Likewise.
43782 * nss/nss_db/db-initgroups.c: Likewise.
43783 * io/fchmodat.c: Include <sys/stat.h>.
43784
43785 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43786 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43787
43788 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43789 [HAVE_MMAP].
43790
43791 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43792 Add multiple inclusion protection.
43793
43794 2012-07-27 David S. Miller <davem@davemloft.net>
43795
43796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43797
43798 2012-07-27 Gary Benson <gbenson@redhat.com>
43799
43800 [BZ #14298]
43801 * elf/rtld.c: Include <stap-probe.h>.
43802 (dl_main): Added static probes "init_start" and "init_complete".
43803 * elf/dl-load.c: Include <stap-probe.h>.
43804 (lose): Take new parameter "nsid".
43805 Added static probe "map_failed".
43806 (_dl_map_object_from_fd): Pass namespace id to lose.
43807 Added static probe "map_start".
43808 (open_verify): Pass namespace id to lose.
43809 * elf/dl-open.c: Include <stap-probe.h>.
43810 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43811 and "reloc_complete".
43812 * elf/dl-close.c: Include <stap-probe.h>.
43813 (_dl_close_worker): Added static probes "unmap_start" and
43814 "unmap_complete".
43815 * elf/rtld-debugger-interface.txt: New file documenting the above.
43816
43817 2012-07-26 Roland McGrath <roland@hack.frob.com>
43818
43819 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43820 rather than a string variable.
43821 * sunrpc/rpc_main.c (h_output): Likewise.
43822 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43823
43824 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43825
43826 * inet/check_native.c: New file.
43827
43828 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43829
43830 [BZ #13629]
43831 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43832 if larger part has absolute value 1.0.
43833 * math/s_clog10.c (__clog10): Likewise.
43834 * math/s_clog10f.c (__clog10f): Likewise.
43835 * math/s_clog10l.c (__clog10l): Likewise.
43836 * math/s_clogf.c (__clogf): Likewise.
43837 * math/s_clogl.c (__clogl): Likewise.
43838 * math/libm-test.inc (clog_test): Add more tests.
43839 (clog10_test): Likewise.
43840 * sysdeps/i386/fpu/libm-test-ulps: Update.
43841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43842
43843 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43844 (pltexit): Likewise.
43845 (La_regs): Likewise.
43846 (La_retval): Likewise.
43847 (int_retval): Likewise.
43848 Update #error for removed macros to refer only to definitions in
43849 tst-audit.h.
43850 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43851 macro.
43852 (pltexit): Likewise.
43853 (La_regs): Likewise.
43854 (La_retval): Likewise.
43855 (int_retval): Likewise.
43856 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43857 macro.
43858 (pltexit): Likewise.
43859 (La_regs): Likewise.
43860 (La_retval): Likewise.
43861 (int_retval): Likewise.
43862 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43863 macro.
43864 (pltexit): Likewise.
43865 (La_regs): Likewise.
43866 (La_retval): Likewise.
43867 (int_retval): Likewise.
43868 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43869 macro.
43870 (pltexit): Likewise.
43871 (La_regs): Likewise.
43872 (La_retval): Likewise.
43873 (int_retval): Likewise.
43874 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43875 macro.
43876 (pltexit): Likewise.
43877 (La_regs): Likewise.
43878 (La_retval): Likewise.
43879 (int_retval): Likewise.
43880 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43881 macro.
43882 (pltexit): Likewise.
43883 (La_regs): Likewise.
43884 (La_retval): Likewise.
43885 (int_retval): Likewise.
43886 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43887 macro definitions in tst-audit.h.
43888 * sysdeps/i386/tst-audit.h: New file.
43889 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43890 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43891 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43892 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43893 * sysdeps/sh/tst-audit.h: Likewise.
43894 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43895 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43896 * sysdeps/x86_64/tst-audit.h: Likewise.
43897
43898 2012-07-26 Andreas Jaeger <aj@suse.de>
43899
43900 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43901 ptrace.
43902
43903 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43904 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43905 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43906 PTRACE_O_MASK.
43907 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43908 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43909 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43910
43911 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43912 value.
43913
43914 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43915 _sigsys.
43916 (si_call_addr, si_syscall, si_arch): Define new macro.
43917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43918 _sigsys.
43919 (si_call_addr, si_syscall, si_arch): Define new marcro.
43920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43921 _sigsys.
43922 (si_call_addr, si_syscall, si_arch): Define new macro.
43923 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43924 _sigsys.
43925 (si_call_addr, si_syscall, si_arch): Define new macro.
43926
43927 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43928
43929 [BZ #13717]
43930 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43931 Change to 2.4.21 where previously 2.4.1.
43932 * sysdeps/unix/sysv/linux/configure: Regenerated.
43933 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43934 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43935 Linux kernel version.
43936 (__ASSUME_STD_AUXV): Remove.
43937 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43938 kernel version.
43939 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43940 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43941 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43942 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43943 (__ASSUME_NETLINK_SUPPORT): Likewise.
43944 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43945 (__no_netlink_support): Remove conditional definition.
43946 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43947 Remove.
43948 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43949 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43950 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43951 (if_nameindex_ioctl): Remove.
43952 (if_nameindex_netlink): Do not handle __no_netlink_support.
43953 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43954 code.
43955 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43956 Remove conditional code.
43957 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43958 code.
43959 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43960 unconditional.
43961 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43962 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43963 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43964 Remove.
43965 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43966 [!__ASSUME_STD_AUXV]: Remove conditional code.
43967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43968 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43969 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43971 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43972 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43973 code.
43974 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43976 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43977 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43978 conditional code.
43979 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43981 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43982 code.
43983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43984 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43985 conditional code.
43986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43987 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43988 code unconditional.
43989 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43990 conditional code.
43991 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43992 unconditional.
43993 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43994 conditional code.
43995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43996 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43997 unconditional.
43998 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43999 conditional code.
44000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44001 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44002 code unconditional.
44003 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44004 conditional code.
44005 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44006 unconditional.
44007 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44008 conditional code.
44009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44010 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44011 code unconditional.
44012 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44013 conditional code.
44014 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44015 unconditional.
44016 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44017 conditional code.
44018
44019 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44020
44021 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44022 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44023 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44024 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44025 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44026 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44027 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44028 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44029 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44030 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44031 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44032 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44033 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44034 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44035 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44036 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44037 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44039 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44042 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44043 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44044
44045 2012-07-25 Florian Weimer <fweimer@redhat.com>
44046
44047 * Versions.def: Add GLIBC_2.17.
44048 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44049 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44050 Introduce __libc_secure_getenv.
44051 * stdlib/Versions (2.17): Add secure_getenv
44052 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44053 * stdlib/secure-getenv.c: Rename __secure_getenv to
44054 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44055 symbol __secure_getenv for GLIBC_2.0.
44056 * stdlib/tst-secure-getenv.c: New.
44057 * stdlib/Makefile (tests): Add testcase.
44058 * manual/startup.texi (Environment Access): Document
44059 secure_getenv.
44060 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44061 __libc_secure_getenv.
44062 * inet/ruserpass.c (ruserpass): Likewise.
44063 * malloc/mtrace.c (mtrace): Likewise.
44064 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44065 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44066 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44067 * sysdeps/posix/tempname.c: Likewise. Evaluate
44068 HAVE_SECURE_GETENV.
44069 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44070 __secure_getenv to __libc_secure_getenv.
44071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44073 Likewise.
44074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44075 Likewise.
44076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44083
44084 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44085
44086 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44087 (struct La_i86_retval): Likewise.
44088 (struct La_x86_64_regs): Likewise.
44089 (struct La_x86_64_retval): Likewise.
44090 (struct La_x32_regs): Likewise.
44091 (struct La_x32_retval): Likewise.
44092 (struct La_ppc32_regs): Likewise.
44093 (struct La_ppc32_retval): Likewise.
44094 (struct La_ppc64_regs): Likewise.
44095 (struct La_ppc64_retval): Likewise.
44096 (struct La_sh_regs): Likewise.
44097 (struct La_sh_retval): Likewise.
44098 (struct La_s390_32_regs): Likewise.
44099 (struct La_s390_32_retval): Likewise.
44100 (struct La_s390_64_regs): Likewise.
44101 (struct La_s390_64_retval): Likewise.
44102 (struct La_sparc32_regs): Likewise.
44103 (struct La_sparc32_retval): Likewise.
44104 (struct La_sparc64_regs): Likewise.
44105 (struct La_sparc64_retval): Likewise.
44106 (struct audit_ifaces): Remove architecture-specific pltenter and
44107 pltexit members.
44108 * sysdeps/i386/ldsodefs.h: New file.
44109 * sysdeps/powerpc/ldsodefs.h: Likewise.
44110 * sysdeps/s390/ldsodefs.h: Likewise.
44111 * sysdeps/sh/ldsodefs.h: Likewise.
44112 * sysdeps/sparc/ldsodefs.h: Likewise.
44113 * sysdeps/x86_64/ldsodefs.h: Likewise.
44114
44115 2012-07-25 Marek Polacek <polacek@redhat.com>
44116
44117 [BZ #6808]
44118 * math/libm-test.inc (yn_test): Add another test.
44119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44120 to ERANGE when the result is +-Inf.
44121 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44122 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44123 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44124 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44125
44126 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44127
44128 * conform/data/time.h-data (NULL): Use macro-constant. Require
44129 equal to 0.
44130 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44131 clock_t.
44132 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44133
44134 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44135
44136 * configure.in <sysdeps resolving>: Correct printing
44137 Implies_before.
44138 * configure: Regenerate.
44139
44140 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44141
44142 * math/w_ilogb.c: Include <limits.h>.
44143 * math/w_ilogbl.c: Likewise.
44144
44145 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44146
44147 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44148 va_copy. Document allowing for unavailable va_copy only as
44149 pre-C99 compatibility.
44150 * manual/string.texi (Copying and Concatenation): Use va_copy
44151 instead of __va_copy in concat example.
44152
44153 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44154
44155 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44156 (__sendto): Use create_address_port. Initialize APORT and deallocate
44157 it if not null.
44158
44159 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44160 with O_NOLINK passed to __file_name_lookup.
44161
44162 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44163 with O_NOLINK passed to __file_name_lookup.
44164
44165 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44166 negative N or less than NGIDS.
44167
44168 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44169 type to string_t. Set ERANGE as errno and return it if NAME is not big
44170 enough. Use memcpy instead of strncpy.
44171
44172 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44173
44174 * elf/Makefile (check-data): Remove.
44175 (localplt.data): New vpath directive.
44176 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44177 instead of $(check-data).
44178 * scripts/data/localplt-generic.data: Move to ...
44179 * sysdeps/generic/localplt.data: ... here.
44180 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44181 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44182 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44184 ... here.
44185 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44187 ... here.
44188 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44190 ... here.
44191 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44193 ... here.
44194 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44196 ... here.
44197 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44199 ... here.
44200
44201 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44202
44203 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44204 PPC32 and PPC64 files.
44205 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44206 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44207
44208 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44209
44210 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44211 __makecontext_ret to ...
44212 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44213 ... here and call exit if uc_link is NULL. New file.
44214 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44215 __makecontext_ret.S.
44216 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44217 __makecontext_ret to ...
44218 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44219 ... here and call exit if uc_link is NULL. New file.
44220 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44221 __makecontext_ret.S.
44222
44223 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44224
44225 * elf/elf.h (R_390_IRELATIVE): New definition.
44226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44227 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44228 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44229 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44230 (elf_machine_lazy_rel): Likewise.
44231 * sysdeps/s390/dl-irel.h: New file.
44232 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44233 * sysdeps/s390/s390-64/memset.S: New asm code.
44234 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44235 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44236 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44237 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44238 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44239 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44241 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44242 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44243 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44244 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44245 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44246 * sysdeps/s390/s390-32/memset.S: New asm code.
44247 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44248
44249 2012-07-17 Marek Polacek <polacek@redhat.com>
44250
44251 [BZ #14349]
44252 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44253 * sysdeps/s390/s390-64/configure.in: Likewise.
44254 * sysdeps/sparc/configure.in: Likewise.
44255 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44256 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44257 * sysdeps/i386/configure.in: Likewise.
44258 * sysdeps/x86_64/configure.in: Likewise.
44259 * sysdeps/sh/configure.in: Likewise.
44260 * sysdeps/s390/s390-32/configure: Regenerated.
44261 * sysdeps/s390/s390-64/configure: Likewise.
44262 * sysdeps/x86_64/configure: Likewise.
44263 * sysdeps/sh/configure: Likewise.
44264 * sysdeps/powerpc/powerpc64/configure: Likewise.
44265 * sysdeps/powerpc/powerpc32/configure: Likewise.
44266 * sysdeps/sparc/configure: Likwise.
44267 * sysdeps/i386/configure: Likewise.
44268
44269 * elf/dl-open.c: Comment fixes.
44270
44271 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44272
44273 * Makefile [CXX] (check-data): Remove.
44274 [CXX] (c++-types.data): New vpath directive.
44275 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44276 vpath. Do not allow for C++ type data being missing.
44277 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44278 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44279 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44280 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44281 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44282 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44283 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44285 ... here.
44286 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44288 ... here.
44289 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44291 ... here.
44292 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44294 ... here.
44295 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44297 ... here.
44298 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44300 ... here.
44301 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44303 ... here.
44304 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44306
44307 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44308 definitions to architecture-specific files.
44309 (TLS_IE): Likewise.
44310 (TLS_LD): Likewise.
44311 (TLS_GD): Likewise.
44312 * sysdeps/i386/tls-macros.h: New file.
44313 * sysdeps/powerpc/tls-macros.h: Likewise.
44314 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44315 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44316 * sysdeps/sh/tls-macros.h: Likewise.
44317 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44318 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44319 * sysdeps/x86_64/tls-macros.h: Likewise.
44320
44321 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44322
44323 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44324 zero value for regular exit case.
44325
44326 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44327 (__start_context): Preserve zero value for regular exit case.
44328
44329 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44330 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44331
44332 * manual/setjmp.texi (setcontext): Clarify normal process
44333 termination when uc_link is the null pointer.
44334 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44335 exit call.
44336
44337 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44338
44339 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44340 preprocessor. Test for each exception mask separately.
44341
44342 2012-07-16 Andreas Jaeger <aj@suse.de>
44343
44344 * po/ru.po: Update from translation team.
44345
44346 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44347
44348 * conform/data/string.h-data (NULL): Use macro-constant. Require
44349 equal to 0.
44350 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44351 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44352 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44353 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44355
44356 2012-07-13 Andreas Jaeger <aj@suse.de>
44357
44358 * po/fr.po: Update from translation team.
44359
44360 2012-07-12 Marek Polacek <polacek@redhat.com>
44361
44362 [BZ #14173]
44363 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44365 loop condition.
44366
44367 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44368
44369 [BZ #13717]
44370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44371 Change to 2.4.1 where previously 2.4.0.
44372 * sysdeps/unix/sysv/linux/configure: Regenerated.
44373 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44374 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44375 version.
44376 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44377 (__ASSUME_AT_CLKTCK): Remove.
44378 (__ASSUME_AT_PAGESIZE): Likewise.
44379 (__ASSUME_AT_XID): Likewise.
44380 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44381 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44382 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44383 unconditionally.
44384 (HAVE_AUX_PAGESIZE): Likewise.
44385 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44386 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44387 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44388
44389 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44390
44391 [BZ #14307]
44392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44393 the temporary buffer used to invoke __gethostbyname2_r,
44394 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44395 host_data / struct gaih_addrtuple.
44396 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44397 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44398 header file nss/nsswitch.h.
44399 * nss/nsswitch.h (global scope): Add definition of implementation
44400 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44401 resolv/nss_dns/dns-host.c).
44402
44403 2012-07-11 Andreas Jaeger <aj@suse.de>
44404
44405 * po/fr.po: Update from translation team.
44406
44407 * po/sv.po: Update from translation team
44408 * po/fr.po: Another update from translation team.
44409
44410 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44411
44412 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44413 for subnormals or multiply small sinh result by itself.
44414 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44416
44417 2012-07-11 David S. Miller <davem@davemloft.net>
44418
44419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44420
44421 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44422
44423 [BZ #14347]
44424 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44425 (INTERNAL_MARK): Shift it here.
44426
44427 2012-07-10 Marek Polacek <polacek@redhat.com>
44428
44429 [BZ #14151]
44430 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44431 libc_cv_asm_global_directive with .globl.
44432 * configure: Regenerated.
44433 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44434 with .globl.
44435 * sysdeps/i386/configure: Regenerated.
44436 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44437 with .globl.
44438 * sysdeps/x86_64/configure: Regenerated.
44439 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44440 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44441 * elf/tst-unique2mod2.c: Likewise.
44442 * elf/tst-unique2mod1.c: Likewise.
44443 * elf/tst-unique1mod2.c: Likewise.
44444 * elf/tst-unique1mod1.c: Likewise.
44445 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44446 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44447 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44448 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44449 * sysdeps/mach/sysdep.h: Likewise.
44450 * sysdeps/i386/sysdep.h: Likewise.
44451 * sysdeps/i386/i386-mcount.S: Likewise.
44452 * sysdeps/x86_64/_mcount.S: Likewise.
44453 * sysdeps/x86_64/sysdep.h: Likewise.
44454 * sysdeps/sh/_mcount.S: Likewise.
44455 * sysdeps/sh/sysdep.h: Likewise.
44456 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44457 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44458 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44459 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44460 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44461 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44462 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44463 * locale/localeinfo.h: Likewise.
44464 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44465 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44466
44467 2012-07-09 Roland McGrath <roland@hack.frob.com>
44468
44469 [BZ #14336]
44470 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44471 system".
44472 * manual/message.texi (The Uniforum approach): Likewise.
44473 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44474 (glibc iconv Implementation): Likewise.
44475
44476 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44477
44478 [BZ #14337]
44479 * math/s_clog.c (__clog): Avoid scaling a value down where that
44480 could result in underflow.
44481 * math/s_clog10.c (__clog10): Likewise.
44482 * math/s_clog10f.c (__clog10f): Likewise.
44483 * math/s_clog10l.c (__clog10l): Likewise.
44484 * math/s_clogf.c (__clogf): Likewise.
44485 * math/s_clogl.c (__clogl): Likewise.
44486 * math/libm-test.inc (clog_test): Add more tests.
44487 (clog10_test): Likewise.
44488 * sysdeps/i386/fpu/libm-test-ulps: Update.
44489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44490
44491 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44492
44493 [BZ #14283]
44494 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44495 by 7 not 8 to examine high bit of fractional part.
44496
44497 [BZ #14042]
44498 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44499 for call to __mcount_internal.
44500 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44501 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44502 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44503
44504 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44505
44506 [BZ #14154]
44507 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44508 approximation for values within 0x1p-13f of an odd multiple of
44509 pi/4.
44510 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44511 exception. Add more tests.
44512 * sysdeps/i386/fpu/libm-test-ulps: Update.
44513
44514 [BZ #6778]
44515 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44516 inputs and return -1 for them. Do not check for +Inf in case not
44517 reachable for +Inf.
44518 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44519 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44521 and return -1 for them. Do not check for +Inf in case not
44522 reachable for +Inf.
44523 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44524 define.
44525 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44526 and return -1 for them. Do not check for +Inf in case not
44527 reachable for +Inf.
44528 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44529 spurious underflow.
44530 * sysdeps/i386/fpu/libm-test-ulps: Update.
44531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44532
44533 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44534
44535 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44536
44537 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44538
44539 [BZ #14157]
44540 [BZ #14331]
44541 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44542 could result in spurious underflow. Scale down values above
44543 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44544 * math/s_csqrtf.c (__csqrtf): Likewise.
44545 * math/s_csqrtl.c (__csqrtl): Likewise.
44546 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44547 spurious underflow.
44548 * sysdeps/i386/fpu/libm-test-ulps: Update.
44549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44550
44551 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44552
44553 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44554 xopen-msg.sed.
44555 * catgets/xopen-msg.awk: New file.
44556 * catgets/xopen-msg.sed: Removed.
44557
44558 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44559 po2text.sed.
44560 * intl/po2test.awk: New file.
44561 * intl/po2test.sed: Removed.
44562
44563 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44564
44565 [BZ #14328]
44566 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44567 or multiply small sinh result by itself.
44568 * math/s_ctanf.c (__ctanf): Likewise.
44569 * math/s_ctanh.c (__ctanh): Likewise.
44570 * math/s_ctanhf.c (__ctanhf): Likewise.
44571 * math/s_ctanhl.c (__ctanhl): Likewise.
44572 * math/s_ctanl.c (__ctanl): Likewise.
44573 * math/libm-test.inc (ctan_test_tonearest): New function.
44574 (ctan_test_towardzero): Likewise.
44575 (ctan_test_downward): Likewise.
44576 (ctan_test_upward): Likewise.
44577 (ctanh_test_tonearest): Likewise.
44578 (ctanh_test_towardzero): Likewise.
44579 (ctanh_test_downward): Likewise.
44580 (ctanh_test_upward): Likewise.
44581 (main): Call these new functions.
44582 * sysdeps/i386/fpu/libm-test-ulps: Update.
44583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44584
44585 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44586
44587 * .gitignore: Delete /ports entry.
44588
44589 2012-07-03 Andreas Jaeger <aj@suse.de>
44590
44591 * po/bg.po: Update from translation team.
44592 * po/cs.po: Likewise.
44593 * po/de.po: Likewise.
44594 * po/hr.po: Likewise.
44595 * po/nl.pl: Likewise.
44596 * po/pl.po: Likewise.
44597 * po/vi.po: Likewise.
44598
44599 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44600
44601 * Makeconfig [!+link] (+link-before-libc): New variable.
44602 [!+link] (+link-after-libc): Likewise.
44603 [!+link] (+link-tests): Likewise.
44604 [!+link] (+link): Define in terms of $(+link-before-libc) and
44605 $(+link-after-libc).
44606 [!+link-static] (+link-static-before-libc): New variable.
44607 [!+link-static] (+link-static-after-libc): Likewise.
44608 [!+link-static] (+link-static-tests): Likewise.
44609 [!+link-static] (+link-static): Define in terms of
44610 $(+link-static-before-libc) and $(+link-static-after-libc).
44611 [build-shared] (link-libc-before-gnulib): New variable.
44612 [build-shared] (link-libc-tests): Likewise.
44613 [build-shared] (link-libc): Define in terms of
44614 $(link-libc-before-gnulib).
44615 [!build-shared] (link-libc-tests): New variable.
44616 (link-libc-static-tests): New variable.
44617 [!gnulib] (gnulib-arch): New variable.
44618 [!gnulib] (gnulib-tests): Likewise.
44619 [!gnulib] (static-gnulib-arch): Likewise.
44620 [!gnulib] (static-gnulib-tests): Likewise.
44621 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44622 Define with "=" instead of ":=".
44623 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44624 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44625 * Rules (binaries-all-notests): New variable.
44626 (binaries-all-tests): Likewise.
44627 (binaries-static-notests): Likewise.
44628 (binaries-static-tests): Likewise.
44629 (binaries-all): Define using $(binaries-all-notests) and
44630 $(binaries-all-tests).
44631 (binaries-static): Define using $(binaries-static-notests) and
44632 $(binaries-static-tests).
44633 (binaries-shared-tests): New variable.
44634 (binaries-shared-notests): Likewise.
44635 (binaries-shared): Remove variable.
44636 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44637 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44638 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44639 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44640 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44641 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44642 * elf/Makefile (sln-modules): New variable.
44643 (extra-objs): Add $(sln-modules:=.o).
44644 (ldconfig-modules): Add static-stubs.
44645 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44646 * elf/static-stubs.c: New file.
44647
44648 [BZ #14283]
44649 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44650 by 7 not 8 to examine high bit of fractional part. Use volatile
44651 variables when splitting into final array of floats if
44652 __FLT_EVAL_METHOD__ != 0.
44653 * math/libm-test.inc (cos_test): Add another test.
44654 (sin_test): Likewise.
44655 * sysdeps/i386/fpu/libm-test-ulps: Update.
44656
44657 [BZ #14273]
44658 * math/libm-test.inc (cosh_test): Add more tests.
44659
44660 * version.h (RELEASE): Set to "development".
44661 (VERSION): Set to "2.16.90".
44662
44663 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44664
44665 * NEWS: Update copyright. Remove last-updated date.
44666 Mention math library bug fixes and timezone data changes.
44667 * README: Mention GNU/Hurd, x32, and HPPA support status.
44668
44669 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
44670
44671 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44672
44673 2012-06-27 Andreas Jaeger <aj@suse.de>
44674
44675 * manual/contrib.texi (Contributors): Add Samuel Thibault.
44676
44677 2012-06-25 Andreas Jaeger <aj@suse.de>
44678
44679 * sysdeps/s390/fpu/libm-test-ulps: Update.
44680
44681 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
44682 Thomas Schwinge <thomas@codesourcery.com>
44683
44684 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44685 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44687 fanotify_mark.
44688
44689 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
44690
44691 * sysdeps/mach/start.c: Remove file.
44692 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44693 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44694 * sysdeps/sh/init-first.c: Likewise.
44695
44696 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44697 registers for frame unwinding purposes, add CFI directives.
44698 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44699 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44700 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44701 Likewise.
44702
44703 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44704 __fortify_fail returning.
44705 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44706
44707 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44708 sysdeps/sh/____longjmp_chk.S.
44709 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44710 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44711 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44712 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44713
44714 * sysdeps/sh/abort-instr.h: New file.
44715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44716 process in case exit returns.
44717
44718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44719 initialize the GOT register before use.
44720
44721 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44722 calculation of ARGC > 4.
44723
44724 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44725 meaningful names to some local labels.
44726
44727 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44728 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44729
44730 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44731 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44732 (__arch_compare_and_exchange_val_16_acq): Likewise.
44733 (__arch_compare_and_exchange_val_32_acq): Likewise.
44734 (atomic_exchange_and_add): Fix gUSA sequence.
44735 (atomic_add): Likewise.
44736 (atomic_add_negative): Likewise.
44737 (atomic_add_zero): Likewise.
44738 (atomic_bit_test_set): Likewise.
44739
44740 2012-06-22 Andreas Schwab <schwab@redhat.com>
44741
44742 [BZ #13579]
44743 * include/link.h (struct link_map): Add l_free_initfini.
44744 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44745 l_initfini.
44746 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44747 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44748 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44749 set.
44750
44751 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44752
44753 * configure.in: Use AC_LANG_SOURCE.
44754 * configure: Regenerate.
44755
44756 2012-06-22 Roland McGrath <roland@hack.frob.com>
44757
44758 * configure.in (libc_cv_localstatedir): New substituted variable.
44759 * configure: Regenerated.
44760 * config.make.in (localstatedir): New variable, substituted from
44761 libc_cv_localstatedir.
44762 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44763 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44764 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44765 * sysdeps/gnu/configure: Regenerated.
44766
44767 2012-06-21 Jeff Law <law@redhat.com>
44768
44769 [BZ #14277]
44770 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44771 free. Simplify list management for _LIBC case.
44772
44773 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44774
44775 [BZ #14273]
44776 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44777 Clear sign bit of 64-bit integer value before comparing against
44778 overflow value.
44779
44780 * sysdeps/mach/configure: Regenerated.
44781
44782 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44783
44784 [BZ #14278]
44785 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44786
44787 2012-06-21 Jeff Law <law@redhat.com>
44788
44789 [BZ #13882]
44790 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44791 uint16_t for elements in the "seen" array to avoid char overflows.
44792 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44793 * elf/dl-open.c (dl_open_worker): Likewise.
44794
44795 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44796
44797 * scripts/list-sources.sh: Scan PORTS for translations.
44798 * po/libc.pot: Regenerated.
44799
44800 2012-06-21 Andreas Jaeger <aj@suse.de>
44801
44802 [BZ #12194]
44803 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44804 warning.
44805 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44806 * bits/byteswap-16.h (__bswap_16): Likewise.
44807 * bits/byteswap.h (__bswap_constant_16): Likewise.
44808
44809 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44810
44811 [BZ #14117]
44812 * sysdeps/i386/fpu_control.h: Removed.
44813 * sysdeps/x86_64/fpu_control.h: Moved to ...
44814 * sysdeps/x86/fpu_control.h: Here.
44815
44816 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44817 (_FPU_SETCW): Likewise.
44818
44819 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44820
44821 [BZ #14117]
44822 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44823 * sysdeps/x86/fpu/bits/mathinline.h: This.
44824 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44825
44826 [BZ #14050]
44827 [BZ #14117]
44828 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44829 functions if __x86_64__ is defined.
44830
44831 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44832
44833 * string/endian.h: Add !__ASSEMBLER__ condition for including
44834 conversion interfaces.
44835
44836 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44837
44838 [BZ #14241]
44839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44840 of ABS(x) in calculating zero to negative powers other than odd
44841 integers.
44842 * math/libm-test.inc (pow_test): Add more tests.
44843
44844 2012-06-15 Andreas Jaeger <aj@suse.de>
44845
44846 * manual/contrib.texi (Contributors): Update entry of Liubov
44847 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44848 Machado Filho.
44849
44850 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44851
44852 * string/string.h: Add __wur to GNU version of strerror_r.
44853
44854 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44855
44856 [BZ #14229]
44857 * string/Makefile (tests): Add tst-strtok_r.
44858 * string/tst-strtok_r.c: New file.
44859 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44860 RAX_LP/RDX_LP on SAVE_PTR.
44861
44862 2012-06-14 Roland McGrath <roland@hack.frob.com>
44863
44864 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44865
44866 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44867
44868 * libm_test.inc (csqrt_test): Allow more spurious underflow
44869 exceptions.
44870 (j0_test): Likewise.
44871 (j1_test): Likewise.
44872 (y0_test): Likewise.
44873 (y1_test): Likewise.
44874
44875 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44876
44877 * po/Makefile (libc.pot): Use UTF-8 charset.
44878
44879 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44880
44881 [BZ #14210]
44882 Suppress sign-conversion warning from FD_SET.
44883 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44884 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44885 not unsigned long int.
44886 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44887
44888 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44889
44890 [BZ #14050]
44891 [BZ #14117]
44892 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44893 __extern_always_inline instead of __extern_inline.
44894 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44895 (__signbit): Likewise.
44896 (__signbitl): Support C++ namespace.
44897 (lrintf): New inline function.
44898 (lrint): Likewise.
44899 (llrintf): Likewise.
44900 (llrint): Likewise.
44901 (fmaxf): Likewise.
44902 (fmax): Likewise.
44903 (fminf): Likewise.
44904 (fmin): Likewise.
44905 (rint): Likewise.
44906 (rintf): Likewise.
44907 (ceil): Likewise.
44908 (ceilf): Likewise.
44909 (floor): Likewise.
44910 (floorf): Likewise.
44911 (nearbyint): Likewise.
44912 (nearbyintf): Likewise.
44913
44914 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44915
44916 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44917 non-default versions.
44918
44919 2012-06-11 Roland McGrath <roland@hack.frob.com>
44920
44921 [BZ #14218]
44922 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44923
44924 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44925
44926 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44927 (FE_UPWARD, FE_DOWNWARD): Don't define.
44928 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44929 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44930
44931 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44932 reading it.
44933 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44934 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44935
44936 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44937
44938 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44940 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44941 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44942
44943 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44944
44945 [BZ #14117]
44946 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44947 * sysdeps/i386/fpu/Implies: New file.
44948 * sysdeps/x86_64/fpu/Implies: Likewise.
44949 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44950 * sysdeps/x86/fpu/bits/fenv.h: This.
44951
44952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44953 __SSE_MATH__.
44954
44955 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44956
44957 [BZ #14134]
44958 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44959 character 0xffff that matches the last element of the
44960 conversion table.
44961
44962 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44963
44964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44965 fmodl commit.
44966
44967 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44968
44969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44970 values higher than 25.6283.
44971
44972 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44973
44974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44975 subnormal exponent extraction and add some __builtin_expect.
44976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44977 Fix for subnormal mantissa calculation.
44978
44979 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44980
44981 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44982 cpu2 is -1 and errno is not ENOSYS.
44983
44984 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44985
44986 [BZ #14117]
44987 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44988 * sysdeps/x86/bits/string.h: This.
44989 * sysdeps/x86_64/bits/string.h: Removed.
44990
44991 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44992 if not compiling for x86-64, but compiling for >= i486.
44993
44994 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44995 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44996
44997 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44998 New macro from Linux kernel 3.4.0.
44999 (FP_XSTATE_MAGIC2): Likewise.
45000 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45001 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45002 (struct _fpx_sw_bytes): New struct.
45003 (struct _xsave_hdr): Likewise.
45004 (struct _ymmh_state): Likewise.
45005 (struct _xstate): Likewise.
45006
45007 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45008 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45009 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45010 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45011 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45012 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45013
45014 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45015 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45016 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45017 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45018 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45019 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45020
45021 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45022
45023 [BZ #13743]
45024 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45025 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45026 (sysdep_headers): Include sys/platform/ppc.h.
45027 * sysdeps/powerpc/test-gettimebase.c: Test for
45028 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45029 * manual/Makefile (appendices): Include platform.texi.
45030 * manual/contrib.texi (Contributors): Update @node pointers.
45031 * manual/maint.texi (Maintenance): Likewise.
45032 (Platform): New node.
45033 * manual/platform.texi: New file. Document the new features.
45034
45035 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45036 Jakub Jelinek <jakub@redhat.com>
45037
45038 [BZ #14188]
45039 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45040 where __builtin_expect is unavailable.
45041
45042 2012-06-03 David S. Miller <davem@davemloft.net>
45043
45044 * stdlib/longlong.h: Updated from GCC.
45045
45046 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45047
45048 [BZ #14042]
45049 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45050 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45051 __mcount_internal.
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45053 (GLIBC_2.16): Likewise.
45054
45055 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45056
45057 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45058
45059 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45060
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45062 (default-abi): New variable.
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45065 variable.
45066 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45067 Likewise.
45068 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45069 Likewise.
45070 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45071 Likewise.
45072
45073 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45074 definition. Document in comment.
45075
45076 2012-06-01 David S. Miller <davem@davemloft.net>
45077
45078 * stdlib/longlong.h: Updated from GCC.
45079
45080 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45081
45082 [BZ #14117]
45083 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45084 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45085 sys/debugreg.h sys/io.h here.
45086 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45087 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45088 sys/io.h.
45089 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45090 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45091 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45092 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45093 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45094 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45095
45096 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45097 Define only if __x86_64__ is defined.
45098
45099 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45100
45101 [BZ #14048]
45102 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45103 Use int64_t for variable i.
45104 * math/libm-test.inc (fmod_test): Add more tests.
45105
45106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45107 z computation is not scheduled after fetestexcept.
45108 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45109 Use math_force_eval instead of asm to ensure calculation scheduled
45110 before exception test.
45111 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45112 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45113
45114 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45115
45116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45117 computation is not scheduled after fetestexcept.
45118
45119 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45120
45121 [BZ #14117]
45122 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45123 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45124
45125 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45126
45127 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45128 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45129
45130 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45131
45132 [BZ #14117]
45133 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45134 <bits/wordsize.h>.
45135 (__WCHAR_MIN): Support __WORDSIZE == 64.
45136 (__WCHAR_MAX): Likewise.
45137
45138 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45139 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45140
45141 [BZ #14183]
45142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45143 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45144
45145 [BZ #14117]
45146 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45148
45149 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45150 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45151
45152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45153 Defined to 1 if __x86_64__ isn't defined.
45154 (_STAT_VER_LINUX_OLD): New.
45155 (st_atime): Remove duplicate.
45156 (st_mtime): Likewise.
45157 (st_ctime): Likewise.
45158
45159 2012-05-31 David S. Miller <davem@davemloft.net>
45160
45161 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45162 entries.
45163
45164 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45165
45166 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45167 gen-libm-test.pl.
45168
45169 [BZ #14132]
45170 * elf/dl-reloc.c: Include <_itoa.h>.
45171 (_dl_reloc_bad_type): Remove use of INTUSE.
45172 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45173 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45174 * stdio-common/psiginfo.c (psiginfo): Likewise.
45175 * stdio-common/psignal.c (psignal): Likewise.
45176 * string/strsignal.c (strsignal): Likewise.
45177 * include/signal.h (_sys_siglist): Declare hidden proto.
45178 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45179 INTVARDEF with libc_hidden_data_def.
45180 * stdio-common/itoa-udigits.c: Likewise.
45181 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45182 (_itoa_lower_digits_internal): Remove declaration.
45183 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45184 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45185 (_sys_sigabbrev_internal): Remove aliases.
45186 (_sys_siglist): Define hidden alias.
45187
45188 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45189
45190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45191 bits/sysctl.h.
45192
45193 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45194
45195 [BZ #14117]
45196 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45197 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45198
45199 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45200 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45201 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45202 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45203 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45204 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45205
45206 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45207 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45208 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45209
45210 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45211 with __addr.
45212 (insw): Likewise.
45213 (insl): Likewise.
45214 (outsb): Likewise.
45215 (outsw): Likewise.
45216 (outsl): Likewise.
45217
45218 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45220 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45221
45222 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45223 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45225 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45226 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45227 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45228
45229 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45230 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45231
45232 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45233 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45234
45235 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45236 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45238
45239 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45240 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45241 to ...
45242 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45243
45244 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45245 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45246 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45247
45248 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45249 for x86-64.
45250 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45251
45252 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45253
45254 * math/math.h (M_El): Use two more decimal places.
45255 (M_LOG2El): Likewise.
45256 (M_LOG10El): Likewise.
45257 (M_LN2l): Likewise.
45258 (M_LN10l): Likewise.
45259 (M_PIl): Likewise.
45260 (M_PI_2l): Likewise.
45261 (M_PI_4l): Likewise.
45262 (M_1_PIl): Likewise.
45263 (M_2_PIl): Likewise.
45264 (M_2_SQRTPIl): Likewise.
45265 (M_SQRT2l): Likewise.
45266 (M_SQRT1_2l): Likewise.
45267
45268 2012-05-31 David S. Miller <davem@davemloft.net>
45269
45270 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45271 values between float registers.
45272 * sysdeps/sparc/sparc64/memset.S: Likewise.
45273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45274
45275 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45276
45277 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45278 -D_FORTIFY_SOURCE=1.
45279 (CPPFLAGS-tst-longjmp_chk.c): Define.
45280 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45281 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45282 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45283 CFLAGS-tst-wchar-h.c.
45284
45285 2012-05-31 Marek Polacek <polacek@redhat.com>
45286
45287 [BZ #14132]
45288 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45289 __endmntent_internal): Remove declaration.
45290 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45291 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45292 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45293
45294 2012-05-30 David S. Miller <davem@davemloft.net>
45295
45296 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45297 (___Q_simulate_exceptions): Use real FP ops rather than writing
45298 into the %fsr.
45299 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45300 Likewise.
45301
45302 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45303
45304 [BZ #14117]
45305 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45306 * sysdeps/x86/bits/xtitypes.h: This.
45307
45308 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45309 * sysdeps/x86/bits/wordsize.h: This.
45310
45311 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45312 * sysdeps/x86/bits/huge_vall.h: This.
45313
45314 * sysdeps/i386/bits/select.h: Removed.
45315 * sysdeps/x86_64/bits/select.h: Renamed to ...
45316 * sysdeps/x86/bits/select.h: This.
45317
45318 * sysdeps/i386/bits/setjmp.h: Removed.
45319 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45320 * sysdeps/x86/bits/setjmp.h: This.
45321
45322 * sysdeps/i386/bits/mathdef.h: Removed.
45323 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45324 * sysdeps/x86/bits/mathdef.h: This.
45325
45326 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45327
45328 [BZ #14132]
45329 * include/sys/socket.h (__connect_internal)
45330 (__libc_sa_len_internal): Remove declaration.
45331 (__connect, __libc_sa_len): Declare hidden_proto.
45332 (SA_LEN): Remove use of INTUSE.
45333 * socket/connect.c: Add libc_hidden_def.
45334 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45335 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45336 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45337 alias.
45338 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45339 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45340 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45341 of adding _internal alias.
45342
45343 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45344
45345 [BZ #14117]
45346 * sysdeps/i386/bits/link.h: Removed.
45347 * sysdeps/i386/bits/linkmap.h: Likewise.
45348 * sysdeps/x86_64/bits/link.h: Renamed to ...
45349 * sysdeps/x86/bits/link.h: This.
45350 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45351 * sysdeps/x86/bits/linkmap.h: This.
45352
45353 * sysdeps/i386/bits/endian.h: Removed.
45354 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45355 * sysdeps/x86/bits/endian.h: This.
45356
45357 * sysdeps/i386/bits/byteswap.h: Removed.
45358 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45359 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45360 * sysdeps/x86/bits/byteswap.h: This.
45361 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45362 * sysdeps/x86/bits/byteswap-16.h: This.
45363 * sysdeps/i386/Implies: Add x86.
45364 * sysdeps/x86_64/Implies: Likewise.
45365
45366 2012-05-30 David S. Miller <davem@davemloft.net>
45367
45368 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45369 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45370 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45371 (FP_TRAPPING_EXCEPTIONS): Define.
45372 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45373 (FP_TRAPPING_EXCEPTIONS): Define.
45374 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45375 subnormals only when inexact has been signalled or underflow
45376 exceptions are enabled.
45377 (_FP_PACK_CANONICAL): Likewise.
45378
45379 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45380
45381 [BZ #14183]
45382 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45383 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45384
45385 2012-05-30 Richard Henderson <rth@twiddle.net>
45386
45387 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45388 with #ifndef NOT_IN_libc.
45389
45390 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45391 marked to avoid plt entry.
45392
45393 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45394
45395 [BZ #14112]
45396 * Makeconfig (default-abi): New macro.
45397 (abi-includes): Likewise.
45398 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45399 $(abi-$(default-abi)-lib-soname) for soname if defined.
45400 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45401 abi-variants.
45402 * Makefile (installed-stubs): Likewise.
45403 * include/stubs-biarch.h: Removed.
45404 * scripts/lib-names.awk: Only handle one library at a time.
45405 * scripts/soversions.awk: Remove WORDSIZE support.
45406 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45407 entries.
45408 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45409 Removed.
45410 (syscall-list-default-condition): Likewise.
45411 (syscall-list-default-condition): Likewise.
45412 (syscall-list-includes): Likewise.
45413 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45414 syscall-list-* with abi-*. Handle undefined abi-variants.
45415 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45416 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45417 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45418 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45419 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45420 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45421 Removed.
45422 (syscall-list-32-options): Likewise.
45423 (syscall-list-32-condition): Likewise.
45424 (syscall-list-64-options): Likewise.
45425 (syscall-list-64-condition): Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45427 macro.
45428 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45429 Renamed to ...
45430 (abi-*): This.
45431 (abi-64-ld-soname): New macro.
45432 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45433 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45434 Renamed to ...
45435 (abi-*): This.
45436 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45437 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45438
45439 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45440
45441 * sysdeps/unix/sysv/linux/kernel-features.h
45442 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45443 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45444 include <kernel-features.h>.
45445 [!__NR_ftruncate64]: Remove conditional code.
45446 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45447 [__NR_ftruncate64]: Make code unconditional.
45448 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45449 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45450 include <kernel-features.h>.
45451 [!__NR_ftruncate64]: Remove conditional code.
45452 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45453 [__NR_ftruncate64]: Make code unconditional.
45454 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45456 include <kernel-features.h>.
45457 [!__NR_ftruncate64]: Remove conditional code.
45458 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45459 [__NR_ftruncate64]: Make code unconditional.
45460 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45462 include <kernel-features.h>.
45463 [!__NR_ftruncate64]: Remove conditional code.
45464 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45465 [__NR_ftruncate64]: Make code unconditional.
45466 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45467
45468 * configure.in (libc_cv_fpie): Weaken to a compile test using
45469 LIBC_TRY_CC_OPTION.
45470 * configure: Regenerated.
45471
45472 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45473
45474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45478 Refreshed.
45479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45485 Refreshed.
45486
45487 2012-05-27 David S. Miller <davem@davemloft.net>
45488
45489 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45490 (___Q_zero): New.
45491 (__Q_simulate_exceptions): Return void. Change to simulate
45492 exceptions by writing into the %fsr.
45493 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45494 (__Qp_handle_exceptions): Likewise.
45495 (numbers): Delete.
45496 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45497 __Qp_handle_exceptions.
45498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45499 __Qp_handle_exceptions.
45500 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45501 as unused and give dummy FP_RND_NEAREST initializer.
45502 (FP_INHIBIT_RESULTS): Define.
45503 (___Q_simulate_exceptions): Update declaration.
45504 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45505 formatting.
45506 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45507 as unused and give dummy FP_RND_NEAREST initializer.
45508 (__Qp_handle_exceptions): Update declaration.
45509 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45510 formatting.
45511
45512 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45513
45514 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45515 the temporary FPU control word.
45516 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45517 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45518 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45519 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45520 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45521 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45522 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45523 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45524 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45525 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45526 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45527
45528 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45529
45530 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45531 fields.
45532
45533 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45534
45535 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45536 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45537 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45538 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45539 Likewise.
45540 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45541 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45542 Likewise.
45543
45544 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45545
45546 * po/h.po: Update from translation team.
45547
45548 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45549
45550 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45551
45552 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45553 handling of denormals.
45554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45555 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45556 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45557 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45561 Likewise.
45562
45563 2012-05-26 Marek Polacek <polacek@redhat.com>
45564
45565 [BZ #14152]
45566 * math/libm-test.inc (fma_test): Don't always expect underflow
45567 exception.
45568
45569 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45570
45571 [BZ #12416]
45572 * elf/tst-execstack.c: Include stackinfo.h.
45573 (do_test): Adjust test case to ensure that pthread_getattr_np
45574 behaviour remains the same after marking stack executable.
45575
45576 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45577
45578 * sysdeps/unix/sysv/linux/kernel-features.h
45579 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45580 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45581 kernel-features.h.
45582 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45583 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45584 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45585 kernel-features.h.
45586 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45587 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45588
45589 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45590
45591 * configure.in: Define the default includes to being none.
45592 * configure: Regenerated.
45593
45594 2012-05-25 Roland McGrath <roland@hack.frob.com>
45595
45596 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45597 * sysdeps/x86_64/setjmp.S: Likewise.
45598 * sysdeps/i386/bsd-setjmp.S: Likewise.
45599 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45600 * sysdeps/i386/setjmp.S: Likewise.
45601 * sysdeps/i386/__longjmp.S: Likewise.
45602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45603 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45604
45605 * include/stap-probe.h: New file.
45606 * configure.in: Handle --enable-systemtap.
45607 * configure: Regenerated.
45608 * config.h.in (USE_STAP_PROBE): New #undef.
45609 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45610 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45611 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45612
45613 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45614
45615 [BZ #13717]
45616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45617 to 2.4.0 where earlier.
45618 * sysdeps/unix/sysv/linux/configure: Regenerated.
45619 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45620 <kernel-features.h>.
45621 [__ASSUME_32BITUIDS]: Make code unconditional.
45622 [!__ASSUME_32BITUIDS]: Remove conditional code.
45623 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45624 <kernel-features.h>.
45625 [__ASSUME_32BITUIDS]: Make code unconditional.
45626 [!__ASSUME_32BITUIDS]: Remove conditional code.
45627 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45628 [__ASSUME_32BITUIDS]: Make code unconditional.
45629 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45630 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
45667 <kernel-features.h>.
45668 [__ASSUME_32BITUIDS]: Make code unconditional.
45669 [!__ASSUME_32BITUIDS]: Remove conditional code.
45670 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45671 <kernel-features.h>.
45672 [__NR_setresgid] (__setresgid): Do not declare.
45673 [__ASSUME_32BITUIDS]: Make code unconditional.
45674 [!__ASSUME_32BITUIDS]: Remove conditional code.
45675 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45676 <kernel-features.h>.
45677 [__NR_setresuid] (__setresuid): Do not declare.
45678 [__ASSUME_32BITUIDS]: Make code unconditional.
45679 [!__ASSUME_32BITUIDS]: Remove conditional code.
45680 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45681 <kernel-features.h>.
45682 [__ASSUME_32BITUIDS]: Make code unconditional.
45683 [!__ASSUME_32BITUIDS]: Remove conditional code.
45684 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45685 <kernel-features.h>.
45686 [__ASSUME_32BITUIDS]: Make code unconditional.
45687 [!__ASSUME_32BITUIDS]: Remove conditional code.
45688 * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
45697 <kernel-features.h>.
45698 [__ASSUME_32BITUIDS]: Make code unconditional.
45699 [!__ASSUME_32BITUIDS]: Remove conditional code.
45700 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45701 <kernel-features.h>.
45702 [__ASSUME_32BITUIDS]: Make code unconditional.
45703 [!__ASSUME_32BITUIDS]: Remove conditional code.
45704 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45705 <kernel-features.h>.
45706 [__ASSUME_32BITUIDS]: Make code unconditional.
45707 [!__ASSUME_32BITUIDS]: Remove conditional code.
45708 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45709 <kernel-features.h>.
45710 [__ASSUME_32BITUIDS]: Make code unconditional.
45711 [!__ASSUME_32BITUIDS]: Remove conditional code.
45712 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45713 <kernel-features.h>.
45714 [__ASSUME_32BITUIDS]: Make code unconditional.
45715 [!__ASSUME_32BITUIDS]: Remove conditional code.
45716 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45717 <kernel-features.h>.
45718 [__ASSUME_32BITUIDS]: Make code unconditional.
45719 [!__ASSUME_32BITUIDS]: Remove conditional code.
45720 * sysdeps/unix/sysv/linux/kernel-features.h
45721 (__ASSUME_SETRESUID_SYSCALL): Remove.
45722 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45723 (__ASSUME_32BITUIDS): Likewise.
45724 (__ASSUME_LDT_WORKS): Likewise.
45725 (__ASSUME_O_DIRECTORY): Likewise.
45726 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45727 architecture but not kernel version.
45728 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45729 (__ASSUME_MMAP2_SYSCALL): Likewise.
45730 (__ASSUME_STAT64_SYSCALL): Likewise.
45731 (__ASSUME_IPC64): Likewise.
45732 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45733 <kernel-features.h>.
45734 [__ASSUME_32BITUIDS]: Make code unconditional.
45735 [!__ASSUME_32BITUIDS]: Remove conditional code.
45736 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45737 <kernel-features.h>.
45738 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45739 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45740 132096]: Remove conditional code.
45741 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45742 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45743 <kernel-features.h>.
45744 [__ASSUME_32BITUIDS]: Make code unconditional.
45745 [!__ASSUME_32BITUIDS]: Remove conditional code.
45746 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45747 <kernel-features.h>.
45748 [__ASSUME_32BITUIDS]: Make code unconditional.
45749 [!__ASSUME_32BITUIDS]: Remove conditional code.
45750 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45751 <kernel-features.h>.
45752 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45753 unconditional.
45754 (__setresgid): Do not declare.
45755 [__ASSUME_32BITUIDS]: Make code unconditional.
45756 [!__ASSUME_32BITUIDS]: Remove conditional code.
45757 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45758 <kernel-features.h>.
45759 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45760 unconditional.
45761 (__setresuid): Do not declare.
45762 [__ASSUME_32BITUIDS]: Make code unconditional.
45763 [!__ASSUME_32BITUIDS]: Remove conditional code.
45764 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45765 <kernel-features.h>.
45766 [__ASSUME_32BITUIDS]: Make code unconditional.
45767 [!__ASSUME_32BITUIDS]: Remove conditional code.
45768 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45769 <kernel-features.h>.
45770 [__ASSUME_32BITUIDS]: Make code unconditional.
45771 [!__ASSUME_32BITUIDS]: Remove conditional code.
45772
45773 2012-05-25 Richard Henderson <rth@twiddle.net>
45774
45775 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45776 dl_hwcap to ifunc resolver.
45777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45778 elf_ifunc_invoke.
45779 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45780 dl_hwcap to ifunc resolver.
45781 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45782
45783 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45784
45785 [BZ #14153]
45786 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45787 for |x| <= 2**-26, not 2**-57.
45788 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45789 exception.
45790
45791 2012-05-24 Jeff Law <law@redhat.com>
45792
45793 * stdio-common/Makefile (tests): Add bug25.
45794 * stdio-common/bug25.c: New test.
45795
45796 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45797
45798 [BZ #13576]
45799 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45800 multiple of MALLOC_ALIGNMENT in size.
45801 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45802
45803 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45804
45805 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45806 Require >= 256.
45807 (FILENAME_MAX): Use macro-int-constant.
45808 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45809 (_IOFBF): Use macro-int-constant.
45810 (_IOLBF): Likewise.
45811 (_IONBF): Likewise.
45812 (SEEK_CUR): Likewise.
45813 (SEEK_END): Likewise.
45814 (SEEK_SET): Likewise.
45815 (TMP_MAX): Likewise.
45816 (EOF): Use macro-int-constant. Require < 0.
45817 (NULL): Use macro-constant. Require == 0.
45818 (stdin): Require type to be FILE *.
45819 (stdout): Likewise.
45820 (stderr): Likewise.
45821 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45822 macro-int-constant.
45823 (EXIT_SUCCESS): Likewise.
45824 (NULL): Use macro-constant. Require == 0.
45825 (RAND_MAX): Use macro-int-constant.
45826 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45827 [C99-based standards] (strtof): Require function.
45828 [C99-based standards] (strtold): Likewise.
45829 [C99-based standards] (strtoll): Likewise.
45830 [C99-based standards] (strtoull): Likewise.
45831 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45832 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45833 [ISO || ISO99 || ISO11] (math.h): Likewise.
45834 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45835 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45837
45838 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45839
45840 [BZ #14132]
45841 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45842 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45843 * intl/dgettext.c (DCGETTEXT): Likewise.
45844 * intl/gettext.c (DCGETTEXT): Likewise.
45845 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45846 * posix/regex_internal.h (gettext): Likewise.
45847 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45848 Remove declaration.
45849 * include/argz.h (__argz_count_internal)
45850 (__argz_stringify_internal): Remove declaration.
45851 (__argz_count, __argz_stringify): Declare hidden proto.
45852 * intl/dcgettext.c: Remove use of INTDEF.
45853 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45854 * string/argz-stringify.c: Likewise.
45855 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45856 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45857 Declare hidden proto.
45858 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45859 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45860 Declare hidden proto.
45861 * include/stdio.h (__asprintf_internal): Don't declare.
45862 (__asprintf): Don't define as macro. Declare hidden proto.
45863 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45864 (__fsetlocking): Declare hidden proto.
45865 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45866 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45867 hidden proto.
45868 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45869 (_IO_setlinebuf): Remove use of INTUSE.
45870 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45871 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45872 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45873 Remove declaration.
45874 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45875 (_IO_do_flush): Remove use of INTUSE.
45876 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45877 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45878 (_IO_adjust_column, _IO_least_wmarker)
45879 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45880 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45881 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45882 (_IO_default_doallocate, _IO_wdefault_doallocate)
45883 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45884 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45885 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45886 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45887 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45888 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45889 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45890 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45891 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45892 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45893 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45894 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45895 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45896 proto.
45897 (_IO_flush_all_internal, _IO_adjust_column_internal)
45898 (_IO_default_uflow_internal, _IO_default_finish_internal)
45899 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45900 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45901 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45902 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45903 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45904 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45905 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45906 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45907 (_IO_file_close_internal, _IO_file_close_it_internal)
45908 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45909 (_IO_file_init_internal, _IO_file_attach_internal)
45910 (_IO_file_fopen_internal, _IO_file_read_internal)
45911 (_IO_file_sync_internal, _IO_file_seek_internal)
45912 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45913 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45914 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45915 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45916 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45917 (_IO_list_all_internal, _IO_link_in_internal)
45918 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45919 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45920 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45921 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45922 (_IO_do_write_internal, _IO_padn_internal)
45923 (_IO_getline_info_internal, _IO_getline_internal)
45924 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45925 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45926 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45927 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45928 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45929 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45930 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45931 with libc_hidden_ver, remove use of INTUSE.
45932 * libio/genops.c: Likewise.
45933 * libio/freopen.c: Likewise.
45934 * libio/freopen64.c: Likewise.
45935 * libio/iofclose.c: Likewise.
45936 * libio/iofdopen.c: Likewise.
45937 * libio/iofflush.c: Likewise.
45938 * libio/iofflush_u.c: Likewise.
45939 * libio/iofgets.c: Likewise.
45940 * libio/iofgets_u.c: Likewise.
45941 * libio/iofopen.c: Likewise.
45942 * libio/iofopncook.c: Likewise.
45943 * libio/iofread.c: Likewise.
45944 * libio/iofread_u.c: Likewise.
45945 * libio/ioftell.c: Likewise.
45946 * libio/iofwrite.c: Likewise.
45947 * libio/iogetline.c: Likewise.
45948 * libio/iogets.c: Likewise.
45949 * libio/iogetwline.c: Likewise.
45950 * libio/iopadn.c: Likewise.
45951 * libio/iopopen.c: Likewise.
45952 * libio/ioseekoff.c: Likewise.
45953 * libio/ioseekpos.c: Likewise.
45954 * libio/iosetbuffer.c: Likewise.
45955 * libio/iosetvbuf.c: Likewise.
45956 * libio/ioungetc.c: Likewise.
45957 * libio/ioungetwc.c: Likewise.
45958 * libio/iovdprintf.c: Likewise.
45959 * libio/iovsprintf.c: Likewise.
45960 * libio/iovsscanf.c: Likewise.
45961 * libio/memstream.c: Likewise.
45962 * libio/obprintf.c: Likewise.
45963 * libio/oldfileops.c: Likewise.
45964 * libio/oldiofclose.c: Likewise.
45965 * libio/oldiofdopen.c: Likewise.
45966 * libio/oldiofopen.c: Likewise.
45967 * libio/oldiopopen.c: Likewise.
45968 * libio/oldstdfiles.c: Likewise.
45969 * libio/putc.c: Likewise.
45970 * libio/setbuf.c: Likewise.
45971 * libio/setlinebuf.c: Likewise.
45972 * libio/stdfiles.c: Likewise.
45973 * libio/strops.c: Likewise.
45974 * libio/vasprintf.c: Likewise.
45975 * libio/vscanf.c: Likewise.
45976 * libio/vsnprintf.c: Likewise.
45977 * libio/vswprintf.c: Likewise.
45978 * libio/wfiledoalloc.c: Likewise.
45979 * libio/wfileops.c: Likewise.
45980 * libio/wgenops.c: Likewise.
45981 * libio/wmemstream.c: Likewise.
45982 * libio/wstrops.c: Likewise.
45983 * libio/__fpurge.c: Likewise.
45984 * libio/__fsetlocking.c: Likewise.
45985 * assert/assert.c: Likewise.
45986 * debug/fgets_chk.c: Likewise.
45987 * debug/fgets_u_chk.c: Likewise.
45988 * debug/fread_chk.c: Likewise.
45989 * debug/fread_u_chk.c: Likewise.
45990 * debug/gets_chk.c: Likewise.
45991 * debug/obprintf_chk.c: Likewise.
45992 * debug/vasprintf_chk.c: Likewise.
45993 * debug/vdprintf_chk.c: Likewise.
45994 * debug/vsnprintf_chk.c: Likewise.
45995 * debug/vsprintf_chk.c: Likewise.
45996 * malloc/mtrace.c: Likewise.
45997 * misc/error.c: Likewise.
45998 * misc/syslog.c: Likewise.
45999 * stdio-common/asprintf.c: Likewise.
46000 * stdio-common/fxprintf.c: Likewise.
46001 * stdio-common/getw.c: Likewise.
46002 * stdio-common/isoc99_fscanf.c: Likewise.
46003 * stdio-common/isoc99_scanf.c: Likewise.
46004 * stdio-common/isoc99_vfscanf.c: Likewise.
46005 * stdio-common/isoc99_vscanf.c: Likewise.
46006 * stdio-common/isoc99_vsscanf.c: Likewise.
46007 * stdio-common/printf-prs.c: Likewise.
46008 * stdio-common/printf_fp.c: Likewise.
46009 * stdio-common/printf_fphex.c: Likewise.
46010 * stdio-common/printf_size.c: Likewise.
46011 * stdio-common/putw.c: Likewise.
46012 * stdio-common/scanf.c: Likewise.
46013 * stdio-common/sprintf.c: Likewise.
46014 * stdio-common/tmpfile.c: Likewise.
46015 * stdio-common/vfprintf.c: Likewise.
46016 * stdio-common/vfscanf.c: Likewise.
46017 * stdlib/strfmon_l.c: Likewise.
46018 * sunrpc/openchild.c: Likewise.
46019 * sunrpc/xdr_stdio.c: Likewise.
46020 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46021 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46022
46023 2012-05-24 Roland McGrath <roland@hack.frob.com>
46024
46025 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46026
46027 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46028 in the third column, to generate for the shared library an IFUNC
46029 that uses _dl_vdso_vsym.
46030 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46031 * Makeconfig (object-suffixes-noshared): New variable.
46032
46033 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46034 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46035 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46036 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46037
46038 [BZ #14132]
46039 * include/sys/time.h (__gettimeofday): Remove macro.
46040 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46041 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46042 Remove INTDEF.
46043 (__gettimeofday): Add libc_hidden_def.
46044 (gettimeofday): Add libc_hidden_weak.
46045 * sysdeps/mach/gettimeofday.c: Likewise.
46046 * sysdeps/posix/gettimeofday.c: Likewise.
46047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46048 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46049 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46050 (__gettimeofday_internal): Remove strong_alias.
46051 (__gettimeofday): Add libc_hidden_def.
46052 (gettimeofday): Add libc_hidden_weak.
46053 * sysdeps/unix/syscalls.list (gettimeofday):
46054 Remove __gettimeofday_internal alias.
46055
46056 2012-05-24 Daniel Jacobowitz <drow@false.org>
46057 H.J. Lu <hongjiu.lu@intel.com>
46058
46059 [BZ #12495]
46060 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46061 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46062 (largebin_index_32_big): New.
46063 (largebin_index): Use it for 16-byte alignment.
46064 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46065 correction with front_misalign.
46066
46067 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46068
46069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46071 Likewise.
46072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46073 Likewise.
46074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46075 Likewise.
46076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46077 Likewise.
46078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46079 Likewise.
46080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46081 Likewise.
46082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46083 Likewise.
46084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46085 Likewise.
46086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46087 Likewise.
46088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46089 Likewise.
46090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46091 Likewise.
46092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46093 Likewise.
46094
46095 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46096 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46097
46098 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46099
46100 [BZ #10846]
46101 [BZ #14036]
46102 * math/libm-test.inc (exp_test): Add test from bug 14036.
46103 (pow_test): Add test from bug 10846.
46104
46105 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46106 and other flags.
46107 (special_function): Do not include flags in test name.
46108 (parse_args): Likewise.
46109 * sysdeps/i386/fpu/libm-test-ulps: Update.
46110 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46111 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46112 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46114
46115 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46116 exceptions.
46117 * math/libm-test.inc ("Philosophy"): Update comment about
46118 exception testing.
46119 (UNDERFLOW_EXCEPTION): New macro.
46120 (UNDERFLOW_EXCEPTION_OK): Likewise.
46121 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46122 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46123 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46124 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46125 (INVALID_EXCEPTION_OK): Update value.
46126 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46127 (OVERFLOW_EXCEPTION_OK): Likewise.
46128 (IGNORE_ZERO_INF_SIGN): Likewise.
46129 (test_exceptions): Handle underflow exceptions.
46130 (acos_test): Update for underflow exception expectations.
46131 (cexp_test): Likewise.
46132 (clog_test): Likewise.
46133 (clog10_test): Likewise.
46134 (csqrt_test): Likewise.
46135 (ctan_test): Likewise.
46136 (ctanh_test): Likewise.
46137 (exp_test): Likewise.
46138 (exp10_test): Likewise.
46139 (exp2_test): Likewise.
46140 (expm1_test): Likewise.
46141 (fma_test): Likewise.
46142 (j0_test): Likewise.
46143 (jn_test): Likewise.
46144 (nexttoward_test): Likewise.
46145 (pow_test): Likewise.
46146 (scalbn_test): Likewise.
46147 (scalbln_test): Likewise.
46148 (tan_test): Likewise.
46149 (y1_test): Likewise.
46150 * sysdeps/i386/fpu/libm-test-ulps: Update.
46151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46152
46153 2012-05-23 David S. Miller <davem@davemloft.net>
46154
46155 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46156 (__libc_sigaction): Remove unused local variables.
46157
46158 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46159
46160 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46161
46162 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46163
46164 mktime: avoid signed integer overflow
46165 * time/mktime.c (__mktime_internal): Do not mishandle the case
46166 where diff == INT_MIN.
46167
46168 mktime: simplify computation of average
46169 * time/mktime.c (ranged_convert): Use new time_t_avg function
46170 instead of rolling our own (probably-slower) code.
46171
46172 mktime: do not assume signed right shift propagates sign bit
46173 * time/mktime.c (isdst_differ): New static function.
46174 (__mktime_internal): No need to normalize tm_isdst now.
46175 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46176 tm_isdst values.
46177
46178 mktime: merge another wrapv change from gnulib
46179 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46180 from some compilers.
46181
46182 mktime: remove incorrect attempt at unusual arithmetics
46183 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46184 The code didn't really work on such machines anyway.
46185 (TYPE_MINIMUM): Assume two's complement.
46186 (twos_complement_arithmetic): Verify that long_int and time_t
46187 are two's complement (or unsigned, in the latter case).
46188
46189 mktime: check signed shifts on long_int and time_t, too
46190 * time/mktime.c (SHR): Check that shifts work as desired
46191 on the types long_int and time_t too, as SHR is used on
46192 such types.
46193
46194 mktime: do not assume 'long' is wide enough
46195 * time/mktime.c (verify): Move decl up.
46196 (long_int): New type.
46197 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46198 to remove assumption in the code that 'long' is wide enough to
46199 store year values. This assumption is not true on x32 and on
46200 some non-glibc platforms.
46201
46202 mktime: merge wrapv change from gnulib
46203 * time/mktime.c (WRAPV): New macro.
46204 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46205 (guess_time_tm, __mktime_internal): Do not assume that signed
46206 integer overflow wraps around; modern compilers generate code
46207 where this assumption is no longer valid.
46208
46209 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46210
46211 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46212 Replace "jmp L(pseudo_end)" with "ret".
46213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46214 Likewise.
46215
46216 2012-05-23 Andreas Jaeger <aj@suse.de>
46217
46218 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46219 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46220
46221 2012-05-23 Andreas Jaeger <aj@suse.de>
46222 Maximilian Attems <max@stro.at>
46223
46224 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46225 New macros.
46226
46227 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46228
46229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46230 code so that pseudo_end is just ret and the stack pointer is
46231 correct also for static library in error case.
46232
46233 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46234
46235 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46236 move to syscalls.list.
46237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46241
46242 * manual/install.texi (Running make install): Do not mention Linux
46243 kernel version for which pt_chown is not needed.
46244 (Linux): Do not mention problems with nscd with 2.0 kernels.
46245 * INSTALL: Regenerated.
46246
46247 2012-05-23 Andreas Jaeger <aj@suse.de>
46248
46249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46250 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46251 macro.
46252 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46253 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46254 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46255 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46256 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46257 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46259 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46261 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46262 * sysdeps/unix/sysv/linux/bits/in.h
46263 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46264
46265 2012-05-22 Roland McGrath <roland@hack.frob.com>
46266
46267 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46268 (PREPARE_VERSION): Just use assert instead, it will be elided
46269 under [NDEBUG] anyway.
46270
46271 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46272
46273 * sysdeps/unix/sysv/linux/Makefile: Include
46274 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46275 (sysdep_routines): Remove sysctl.
46276 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46277 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46278 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46279 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46280 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46281
46282 2012-05-22 Andreas Jaeger <aj@suse.de>
46283
46284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46285 that pseudo_end is just ret and the stack pointer is correct also
46286 for static library in error case.
46287
46288 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46289
46290 [BZ #14122]
46291 * nss/nsswitch.c (defconfig_entries): New variable.
46292 (__nss_database_lookup): Don't leak defconfig entries.
46293 (nss_parse_service_list): Don't leak on error paths.
46294 (free_database_entries): New function.
46295 (free_defconfig): New function.
46296 (free_mem): Move common code to free_database_entries.
46297
46298 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46299
46300 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46301 Add arch_prctl.
46302 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46303
46304 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46305 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46307 New macro.
46308 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46309 (INTERNAL_SYSCALL_TYPES): Likewise.
46310 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46311 (LOAD_REGS_TYPES_[1-6]): Likewise.
46312 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46313 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46314
46315 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46316
46317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46318 copysignl for GLIBC_2_0.
46319 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46320 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46322 logbl for GLIBC_2_0.
46323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46324 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46325
46326 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46327
46328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46330
46331 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46332 Use "neg %eax".
46333
46334 * time/mktime.c: Update copyright years.
46335
46336 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46337
46338 mktime: merge comment-quoting-style change from gnulib
46339 * time/mktime.c: Quote 'like this' in comments.
46340 The GNU coding standards suggest that we no longer quote `like this',
46341 as "`" and "'" are typically rendered asymmetrically nowadays.
46342 The typical gnulib style is to quote 'like this' when quoting
46343 code, and "like this" when quoting English.
46344
46345 * time/mktime.c (compile-command): Add "-I.".
46346
46347 mktime: merge mktime-internal.h change from gnulib
46348 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46349
46350 mktime: merge time_r change from gnulib
46351 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46352
46353 mktime: merge DEBUG change from gnulib
46354 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46355 case system <time.h> has a #define.
46356
46357 mktime: merge <sys/types.h> change from gnulib
46358 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46359 since <time.t> is now guaranteed to define time_t.
46360
46361 mktime: merge HAVE_CONFIG_H change from gnulib
46362 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46363
46364 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46365
46366 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46367 Use "neg %eax".
46368
46369 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46370 __rlim_t cast.
46371 (struct rusage): Use anonymous union to pad each field to
46372 __syscall_slong_t.
46373
46374 2012-05-21 David S. Miller <davem@davemloft.net>
46375
46376 * Makefules (o-iterator): Remove .s cases.
46377 (compile-command.s): Delete.
46378 (COMPILE.s): Delete.
46379 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46380
46381 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46382
46383 * configure.in (libc_cv_predef_stack_protector): Only consider
46384 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46385 * configure: Regenerated.
46386
46387 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46388
46389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46390 New macro. Use R*LP on int and pointer.
46391 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46392 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46393 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46394 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46395
46396 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46397 [__WORDSIZE_TIME64_COMPAT32] instead of
46398 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46399 (struct utmp): Likewise.
46400 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46401 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46402 Renamed to ...
46403 (__WORDSIZE_TIME64_COMPAT32): This.
46404 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46405 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46406 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46407 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46408 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46409 (__WORDSIZE_TIME64_COMPAT32): New macro.
46410
46411 2012-05-21 Andreas Jaeger <aj@suse.de>
46412
46413 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46414 only if [SHARED]. Add prototype for __wcschr_ia32.
46415
46416 2012-05-21 Roland McGrath <roland@hack.frob.com>
46417
46418 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46419 of %rbp unmolested in the jmp_buf while mangling the low bits.
46420 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46421 unmolested high bits of %rbp while demangling the low bits.
46422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46423
46424 2012-05-21 Andreas Jaeger <aj@suse.de>
46425
46426 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46427 * sunrpc/svc_simple.c: Use it for registerrpc.
46428 * sunrpc/xcrypt.c: Use it for passwd2des.
46429
46430 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46431
46432 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46433
46434 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46435 Don't define if [__SYSCALL_WORDSIZE != 32].
46436 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46437 New macro.
46438
46439 2012-05-21 Bruno Haible <bruno@clisp.org>
46440 Andreas Jaeger <aj@suse.de>
46441
46442 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46443 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46444 inptr and inend for must_buffer_ch.
46445 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46446 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46447 * stdio-common/Makefile (tests): Remove bug15.
46448 (bug15-ENV): Remove macro.
46449 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46450 anymore.
46451
46452 2012-05-19 Andreas Jaeger <aj@suse.de>
46453 Roland McGrath <roland@hack.frob.com>
46454
46455 * manual/contrib.texi: Completely rewritten. It contains now an
46456 alphabetical list of contributors and their contributions.
46457
46458 2012-05-21 Richard Henderson <rth@twiddle.net>
46459
46460 * misc/getauxval.c (__getauxval): Use unsigned long int.
46461 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46462 (getauxval): Use unsigned long int.
46463
46464 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46465
46466 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46467
46468 2012-05-21 Roland McGrath <roland@hack.frob.com>
46469
46470 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46471 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46472 __alignof__ (long double).
46473
46474 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46475
46476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46477
46478 2012-05-20 Richard Henderson <rth@twiddle.net>
46479
46480 * misc/getauxval.c: New file.
46481 * misc/sys/auxv.h: New file.
46482 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46483 (routines): Add getauxval.
46484 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46485 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46486 * elf/dl-sysdep.c (_dl_auxv): Remove.
46487 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46488 * elf/dl-support.c (_dl_auxv): New variable.
46489 (_dl_aux_init): Initialize it.
46490 * manual/startup.texi (Auxiliary Vector): New node.
46491 * sysdeps/generic/bits/hwcap.h: New file.
46492 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46493 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46494 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46495 * sysdeps/sparc/sysdep.h: ... here. Include it.
46496 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46497 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46499 Update.
46500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46508
46509 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46510
46511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46512
46513 2012-05-19 David S. Miller <davem@davemloft.net>
46514
46515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46516
46517 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46518
46519 [BZ #14123]
46520 * math/s_ccosh.c: Include <float.h>
46521 (__ccosh): Avoid internal overflow calculating sinh and cosh
46522 values before multiplying by sin and cos values.
46523 * math/s_ccoshf.c: Likewise.
46524 * math/s_ccoshl.c: Likewise.
46525 * math/s_csin.c: Likewise.
46526 * math/s_csinf.c: Likewise.
46527 * math/s_csinl.c: Likewise.
46528 * math/s_csinh.c: Likewise.
46529 * math/s_csinhf.c: Likewise.
46530 * math/s_csinhl.c: Likewise.
46531 * math/libm-test.inc (ccos_test): Add more tests.
46532 (ccosh_test): Likewise.
46533 (csin_test): Likewise.
46534 (csinh_test): Likewise.
46535 * sysdeps/i386/fpu/libm-test-ulps: Update.
46536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46537
46538 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46539
46540 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46541 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46542
46543 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46544
46545 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46546
46547 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46548 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46549 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46550 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46551 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46552 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46553 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46554 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46555 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46556 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46557 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46558 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46559 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46560 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46561 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46562 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46563 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46564 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46565 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46566 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46567 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46568 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46569 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46570 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46571 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46572 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46573 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46574 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46575 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46576 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46577 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46578
46579 2012-05-18 Andreas Jaeger <aj@suse.de>
46580
46581 * csu/.gitignore: Delete.
46582
46583 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46586 (timex): Use __syscall_slong_t.
46587
46588 2012-05-18 Andreas Jaeger <aj@suse.de>
46589 Carlos O'Donell <carlos_odonell@mentor.com>
46590
46591 * manual/install.texi (Configuring and compiling): Update
46592 description about files modified in the source directory.
46593 * INSTALL: Regenerated.
46594
46595 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46596
46597 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46598 value. Use "or" to set return value to -1.
46599 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46600 negate return value.
46601
46602 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46603
46604 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46605 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46606 failure if the compiler has Graphite support disabled.
46607 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46608 Likewise.
46609 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46610 (CFLAGS-memmove.c): Likewise.
46611 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46612 Likewise.
46613
46614 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46615
46616 * sysdeps/x86_64/x32/_itoa.h: New file.
46617
46618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46619 getdents system call only if kernel and user dirents have the
46620 same d_ino and d_off.
46621
46622 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46623 LLONG_MAX != LONG_MAX.
46624 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46625 (_fitoa_word): Likewise.
46626
46627 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46628 years.
46629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46630 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46632
46633 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46634 include <bits/wordsize.h>. Check __x86_64__ instead of
46635 __WORDSIZE.
46636 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46637 if __x86_64__ is defined. Use anonymous union on fpstate.
46638
46639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46640 anonymous union.
46641
46642 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46643
46644 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46645 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46646 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46647 Refer to _rtld_local_ro instead of _rtld_global_ro.
46648 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46649 Likewise.
46650 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46651 Likewise.
46652 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46653 Likewise.
46654 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46655 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46656 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46657
46658 * sysdeps/powerpc/powerpc32/dl-machine.c
46659 (__elf_machine_runtime_setup) [PROF]: Don't reference
46660 _dl_prof_resolve.
46661
46662 2012-05-18 Andreas Jaeger <aj@suse.de>
46663
46664 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46665 function only available for GCCs before 3.4 since GCC 3.4
46666 introduced a builtin.
46667 (lrint): Likewise.
46668 (llrintf): Likewise.
46669 (llrint): Likewise.
46670 (fmaxf): Likewise.
46671 (fmax): Likewise.
46672 (fminf): Likewise.
46673 (fmin): Likewise.
46674 (rint): Likewise.
46675 (rintf): Likewise.
46676 (nearbyint): Likewise.
46677 (nearbyintf): Likewise.
46678 (ceil): Likewise.
46679 (ceilf): Likewise.
46680 (floor): Likewise.
46681 (floorf): Likewise.
46682
46683 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46684
46685 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46686 on both fields and cast pointer to __syscall_ulong_t.
46687
46688 * bits/types.h (__fsword_t): New type.
46689 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46690 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46692 (__FSWORD_T_TYPE): Likewise.
46693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46694 (__FSWORD_T_TYPE): Likewise.
46695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46696 (__FSWORD_T_TYPE): Likewise.
46697 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46698 (__FSWORD_T_TYPE): Likewise.
46699 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46700 __SWORD_TYPE with __fsword_t.
46701 (statfs64): Likewise.
46702
46703 2012-05-17 David S. Miller <davem@davemloft.net>
46704
46705 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46706
46707 2012-05-17 Andreas Jaeger <aj@suse.de>
46708
46709 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46710 warning.
46711
46712 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46713
46714 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46715
46716 2012-05-17 Andreas Jaeger <aj@suse.de>
46717
46718 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46719 when it is used.
46720
46721 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46722
46723 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46724
46725 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46726
46727 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46728 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46729
46730 2012-05-17 Andreas Jaeger <aj@suse.de>
46731 Carlos O'Donell <carlos_odonell@mentor.com>
46732
46733 [BZ #14059]
46734 * sysdeps/x86_64/multiarch/init-arch.h
46735 (bit_YMM_Usable): Rename to...
46736 (bit_AVX_Usable): ... this.
46737 (bit_FMA4_Usable): New macro.
46738 (bit_XMM_state): New macro.
46739 (bit_YMM_state): New macro.
46740 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46741 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46742 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46743 (CPUID_OSXSAVE): New macro.
46744 (CPUID_AVX): New macro.
46745 (CPUID_FMA4): New macro.
46746 (index_YMM_Usable): Rename to...
46747 (index_AVX_Usable): ... this.
46748 (HAS_AVX): Use HAS_ARCH_FEATURE.
46749 (HAS_FMA4): Likewise.
46750 (HAS_YMM_USABLE): Remove.
46751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46752 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46753 are present.
46754 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46755 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46756 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46757 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46758 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46759
46760 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46761
46762 * math/libm-test.c: Support platforms without multiple rounding modes.
46763 * math/bug-nextafter.c: Support platforms without FP exceptions.
46764 * math/bug-nexttoward.c: Likewise.
46765 * math/test-fenv.c: Likewise.
46766 * math/test-misc.c: Likewise.
46767 * stdlib/bug-getcontext.c: Likewise.
46768
46769 2012-05-17 Andreas Jaeger <aj@suse.de>
46770
46771 * manual/examples/search.c (critter_cmp): Change signature to
46772 avoid warnings.
46773 * manual/string.texi (Collation Functions): Likewise.
46774
46775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46776
46777 * bits/types.h: Fold copyright years.
46778 * bits/typesizes.h: Likewise.
46779 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46783 * time/time.h: Likewise.
46784
46785 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46786
46787 [BZ #208]
46788 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46789 in instead of returning them. Return void.
46790 (__libc_mallinfo): Accumulate over all arenas.
46791 (__malloc_stats): Adjust for change in int_mallinfo interface.
46792
46793 2012-05-16 Roland McGrath <roland@hack.frob.com>
46794
46795 [BZ #10375]
46796 * configure.in (NM): Add AC_CHECK_TOOL for it.
46797 (libc_extra_cflags): New substituted variable.
46798 Check for -fstack-protector being used implicitly.
46799 * configure: Regenerated.
46800 * config.make.in (config-extra-cflags): New variable,
46801 gets @libc_extra_cflags@.
46802 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46803
46804 [BZ #10375]
46805 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46806 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46807 * configure: Regenerated.
46808 * config.make.in (CPPUNDEFS): New substituted variable.
46809 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46810 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46811 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46812
46813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46814
46815 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46816 (mq_attr): Use __syscall_slong_t.
46817
46818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46819
46820 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46821 Check __x86_64__ instead of __WORDSIZE.
46822 (_STAT_VER_LINUX): Likewise.
46823 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46824 __syscall_ulong_t and __syscall_slong_t.
46825 (stat64): Likewise.
46826
46827 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46828
46829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46830
46831 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46832
46833 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46834
46835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46836
46837 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46838 __syscall_ulong_t.
46839
46840 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46841 include <bits/wordsize.h>. Check __x86_64__ instead of
46842 __WORDSIZE.
46843 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46844 defined.
46845 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46846
46847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46848 include <bits/wordsize.h>. Check __x86_64__ instead of
46849 __WORDSIZE.
46850 (user_regs_struct): Use "__extension__ unsigned long long"
46851 instead of "unsigned long" if __x86_64__ is defined.
46852 (user): Likewise. Pad after pointer field if __ILP32__ is
46853 defined.
46854
46855 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46856
46857 * configure.in (makeinfo): Require version 4.5 or later. Allow
46858 versions 5 to 9.
46859 * configure: Regenerated.
46860 * manual/install.texi (texinfo): Increase version requirement to
46861 4.5 or later.
46862 * INSTALL: Regenerated.
46863
46864 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46865
46866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46867
46868 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46869
46870 * sysdeps/x86_64/x32/ffs.c: New file.
46871
46872 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46873 __syscall_ulong_t.
46874 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46875 defined. Use __syscall_ulong_t.
46876 (shminfo): Use __syscall_ulong_t.
46877 (shm_info): Likewise.
46878
46879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46880 __syscall_ulong_t.
46881
46882 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46883 <bits/wordsize.h>.
46884 (msgqnum_t): Use __syscall_ulong_t.
46885 (msglen_t): Likewise.
46886 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46887 __syscall_ulong_t.
46888
46889 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46890 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46891
46892 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46893
46894 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46895 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46896
46897 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46898 __syscall_slong_t.
46899
46900 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46901 include <bits/wordsize.h>. Check __x86_64__ instead of
46902 __WORDSIZE.
46903
46904 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46905 "unsigned long long int" if __x86_64__ is defined.
46906 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46907
46908 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46909 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46910 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46911
46912 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46913 <stdint.h>.
46914 (GET_PC): Cast to uintptr_t first.
46915 (GET_FRAME): Likewise.
46916 (GET_STACK): Likewise.
46917
46918 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46920 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46922 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46924 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46925 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46926 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46927 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46929 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46930 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46931 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46933 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46935 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46937 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46939 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46941 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46945 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46946 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46947
46948 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46949
46950 * Makerules (+depfiles): Also collect depfiles from .oS in
46951 $(extra-objs).
46952 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46953 .oS, $(libnldbl-routines)).
46954
46955 * Makerules (native-compile-mkdep-flags): Define.
46956 * sunrpc/Makefile (extra-objs): Add $(addprefix
46957 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46958 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46959 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46960 calling $(make-target-directory).
46961
46962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46963
46964 * bits/types.h (__snseconds_t): Removed.
46965 * time/time.h (struct timespec): Replace __snseconds_t with
46966 __syscall_slong_t.
46967 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46968 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46969 Likewise.
46970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46971 (__SNSECONDS_T_TYPE): Likewise.
46972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46973 (__SNSECONDS_T_TYPE): Likewise.
46974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46975 (__SNSECONDS_T_TYPE): Likewise.
46976
46977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46978
46979 * sysdeps/mach/hurd/bits/typesizes.h
46980 (__SYSCALL_SLONG_TYPE): New macro.
46981 (__SYSCALL_ULONG_TYPE): Likewise.
46982
46983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46984
46985 * bits/types.h (__syscall_slong_t): New type.
46986 (__syscall_ulong_t): Likewise.
46987
46988 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46989 (__SYSCALL_ULONG_TYPE): Likewise.
46990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46991 (__SYSCALL_SLONG_TYPE): Likewise.
46992 (__SYSCALL_ULONG_TYPE): Likewise.
46993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46994 (__SYSCALL_SLONG_TYPE): Likewise.
46995 (__SYSCALL_ULONG_TYPE): Likewise.
46996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46997 (__SYSCALL_SLONG_TYPE): Likewise.
46998 (__SYSCALL_ULONG_TYPE): Likewise.
46999
47000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47001
47002 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47003 Add sigaltstack-offsets.sym.
47004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47005 <sigaltstack-offsets.h>.
47006 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47007 longjmp_msg pointer.
47008 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47009 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47010 signal stack.
47011 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47012
47013 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47014
47015 * elf/stackguard-macros.h: Remove file.
47016 * sysdeps/generic/stackguard-macros.h: New file.
47017 * sysdeps/i386/stackguard-macros.h: Likewise.
47018 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47019 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47020 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47021 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47022 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47023 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47024 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47025 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47026 <elf/stackguard-macros.h>.
47027
47028 [BZ #14109]
47029 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47030 __aligned__ in attribute.
47031 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47032 (gregset_t): Likewise.
47033
47034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47035
47036 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47037 * sysdeps/x86_64/64/Implies-after: Here. New file.
47038 * sysdeps/x86_64/x32/Implies-after: New file.
47039
47040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47041
47042 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47043 and access return value for _dl_profile_fixup. Use R10_LP to
47044 load frame size.
47045
47046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47047
47048 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47049
47050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47051
47052 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47053 * sysdeps/x86_64/x32/sysdep.h: New file.
47054
47055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47056
47057 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47058 * sysdeps/x86_64/setjmp.S: Likewise.
47059
47060 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47061
47062 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47064 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47065 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47066 remove unused global constant.
47067
47068 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47069
47070 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47071 include of <not-cancel.h>.
47072
47073 2012-05-15 Roland McGrath <roland@hack.frob.com>
47074
47075 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47076
47077 2012-05-15 Jeff Law <law@redhat.com>
47078 Andreas Jaeger <aj@suse.de>
47079
47080 [BZ #13594]
47081 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47082 out from...
47083 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47084 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47086 code changing __hst_map_handle.map.
47087
47088 2012-05-15 Roland McGrath <roland@hack.frob.com>
47089
47090 * configure.in (sysnames): Look for Implies-before and Implies-after
47091 files.
47092 * configure: Regenerated.
47093
47094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47095
47096 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47097 8-byte data alignment with LP_SIZE alignment.
47098
47099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47100
47101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47102 into R10_LP.
47103
47104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47105
47106 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47107
47108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47109
47110 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47111 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47112 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47113 Likewise.
47114 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47115
47116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47117
47118 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47119 (stackinfo_sub_sp): Likewise.
47120
47121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47122
47123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47124 RAX_LP.
47125
47126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47127
47128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47129 into R*_LP.
47130
47131 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47132
47133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47134 sizes into R*_LP.
47135
47136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47137
47138 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47139
47140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47141
47142 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47143 into R11_LP and load __x86_64_shared_cache_size_half into
47144 R8_LP.
47145
47146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47147
47148 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47149 R8_LP.
47150
47151 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47152
47153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47154 logb for POWER7.
47155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47156 logbf for POWER7.
47157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47158 logbl for POWER7.
47159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47160 powerpc32/power7/fpu/s_logb.c via #include.
47161 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47162 powerpc32/power7/fpu/s_logbf.c via #include.
47163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47164 powerpc32/power7/fpu/s_logbl.c via #include.
47165
47166 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47167
47168 * README.libm: Remove file.
47169
47170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47171
47172 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47173 count for x32. Use R*_LP and omit operand-size suffix.
47174
47175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47176
47177 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47178 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47179 * sysdeps/x86_64/x32/shlib-versions: New file.
47180
47181 2012-05-14 Roland McGrath <roland@hack.frob.com>
47182
47183 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47184 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47185 Use _dl_fatal_printf instead.
47186
47187 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47188
47189 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47190 set if not set by the user. Do not allow for being unset.
47191 * sysdeps/unix/sysv/linux/configure: Regenerated.
47192
47193 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47194
47195 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47196 the `q' suffix from lea and replace .quad with ASM_ADDR.
47197
47198 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47199
47200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47201 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47202 instead of $17.
47203 (PTR_DEMANGLE): Likewise.
47204
47205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47206
47207 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47208 (LP_OP): Likewise.
47209 (ASM_ADDR): Likewise.
47210 (RAX_LP): Likewise.
47211 (RBP_LP): Likewise.
47212 (RBX_LP): Likewise.
47213 (RCX_LP): Likewise.
47214 (RDI_LP): Likewise.
47215 (RSI_LP): Likewise.
47216 (RSP_LP): Likewise.
47217 (R8_LP): Likewise.
47218 (R9_LP): Likewise.
47219 (R10_LP): Likewise.
47220 (R10_LP): Likewise.
47221 (R11_LP): Likewise.
47222 (R12_LP): Likewise.
47223 (R13_LP): Likewise.
47224 (R14_LP): Likewise.
47225 (R15_LP): Likewise.
47226
47227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47228
47229 * sysdeps/x86_64/x32/dl-machine.h: New file.
47230
47231 2012-05-14 Andreas Jaeger <aj@suse.de>
47232
47233 * manual/Makefile (subdir): Remove export of subdir.
47234 (all): Remove target.
47235 (.PHONY): Remove all from list.
47236 (mkinstalldirs): Remove.
47237 (.PHONY): Remove installdirs from list.
47238 ($(inst_infodir)/libc.info): Use make-target-directory.
47239 (installdirs): Remove.
47240 (subdir_%): Remove.
47241 (glibc-targets): Remove.
47242 (lib): Remove.
47243 (stubs): Remove.
47244 ($(objpfx)stubs ../po/manual.pot): Remove.
47245 ($(objpfx)stamp%): Remove.
47246 (make-target-directory): Remove.
47247 (subdir_install): Remove.
47248 (routines): Remove.
47249 (aux): Remove.
47250 (sources): Remove.
47251 (objects): Remove.
47252 (headers): Remove.
47253
47254 [BZ #13750]
47255 * manual/.gitignore: Remove, it's not needed anymore.
47256 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47257 all files in it.
47258 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47259 directory.
47260 (texis): Renamed to $(objpfx)texis.
47261 (texis-path): New, contains path to generated files.
47262 (chapters.%): Use texis-path for complete path, add extra argument
47263 libc-texinfo.sh.
47264 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47265 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47266 (summary,texi, stamp-summary): Use complete path of
47267 files. Generate files in build dir.
47268 (dir-add.texi): Build in build dir.
47269 (libm-err.texi,stamp-libm-err): Likewise.
47270 (version.texi, stamp-version): Likewise.
47271 (.%c.texi): Likewise.
47272 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47273 (mostlyclean): Remove target.
47274 (realclean): Remove target.
47275 (generated): Add new variable with contents from mostlyclean and
47276 realclean, remove entries duplicated in common-mostlyclean, add
47277 stamp-libm-err and stamp-version.
47278 (generated-dirs): Add libc directory.
47279 ($(inst_infodir)/libc.info): Install files from build dir.
47280
47281 * manual/install.texi (Configuring and compiling): Adjust since
47282 the info files are not part of the tar ball anymore.
47283
47284 2012-05-14 Andreas Jaeger <aj@suse.de>
47285
47286 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47287 variable.
47288
47289 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47290
47291 [BZ #13717]
47292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47293 to 2.2.0 where earlier.
47294 * sysdeps/unix/sysv/linux/configure: Regenerated.
47295 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47296 Remove conditional code.
47297 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47298 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47299 Remove conditional code.
47300 [!__NR_lchown]: Likewise.
47301 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47302 [__NR_lchown]: Likewise.
47303 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47304 comment referencing __ASSUME_LCHOWN_SYSCALL.
47305 * sysdeps/unix/sysv/linux/i386/sigaction.c
47306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47308 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47309 Remove conditional code.
47310 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47311 (__protocol_available): Remove #if 0 code.
47312 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47313 conditional code.
47314 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47315 * sysdeps/unix/sysv/linux/kernel-features.h
47316 (__ASSUME_GETCWD_SYSCALL): Don't define.
47317 (__ASSUME_REALTIME_SIGNALS): Likewise.
47318 (__ASSUME_PREAD_SYSCALL): Likewise.
47319 (__ASSUME_PWRITE_SYSCALL): Likewise.
47320 (__ASSUME_POLL_SYSCALL): Likewise.
47321 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47322 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47323 non-SPARC.
47324 (__ASSUME_SIOCGIFNAME): Don't define.
47325 (__ASSUME_MSG_NOSIGNAL): Likewise.
47326 (__ASSUME_SENDFILE): Define unconditionally.
47327 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47328 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47329 conditional code.
47330 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47331 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47332 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47333 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47334 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47335 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47336 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47338 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47341 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47347 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47350 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47353 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47356 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47361 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47362 Remove conditional code.
47363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47364 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47365 Remove conditional code.
47366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47367 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47368 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47369 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47370 Remove conditional code.
47371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47372 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47373 Remove conditional code.
47374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47375 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47376 Remove conditional code.
47377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47378 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47379 Remove conditional code.
47380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47381 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47382 Remove conditional code.
47383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47384 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47387 * sysdeps/unix/sysv/linux/sigaction.c
47388 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47389 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47390 * sysdeps/unix/sysv/linux/sigpending.c
47391 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47392 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47393 * sysdeps/unix/sysv/linux/sigprocmask.c
47394 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47395 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47396 * sysdeps/unix/sysv/linux/sigsuspend.c
47397 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47398 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47399 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47400 (__libc_missing_rt_sigs): Remove.
47401 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47402 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47403 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47404 Remove conditional code.
47405 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47406 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47407 return 1.
47408 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47409 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47410 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47411 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47412
47413 2012-05-14 Andreas Jaeger <aj@suse.de>
47414
47415 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47416 it's not used in glibc.
47417 (__coshm1): Likewise.
47418 (__acosh1p): Likewise.
47419 (__sgn): Likewise.
47420
47421 * manual/string.texi (Copying and Concatenation): Add missing
47422 variable in concat example.
47423 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47424
47425 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47426
47427 [BZ #14103]
47428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47429 __builtin_clzl with __builtin_clzll.
47430
47431 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47432
47433 [BZ #14104]
47434 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47435 libc_freeres_ptr.
47436
47437 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47438
47439 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47440 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47441 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47442 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47443
47444 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47445
47446 * NEWS: Update ia64 info.
47447
47448 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47449
47450 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47451 used as bcopy.
47452
47453 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47454
47455 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47456 * sysdeps/unix/syscalls.list (dup3): Likewise.
47457 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47458 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47459
47460 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47461
47462 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47463 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47464
47465 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47466
47467 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47468 thread pointer.
47469 (TLS_IE): Use mov/add instead of movq/addq to load thread
47470 pointer.
47471 (TLS_GD_PREFIX): New.
47472 (TLS_GD): Use it.
47473
47474 2012-05-11 David S. Miller <davem@davemloft.net>
47475
47476 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47477 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47478 (_FPU_SETCW): Likewise.
47479
47480 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47481
47482 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47483 is 32-byte aligned.
47484
47485 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47486
47487 [BZ #11837]
47488 * iconvdata/gb18030.c: Update tables.
47489 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47490 characters specially.
47491 (BODY for TO_LOOP): Add encoding of missing ranges.
47492
47493 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47494
47495 [BZ #13673]
47496 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47497 * sysdeps/mach/hurd/dup3.c: Likewise.
47498 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47499 * sysdeps/powerpc/memmove.c:: Likewise.
47500
47501 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47502
47503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47504 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47505
47506 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47507
47508 * elf/elf.h (R_X86_64_RELATIVE64): New.
47509 (R_X86_64_NUM): Updated.
47510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47511 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47512 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47513 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47514 tst-quad1pie tst-quad2pie
47515 (modules-names): Add tst-quadmod1 tst-quadmod2.
47516 ($(objpfx)tst-quad1): New dependency.
47517 ($(objpfx)tst-quad2): Likewise.
47518 ($(objpfx)tst-quad1pie): Likewise.
47519 ($(objpfx)tst-quad2pie): Likewise.
47520 * sysdeps/x86_64/tst-quad1.c: New file.
47521 * sysdeps/x86_64/tst-quad1pie.c: New file.
47522 * sysdeps/x86_64/tst-quad2.c: Likewise.
47523 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47524 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47525 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47526 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47527 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47528
47529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47530
47531 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47532 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47533 * streams/stropts.h (t_scalar_t): Define type.
47534
47535 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47536 (_PATH_PRESERVE): Set to "/var/lib".
47537 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47538
47539 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47540 instead of int.
47541
47542 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47543 if __dir_mkfile succeeded.
47544
47545 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47546 checking for _hurd_dtablesize. Unlock it right after having
47547 finished _hurd_dtable allocation.
47548
47549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47550
47551 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47552 * sysdeps/mach/hurd/configure: Regenerated.
47553 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47554 special-casing to...
47555 * sysdeps/gnu/configure.in: ... this new file.
47556 * sysdeps/unix/sysv/linux/configure: Regenerated.
47557 * sysdeps/gnu/configure: New generated file.
47558
47559 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47560 for Linux: use nsec instead of usec, as well as:
47561 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47562 members of type struct timespec.
47563 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47564 New macros.
47565 (struct stat64): Likewise.
47566 (_STATBUF_ST_NSEC): New macro.
47567 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47568
47569 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47570 __strtoul_internal rather than strtoul.
47571
47572 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47573
47574 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47575 and reject them.
47576
47577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47578
47579 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47580 which preserves existing values.
47581 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47582
47583 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47584
47585 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47586 TIMEOUT values. Return EINVAL for NFDS values either negative or
47587 greater than FD_SETSIZE.
47588
47589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47590
47591 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47592 allocated, call __vm_protect to finish enabling the existing space, and
47593 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47594 allocate the remainder.
47595
47596 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47597
47598 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47599 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47600
47601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47602
47603 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47604 sysdeps/mach/hurd/readlink.c.
47605
47606 * posix/tst-sysconf.c (posix_options): Only use
47607 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47608 _POSIX_SYNCHRONIZED_IO when they are defined
47609 * sysdeps/mach/hurd/bits/posix_opt.h:
47610 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47611 (_XOPEN_REALTIME): Undefine macro.
47612 (_XOPEN_REALTIME_THREADS): Undefine macro.
47613 (_XOPEN_SHM): Undefine macro.
47614 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47615 macro to -1.
47616 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47617 macro to -1.
47618 (_POSIX_ASYNC_IO): Undefine macro.
47619 (_POSIX_PRIORITIZED_IO): Undefine macro.
47620 (_POSIX_SPIN_LOCKS): Define macro to -1.
47621
47622 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47623 SA_NODEFER, SA_RESETHAND.
47624 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47625 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47626 F_DUPFD_CLOEXEC.
47627
47628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47629
47630 * elf/Makefile (pldd-modules): Define unconditionally.
47631
47632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47633
47634 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47635
47636 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47637
47638 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47639 Return ENOENT when name is empty.
47640 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47641
47642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47643
47644 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47645
47646 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47647
47648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47649
47650 Fix mlock in all cases except non-readable pages.
47651 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47652 instead of VM_PROT_ALL as parameter to __vm_wire function.
47653
47654 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47655 (__mkdir): When path is `/', just fail with EEXIST.
47656 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47657
47658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47659
47660 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47661 <sys/uio.h> (for writev).
47662 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47663 and <sys/param.h> (for MIN).
47664
47665 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47666
47667 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47668 REQUESTED_TIME. Properly set the remaining time and return EINTR
47669 if interrupted.
47670
47671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47672
47673 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47674 Depend on against $(link-rpcuserlibs).
47675
47676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47677
47678 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47679 (__libc_stack_end): Do not use attribute_relro.
47680 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47681 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47682 to libthread-provided value.
47683 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47684 attribute_relro.
47685
47686 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47687
47688 [BZ #3748]
47689 * bits/libc-lock.h (__libc_once_get): New macro.
47690 * sysdeps/mach/bits/libc-lock.h: Likewise.
47691 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47692 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47693 instead of using implementation details.
47694
47695 * libio/fileops.c: Unconditionally include <kernel-features.h>.
47696 * libio/freopen.c: Likewise.
47697 * libio/freopen64.c: Likewise.
47698 * misc/syslog.c: Likewise.
47699 * nscd/connections.c: Likewise.
47700 * nscd/netgroupcache.c: Likewise.
47701 * sysdeps/posix/getcwd.c: Likewise.
47702
47703 2012-05-10 Roland McGrath <roland@hack.frob.com>
47704
47705 * math/w_ilogbf.c: Add #include <limits.h>.
47706
47707 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47708
47709 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47710 path instead of returning without unlocking.
47711
47712 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47713 immediate-write ioctls.
47714 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47715
47716 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47717
47718 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47719 __builtin_frame_address instead of making assumptions about the
47720 location of the return address relative to DATA. Force early load of
47721 the return address.
47722 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47723 __builtin_frame_address.
47724
47725 dup3 for GNU Hurd.
47726 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47727 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47728 implement dup3 and do some further code clean-ups.
47729 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47730 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47731
47732 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47733
47734 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47735
47736 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47737 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47738 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47739 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47740 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47741 d->port.lock.
47742
47743 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47744 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47745 when handler == SIG_ERR, not when handler != SIG_ERR.
47746
47747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47748
47749 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47750 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47751 definitions.
47752
47753 accept4 for GNU Hurd.
47754 * include/sys/socket.h (__libc_accept4): New prototype.
47755 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47756 to implement __libc_accept4.
47757 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47758 __libc_accept4.
47759 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47760
47761 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47762 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47763 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47764 signal-defines.sym.
47765
47766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47767
47768 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47769
47770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47771
47772 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47773 assertion on O_CLOEXEC flag.
47774 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47775 * hurd/intern-fd.c: Likewise.
47776 * hurd/port2fd.c: Likewise.
47777
47778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47779
47780 [BZ #3906]
47781 * bits/in.h (IPV6_PKTINFO): Define new macro.
47782 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47783
47784 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47785
47786 [BZ #13954]
47787 [BZ #13955]
47788 [BZ #13956]
47789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47790 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47791 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47792 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47794 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47795 * math/libm-test.inc (logb_test) : Additional logb tests.
47796
47797 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47798 Andreas Jaeger <aj@suse.de>
47799
47800 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47801 * configure: Regenerated.
47802 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47803 * config.make.in (link-obsolete-rpc): New substituted variable.
47804 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47805 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47806 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47807 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47808 so that libc.a contains the symbols.
47809 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47810 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47811 * sunrpc/auth_none.c: Likewise.
47812 * sunrpc/auth_unix.c: Likewise.
47813 * sunrpc/authdes_prot.c: Likewise.
47814 * sunrpc/authuxprot.c: Likewise.
47815 * sunrpc/clnt_gen.c: Likewise.
47816 * sunrpc/clnt_perr.c: Likewise.
47817 * sunrpc/clnt_raw.c: Likewise.
47818 * sunrpc/clnt_simp.c: Likewise.
47819 * sunrpc/clnt_tcp.c: Likewise.
47820 * sunrpc/clnt_udp.c: Likewise.
47821 * sunrpc/clnt_unix.c: Likewise.
47822 * sunrpc/des_crypt.c: Likewise.
47823 * sunrpc/des_soft.c: Likewise.
47824 * sunrpc/get_myaddr.c: Likewise.
47825 * sunrpc/key_call.c: Likewise.
47826 * sunrpc/key_prot.c: Likewise.
47827 * sunrpc/netname.c: Likewise.
47828 * sunrpc/pm_getmaps.c: Likewise.
47829 * sunrpc/pm_getport.c: Likewise.
47830 * sunrpc/pmap_clnt.c: Likewise.
47831 * sunrpc/pmap_prot.c: Likewise.
47832 * sunrpc/pmap_prot2.c: Likewise.
47833 * sunrpc/pmap_rmt.c: Likewise.
47834 * sunrpc/publickey.c: Likewise.
47835 * sunrpc/rpc_cmsg.c: Likewise.
47836 * sunrpc/rpc_common.c: Likewise.
47837 * sunrpc/rpc_dtable.c: Likewise.
47838 * sunrpc/rpc_prot.c: Likewise.
47839 * sunrpc/rpc_thread.c: Likewise.
47840 * sunrpc/rtime.c: Likewise.
47841 * sunrpc/svc.c: Likewise.
47842 * sunrpc/svc_auth.c: Likewise.
47843 * sunrpc/svc_raw.c: Likewise.
47844 * sunrpc/svc_run.c: Likewise.
47845 * sunrpc/svc_tcp.c: Likewise.
47846 * sunrpc/svc_udp.c: Likewise.
47847 * sunrpc/svc_unix.c: Likewise.
47848 * sunrpc/svcauth_des.c: Likewise.
47849 * sunrpc/xcrypt.c: Likewise.
47850 * sunrpc/xdr.c: Likewise.
47851 * sunrpc/xdr_array.c: Likewise.
47852 * sunrpc/xdr_float.c: Likewise.
47853 * sunrpc/xdr_intXX_t.c: Likewise.
47854 * sunrpc/xdr_mem.c: Likewise.
47855 * sunrpc/xdr_rec.c: Likewise.
47856 * sunrpc/xdr_ref.c: Likewise.
47857 * sunrpc/xdr_sizeof.c: Likewise.
47858 * sunrpc/xdr_stdio.c: Likewise.
47859
47860 2012-05-10 Roland McGrath <roland@hack.frob.com>
47861
47862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47863 change. Update copyright years.
47864
47865 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47866
47867 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47868
47869 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47870 Joseph Myers <joseph@codesourcery.com>
47871 Paul Pluzhnikov <ppluzhnikov@google.com>
47872
47873 [BZ #14012]
47874 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47875 requiring rpcgen.
47876 [cross-compiling] (extra-libs): Likewise.
47877 [cross-compiling] (extra-libs-others): Likewise.
47878 [cross-compiling] (librpcsvc-routines): Likewise.
47879 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47880 [cross-compiling] (omit-deps): Likewise.
47881 (sunrpc-CPPFLAGS): New variable.
47882 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47883 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47884 (cross-rpcgen-objs): New variable.
47885 (extra-objs): Append $(cross-rpcgen-objs).
47886 ($(cross-rpcgen-objs)): New rule.
47887 ($(objpfx)cross-rpcgen): Likewise.
47888 (rpcgen-cmd): Define to use $(built-program-file). Expand
47889 comment.
47890 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47891 ($(objpfx)x%.stmp): Likewise.
47892 * sunrpc/proto.h [IS_IN_build] (_): Define.
47893 [IS_IN_build] (_libc_intl_domainname): Likewise.
47894
47895 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47896
47897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47898 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47899 and R_X86_64_TPOFF64.
47900
47901 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47902
47903 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47904 sysdeps/unix/sysv/syscalls.list.
47905 (stime): Likewise.
47906 (utime): Likewise.
47907 * sysdeps/unix/sysv/syscalls.list: Remove file.
47908
47909 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47910
47911 [BZ #3440]
47912 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47913 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47914 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47915 (__LC_IDENTIFICATION): Make these macros useful in #if
47916 expressions, as required by C99.
47917
47918 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47919
47920 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47921 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47922 after this.
47923
47924 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47925
47926 * stdlib/longlong.h: Updated from GCC.
47927
47928 2012-05-09 Andreas Jaeger <aj@suse.de>
47929
47930 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47931 default is first entry.
47932 (run_mode): Set type.
47933 (main): Remove informal message about syslog.
47934 (options): Fix typo.
47935
47936 [BZ #14053]
47937 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47938 to asm.
47939 (lrint): Likewise.
47940 (llrintf): Likewise.
47941 (llrint): Likewise.
47942 (rint): Likewise.
47943 (rintf): Likewise.
47944 (nearbyint): Likewise.
47945 (nearbyintf): Likewise.
47946
47947 2012-05-09 Andreas Jaeger <aj@suse.de>
47948 Pedro Alves <palves@redhat.com>
47949
47950 * nscd/nscd.c (run_mode): Use enum.
47951 (main): Cleanup coding style issue.
47952
47953 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47954 Andreas Jaeger <aj@suse.de>
47955
47956 * nscd/nscd.c (go_background): Replaced with...
47957 (run_mode): ... this.
47958 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47959 (options): Add -F --foreground.
47960 (main): Implement it.
47961 (parse_opt): Parse it.
47962
47963 2012-05-09 Andreas Jaeger <aj@suse.de>
47964
47965 [BZ #14083]
47966 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47967 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47968 -Wconversion warning.
47969 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47970 Likewise.
47971
47972 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47973
47974 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47975 == 0.
47976 (LC_ALL): Use macro-int-constant.
47977 (LC_COLLATE): Likewise.
47978 (LC_CTYPE): Likewise.
47979 (LC_MESSAGES): Likewise.
47980 (LC_MONETARY): Likewise.
47981 (LC_NUMERIC): Likewise.
47982 (LC_TIME): Likewise.
47983 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47984 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47986 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47987 Specify type.
47988 [C99-based standards] (float_t): Expect type.
47989 [C99-based standards] (double_t): Expect type.
47990 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47991 type.
47992 [C99-based standards] (HUGE_VALL): Likewise.
47993 [C99-based standards] (INFINITY): Likewise.
47994 [C99-based standards] (NAN): Likewise.
47995 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47996 [C99-based standards] (FP_NAN): Likewise.
47997 [C99-based standards] (FP_NORMAL): Likewise.
47998 [C99-based standards] (FP_SUBNORMAL): Likewise.
47999 [C99-based standards] (FP_ZERO): Likewise.
48000 [C99-based standards] (FP_FAST_FMA): Use
48001 optional-macro-int-constant. Specify type. Require == 1.
48002 [C99-based standards] (FP_FAST_FMAF): Likewise.
48003 [C99-based standards] (FP_FAST_FMAL): Likewise.
48004 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48005 [C99-based standards] (FP_ILOGBNAN): Likewise.
48006 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48007 Specify type.
48008 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48009 [C99-based standards] (math_errhandling): Specify type.
48010 [ISO99 || ISO11] (signgam): Do not allow.
48011 [non-C99-based standards] (copysignf): Do not allow.
48012 [non-C99-based standards] (exp2f): Likewise.
48013 [non-C99-based standards] (log2f): Likewise.
48014 [non-C99-based standards] (modff): Allow.
48015 [non-C99-based standards] (erff): Do not allow.
48016 [non-C99-based standards] (erfcf): Likewise.
48017 [non-C99-based standards] (gammaf): Likewise.
48018 [non-C99-based standards] (hypotf): Likewise.
48019 [non-C99-based standards] (j0f): Likewise.
48020 [non-C99-based standards] (j1f): Likewise.
48021 [non-C99-based standards] (jnf): Likewise.
48022 [non-C99-based standards] (lgammaf): Likewise.
48023 [non-C99-based standards] (tgammaf): Likewise.
48024 [non-C99-based standards] (y0f): Likewise.
48025 [non-C99-based standards] (y1f): Likewise.
48026 [non-C99-based standards] (ynf): Likewise.
48027 [non-C99-based standards] (isnanf): Likewise.
48028 [non-C99-based standards] (acoshf): Likewise.
48029 [non-C99-based standards] (asinhf): Likewise.
48030 [non-C99-based standards] (atanhf): Likewise.
48031 [non-C99-based standards] (cbrtf): Likewise.
48032 [non-C99-based standards] (expm1f): Likewise.
48033 [non-C99-based standards] (ilogbf): Likewise.
48034 [non-C99-based standards] (log1pf): Likewise.
48035 [non-C99-based standards] (logbf): Likewise.
48036 [non-C99-based standards] (nextafterf): Likewise.
48037 [non-C99-based standards] (remainderf): Likewise.
48038 [non-C99-based standards] (rintf): Likewise.
48039 [non-C99-based standards] (scalbf): Likewise.
48040 [non-C99-based standards] (copysignl): Likewise.
48041 [non-C99-based standards] (exp2l): Likewise.
48042 [non-C99-based standards] (log2l): Likewise.
48043 [non-C99-based standards] (modfl): Allow.
48044 [non-C99-based standards] (erfl): Do not allow.
48045 [non-C99-based standards] (erfcl): Likewise.
48046 [non-C99-based standards] (gammal): Likewise.
48047 [non-C99-based standards] (hypotl): Likewise.
48048 [non-C99-based standards] (j0l): Likewise.
48049 [non-C99-based standards] (j1l): Likewise.
48050 [non-C99-based standards] (jnl): Likewise.
48051 [non-C99-based standards] (lgammal): Likewise.
48052 [non-C99-based standards] (tgammal): Likewise.
48053 [non-C99-based standards] (y0l): Likewise.
48054 [non-C99-based standards] (y1l): Likewise.
48055 [non-C99-based standards] (ynl): Likewise.
48056 [non-C99-based standards] (isnanl): Likewise.
48057 [non-C99-based standards] (acoshl): Likewise.
48058 [non-C99-based standards] (asinhl): Likewise.
48059 [non-C99-based standards] (atanhl): Likewise.
48060 [non-C99-based standards] (cbrtl): Likewise.
48061 [non-C99-based standards] (expm1l): Likewise.
48062 [non-C99-based standards] (ilogbl): Likewise.
48063 [non-C99-based standards] (log1pl): Likewise.
48064 [non-C99-based standards] (logbl): Likewise.
48065 [non-C99-based standards] (nextafterl): Likewise.
48066 [non-C99-based standards] (remainderl): Likewise.
48067 [non-C99-based standards] (rintl): Likewise.
48068 [non-C99-based standards] (scalbl): Likewise.
48069 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48070 [non-C99-based standards] (FP_*): Do not allow.
48071 [C99-based standards] (FP_*): Change to
48072 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48073 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48074 allow.
48075 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48076 (SIG_ERR): Likewise.
48077 [X/Open-based standards] (SIG_HOLD): Likewise.
48078 (SIG_IGN): Likewise.
48079 (SIGABRT): Use macro-int-constant. Specify type. Require
48080 positive value.
48081 (SIGFPE): Likewise.
48082 (SIGILL): Likewise.
48083 (SIGINT): Likewise.
48084 (SIGSEGV): Likewise.
48085 (SIGTER): Likewise.
48086 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48087 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48088 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48089 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48090 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48091 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48092 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48093 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48094 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48095 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48096 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48097 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48098 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48099 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48100 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48101 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48102 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48103 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48104 [X/Open-based standards] (SIGTRAP): Likewise.
48105 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48106 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48107 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48108 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48109 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48110 allow.
48111
48112 2012-05-08 Ian Wienand <ianw@vmware.com>
48113
48114 [BZ #14080]
48115 * time/tzset.c (__tzset_parse_tz): Update default rules for
48116 daylight time changes in the Energy Policy Act of 2005.
48117
48118 2012-05-09 Andreas Jaeger <aj@suse.de>
48119
48120 [BZ #13983]
48121 * elf/ldconfig.c (parse_conf): Change string to make clear that
48122 ldconfig only issued a warning if ld.so.conf does not exist.
48123
48124 2012-05-08 David S. Miller <davem@davemloft.net>
48125
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48127 movxtod instead of popping the value on the stack.
48128
48129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48130
48131 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48132
48133 * config.h.in: Add HAVE_ARM_PCS_VFP.
48134
48135 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48136
48137 [BZ #13979]
48138 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48139 checking but the checks are disabled for any reason.
48140
48141 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48142
48143 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48144 and ELF64_R_TYPE with ELFW(R_TYPE).
48145
48146 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48147
48148 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48149 (ulimit): Likewise.
48150
48151 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48152 (settimeofday): Likewise.
48153
48154 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48155
48156 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48157 a struct th_u2 inside the union, and move tu_block/tu_code into
48158 a new th_u3 union of tu_block/tu_code inside of that. Move
48159 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48160 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48161 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48162 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48163 (th_stuff): Change to th_u1.tu_stuff.
48164 (th_data): Define.
48165 (th_msg): Change to th_u1.th_u2.tu_data.
48166
48167 2012-05-07 David S. Miller <davem@davemloft.net>
48168
48169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48170
48171 [BZ #14074]
48172 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48173 (SETUP_PIC_REG): Use it.
48174 (SETUP_PIC_REG_LEAF): Use it.
48175
48176 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48177
48178 [BZ #13885]
48179 [BZ #13923]
48180 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48181 USE_AS_EXPM1L.
48182 (EXPL_FINITE): Likewise.
48183 (FLDLOG): Likewise.
48184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48185 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48186 e_expl.S.
48187 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48188 USE_AS_EXPM1L.
48189 (EXPL_FINITE): Likewise.
48190 (FLDLOG): Likewise.
48191 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48192 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48193 e_expl.S.
48194 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48195 test of -max_value argument for long double.
48196 * sysdeps/i386/fpu/libm-test-ulps: Update.
48197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48198
48199 2012-05-06 David S. Miller <davem@davemloft.net>
48200
48201 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48202 quad soft-float symbols whose references which are compiler
48203 generated.
48204 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48205
48206 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48207
48208 [BZ #13884]
48209 [BZ #13914]
48210 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48211 USE_AS_EXP10L.
48212 (EXPL_FINITE): Likewise.
48213 (FLDLOG): Likewise.
48214 (c0): Likewise.
48215 (c1): Likewise.
48216 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48217 Adjust comments for base varying.
48218 (__expl_finite): Change alias to EXPL_FINITE.
48219 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48220 e_expl.S.
48221 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48222 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48224 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48226 USE_AS_EXP10L.
48227 (EXPL_FINITE): Likewise.
48228 (FLDLOG): Likewise.
48229 (c0): Likewise.
48230 (c1): Likewise.
48231 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48232 Adjust comments for base varying.
48233 (__expl_finite): Change alias to EXPL_FINITE.
48234 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48235 tests for bugs.
48236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48237
48238 [BZ #14064]
48239 * math/libm-test.inc (check_float_internal): Correct ulp
48240 calculation for subnormal expected results.
48241
48242 2012-05-06 Andreas Jaeger <aj@suse.de>
48243
48244 * Makeconfig (+math-flags): New, set to -frounding-math.
48245 (+cflags): Add +math-flags so that all of glibc gets compiled with
48246 it.
48247
48248 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48249
48250 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48251
48252 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48253 Disable one test.
48254
48255 [BZ #13787]
48256 [BZ #13922]
48257 [BZ #14036]
48258 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48259 (__ieee754_expl): Allow for and saturate large arguments.
48260 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48261 (u_threshold): Likewise.
48262 (__exp): Call __ieee754_exp before checking for overflow and
48263 underflow.
48264 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48265 (u_threshold): Likewise.
48266 (__expf): Call __ieee754_expf before checking for overflow and
48267 underflow.
48268 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48269 (u_threshold): Likewise.
48270 (__expl): Call __ieee754_expl before checking for overflow and
48271 underflow.
48272 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48273 (__ieee754_expl): Allow for and saturate large arguments.
48274 * math/libm-test.inc (exp_test): Add another test. Do not allow
48275 missing overflow exception on overflow.
48276 (expm1_test): Do not allow missing overflow exception on overflow.
48277
48278 * sysdeps/i386/fpu/e_expl.c: Move to ...
48279 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48280 rather than using inline asm.
48281 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48282 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48283 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48284
48285 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48286 (nice): Likewise.
48287 (poll): Likewise.
48288 (signal): Likewise.
48289 (time): Likewise.
48290 (times): Likewise.
48291
48292 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48293
48294 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48295 sysdeps/unix/common/syscalls.list.
48296 (fchmod): Likewise.
48297 (fchown): Likewise.
48298 (ftruncate): Likewise.
48299 (getrusage): Likewise.
48300 (gettimeofday): Likewise.
48301 (setpgid): Likewise.
48302 (setregid): Likewise.
48303 (setreuid): Likewise.
48304 (sigaction): Likewise.
48305 (truncate): Likewise.
48306 (vhangup): Likewise.
48307 * sysdeps/unix/common/syscalls.list: Remove file.
48308 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48309 * sysdeps/unix/sysv/linux/Implies: Likewise.
48310
48311 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48312
48313 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48315 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48316 Moved to ...
48317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48318 Here.
48319 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48320 to ...
48321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48322 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48323 to ...
48324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48325 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48326 to ...
48327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48328 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48329 to ...
48330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48331 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48332 to ...
48333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48334 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48335 to ...
48336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48337 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48338 to ...
48339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48340 Here.
48341 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48342 to ...
48343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48344 Here.
48345 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48346 to ...
48347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48348 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48349 Moved to ...
48350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48351 Here.
48352 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48353 to ...
48354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48355
48356 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48357
48358 * sysdeps/unix/common/bits/dirent.h: Remove file.
48359 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48360
48361 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48362 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48363 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48364 * sysdeps/unix/bsd/isatty.c: Likewise.
48365 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48366 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48367 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48368
48369 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48370
48371 [BZ #13563]
48372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48373 long double comparison inaccuracies.
48374 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48376
48377 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48378
48379 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48380 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48381
48382 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48383
48384 [BZ #14049]
48385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48386 nonzero digits before rounding a hex value.
48387 * stdlib/tst-strtod.c (tests): Add another test.
48388
48389 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48390
48391 * sysdeps/s390/fpu/libm-test-ulps: Update.
48392
48393 2012-05-03 Andreas Jaeger <aj@suse.de>
48394
48395 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48396 does not get optimized out.
48397 (malloc_opt_barrier): New.
48398
48399 2012-05-03 Andreas Jaeger <aj@suse.de>
48400 Roland McGrath <roland@hack.frob.com>
48401
48402 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48403 intermediate file deletion.
48404 (generated): Add .symlist files.
48405
48406 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48407
48408 [BZ #13775]
48409 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48410 Redirect under this condition.
48411 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48412 [__USE_GNU] (__dprintf_chk): Not under this condition.
48413 [__USE_GNU] (__vdprintf_chk): Likewise.
48414 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48415 under this condition.
48416 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48417 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48418 [__USE_XOPEN2K8] (vdprintf): Likewise.
48419 [__USE_GNU] (__dprintf_chk): Not under this condition.
48420 [__USE_GNU] (__vdprintf_chk): Likewise.
48421 [__USE_GNU] (dprintf): Likewise.
48422 [__USE_GNU] (vdprintf): Likewise.
48423
48424 2012-05-03 Roland McGrath <roland@hack.frob.com>
48425
48426 * elf/Makefile (common-generated): Set this instead of generated for
48427 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48428 $(all-built-dso)-derived lists.
48429
48430 2012-05-03 Andreas Jaeger <aj@suse.de>
48431
48432 * sysdeps/i386/fpu/libm-test-ulps: Update.
48433
48434 * FAQ: Removed.
48435 * FAQ.in: Likewise.
48436 * scripts/gen-FAQ.pl: Likewise.
48437 * manual/install.texi (Installation): Point to online location of
48438 FAQ.
48439 * Makefile (files-for-dist): Remove FAQ.
48440 (FAQ): Remove.
48441
48442 2012-05-02 Allan McRae <allan@archlinux.org>
48443
48444 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48445 (LDFLAGS-reldepmod5.so): Likewise.
48446 (LDFLAGS-reldep6mod1.so): Likewise.
48447 (LDFLAGS-reldep6mod4.so): Likewise.
48448 (LDFLAGS-reldep8mod3.so): Likewise.
48449 (LDFLAGS-unload4mod1.so): Likewise.
48450 (LDFLAGS-unload4mod2.so): Likewise.
48451 (LDFLAGS-tst-initorder): Likewise.
48452 (LDFLAGS-tst-initordera2.so): Likewise.
48453 (LDFLAGS-tst-initordera3.so): Likewise.
48454 (LDFLAGS-tst-initordera4.so): Likewise.
48455 (LDFLAGS-tst-initorderb2.so): Likewise.
48456 (LDFLAGS-noload): Likewise.
48457 (LDFLAGS-next): Likewise.
48458 (LDFLAGS-order2mod1.so): Likewise.
48459 (LDFLAGS-order2mod2.so): Likewise.
48460 (LDFLAGS-tst-initorder2): Likewise.
48461 (LDFLAGS-tst-initorder2a.so): Likewise.
48462 (LDFLAGS-tst-initorder2b.so): Likewise.
48463 (LDFLAGS-tst-initorder2c.so): Likewise.
48464 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48465
48466 2012-05-02 David S. Miller <davem@davemloft.net>
48467
48468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48469
48470 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48471
48472 [BZ #14055]
48473 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48474
48475 2012-05-02 Andreas Jaeger <aj@suse.de>
48476
48477 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48478 since we manipulate rounding mode.
48479 (CPPFLAGS-test-idouble.c): Likewise.
48480 (CPPFLAGS-test-ifloat.c): Likewise.
48481 (CFLAGS-test-ldouble.c): Likewise.
48482 (CFLAGS-test-double.c): Likewise.
48483 (CFLAGS-test-float.c): Likewise.
48484 (CFLAGS-test-misc.c): Likewise.
48485 (CFLAGS-test-test-fenv.c): Likewise.
48486
48487 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48488
48489 [BZ #2550]
48490 [BZ #2570]
48491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48492 comparisons to determine direction to adjust input.
48493
48494 2012-05-01 Roland McGrath <roland@hack.frob.com>
48495
48496 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48497 output to the target.
48498
48499 * scripts/localplt.awk: New file.
48500 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48501 (check-localplt-CFLAGS): Variable removed.
48502 ($(all-built-dso:=.jmprel)): New static pattern rule.
48503 (generated): Add those targets.
48504 (localplt-built-dso): New variable.
48505 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48506
48507 * elf/check-localplt.c: File removed.
48508
48509 * scripts/check-execstack.awk: New file.
48510 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48511 (check-execstack-CFLAGS): Variable removed.
48512 ($(objpfx)check-execstack.h): Target removed.
48513 ($(objpfx)execstack-default): New target.
48514 (generated): Add that instead of check-execstack.h.
48515 ($(all-built-dso:=.phdr)): New static pattern rule.
48516 (generated): Add those targets.
48517 * elf/check-execstack.c: File removed.
48518
48519 * scripts/check-textrel.awk: New file.
48520 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48521 (check-textrel-CFLAGS): Variable removed.
48522 (all-built-dso): Use := to define.o
48523 ($(all-built-dso:=.dyn)): New static pattern rule.
48524 (generated): Add those targets.
48525 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48526 * config.make.in (READELF): New substituted variable.
48527 * elf/check-textrel.c: File removed.
48528
48529 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48530
48531 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48532 allow.
48533 * conform/data/ctype.h-data [C99-based standards] (isblank):
48534 Expect function.
48535 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48536 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48538 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48539 Specify type. Require positive value.
48540 (EILSEQ): Likewise.
48541 (ERANGE): Likewise.
48542 [ISO || POSIX] (EILSEQ): Do not expect.
48543 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48544 Specify type. Require positive value.
48545 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48546 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48547 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48548 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48549 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48550 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48551 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48552 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48553 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48554 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48555 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48556 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48557 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48558 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48559 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48560 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48561 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48562 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48563 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48564 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48565 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48566 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48567 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48568 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48569 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48570 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48571 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48572 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48573 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48574 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48575 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48576 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48577 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48578 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48579 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48580 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48581 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48582 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48583 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48584 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48585 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48586 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48587 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48588 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48589 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48590 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48591 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48592 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48593 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48594 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48595 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48596 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48597 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48598 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48599 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48600 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48601 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48602 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48603 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48604 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48605 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48606 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48607 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48608 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48609 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48610 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48611 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48612 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48613 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48614 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48615 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48616 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48617 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48618 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48619 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48620 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48621 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48622 Require >= 2.
48623 (FLT_ROUNDS): Expect as macro, not constant.
48624 (FLT_MANT_DIG): Use macro-int-constant.
48625 (DBL_MANT_DIG): Likewise.
48626 (LDBL_MANT_DIG): Likewise.
48627 (FLT_DIG): Likewise.
48628 (DBL_DIG): Likewise.
48629 (LDBL_DIG): Likewise.
48630 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48631 (DBL_MIN_EXP): Likewise.
48632 (LDBL_MIN_EXP): Likewise.
48633 (FLT_MAX_EXP): Use macro-int-constant.
48634 (DBL_MAX_EXP): Likewise.
48635 (LDBL_MAX_EXP): Likewise.
48636 (FLT_MAX_10_EXP): Likewise.
48637 (DBL_MAX_10_EXP): Likewise.
48638 (LDBL_MAX_10_EXP): Likewise.
48639 (FLT_MAX): Use macro-constant.
48640 (DBL_MAX): Likewise.
48641 (LDBL_MAX): Likewise.
48642 (FLT_EPSILON): Use macro-constant. Give upper bound.
48643 (DBL_EPSILON): Likewise.
48644 (LDBL_EPSILON): Likewise.
48645 (FLT_MIN): Likewise.
48646 (DBL_MIN): Likewise.
48647 (LDBL_MIN): Likewise.
48648 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48649 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48650 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48651 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48652 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48653 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48654 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48655 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48656 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48657 [ISO11] (FLT_TRUE_MIN): Likewise.
48658 [ISO11] (LDBL_TRUE_MIN): Likewise.
48659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48660 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48661 (SCHAR_MIN): Use macro-int-constant. Specify type.
48662 (SCHAR_MAX): Likewise.
48663 (UCHAR_MAX): Likewise.
48664 (CHAR_MIN): Likewise.
48665 (CHAR_MAX): Likewise.
48666 (MB_LEN_MAX): Use macro-int-constant.
48667 (SHRT_MIN): Use macro-int-constant. Specify type.
48668 (SHRT_MAX): Likewise.
48669 (USHRT_MAX): Likewise.
48670 (INT_MAX): Likewise.
48671 (INT_MIN): Use macro-int-constant. Specify type. Make upper
48672 bound negative.
48673 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
48674 bound with "U".
48675 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48676 bound with "L".
48677 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
48678 bound negative. Suffix upper bound with "L".
48679 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
48680 bound with "UL".
48681 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48682 Specify type.
48683 [C99-based standards] (LLONG_MAX): Likewise.
48684 [C99-based standards] (ULLONG_MAX): Likewise.
48685 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
48686 == 0.
48687 [ISO11] (max_align_t): Require type.
48688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48689
48690 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48691 from $CFLAGS, without defining away __attribute__ calls.
48692 (checknamespace): Use $CFLAGS_namespace.
48693
48694 * conform/conformtest.pl (@keywords): Only include C99 keywords
48695 for standards based on C99 or C11.
48696
48697 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48698 Disable tests.
48699 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48700 UNIX98]: Likewise.
48701
48702 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48703 usability of symbols in #if.
48704
48705 * conform/conformtest.pl: If macro or constant types start
48706 "promoted:", expect the symbol to be of the following type
48707 promoted by the integer promotions.
48708
48709 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48710 in one place. Also handle "macro-constant".
48711
48712 * conform/conformtest.pl: Only accept expected macro values with
48713 "==". Parse all "macro" lines in one place.
48714 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48715
48716 * conform/conformtest.pl: Handle braced types on "constant" lines
48717 instead of handling "typed-constant".
48718 * conform/data/signal.h-data: Use "constant" instead of
48719 "typed-constant".
48720
48721 * conform/conformtest.pl: Handle "optional-" at start of lines in
48722 one place rather than duplicating several cases. Handle each
48723 format of "macro" line with initial "optional-".
48724
48725 * conform/conformtest.pl: Only accept expected constant or
48726 optional-constant values with "==". Parse all "constant" lines in
48727 one place. Parse all "optional-constant" lines in one place.
48728 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48729 * conform/data/fmtmsg.h-data: Likewise.
48730 * conform/data/netinet/in.h-data: Likewise.
48731 * conform/data/tar.h-data: Likewise.
48732 * conform/data/limits.h-data: Use "==" form on "constant" and
48733 "optional-constant" lines.
48734
48735 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48736 Use -std=c99 for XOPEN2K.
48737 (@knownproblems): Remove.
48738 (newtoken): Don't check %isknown.
48739
48740 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48741 Do not expect macro.
48742 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48743 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48744 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48745 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48746 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48747 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48748 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48749 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48750 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48751 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48752 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48753 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48754 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48755 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48756 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48757 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48758 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48759 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48760 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48761 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48762 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48763 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48766 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48767 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48768 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48769 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48770 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48771 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48772 [XPG3] (acosh): Likewise.
48773 [XPG3] (asinh): Likewise.
48774 [XPG3] (atanh): Likewise.
48775 [XPG3] (cbrt): Likewise.
48776 [XPG3] (expm1): Likewise.
48777 [XPG3] (ilogb): Likewise.
48778 [XPG3] (log1p): Likewise.
48779 [XPG3] (logb): Likewise.
48780 [XPG3] (nextafter): Likewise.
48781 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48782 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48783 [XPG3] (remainder): Likewise.
48784 [XPG3] (rint): Likewise.
48785 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48786 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48787 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48788 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48789 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48790 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48791 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48792 [UNIX98 || XOPEN2K] (scalb): Expect.
48793 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48794 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48795 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48796 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48797 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48798 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48799 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48800 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48801 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48802 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48803 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48804 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48805 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48806 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48807 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48808 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48809 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48810 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48811 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48812 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48813 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48814 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48815 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48816 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48817 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48818 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48819 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48820 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48821 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48822 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48823 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48824 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48825 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48826 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48827 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48828 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48829 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48830 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48831 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48832 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48833 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48834 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48835 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48836 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48837 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48838 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48839 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48840 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48841 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48842 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48843 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48844 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48845 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48846 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48847 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48848 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48849 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48850 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48851 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48852 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48853 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48854 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48855 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48856 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48857 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48858 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48859 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48860 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48861 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48862 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48863 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48864 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48865 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48866 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48867 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48868 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48869 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48870 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48871 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48872 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48873 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48874 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48875 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48876 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48877 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48878 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48879 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48880 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48881 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48882 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48883 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48884 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48885 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48886 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48887 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48888 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48889 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48890 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48891 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48892 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48893 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48894 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48895 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48896 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48897 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48898 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48899 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48900 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48901 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48902 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48903 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48904 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48905 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48906 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48907 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48908 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48909 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48910 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48911 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48912 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48913 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48914 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48915 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48916 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48917 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48918 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48919 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48920 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48921 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48922 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48923 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48924 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48925 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48926 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48927 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48928 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48929 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48930
48931 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48932 _XOPEN_SOURCE_EXTENDED for XPG4.
48933
48934 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48935
48936 * Makeconfig (localtime): Remove variable.
48937 (inst_localtime-file): Likewise.
48938
48939 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48940
48941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48942 Update.
48943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48944 Update.
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48946 Update.
48947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48948 Update.
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48950 Update.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48952 Update.
48953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48954 Update.
48955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48956 Update.
48957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48958 Update.
48959
48960 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48961
48962 [BZ #2550]
48963 [BZ #2570]
48964 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48965 comparisons to determine direction to adjust input.
48966 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48967 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48968 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48969 Likewise.
48970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48971 Likewise.
48972 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48973 Likewise.
48974 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48975 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48976 Likewise.
48977 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48978 Likewise.
48979 * math/libm-test.inc (nexttoward_test): Add more tests.
48980
48981 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48982
48983 [BZ #14040]
48984 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48985 in version GLIBC_2.1, not GLIBC_2.0.
48986 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48987 Likewise.
48988
48989 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48990
48991 [BZ #13942]
48992 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48993 (1 - x) * (1 + x).
48994 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48995 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48996 * math/libm-test.inc (acos_test): Add more tests.
48997 (asin_test): Likewise.
48998 * sysdeps/i386/fpu/libm-test-ulps: Update.
48999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49000
49001 [BZ #14034]
49002 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49003 of square root.
49004 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49005 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49006 * math/libm-test.inc (acos_test_tonearest): New function.
49007 (acos_test_towardzero): Likewise.
49008 (acos_test_downward): Likewise.
49009 (acos_test_upward): Likewise.
49010 (asin_test_tonearest): Likewise.
49011 (asin_test_towardzero): Likewise.
49012 (asin_test_downward): Likewise.
49013 (asin_test_upward): Likewise.
49014 (main): Call the new functions.
49015 * sysdeps/i386/fpu/libm-test-ulps: Update.
49016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49017
49018 [BZ #13884]
49019 [BZ #13924]
49020 * math/e_exp10.c: Include <float.h>.
49021 (__ieee754_exp10): Handle underflow here rather than multiplying
49022 large negative argument by M_LN10.
49023 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49024 of __ieee754_expf.
49025 * math/e_exp10l.c: Include <float.h>.
49026 (__ieee754_exp10l): Handle underflow here rather than multiplying
49027 large negative argument by M_LN10l.
49028 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49029 spurious overflow exception on underflow.
49030
49031 2012-04-29 Marek Polacek <polacek@redhat.com>
49032
49033 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49034 (__fortify_function): New macro.
49035 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49036 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49037 __extern_always_inline.
49038 * libio/bits/stdio2.h: Likewise.
49039 * libio/bits/stdio.h: Likewise.
49040 * string/string.h: Likewise.
49041 * string/bits/string3.h: Likewise.
49042 * include/stdio.h: Likewise.
49043 * stdlib/bits/stdlib.h: Likewise.
49044 * stdlib/stdlib.h: Likewise.
49045 * rt/bits/mqueue2.h: Likewise.
49046 * rt/mqueue.h: Likewise.
49047 * posix/bits/unistd.h: Likewise.
49048 * posix/unistd.h: Likewise.
49049 * io/bits/poll2.h: Likewise.
49050 * io/bits/fcntl2.h: Likewise.
49051 * io/fcntl.h: Likewise.
49052 * io/sys/poll.h: Likewise.
49053 * misc/bits/syslog.h: Likewise.
49054 * misc/bits/syslog-ldbl.h: Likewise.
49055 * misc/sys/syslog.h: Likewise.
49056 * socket/bits/socket2.h: Likewise.
49057 * socket/sys/socket.h: Likewise.
49058 * debug/tst-chk1.c: Likewise.
49059 * wcsmbs/bits/wchar2.h: Likewise.
49060 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49061 * wcsmbs/wchar.h: Likewise.
49062
49063 2012-04-29 Andreas Jaeger <aj@suse.de>
49064
49065 * Makerules (tests): Remove enable-check-abi protection.
49066 (check-abi-warn): Remove.
49067 (check-abi-%): Remove check-abi-warn usage.
49068
49069 * configure.in: Remove check-abi configure option.
49070 * configure: Regenerated.
49071 * config.make.in (enable-check-abi): Remove.
49072
49073 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49074
49075 [BZ #14033]
49076 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49077 double functions to double *_finite functions.
49078
49079 [BZ #13941]
49080 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49081 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49082 LDBL_MIN_EXP.
49083 * stdio-common/Makefile (tests): Add tst-sprintf3.
49084 * stdio-common/tst-sprintf3.c: New file.
49085
49086 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49087 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49088
49089 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49090
49091 * conform/conformtest.pl: Remove duplicate typed-constant
49092 handling.
49093
49094 2012-04-28 David S. Miller <davem@davemloft.net>
49095
49096 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49097 (check-abi-%): Remove AWK script prerequisite and explicit
49098 abilist directory.
49099 (check-abi): Rewrite to just diff the symlist with the abilist.
49100 (config-tls, config-abi-config): Delete, no longer used.
49101 (update-abi-%): Remove AWK script and explicit abilist directory.
49102 (update-abi): Rewrite to simply compare and conditionally copy the
49103 symlist and the sysdep abilist file. Remove update-abi-config
49104 checks.
49105 * abilist/ld.abilist: Remove.
49106 * abilist/libBrokenLocale.abilist: Remove.
49107 * abilist/libanl.abilist: Remove.
49108 * abilist/libcrypt.abilist: Remove.
49109 * abilist/libdl.abilist: Remove.
49110 * abilist/librt.abilist: Remove.
49111 * abilist/libthread_db.abilist: Remove.
49112 * abilist/libutil.abilist: Remove.
49113 * scripts/extract-abilist.awk: Remove.
49114 * scripts/merge-abilist.awk: Remove.
49115 * sysdeps/generic/libcidn.abilist: New file.
49116 * sysdeps/generic/libnss_compat.abilist: New file.
49117 * sysdeps/generic/libnss_db.abilist: New file.
49118 * sysdeps/generic/libnss_dns.abilist: New file.
49119 * sysdeps/generic/libnss_files.abilist: New file.
49120 * sysdeps/generic/libnss_hesiod.abilist: New file.
49121 * sysdeps/generic/libnss_nis.abilist: New file.
49122 * sysdeps/generic/libnss_nisplus.abilist: New file.
49123 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49124 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49125 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49126 file.
49127 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49128 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49129 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49130 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49131 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49132 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49133 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49134 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49135 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49136 file.
49137 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49138 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49139 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49140 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49141 file.
49142 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49143 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49144 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49145 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49146 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49147 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49148 file.
49149 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49150 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49151 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49152 file.
49153 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49155 New file.
49156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49157 New file.
49158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49159 New file.
49160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49161 New file.
49162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49163 New file.
49164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49165 New file.
49166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49167 New file.
49168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49169 New file.
49170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49171 New file.
49172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49173 New file.
49174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49175 New file.
49176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49177 New file.
49178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49179 New file.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49181 file.
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49183 New file.
49184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49185 New file.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49187 file.
49188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49189 New file.
49190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49191 New file.
49192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49193 file.
49194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49195 New file.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49197 New file.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49199 New file.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49201 New file.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49203 New file.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49205 New file.
49206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49208 file.
49209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49210 New file.
49211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49212 file.
49213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49214 file.
49215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49216 file.
49217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49218 file.
49219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49220 file.
49221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49222 New file.
49223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49224 file.
49225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49226 file.
49227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49228 New file.
49229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49230 file.
49231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49233 file.
49234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49235 New file.
49236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49237 file.
49238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49239 file.
49240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49241 file.
49242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49243 file.
49244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49245 file.
49246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49247 New file.
49248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49249 file.
49250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49251 file.
49252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49253 New file.
49254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49255 file.
49256 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49257 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49258 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49259 file.
49260 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49261 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49262 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49263 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49264 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49265 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49266 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49267 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49268 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49269 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49272 file.
49273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49274 New file.
49275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49276 file.
49277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49278 file.
49279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49280 file.
49281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49282 file.
49283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49284 file.
49285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49286 New file.
49287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49288 New file.
49289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49290 file.
49291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49292 New file.
49293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49294 file.
49295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49297 file.
49298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49299 New file.
49300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49301 file.
49302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49303 file.
49304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49305 file.
49306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49307 file.
49308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49309 file.
49310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49311 New file.
49312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49313 New file.
49314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49315 file.
49316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49317 New file.
49318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49319 file.
49320
49321 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49322
49323 * conform/conformtest.pl: Fix typo in handling typed-constant from
49324 allow-header.
49325
49326 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49327
49328 * README: Cut down references to pre-2.6 Linux kernels and
49329 Linuxthreads. Update lists of configurations in libc and ports
49330 and sort alphabetically. Say "or newer" with Linux kernel version
49331 requirements.
49332
49333 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49334
49335 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49336
49337 [BZ #887]
49338 * math/libm-test.inc (logb_test_downward): New test to expose
49339 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49340 rounding mode.
49341
49342 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49343
49344 [BZ #14027]
49345 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49346 to be done.
49347 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49348 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49349
49350 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49351
49352 * sysdeps/unix/i386/brk.S: Remove file.
49353 * sysdeps/unix/i386/dl-brk.S: Likewise.
49354 * sysdeps/unix/i386/pipe.S: Likewise.
49355 * sysdeps/unix/i386/sigreturn.S: Likewise.
49356 * sysdeps/unix/i386/syscall.S: Likewise.
49357 * sysdeps/unix/i386/vfork.S: Likewise.
49358 * sysdeps/unix/i386/wait.S: Likewise.
49359
49360 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49361 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49362
49363 * configure.in (arm*-none*): Do not allow without
49364 --enable-hacker-mode.
49365 (netbsd*): Remove case setting base_os.
49366 (386bsd*): Likewise.
49367 (freebsd*): Likewise.
49368 (bsdi*): Likewise.
49369 (osf*): Likewise.
49370 (sunos*): Likewise.
49371 (ultrix*): Likewise.
49372 (newsos*): Likewise.
49373 (dynix*): Likewise.
49374 (*bsd*): Likewise.
49375 (sysv*): Likewise.
49376 (isc*): Likewise.
49377 (esix*): Likewise.
49378 (sco*): Likewise.
49379 (minix*): Likewise.
49380 (irix4*): Likewise.
49381 (irix6*): Likewise.
49382 (solaris[2-9]*): Likewise.
49383 (none): Likewise.
49384 * configure: Regenerated.
49385
49386 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49387
49388 [BZ #11521]
49389 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49390 overflow or cancellation in calculating denominator.
49391 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49392 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49393 down expression to avoid unexpected rounding in newer GCCs.
49394 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49395
49396 2012-04-26 David S. Miller <davem@davemloft.net>
49397
49398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49399 long-double compat symbols.
49400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49413
49414 2012-04-25 David S. Miller <davem@davemloft.net>
49415
49416 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49417 HWCAP_* values only after the memory barriers have been defined.
49418 (atomic_full_barrier): Define.
49419 (atomic_read_barrier): Define.
49420 (atomic_write_barrier): Define.
49421
49422 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49423
49424 * shlib-versions: Add libgcc_s version information.
49425 * sysdeps/generic/libgcc_s.h: Remove.
49426 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49427 libgcc_s.h.
49428 * sysdeps/gnu/unwind-resume.c: Likewise.
49429 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49430
49431 2012-04-25 David S. Miller <davem@davemloft.net>
49432
49433 * sysdeps/unix/sparc/brk.S: Delete.
49434 * sysdeps/unix/sparc/dl-brk.S: Delete.
49435 * sysdeps/unix/sparc/pipe.S: Delete.
49436 * sysdeps/unix/sparc/sysdep.S: Delete.
49437 * sysdeps/unix/sparc/sysdep.h: Delete.
49438 * sysdeps/unix/sparc/vfork.S: Delete.
49439 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49440 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49441 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49442 (ret_ERRVAL, r0, r1, MOVE): Define.
49443 (JUMPTARGET): Remove.
49444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49445 sysdeps/unix/sparc/sysdep.h
49446 (ENTRY, END): Remove.
49447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49448
49449 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49450
49451 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49452 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49453 -DIS_IN_build.
49454
49455 * timezone/README: Update upstream location and email address for
49456 tzcode and tzdata.
49457 * timezone/zdump.c: Update from tzcode 2012b.
49458 * timezone/zic.c: Likewise.
49459
49460 * configure.in (libc_cv_as_needed): Remove test.
49461 * configure: Regenerated.
49462 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49463 conditional definition.
49464 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49465 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49466 * config.make.in (have-as-needed): Remove variable.
49467
49468 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49469 Paul Pluzhnikov <ppluzhnikov@google.com>
49470
49471 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49472 strings correctly.
49473
49474 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49475
49476 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49477 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49478 * sysdeps/sh/strlen.S: Likewise.
49479
49480 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49481
49482 * sysdeps/unix/fork.S: Remove file.
49483 * sysdeps/unix/i386/fork.S: Likewise.
49484 * sysdeps/unix/sparc/fork.S: Likewise.
49485
49486 * sysdeps/unix/system.c: Remove file.
49487 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49488
49489 * sysdeps/unix/getegid.S: Remove file.
49490 * sysdeps/unix/geteuid.S: Likewise.
49491
49492 2012-04-24 Roland McGrath <roland@hack.frob.com>
49493
49494 * scripts/check-localplt.awk: New file.
49495 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49496 of diff.
49497 * scripts/data/localplt-generic.data: Add a comment.
49498
49499 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49500 NODE when __dir_mkfile failed.
49501 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49502 Reported by Ludovic Courtès <ludo@gnu.org>.
49503
49504 2012-04-24 Andreas Jaeger <aj@suse.de>
49505
49506 * Makerules (common-clean): Also remove gen-as-const-headers
49507 files.
49508
49509 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49510
49511 * Makerules (native-compile): Do not change working directory for
49512 build. Use $(OUTPUT_OPTION) in command.
49513 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49514
49515 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49516
49517 [BZ #13886]
49518 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49519 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49520 * math/libm-test.inc (floor_test): Add more tests.
49521 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49522
49523 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49524
49525 * sysdeps/unix/getdents.c: Remove file.
49526 * sysdeps/unix/sysv/getdents.c: Likewise.
49527 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49528
49529 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49530 sysdeps/unix/mman/syscalls.list.
49531 (mmap): Likewise.
49532 (mprotect): Likewise.
49533 (msync): Likewise.
49534 (munmap): Likewise.
49535 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49536 * sysdeps/unix/mman/syscalls.list: Remove.
49537 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49538
49539 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49540 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49541 * configure: Regenerated.
49542 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49543 $(libgcc_s_suffix).
49544 * config.make.in (libgcc_s_suffix): Remove variable.
49545
49546 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49547
49548 * sysdeps/unix/sysv/gethostname.c: Move to ...
49549 * sysdeps/posix/gethostname.c: ... here.
49550
49551 * sysdeps/unix/execve.S: Remove file.
49552
49553 * sysdeps/unix/_exit.S: Remove file.
49554
49555 2012-04-23 Andreas Jaeger <aj@suse.de>
49556
49557 [BZ #13739]
49558 * manual/Makefile: Remove make dist support, there's no
49559 need for a stand-alone documentation tar ball.
49560 (TEXI2DVI): Define always, it's not in Makeconfig.
49561 (dist): Removed.
49562 (tar-it): Removed.
49563 (edition): Removed.
49564 (glibc-doc-$(edition).tar): Removed
49565 (%.Z): Removed.
49566 (%.gz): Removed.
49567 (%.uu): Removed.
49568 (ETAGS): Remove, it's in Makeconfig.
49569 (move-if-change): Remove, it's in Makeconfig.
49570
49571 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49572
49573 [BZ #13970]
49574 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49575 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49576 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49577 (strtod_l, strtof_l, strtold_l): Remove __wur.
49578 It is not necessarily an error to ignore strtol's return value.
49579 One can reliably look at the stored endptr to decide whether
49580 the number had valid syntax.
49581
49582 2012-04-21 Andreas Jaeger <aj@suse.de>
49583
49584 [BZ #13739]
49585 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49586
49587 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49588
49589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49590 * sysdeps/unix/sysv/Versions: Remove file.
49591
49592 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49593
49594 [BZ #13927]
49595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49596
49597 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49598
49599 [BZ #7064]
49600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49601 version from __vm86.
49602
49603 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49604
49605 * sysdeps/unix/common/lxstat.c: Remove file.
49606 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49607
49608 * sysdeps/unix/sysv/Makefile: Remove file.
49609
49610 * sysdeps/unix/sysv/direct.h: Remove file.
49611
49612 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49613 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49614 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49615 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49616 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49617 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49618 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49619
49620 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49621
49622 * sysdeps/unix/xmknod.c: Remove file.
49623 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49624
49625 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49626
49627 * sysdeps/unix/sysv/i386/time.S: Remove file.
49628
49629 * sysdeps/unix/fxstat.c: Remove file.
49630 * sysdeps/unix/xstat.c: Likewise.
49631 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49632
49633 * sysdeps/unix/sysv/sigaction.c: Remove file.
49634
49635 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49636 (sysdep_headers): Remove variable.
49637 [termio.h not in sysdep_headers] (generated): Likewise.
49638 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49639 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49640 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49641 * sysdeps/unix/sysv/tcflow.c: Likewise.
49642 * sysdeps/unix/sysv/tcflush.c: Likewise.
49643 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49644 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49645 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49646 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49647 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49648
49649 * sysdeps/unix/siglist.c: Remove file.
49650
49651 * sysdeps/unix/getppid.S: Remove file.
49652
49653 * sysdeps/unix/mkdir.c: Remove file.
49654 * sysdeps/unix/rmdir.c: Likewise.
49655
49656 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49657
49658 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49659 ERR_MAX value.
49660 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49661 errlist-compat value.
49662
49663 2012-04-18 David S. Miller <davem@davemloft.net>
49664
49665 * sysdeps/generic/memcopy.h (reg_char): Delete.
49666 * debug/strcat_chk.c: Use char, not reg_char.
49667 * debug/strcpy_chk.c: Likewise.
49668 * debug/strncat_chk.c: Likewise.
49669 * debug/strncpy_chk.c: Likewise.
49670 * string/memchr.c: Likewise.
49671 * string/memrchr.c: Likewise.
49672 * string/rawmemchr.c: Likewise.
49673 * string/strcat.c: Likewise.
49674 * string/strchr.c: Likewise.
49675 * string/strchrnul.c: Likewise.
49676 * string/strcmp.c: Likewise.
49677 * string/strcpy.c: Likewise.
49678 * string/strncat.c: Likewise.
49679 * string/strncmp.c: Likewise.
49680 * string/strncpy.c: Likewise.
49681
49682 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49683
49684 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49685 __builtin_memcopy is called when src and dest ranges are known to not
49686 overlap.
49687
49688 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49689
49690 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49691 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49692 fwd_align_merge macro call.
49693 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49694 bwd_align_merge macro call.
49695 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49696
49697 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
49698
49699 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49700 bwd_align_merge macros.
49701 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49702 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49704
49705 2012-04-18 David S. Miller <davem@davemloft.net>
49706
49707 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49708
49709 2012-04-18 Andreas Jaeger <aj@suse.de>
49710
49711 [BZ# 6794]
49712 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49713 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49714 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49715
49716 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49717 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49718 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49719
49720 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49721 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49722 Adjust for changed ldbl-128 files.
49723
49724 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49725 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49727
49728 2012-04-17 David S. Miller <davem@davemloft.net>
49729
49730 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49731
49732 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49733
49734 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49735 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49736 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49737 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49738 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49739 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49740
49741 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49742
49743 [BZ #6794]
49744 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49745 * math/libm-test.inc: Add ilogb errno and exception tests.
49746 * math/w_ilogb.c: New file: ilogb wrapper.
49747 * math/w_ilogbf.c: New file: ilogbf wrapper.
49748 * math/w_ilogbl.c: New file: ilogbl wrapper.
49749 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49750 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49751 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49752 exception being thrown with 0.0 as argument.
49753 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49754 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49755 exception being thrown with 0.0 as argument.
49756 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49757 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49758 exception being thrown with 0.0 as argument.
49759 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49760 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49761 exception being thrown with 0.0 as argument.
49762 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49763 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49765 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49766 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49767 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49768 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49769 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49770 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49771
49772 2012-04-17 Petr Baudis <pasky@ucw.cz>
49773
49774 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49775 with altivec.
49776
49777 2012-04-16 Marek Polacek <polacek@redhat.com>
49778
49779 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49780
49781 2012-04-16 Marek Polacek <polacek@redhat.com>
49782
49783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49784 operands of fdivp instruction.
49785
49786 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49787
49788 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49789 * elf/tst-auditmod3b.c: Likewise.
49790 * elf/tst-auditmod4b.c: Likewise.
49791 * elf/tst-auditmod5b.c: Likewise.
49792 * elf/tst-auditmod6b.c: Likewise.
49793 * elf/tst-auditmod6c.c: Likewise.
49794 * elf/tst-auditmod7b.c: Likewise.
49795 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49796 * sysdeps/x86_64/preconfigure.in: Likewise.
49797 * sysdeps/x86_64/preconfigure: Regenerated.
49798
49799 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49800
49801 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49802 __ILP32__.
49803
49804 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49805
49806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49807 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49808
49809 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49810
49811 [BZ #13973]
49812 * locale/iso-639.def: Fix gl language name. Spotted by
49813 Yaron Shahrabani.
49814
49815 2012-04-12 Roland McGrath <roland@hack.frob.com>
49816
49817 [BZ #2074]
49818 * libio/libio.h (__io_write_fn): Update comment.
49819
49820 2012-04-12 Petr Baudis <pasky@ucw.cz>
49821
49822 [BZ #2074]
49823 * stdio.texi (Hook Functions): The user provided writer function
49824 is not allowed to return -1.
49825
49826 2012-04-11 David S. Miller <davem@davemloft.net>
49827
49828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49829
49830 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49831
49832 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49833 Add a leading slash to rtkaio.
49834
49835 2012-04-11 Jim Meyering <meyering@redhat.com>
49836
49837 [BZ #11959]
49838 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49839 It is not necessarily an error to ignore fwrite's return
49840 value. One can reliably use ferror to test for errors after
49841 the fact.
49842
49843 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49844
49845 * bits/types.h (__snseconds_t): New type.
49846 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49847
49848 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49850 (__SNSECONDS_T_TYPE): Likewise.
49851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49852 (__SNSECONDS_T_TYPE): Likewise.
49853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49854 (__SNSECONDS_T_TYPE): Likewise.
49855
49856 2012-04-10 Andreas Jaeger <aj@suse.de>
49857
49858 [BZ #2636]
49859 * manual/time.texi (Processor Time): Return type of times is
49860 elapsed real time since an arbitrary point in the past.
49861 (CPU Time): Move CLK_TCK from here...
49862 (Processor Time): ...to here. Correct description.
49863 * manual/conf.texi (Constants for Sysconf): Correct description of
49864 _SC_CLK_TCK.
49865
49866 2012-04-10 David S. Miller <davem@davemloft.net>
49867
49868 [BZ #13967]
49869 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49870 where the is a gap between DT_REL(A) and DT_JMPREL.
49871
49872 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49873
49874 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49875 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49876 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49877
49878 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49879
49880 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49881 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49882 (dl_main): Handle --inhibit-cache.
49883 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49884 _dl_inhibit_cache.
49885 * elf/dl-load.c (_dl_map_object): Use it.
49886 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49887
49888 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49889
49890 [BZ #13872]
49891 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49892 (__ieee754_powl): Saturate large exponents rather than testing for
49893 overflow of y*log2(x).
49894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49895 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49896 exceptions.
49897
49898 [BZ #11521]
49899 * math/s_ctan.c: Include <float.h>.
49900 (__ctan): Avoid internal overflow or cancellation in calculating
49901 denominator.
49902 * math/s_ctanf.c: Likewise.
49903 * math/s_ctanl.c: Likewise.
49904 * math/s_ctanh.c: Likewise.
49905 * math/s_ctanhf.c: Likewise.
49906 * math/s_ctanhl.c: Likewise.
49907 * math/libm-test.inc (ctan_test): Add more tests.
49908 (ctanh_test): Likewise.
49909 * sysdeps/i386/fpu/libm-test-ulps: Update.
49910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49911
49912 2012-04-09 Andreas Jaeger <aj@suse.de>
49913
49914 [BZ #6894]
49915 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49916 is an optional BSD extension.
49917
49918 [BZ #10254]
49919 * manual/stdio.texi (Opening Streams): Document additional fopen
49920 parameters.
49921
49922 2012-04-09 Roland McGrath <roland@hack.frob.com>
49923
49924 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49925 %eax without telling the compiler.
49926
49927 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49928
49929 [BZ # 13963]
49930 * manual/install.texi: Use sourceware.org.
49931
49932 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49933
49934 [BZ #13873]
49935 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49936 (__ieee754_pow): Generate overflow and underflow using huge*huge
49937 and tiny*tiny rather than just returning constant infinity or zero
49938 for large exponents.
49939 * math/libm-test.inc (pow_test): Require overflow exceptions for
49940 applicable cases of large exponents.
49941
49942 [BZ #706]
49943 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49944 (__ieee754_pow): Use iterative multiplication algorithm only for
49945 integer exponents with absolute value below 1024. Check for odd
49946 integer exponents when using algorithm for real exponents.
49947 * math/libm-test.inc (pow_test): Add more tests.
49948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49949
49950 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49951
49952 [BZ #13705]
49953 * math/libm-test.inc (exp_test): Do not allow overflow exception
49954 on underflow test.
49955
49956 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49957
49958 [BZ #13705]
49959 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49960 instead of __kernel_standard_f.
49961
49962 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49963
49964 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49965 * sysdeps/x86_64/memset_chk.S: Likewise.
49966
49967 2012-04-08 Andreas Jaeger <aj@suse.de>
49968
49969 [BZ #10153]
49970 * manual/startup.texi (Environment Access): Describe return value
49971 for putenv and setenv.
49972
49973 [BZ #6895]
49974 * manual/filesys.texi (Directory Entries): Add description for
49975 DT_LNK.
49976
49977 [BZ #6890]
49978 * manual/filesys.texi (Directory Entries): Clarify that it's file
49979 system not operating system in the description of DT_UNKNOWN.
49980
49981 [BZ #6578]
49982 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49983
49984 2012-04-08 Stephen Compall <s11@member.fsf.org>
49985
49986 [BZ #6649]
49987 * manual/llio.texi (Opening and Closing Files): Add cross
49988 reference to explain mode argument.
49989
49990 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49991
49992 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49993 * sysdeps/x86_64/memset_chk.S: Likewise.
49994
49995 2012-04-07 David S. Miller <davem@davemloft.net>
49996
49997 * elf/elf.h (R_SPARC_WDISP10): Define.
49998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49999 R_SPARC_SIZE32.
50000 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50001 R_SPARC_SIZE64 and R_SPARC_H34.
50002
50003 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50004
50005 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50006 conditions and remove no longer applicable assertion.
50007
50008 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50009
50010 * bits/byteswap.h: Include <features.h>.
50011 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50012 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50013
50014 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50015
50016 * bits/byteswap.h (__bswap_16): Removed.
50017 Include <bits/byteswap-16.h> to get __bswap_16.
50018 * sysdeps/i386/bits/byteswap.h: Likewise.
50019 * sysdeps/s390/bits/byteswap.h: Likewise.
50020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50021 * bits/byteswap-16.h: New file.
50022 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50023 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50024 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50025 * string/Makefile (headers): Add bits/byteswap-16.h.
50026
50027 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50028
50029 [BZ #13895]
50030 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50031 extra indirection.
50032 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50033 * nss/tst-nss-static.c: New.
50034
50035 2012-04-06 Robert Millan <rmh@gnu.org>
50036
50037 [BZ #6486]
50038 * manual/llio.texi (File Position Primitive): lseek
50039 refers to WHENCE when it really means OFFSET.
50040
50041 2012-04-06 Andreas Jaeger <aj@suse.de>
50042
50043 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50044 strncmp declarations.
50045
50046 * abilist/libc.abilist: Add __poll and __ppoll.
50047
50048 2012-04-05 David S. Miller <davem@davemloft.net>
50049
50050 * scripts/check-local-headers.sh: Accept a host triplet in the
50051 path matched by the exclude regexp.
50052
50053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50054 definition.
50055 * sysdeps/powerpc/powerpc32/dl-machine.h
50056 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50057 * sysdeps/s390/s390-32/dl-machine.h
50058 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50059 * sysdeps/sparc/sparc32/dl-machine.h
50060 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50061 * sysdeps/sparc/sparc64/dl-machine.h
50062 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50063
50064 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50065 lazy binding.
50066 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50067 undefined symbol errors.
50068
50069 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50070 DT_NEEDED entries.
50071
50072 2012-04-05 Michael Matz <matz@suse.de>
50073
50074 [BZ #13592]
50075 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50076
50077 2012-04-05 Andreas Jaeger <aj@suse.de>
50078
50079 [BZ #13908]
50080 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50081 comment.
50082
50083 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50084
50085 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50086 which ROUND is no valid rounding mode.
50087
50088 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50089
50090 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50091 read again.
50092 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50093
50094 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50095
50096 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50097 an exception using FPU order intentionally.
50098
50099 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50100
50101 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50102 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50103 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50104 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50105
50106 2012-04-05 Simon Josefsson <simon@josefsson.org>
50107
50108 [BZ #12340]
50109 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50110 EINVAL when BUFLEN is too smal.
50111
50112 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50113
50114 [BZ #13553]
50115 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50116 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50117
50118 2012-04-03 Andreas Jaeger <aj@suse.de>
50119
50120 [BZ #13938]
50121 * manual/setjmp.texi (System V contexts): Fix sentence.
50122
50123 [BZ #13926]
50124 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50125 New macro for this case.
50126 [!__GNUC__] (__bswap_64): New inline function for this case.
50127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50128 * bits/byteswap.h: Likewise.
50129 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50130 ull, guard with __GLIBC_HAVE_LONG_LONG.
50131
50132 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50133 __GLIBC_HAVE_LONG_LONG.
50134
50135 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50136 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50137
50138 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50139
50140 [BZ #13691]
50141 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50142 inptr and inend, rather than using last_ch.
50143
50144 2012-04-02 David S. Miller <davem@davemloft.net>
50145
50146 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50147 * stdio-common/printf-parse.h (read_int): Change return type to
50148 'int', return -1 on INT_MAX overflow.
50149 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50150 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50151 overflows INT_MAX. Check for overflow of in-format-string precision
50152 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50153 SIZE_MAX not INT_MAX for integer overflow test.
50154 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50155 skip the construct in the format string but do not record anything.
50156 * stdio-common/bug22.c: Adjust to test both width/prevision
50157 INT_MAX overflow as well as total length INT_MAX overflow. Check
50158 explicitly for proper errno values.
50159
50160 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50161
50162 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50163 CHAR_MAX.
50164 * string/test-strcmp.c [! WIDE]: Likewise.
50165 * time/tst-mktime2.c: Likewise for INT_MAX.
50166 * string/test-string.h: #include <sys/param.h> for MIN.
50167
50168 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50169 * sysdeps/i386/init-first.c (init): Likewise.
50170 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50171 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50172 * sysdeps/sh/init-first.c (init): Likewise.
50173
50174 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50175
50176 * po/ru.po: Update from translation team.
50177 * po/vi.po: Likewise.
50178
50179 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50180
50181 * resolv/nss_dns/dns-host.c: Merge copyright years.
50182
50183 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50184
50185 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50186 Optimize memcpy with prefetch if
50187 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50188 src, dst pointers have unequal 16 byte alignments.
50189
50190 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50191
50192 [BZ #13928]
50193 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50194 from a CNAME entry and return the minimum ttl for the query.
50195 (gaih_getanswer_slice): Likewise.
50196
50197 2012-03-30 Jeff Law <law@redhat.com>
50198
50199 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50200 due to long keys.
50201 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50202 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50203
50204 * resolv/nss_dns/dns-host.c: Update copyright year.
50205
50206 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50207
50208 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50209 requests to save a system call. Fix check that all bytes are sent.
50210
50211 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50212 comments for sendmmsg.
50213
50214 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50215
50216 [BZ #13691]
50217 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50218 with only 1 character between 0x0041 and 0x01b0.
50219 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50220 * wcsmbs/tst-mbsnrtowcs.c: New file.
50221
50222 2012-03-29 David S. Miller <davem@davemloft.net>
50223
50224 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50225 small copies by hand.
50226
50227 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50228
50229 [BZ #13761]
50230 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50231 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50232 group memberships.
50233
50234 2012-03-28 David S. Miller <davem@davemloft.net>
50235
50236 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50237 that branches into memcpy.
50238 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50241 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50243 bits.
50244 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50245 implementation too.
50246 * sysdeps/sparc/mempcpy.S: New file.
50247
50248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50249 the IFUNC routine in the libc case.
50250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50251
50252 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50254 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50255 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50256 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50257 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50258 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50259 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50260
50261 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50262 loop to 256 bytes instead of 64 bytes and fix test signedness.
50263
50264 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50265 * sysdeps/sparc/sparc32/Makefile: rather than here...
50266 * sysdeps/sparc/sparc64/Makefile: and here.
50267
50268 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50269
50270 * malloc/mallocbug.c: Avoid warnings about unused variables.
50271
50272 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50273
50274 [BZ #13760]
50275 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50276 in the right place. Discard and retry query if response is
50277 larger than input buffer size.
50278
50279 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50280
50281 [BZ #369]
50282 [BZ #2678]
50283 [BZ #3866]
50284 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50285 x for large integer exponent.
50286 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50287 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50288 sign of result as needed afterwards.
50289 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50291 result for underflowing pow the same as for overflow.
50292 (__kernel_standard_l): Handle powl overflow and underflow here
50293 rather than calling __kernel_standard.
50294 * math/libm-test.inc (pow_test): Add more tests.
50295
50296 [BZ #3868]
50297 [BZ #13879]
50298 [BZ #13910]
50299 [BZ #13911]
50300 [BZ #13912]
50301 [BZ #13913]
50302 [BZ #13915]
50303 [BZ #13916]
50304 [BZ #13917]
50305 [BZ #13918]
50306 [BZ #13919]
50307 [BZ #13920]
50308 [BZ #13921]
50309 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50310 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50311 (__kernel_standard_l): New function.
50312 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50313 __kernel_standard.
50314 * math/w_acosl.c (__acosl): Likewise.
50315 * math/w_asinl.c (__asinl): Likewise.
50316 * math/w_atan2l.c (__atan2l): Likewise.
50317 * math/w_atanhl.c (__atanhl): Likewise.
50318 * math/w_coshl.c (__coshl): Likewise.
50319 * math/w_exp10l.c (__exp10l): Likewise.
50320 * math/w_exp2l.c (__exp2l): Likewise.
50321 * math/w_fmodl.c (__fmodl): Likewise.
50322 * math/w_hypotl.c (__hypotl): Likewise.
50323 * math/w_j0l.c (__j0l, __y0l): Likewise.
50324 * math/w_j1l.c (__j1l, __y1l): Likewise.
50325 * math/w_jnl.c (__jnl, __ynl): Likewise.
50326 * math/w_lgammal.c (__lgammal): Likewise.
50327 * math/w_log10l.c (__log10l): Likewise.
50328 * math/w_log2l.c (__log2l): Likewise.
50329 * math/w_logl.c (__logl): Likewise.
50330 * math/w_powl.c (__powl): Likewise.
50331 * math/w_remainderl.c (__remainderl): Likewise.
50332 * math/w_scalbl.c (sysv_scalbl): Likewise.
50333 * math/w_sinhl.c (__sinhl): Likewise.
50334 * math/w_sqrtl.c (__sqrtl): Likewise.
50335 * math/w_tgammal.c (__tgammal): Likewise.
50336 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50337 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50338 * math/libm-test.inc (acos_test): Add more tests.
50339 (acosh_test): Likewise.
50340 (asin_test): Likewise.
50341 (atanh_test): Likewise.
50342 (exp_test): Likewise.
50343 (exp10_test): Likewise.
50344 (exp2_test): Likewise.
50345 (expm1_test): Likewise.
50346 (lgamma_test): Likewise.
50347 (log_test): Likewise.
50348 (log10_test): Likewise.
50349 (log1p_test): Likewise.
50350 (log2_test): Likewise.
50351 (pow_test): Do not allow some spurious overflow exceptions.
50352 (sqrt_test): Add more tests.
50353 (tgamma_test): Likewise.
50354 (y0_test): Likewise.
50355 (y1_test): Likewise.
50356 (yn_test): Likewise.
50357
50358 2012-03-27 Anton Blanchard <anton@samba.org>
50359
50360 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50361 MAP_HUGETLB.
50362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50365
50366 2012-03-27 David S. Miller <davem@davemloft.net>
50367
50368 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50369
50370 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50371 have-as-vis3 check.
50372
50373 2012-03-27 Andreas Jaeger <aj@suse.de>
50374
50375 * sysdeps/x86_64/elf/configure.in: Moved to ...
50376 * sysdeps/x86_64/configure.in: ... here.
50377 * sysdeps/x86_64/elf/start.S: Moved to ...
50378 * sysdeps/x86_64/start.S: ... here.
50379 * sysdeps/x86_64/elf/configure: Delete.
50380
50381 * sysdeps/x86_64/configure.in: Merge contents from
50382 sysdeps/i386/configure.in (without i686 check).
50383
50384 * sysdeps/i386/elf/Versions: Merge into ...
50385 * sysdeps/i386/Versions: ... this.
50386 * sysdeps/i386/elf/Versions: Delete file.
50387 * sysdeps/i386/elf/start.S: Moved to ...
50388 * sysdeps/i386/start.S: ...here.
50389 * sysdeps/i386/elf/configure.in: Merge into...
50390 * sysdeps/i386/configure.in: ...here.
50391 * sysdeps/i386/elf/configure.in: Delete file.
50392 * sysdeps/i386/elf/configure: Delete file.
50393
50394 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50395 * debug/backtracesyms.c: ... here.
50396 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50397 * debug/backtracesymsfd.c: ... here.
50398 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50399 * sysdeps/generic/ifunc-sel.h: ... here.
50400
50401 * sysdeps/unix/i386/start.c: Delete file.
50402 * sysdeps/unix/sparc/start.c: Delete file.
50403 * sysdeps/unix/start.c: Delete file.
50404
50405 * sysdeps/sh/elf/configure.in: Moved to ...
50406 * sysdeps/sh/configure.in: ... here.
50407 * sysdeps/sh/elf/start.S: Moved to ...
50408 * sysdeps/sh/start.S: ... here.
50409 * sysdeps/sh/elf/configure: Delete file.
50410
50411 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50412 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50413 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50414 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50415 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50416 * sysdeps/powerpc/powerpc64/start.S: here.
50417 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50418 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50419 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50420 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50421 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50422
50423 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50424 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50425 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50426 * sysdeps/powerpc/powerpc32/start.S: ... here.
50427 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50428 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50429 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50430
50431 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50432 * sysdeps/powerpc/ifunc-sel.h: ... here.
50433 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50434 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50435
50436 * sysdeps/sparc/elf/configure.in: Moved to ...
50437 * sysdeps/sparc/configure.in: ... here.
50438 * sysdeps/sparc/elf/configure: Delete file.
50439 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50440 * sysdeps/sparc/sparc32/start.S: ... here.
50441 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50442 * sysdeps/sparc/sparc64/start.S: ... here.
50443 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50444 * sysdeps/sparc/sparc32/Makefile: ... this.
50445 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50446 * sysdeps/sparc/sparc64/Makefile: ... this.
50447
50448 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50449 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50450 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50451 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50452 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50453 * sysdeps/s390/s390-32/setjmp.S: ... here.
50454 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50455 * sysdeps/s390/s390-32/configure.in: ... here.
50456 * sysdeps/s390/s390-32/elf/configure: Delete file.
50457 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50458 * sysdeps/s390/s390-32/start.S: ... here.
50459
50460 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50461 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50462 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50463 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50464 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50465 * sysdeps/s390/s390-64/setjmp.S: ... here.
50466 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50467 * sysdeps/s390/s390-64/configure.in: ... here
50468 * sysdeps/s390/s390-64/elf/configure: Delete file.
50469 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50470 * sysdeps/s390/s390-64/start.S: ... here.
50471 * sysdeps/s390/s390-64/elf/configure: Delete.
50472
50473 * configure.in: Remove support for elf directories in sysdeps.
50474
50475 * configure: Regenerated.
50476 * sysdeps/i386/configure: Regenerated.
50477 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50478 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50479 * sysdeps/s390/s390-32/configure: Regenerated.
50480 * sysdeps/s390/s390-64/configure: Regenerated.
50481 * sysdeps/sh/configure: Regenerated.
50482 * sysdeps/sparc/configure: Regenerated.
50483 * sysdeps/x86_64/configure: Regenerated.
50484
50485 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50486
50487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50488
50489 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50490 denormal result into account.
50491
50492 2012-03-25 Roland McGrath <roland@hack.frob.com>
50493
50494 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50495 Reported by Allan McRae <allan@archlinux.org>.
50496
50497 2012-03-23 Jeff Law <law@redhat.com>
50498
50499 * nss/getnssent.c (__nss_getent): Fix typo.
50500
50501 2012-03-23 David S. Miller <davem@davemloft.net>
50502
50503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50504
50505 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50506
50507 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50508 to pad to uint64_t for each field.
50509 (dl_tls_index): Replace unsigned long with uint64_t.
50510
50511 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50512 Paul Pluzhnikov <ppluzhnikov@google.com>
50513
50514 [BZ #6528]
50515 * grp/Makefile (otherlibs): Don't set it.
50516 * inet/Makefile (otherlibs): Likewise.
50517 * login/Makefile (otherlibs): Likewise.
50518 * nscd/Makefile (otherlibs): Likewise.
50519 * posix/Makefile (otherlibs): Likewise.
50520 * pwd/Makefile (otherlibs): Likewise.
50521 * rt/Makefile (otherlibs): Likewise.
50522 * sunrpc/Makefile (otherlibs): Likewise.
50523 * nss/Makefile (otherlibs): Likewise.
50524 Add libnss_files to routines and static-only-routines.
50525 ($(objpfx)getent): Remove rule.
50526 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50527 static-only-routines.
50528
50529 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50530
50531 [BZ #13892]
50532 * math/s_cexp.c: Include <float.h>.
50533 (__cexp): Handle exp result overflowing not necessarily
50534 overflowing both real and imaginary parts of result.
50535 * math/s_cexpf.c: Likewise.
50536 * math/s_cexpl.c: Likewise.
50537 * math/libm-test.inc (cexp_test): Add more tests.
50538 * sysdeps/i386/fpu/libm-test-ulps: Update.
50539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50540
50541 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50542
50543 * include/link.h (ELFW): New macro.
50544 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50545 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50546
50547 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50548
50549 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50550 with uint64_t.
50551
50552 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50553
50554 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50555 declaration.
50556 (struct La_x32_retval): Likewise.
50557
50558 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50559
50560 * sysdeps/x86_64/preconfigure.in: New file.
50561 * sysdeps/x86_64/preconfigure: New generated file.
50562
50563 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50564
50565 [BZ #13824]
50566 * math/e_exp2l.c: Include <float.h>.
50567 (__ieee754_exp2l): Handle overflow and underflow cases
50568 separately. Only pass fractional part of argument to
50569 __ieee754_expl.
50570 * math/libm-test.inc (exp2_test): Add more tests.
50571
50572 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50573 negating x to take absolute value.
50574 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50575 Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50578 Likewise.
50579 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50580 computing low part if x was negated.
50581 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50582
50583 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50584
50585 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50586 la_x32_gnu_pltexit.
50587 (pltexit): Cast int_retval to ptrdiff_t.
50588 * elf/tst-auditmod3b.c: Likewise.
50589 * elf/tst-auditmod4b.c: Likewise.
50590 * elf/tst-auditmod5b.c: Likewise.
50591 * elf/tst-auditmod6b.c: Likewise.
50592 * elf/tst-auditmod6c.c: Likewise.
50593 * elf/tst-auditmod7b.c: Likewise.
50594
50595 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50596 and x32_gnu_pltexit.
50597
50598 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50599 __ELF_NATIVE_CLASS.
50600 (La_x32_regs): New macro.
50601 (La_x32_retval): Likewise.
50602 (la_x32_gnu_pltenter): New function prototype.
50603 (la_x32_gnu_pltexit): Likewise.
50604
50605 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50606
50607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50608 exponent.
50609
50610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50611
50612 * configure.in (libc_cv_cc_nofma): Check for option to disable
50613 generation of FMA instructions.
50614 * configure: Regenerate.
50615 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50616 * sysdeps/ieee754/dbl-64/Makefile: New file.
50617 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50618 Remove brandred-fma4.
50619 (CFLAGS-brandred-fma4.c): Remove.
50620 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50622 define.
50623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50624 define.
50625
50626 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50627
50628 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50629 LLONG_MAX != LONG_MAX.
50630 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50631 (_fitoa_word): Likewise.
50632 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50633 LLONG_MAX != LONG_MAX.
50634 * stdio-common/_itowa.h: Include <_itoa.h>.
50635 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50636 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50637 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50638 only if not defined.
50639 (_ITOA_WORD_TYPE): Likewise.
50640 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50641 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50642
50643 2012-03-21 David S. Miller <davem@davemloft.net>
50644
50645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50646
50647 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50648
50649 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50650 of x86_64 when setting libc_cv_slibdir, libdir and
50651 libc_cv_localedir.
50652 * sysdeps/unix/sysv/linux/configure: Regenerated.
50653
50654 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50655
50656 * manual/lang.texi (Old Varargs): Remove section.
50657 (How Variadic): Update menu.
50658 (va_start): Do not mention varargs.h.
50659
50660 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50661 Joseph Myers <joseph@codesourcery.com>
50662
50663 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50664 link test.
50665 * configure: Regenerated.
50666
50667 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50668
50669 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50670 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50671 conformtest.pl
50672
50673 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50674
50675 * NOTES: Remove.
50676 * Makefile (files-for-dist): Remove NOTES.
50677 (NOTES): Remove rule.
50678 * README: Don't refer to NOTES.
50679 * manual/creature.texi: Don't include macros.texi.
50680 * manual/intro.texi (creature.texi): Remove comment referring to
50681 NOTES.
50682
50683 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50684 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50685 * configure: Regenerated.
50686 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50687 LIBC_TRY_CC_OPTION.
50688 (libc_cv_as_i686): Likewise.
50689 (libc_cv_cc_avx): Likewise.
50690 (libc_cv_cc_sse2avx): Likewise.
50691 (libc_cv_cc_fma4): Likewise.
50692 (libc_cv_cc_novzeroupper): Likewise.
50693 * sysdeps/i386/configure: Regenerated.
50694
50695 [BZ #13883]
50696 * sysdeps/i386/fpu/s_cexp.S: Remove.
50697 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50698 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50699 * math/libm-test.inc (cexp_test): Add more tests.
50700 * sysdeps/i386/fpu/libm-test-ulps: Update.
50701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50702
50703 2012-03-21 Allan McRae <allan@archlinux.org>
50704
50705 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50706
50707 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50708
50709 [BZ #13871]
50710 * math/w_exp2.c: Do not include <float.h>.
50711 (o_threshold, u_threshold): Remove.
50712 (__exp2): Calculate result before checking finiteness and calling
50713 __kernel_standard.
50714 * math/w_exp2f.c: Likewise.
50715 * math/w_exp2l.c: Likewise.
50716 * math/libm-test.inc (exp2_test): Require overflow exception for
50717 1e6 input.
50718
50719 [BZ #3866]
50720 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50721 range of signed 64-bit integers before using fistpll. Remove
50722 checks for whether integers fit in mantissa bits.
50723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50724 the range of signed 32-bit integers before using fistpl. Remove
50725 checks for whether integers fit in mantissa bits.
50726 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50727 (__ieee754_powl): Test for y outside the range of signed 64-bit
50728 integers before using fistpll. Reduce 64-bit values to 63-bit
50729 ones as needed.
50730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50731 divide-by-zero is raised for zero to large negative powers.
50732 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50733 (__ieee754_powl): Test for y outside the range of signed 64-bit
50734 integers before using fistpll. Reduce 64-bit values to 63-bit
50735 ones as needed.
50736 * math/libm-test.inc (pow_test): Add more tests.
50737
50738 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50739
50740 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50741 <stdio-common/_itoa.h>.
50742 * debug/segfault.c: Likewise.
50743 * elf/dl-cache.c: Likewise.
50744 * elf/dl-minimal.c: Likewise.
50745 * elf/dl-misc.c: Likewise.
50746 * elf/dl-sysdep.c: Likewise.
50747 * elf/dl-version.c: Likewise.
50748 * elf/rtld.c: Likewise.
50749 * hurd/hurdsock.c: Likewise.
50750 * hurd/lookup-retry.c: Likewise.
50751 * malloc/malloc.c: Likewise.
50752 * malloc/mtrace.c: Likewise.
50753 * nscd/nscd_getgr_r.c: Likewise.
50754 * nscd/nscd_getpw_r.c: Likewise.
50755 * nscd/nscd_getserv_r.c: Likewise.
50756 * posix/getopt_init.c: Likewise.
50757 * posix/wordexp.c: Likewise.
50758 * stdio-common/_itoa.c: Likewise.
50759 * stdio-common/printf_fphex.c: Likewise.
50760 * stdio-common/vfprintf.c: Likewise.
50761 * string/_strerror.c: Likewise.
50762 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50763 * sysdeps/i386/i686/hp-timing.h: Likewise.
50764 * sysdeps/mach/_strerror.c: Likewise.
50765 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50766 * sysdeps/mach/hurd/sethostid.c: Likewise.
50767 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50768 * sysdeps/mach/xpg-strerror.c: Likewise.
50769 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50770 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50771 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50772 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50773 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50774 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50775 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50776 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50777 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50778 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50779 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50780 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50781 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50782 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50783 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50784 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50785 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50786 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50787 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50788 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50789 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50790
50791 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50792
50793 * stdio-common/_itoa.h: Moved to ...
50794 * sysdeps/generic/_itoa.h: Here.
50795
50796 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50797
50798 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50799 instead of "_itoa.h" and "_itowa.h".
50800 * stdio-common/vfprintf.: Likewise.
50801
50802 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50803
50804 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50805 <bits/wordsize.h>.
50806 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50807 (__signbit): Likwise.
50808 (llrintf): Likwise.
50809 (llrint): Likwise.
50810
50811 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50812
50813 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50814 __WORDSIZE != 64.
50815
50816 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50817
50818 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50819 OVERFLOW_EXCEPTION_OK.
50820 * math/libm-test.inc ("Philosophy"): Update comment about
50821 exception testing.
50822 (OVERFLOW_EXCEPTION): Define.
50823 (OVERFLOW_EXCEPTION_OK): Likewise.
50824 (INVALID_EXCEPTION_OK): Renumber.
50825 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50826 (IGNORE_ZERO_INF_SIGN): Likewise.
50827 (test_exceptions): Handle FE_OVERFLOW.
50828 (exp10_test): Expect overflow exceptions.
50829 (exp2_test): Likewise.
50830 (expm1_test): Likewise.
50831 (nextafter_test): Likewise.
50832 (pow_test): Likewise.
50833 (scalbn_test): Likewise.
50834 (scalbln_test): Likewise.
50835
50836 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50837
50838 * sysdeps/x86_64/bits/atomic.h
50839 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50840 64bit integer.
50841 (atomic_exchange_acq): Likewise.
50842 (__arch_exchange_and_add_body): Likewise.
50843 (__arch_add_body): Likewise.
50844 (atomic_add_negative): Likewise.
50845 (atomic_add_zero): Likewise.
50846
50847 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50848
50849 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50850 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50851
50852 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50853
50854 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50855 Check __x86_64__ instead of __WORDSIZE.
50856
50857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50858
50859 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50860
50861 2012-03-19 David S. Miller <davem@davemloft.net>
50862
50863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50864
50865 * sysdeps/sparc/fpu/fenv_private.h: New file.
50866 * sysdeps/sparc/fpu/math_private.h: Use it.
50867 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50868 Remove.
50869 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50870 (libc_feholdexcept_setroundl): Remove.
50871 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50872 Remove.
50873 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50874 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50875
50876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50877
50878 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50879 int64_t instead of long int.
50880 (INSERT_WORDS64): Likwise.
50881
50882 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50883
50884 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50885 _Unwind_GetCFA return to _Unwind_Ptr first.
50886
50887 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50888
50889 [BZ #13629]
50890 * math/s_clog.c: Include <float.h>.
50891 (__clog): Scale large or subnormal inputs.
50892 * math/s_clogf.c: Likewise.
50893 * math/s_clogl.c: Likewise.
50894 * math/s_clog10.c: Include <float.h>.
50895 (M_LOG10_2): Define.
50896 (__clog10): Scale large or subnormal inputs.
50897 * math/s_clog10f.c: Likewise.
50898 * math/s_clog10l.c: Likewise.
50899 * math/libm-test.inc (clog_test): Add more tests.
50900 (clog10_test): Likewise.
50901 * sysdeps/i386/fpu/libm-test-ulps: Update.
50902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50903
50904 [BZ #11451]
50905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50906 x and y.
50907 * math/libm-test.inc (atan2_test): Add another test.
50908
50909 * Makerules (common-objdir-compile): Remove.
50910 * sysdeps/unix/Makefile (config-generated): Do not add
50911 $(unix-generated) to variable.
50912 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50913 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50914 Remove rule.
50915 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50916 Likewise.
50917 [generic bits/local_lim.h] (before-compile): Do not append to
50918 variable.
50919 [generic bits/local_lim.h] (common-generated): Likewise.
50920 [generic sys/param.h] (before-compile): Do not append to variable.
50921 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50922 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50923 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50925 include.
50926 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50927 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50928 [generic sys/param.h] ($(addprefix
50929 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50930 [generic sys/param.h] (common-generated): Do not append to
50931 variable.
50932 [generic sys/param.h] (sysdep_headers): Likewise.
50933 [generic bits/errno.h] (before-compile): Do not append to
50934 variable.
50935 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50936 rule.
50937 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50938 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50939 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50940 [generic bits/errno.h] (common-generated): Do not append to
50941 variable.
50942 [generic bits/ioctls.h] (before-compile): Do not append to
50943 variable.
50944 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50945 rule.
50946 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50947 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50948 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50949 rule.
50950 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50951 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50952 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50953 [generic bits/ioctls.h] (common-generated): Do not append to
50954 variable.
50955 [generic sys/syscall.h] (syscall.h): Remove variable.
50956 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50957 rule.
50958 [generic sys/syscall.h] (before-compile): Do not append to
50959 variable.
50960 [generic sys/syscall.h] (common-generated): Likewise.
50961 * sysdeps/unix/errnos-tmpl.c: Remove file.
50962 * sysdeps/unix/errnos.awk: Likewise.
50963 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50964 * sysdeps/unix/ioctls.awk: Likewise.
50965 * sysdeps/unix/mk-local_lim.c: Likewise.
50966 * sysdeps/unix/snarf-ioctls: Likewise.
50967
50968 2012-03-19 Richard Henderson <rth@twiddle.net>
50969
50970 * sysdeps/i386/fpu/fenv_private.h: New file.
50971 * sysdeps/i386/fpu/math_private.h: Use it.
50972 (math_opt_barrier, math_force_eval): Remove.
50973 (libc_feholdexcept_setround_53bit): Remove.
50974 (libc_feupdateenv_53bit): Remove.
50975 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50976 (math_opt_barrier, math_force_eval): Remove.
50977 (libc_feholdexcept): Remove.
50978 (libc_feholdexcept_setround): Remove.
50979 (libc_fetestexcept, libc_fesetenv): Remove.
50980 (libc_feupdateenv_test): Remove.
50981 (libc_feupdateenv, libc_feholdsetround): Remove.
50982 (libc_feresetround): Remove.
50983
50984 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50985 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50986
50987 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50988 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50989 (libc_feupdateenv_testl): New.
50990 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50991 (libc_feupdateenv_testf): New.
50992 (libc_feupdateenv): Use libc_feupdateenv_test.
50993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50994 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50995
50996 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50997 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50998 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50999 (libc_feresetround_noex): New.
51000 (libc_feresetround_noexf): New.
51001 (libc_feresetround_noexl): New.
51002 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51003 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51004 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51005 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51006 SET_RESTORE_ROUND.
51007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51009 (__cos): Likewise.
51010 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51011 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51012 SET_RESTORE_ROUND_NOEX.
51013 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51014 SET_RESTORE_ROUND_NOEXF.
51015 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51016 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51017 (libc_feholdsetroundf): New.
51018 (libc_feresetround, libc_feresetroundf): New.
51019
51020 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51021 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51022 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51023
51024 * sysdeps/generic/math_private.h: Include <fenv.h>.
51025 (default_libc_feholdexcept): New.
51026 (default_libc_feholdexcept_setround): New.
51027 (default_libc_fesetenv, default_libc_feupdateenv): New.
51028 (libc_feholdexcept): Only define if undefined.
51029 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51030 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51031 (libc_feholdexcept_setroundl): Likewise.
51032 (libc_feholdexcept_setround_53bit): Likewise.
51033 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51034 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51035 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51036 (libc_feupdateenv_53bit): Likewise.
51037 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51038 (libc_feholdexcept): Convert from macro to inline function.
51039 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51040 (libc_fesetenv, libc_feupdateenv): Likewise.
51041
51042 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51043 not previously defined.
51044 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51045 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51046 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51047 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51048 * sysdeps/ieee754/flt-32/math_private.h: New file.
51049 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51050 math_private.h below SET_FLOAT_WORD.
51051 (__isnan, __isinf_ns, __finite): Remove.
51052 (__isnanf, __isinf_nsf, __finitef): Remove.
51053
51054 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51055
51056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51057
51058 2012-03-17 David S. Miller <davem@davemloft.net>
51059
51060 [BZ #6471]
51061 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51062 for 2.16.
51063
51064 2012-03-16 David S. Miller <davem@davemloft.net>
51065
51066 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51067 warnings.
51068
51069 [BZ #6471]
51070 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51071 properly.
51072 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51073 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51074 sysdep_routines when subdir is sysvipc.
51075 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51076 __getshmlba helper.
51077
51078 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51079
51080 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51081
51082 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51083 [__LP64__].
51084
51085 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51086
51087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51088 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51089 (__lround): Renamed to ...
51090 (__llround): This. Replace long int with long long int.
51091 Define lround functions as aliases of llround functions.
51092 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51093
51094 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51095
51096 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51097 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51098 adresses to uintptr_t. Replace "long int" and "unsigned long
51099 int" with "greg_t" on va_arg.
51100
51101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51102
51103 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51104 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51105
51106 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51107 Move e_machine check before EI_CLASS check. Handle x32
51108 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51109 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51110 SKIP_EM_IA_64 and include
51111 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51112
51113 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51114 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51115 (add_system_dir): New macro.
51116
51117 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51118 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51119
51120 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51121
51122 [BZ #2551]
51123 [BZ #2552]
51124 [BZ #2553]
51125 [BZ #2554]
51126 [BZ #2562]
51127 [BZ #2563]
51128 [BZ #2565]
51129 [BZ #2566]
51130 [BZ #2576]
51131 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51132 (y0): Likewise.
51133 * math/w_j0f.c (j0f): Likewise.
51134 (y0f): Likewise.
51135 * math/w_j0l.c (__j0l): Likewise.
51136 (__y0l): Likewise.
51137 * math/w_j1.c (j1): Likewise.
51138 (y1): Likewise.
51139 * math/w_j1f.c (j1f): Likewise.
51140 (y1f): Likewise.
51141 * math/w_j1l.c (__j1l): Likewise.
51142 (__y1l): Likewise.
51143 * math/w_jn.c (jn): Likewise.
51144 (yn): Likewise.
51145 * math/w_jnf.c (jnf): Likewise.
51146 (ynf): Likewise.
51147 * math/w_jnl.c (__jnl): Likewise.
51148 (__ynl): Likewise.
51149 * math/libm-test.inc (j0_test): Add more tests.
51150 (j1_test): Likewise.
51151 (jn_test): Likewise. Add trailing semicolon to existing test.
51152 (y0_test): Likewise.
51153 (y1_test): Likewise.
51154 * sysdeps/i386/fpu/libm-test-ulps: Update.
51155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51156
51157 [BZ #13851]
51158 [BZ #13854]
51159 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51160 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51161 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51163 (__tanl): Set errno for infinite argument.
51164 * sysdeps/i386/fpu/mptan.c: Remove.
51165 * sysdeps/i386/fpu/s_tan.S: Likewise.
51166 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51167 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51168 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51169 * math/libm-test.inc (tan_test): Add more tests and enable more
51170 tests for double and long double.
51171 * sysdeps/i386/fpu/libm-test-ulps: Update.
51172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51173
51174 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51175
51176 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51177 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51178
51179 2012-03-16 Roland McGrath <roland@hack.frob.com>
51180
51181 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51182 * configure.in: Use it for both main tree and add-ons.
51183 * configure: Regenerated.
51184
51185 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51186
51187 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51188
51189 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51190
51191 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51192 in comment.
51193
51194 [BZ #13851]
51195 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51196 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51197 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51198 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51199 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51200 infinite argument.
51201 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51203 != 0 for prec == 2.
51204 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51205 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51206 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51207 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51208 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51209 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51210 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51211 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51212 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51213 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51214 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51215 * math/libm-test.inc (cos_test): Add more tests and enable more
51216 tests for long double.
51217 (sin_test): Likewise.
51218 (sincos_test): Likewise.
51219 * sysdeps/i386/fpu/libm-test-ulps: Update.
51220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51221
51222 2012-03-16 David S. Miller <davem@davemloft.net>
51223
51224 * sysdeps/sparc/fpu/math_private.h: New file.
51225
51226 2012-03-15 David S. Miller <davem@davemloft.net>
51227
51228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51229 file.
51230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51232 file.
51233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51239 sysdep routines.
51240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51241
51242 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51243 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51244
51245 * sysdeps/sparc/sparc-ifunc.h: New file.
51246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51247 sparc-ifunc.h
51248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51250 Likewise.
51251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51252 Likewise.
51253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51257 Likewise.
51258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51263 Likewise.
51264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51265 Likewise.
51266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51290
51291 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51292
51293 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51294 scaling.
51295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51296
51297 2012-03-15 Andreas Jaeger <aj@suse.de>
51298
51299 [BZ #13852]
51300 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51301 ieee754/flt-32 implementation for sin, cos and sincos.
51302 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51303 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51304 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51305 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51306 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51307 ieee754/flt-32 implementation for tan.
51308
51309 * math/libm-test.inc (cos_test): Enable some large input tests for
51310 float as well
51311 (sin_test): Likewise.
51312 (sincos_test): Likewise.
51313 (tan_test): Add tests for large input.
51314
51315 * sysdeps/i386/fpu/libm-test-ulps: Update.
51316
51317 2012-03-15 Andreas Jaeger <aj@suse.de>
51318
51319 [BZ #13658]
51320 * math/libm-test.inc (cos_test): Add more test cases.
51321 (sin_test): Likewise.
51322 (sincos_test): Likewise.
51323
51324 2012-03-15 Andreas Jaeger <aj@suse.de>
51325
51326 [BZ #13837]
51327 * math/libm-test.inc (cos_test): Add a test case for large input
51328 value.
51329 (sin_test): Likewise.
51330 (sincos_test): Likewise.
51331
51332 2012-03-15 Andreas Jaeger <aj@suse.de>
51333 Joseph Myers <joseph@codesourcery.com>
51334
51335 [BZ #13658]
51336 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51337 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51338 * sysdeps/i386/fpu/branred.c: Likewise.
51339 * sysdeps/i386/fpu/dosincos.c: Likewise.
51340 * sysdeps/i386/fpu/mpa.c: Likewise.
51341 * sysdeps/i386/fpu/s_cos.S: Likewise.
51342 * sysdeps/i386/fpu/s_sin.S: Likewise.
51343 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51344 * sysdeps/i386/fpu/sincos32.c: Likewise.
51345
51346 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51347 Define.
51348 (libc_feupdateenv_53bit): Define.
51349 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51350 Define.
51351 (libc_feupdateenv_53bit): Define.
51352
51353 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51354 53 bit (without extend i386 double precision).
51355
51356 * math/libm-test.inc (sincos_test): Add tests for large input.
51357 (sin): Likewise.
51358 (cos): Likewise.
51359
51360 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51361
51362 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51363
51364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51365
51366 2012-03-15 David S. Miller <davem@davemloft.net>
51367
51368 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51369 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51370 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51371 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51384 file.
51385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51387 file.
51388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51390 file.
51391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51393 file.
51394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51396 fmin/fmax sysdep routines.
51397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51398
51399 2012-03-14 David S. Miller <davem@davemloft.net>
51400
51401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51421 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51425 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51430 routines.
51431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51432 file.
51433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51435 file.
51436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51438 file.
51439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51441 file.
51442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51444 file.
51445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51447 file.
51448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51449 file.
51450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51451 file.
51452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51453 file.
51454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51455 New file.
51456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51457 file.
51458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51459 file.
51460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51462 file.
51463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51465 file.
51466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51468 file.
51469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51471 VIS3 routines.
51472
51473 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51474 New file.
51475
51476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51477
51478 * sysdeps/sparc/configure.in: New file.
51479 * sysdeps/sparc/configure: Generate.
51480 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51481 * configure: Regenerate.
51482 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51483 * config.make.in (have-as-vis3): New.
51484 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51485 available use -Av9d instead of -Av9a.
51486 * sysdeps/sparc/sparc64/Makefile: Likewise.
51487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51489 New file.
51490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51491 file.
51492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51493 New file.
51494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51495 file.
51496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51497 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51501
51502 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51503 fzeros/fnegs to load 0x80000000 into a float register instead of
51504 using the stack.
51505 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51506
51507 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51508
51509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51510 bits/syscall.h.
51511 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51512 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51513 ($(inst_includedir)/bits/syscall.h): Remove rule.
51514 ($(objpfx)bits/syscall.d): Include instead of
51515 $(objpfx)syscall-list.d.
51516 (generated): Change syscall-list.h and syscall-list.d to
51517 bits/syscall.h and bits/syscall.d.
51518
51519 2012-03-14 Roland McGrath <roland@hack.frob.com>
51520
51521 [BZ #13846]
51522 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51523
51524 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51525
51526 [BZ #13841]
51527 * math/s_csqrt.c: Include <float.h>.
51528 (__csqrt): Scale large or subnormal inputs.
51529 * math/s_csqrtf.c: Likewise.
51530 * math/s_csqrtl.c: Likewise.
51531 * math/libm-test.inc (csqrt_test): Add more tests.
51532 * sysdeps/i386/fpu/libm-test-ulps: Update.
51533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51534
51535 [BZ #13840]
51536 * math/libm-test.inc (hypot_test): Add more tests.
51537
51538 2012-03-13 David S. Miller <davem@davemloft.net>
51539
51540 [BZ #13840]
51541 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51542 double-precision for the calculation instead of scaling.
51543
51544 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51545
51546 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51547 manipulate bits before adding and subtracting TWO52[sx].
51548 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51549 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51550 Likewise.
51551 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51552
51553 2012-03-13 David S. Miller <davem@davemloft.net>
51554
51555 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51556 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51558 rtld-global-offsets.h
51559 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51560
51561 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51562 large parameters.
51563
51564 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51565
51566 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51567 'err' in the ifdef scope in which it is actually used.
51568
51569 * nss/nss_db/db-init.c: Include string.h
51570
51571 2012-03-12 David S. Miller <davem@davemloft.net>
51572
51573 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51574 masking out of the most significant byte of random value used.
51575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51576 Fix coding style in previous change.
51577
51578 * sysdeps/unix/sysv/linux/kernel-features.h
51579 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51580 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51581 expression.
51582 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51583 later.
51584
51585 2012-03-11 David S. Miller <davem@davemloft.net>
51586
51587 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51588 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51589 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51590 for 'resultvar' otherwise things get truncated on 64-bit.
51591
51592 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51593 Fix masking out of the most significant byte of random value used.
51594
51595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51596
51597 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51598
51599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51600
51601 2012-03-09 David S. Miller <davem@davemloft.net>
51602
51603 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51604 variables with appropriate CPP guards.
51605 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51606 from the frame pointer, not the stack pointer. Correct layout
51607 comments. Fix test on resulting framesize and the management of
51608 the outregs buffer for pltexit. Preserve floating point return
51609 values across _dl_call_pltexit call.
51610 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51611 framesize and the management of the outregs buffer for pltexit.
51612 Preserve floating point return values across _dl_call_pltexit
51613 call.
51614 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51615 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51616 (la_sparc64_gnu_pltexit): New functions.
51617 (print_exit): Fix format string for return register value.
51618
51619 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51620
51621 * sunrpc/Makefile (others): Add rpcgen.
51622 ($(objpfx)rpcgen): Remove special build rule and dependency on
51623 libc.
51624 * sunrpc/rpcgen.c: New file.
51625
51626 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51627
51628 [BZ #13673]
51629 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51630 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51631 * sysdeps/i386/crti.S: Likewise.
51632 * sysdeps/i386/crtn.S: Likewise.
51633 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51634 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51635 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51636 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51637 * sysdeps/sh/crti.S: Likewise.
51638 * sysdeps/sh/crtn.S: Likewise.
51639 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51640
51641 [BZ #13673]
51642 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51643 with URL.
51644 * locale/programs/locfile-kw.gperf: Likewise.
51645 * locale/programs/charmap-kw.h: Regenerated.
51646 * locale/programs/locfile-kw.h: Likewise.
51647
51648 [BZ #13673]
51649 * intl/plural.y: Replace FSF snail mail address with URL.
51650 * intl/plural.c: Regenerated.
51651
51652 2012-03-09 Richard Henderson <rth@twiddle.net>
51653
51654 * include/math_private.h: Remove file.
51655 * math/math_private.h: Move file ...
51656 * sysdeps/generic/math_private.h: ... here.
51657
51658 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51659 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51660 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51661
51662 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51663 and <math_private.h>.
51664 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51665 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51666 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51667 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51668 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51672 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51676 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51678 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51679 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51681 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51682 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51683 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51686 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51688 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51689 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51690 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51694 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51696 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51697 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51698 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51699 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51701 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51702 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51704 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51705 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51706 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51707 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51708 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51709 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51712 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51713 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51714 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51715 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51716 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51718 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51719 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51721 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51722 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51723 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51725 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51727 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51728 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51729 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51730 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51733 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51734 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51736 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51744 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51746 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51747 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51748 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51749 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51750 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51751 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51752 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51753 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51754 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51755 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51757 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51758 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51759 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51760 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51761 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51762 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51764 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51765 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51766 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51767 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51769 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51770 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51771 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51772 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51774 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51775 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51776 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51778 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51780 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51781 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51782 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51783 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51784 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51785 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51786 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51787 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51788 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51789 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51790 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51791 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51792 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51793 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51794 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51795 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51796 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51797 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51798 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51799 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51801 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51802 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51803 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51804 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51805 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51806 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51807 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51808 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51809 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51810 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51811 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51812 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51813 * sysdeps/ieee754/k_standard.c: Likewise.
51814 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51815 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51816 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51817 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51818 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51819 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51820 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51821 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51822 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51823 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51824 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51825 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51826 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51827 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51828 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51829 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51830 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51831 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51832 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51833 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51834 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51835 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51837 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51838 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51842 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51845 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51846 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51847 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51848 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51849 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51850 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51851 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51852 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51853 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51854 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51855 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51858 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51859 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51860 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51862 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51863 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51865 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51866 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51867 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51870 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51871 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51872 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51873 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51875 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51876 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51877 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51878 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51880 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51881 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51884 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51886 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51888 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51890 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51891 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51893 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51894 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51895 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51896 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51897 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51899 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51900 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51901 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51903 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51904 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51905 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51906 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51907 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51908 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51909 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51910 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51911 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51912 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51913 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51915 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51916 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51917 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51918 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51921 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51922 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51925 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51926 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51927 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51928 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51930 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51931 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51932 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51933 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51934 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51935 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51936 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51937 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51938 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51939 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51940 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51941 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51942 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51943 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51944 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51945 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51946 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51947 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51948 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51950 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51951 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51952 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51953 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51954 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51955 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51956 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51957 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51958 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51963 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51964 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51965 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51968 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51969 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51970 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51971 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51972 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51973 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51974 * sysdeps/ieee754/s_lib_version.c: Likewise.
51975 * sysdeps/ieee754/s_matherr.c: Likewise.
51976 * sysdeps/ieee754/s_signgam.c: Likewise.
51977 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51978 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51979 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51980 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51981 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51982 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51983 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51984 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51985 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51986 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51987 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51988 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51989 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51990 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51991 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51992 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51993 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51994 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51995 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51998
51999 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52000
52001 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52002 * sunrpc/rpc_main.c: Likewise.
52003 * sunrpc/rpc_svcout.c: Likewise.
52004
52005 2012-03-09 David S. Miller <davem@davemloft.net>
52006
52007 * include/math_private.h: New file.
52008
52009 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52010
52011 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52012 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52013 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52014 from <bits/socket_type.h>.
52015 (enum __socket_type): Don't define here.
52016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52018 bits/socket_type.h.
52019
52020 [BZ #13566]
52021 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52022 checking __USE_GNU.
52023
52024 * Makerules ($(inst_includedir)/%.h): New rule.
52025 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52026 (install-others): Remove variable setting.
52027 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52028
52029 2012-03-08 Richard Henderson <rth@twiddle.net>
52030
52031 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52032 from macro to inline function; merge with the
52033 !__LIBC_INTERNAL_MATH_INLINES version.
52034 (__ieee754_sqrtf): Likewise.
52035
52036 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52037 to inline function.
52038 (__rintf, __floor, __floorf): Likewise.
52039
52040 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52041 macro to inline function.
52042 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52043
52044 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52045 not <math/math_private.h>.
52046
52047 2012-03-08 David S. Miller <davem@davemloft.net>
52048
52049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52050 copyright year.
52051 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52052
52053 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52054
52055 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52056 normalization.
52057 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52058 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52059
52060 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52061
52062 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52063 be defined individually, they must be defined as a block. Define
52064 S for printing a string instead of hidint the different by using a
52065 macro for adding the 'l'.
52066 * stdio-common/tst-fphex-wide.c: Adjust.
52067
52068 2012-03-07 Marek Polacek <polacek@redhat.com>
52069
52070 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52071
52072 2012-03-08 Marek Polacek <polacek@redhat.com>
52073
52074 [BZ #13806]
52075 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52076 * stdio-common/tst-fphex.c: Define a few macros to make the
52077 test reusable. Use them.
52078 * stdio-common/tst-fphex-wide.c: New file.
52079
52080 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52081
52082 [BZ #6911]
52083 * manual/macros.texi (gnusystems): New macro.
52084 (nongnusystems): Likewise.
52085 (gnulinuxhurdsystems): Likewise.
52086 (gnuhurdsystems): Likewise..
52087 (gnulinuxsystems): Likewise.
52088 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52089 variants of the GNU system, not "GNU system".
52090 * manual/conf.texi: Likewise.
52091 * manual/errno.texi: Likewise. Update example of errno macro
52092 expansion.
52093 * manual/filesys.texi: Likewise.
52094 (getumask): Document as specific to GNU/Hurd.
52095 * manual/install.texi: Likewise. Reword some references to
52096 GNU/Linux.
52097 * manual/intro.texi: Likewise.
52098 * manual/io.texi: Likewise.
52099 (File Name Portability): Detail which constraints are inapplicable
52100 to all GNU systems and which are only inapplicable to GNU/Hurd.
52101 * manual/job.texi: Likewise.
52102 * manual/llio.texi: Likewise.
52103 (O_NOCTTY): Document as present on GNU/Linux.
52104 * manual/maint.texi: Likewise.
52105 * manual/memory.texi: Likewise.
52106 * manual/pattern.texi: Likewise.
52107 * manual/pipe.texi: Likewise.
52108 * manual/process.texi: Likewise.
52109 * manual/resource.texi: Likewise.
52110 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52111 child on GNU/Hurd.
52112 * manual/setjmp.texi: Likewise.
52113 * manual/signal.texi: Likewise.
52114 * manual/startup.texi: Likewise.
52115 * manual/stdio.texi: Likewise.
52116 * manual/terminal.texi: Likewise.
52117 (ONLCR): Document as POSIX.
52118 (OXTABS): Document availability on GNU/Linux as XTABS.
52119 (ONOEOT): Document availability separately from other bits.
52120 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52121 * manual/time.texi: Likewise.
52122 * manual/users.texi: Likewise.
52123 * INSTALL: Regenerated.
52124 * sysdeps/gnu/errlist.c: Regenerated.
52125
52126 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52127 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52128 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52129 puts.
52130 * configure: Regenerated.
52131
52132 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52133
52134 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52135 default includes instead of AC_HEADER_CHECK.
52136 * sysdeps/i386/configure: Regenerated.
52137
52138 [BZ #10716]
52139 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52140 * math/s_cacoshf.c (__cacoshf): Likewise.
52141 * math/s_cacoshl.c (__cacoshl): Likewise.
52142 * math/s_casinh.c (__casinh): Set signs of result from argument.
52143 * math/s_casinhf.c (__casinhf): Likewise.
52144 * math/s_casinhl.c (__casinhl): Likewise.
52145 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52146 (casinh_test): Add more tests.
52147 * sysdeps/i386/fpu/libm-test-ulps: Update.
52148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52149
52150 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52151
52152 * po/zh_TW.po: Update from translation team.
52153
52154 * login/Makefile (distribute): Remove variable.
52155 * catgets/Makefile: Likewise.
52156 * mach/Makefile: Likewise.
52157 * malloc/Makefile: Likewise.
52158 * misc/Makefile: Likewise.
52159 * iconv/Makefile: Likewise.
52160 * nscd/Makefile: Likewise.
52161 * hurd/Makefile: Likewise.
52162 * manual/Makefile: Likewise.
52163 * locale/Makefile: Likewise.
52164 * intl/Makefile: Likewise.
52165 * conform/Makefile: Likewise.
52166 * nss/Makefile: Likewise.
52167 * time/Makefile: Likewise.
52168 * soft-fp/Makefile: Likewise.
52169 * dirent/Makefile: Likewise.
52170 * gmon/Makefile: Likewise.
52171 * po/Makefile: Likewise.
52172 * rt/Makefile: Likewise.
52173 * socket/Makefile: Likewise.
52174 * math/Makefile: Likewise.
52175 * signal/Makefile: Likewise.
52176 * debug/Makefile: Likewise.
52177 * elf/Makefile: Likewise.
52178 * timezone/Makefile: Likewise.
52179 * stdlib/Makefile: Likewise.
52180 * iconvdata/Makefile: Likewise.
52181 * sunrpc/Makefile: Likewise.
52182 * io/Makefile: Likewise.
52183 * argp/Makefile: Likewise.
52184 * inet/Makefile: Likewise.
52185 * hesiod/Makefile: Likewise.
52186 * grp/Makefile: Likewise.
52187 * csu/Makefile: Likewise.
52188 * wctype/Makefile: Likewise.
52189 * crypt/Makefile: Likewise.
52190 * libio/Makefile: Likewise.
52191 * string/Makefile: Likewise.
52192 * nis/Makefile: Likewise.
52193 * resolv/Makefile: Likewise.
52194 * stdio-common/Makefile: Likewise.
52195 * wcsmbs/Makefile: Likewise.
52196 * dlfcn/Makefile: Likewise.
52197 * posix/Makefile: Likewise.
52198
52199 [BZ #6959]
52200 * timezone/Makefile: Don't install timezone files, just the programs
52201 and scripts.
52202
52203 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52204
52205 * nss/databases.def: Add missing gshadow entry.
52206
52207 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52208
52209 2012-03-06 Marek Polacek <polacek@redhat.com>
52210
52211 [BZ #13726]
52212 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52213 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52214 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52215 * stdio-common/tst-long-dbl-fphex.c: New file.
52216
52217 2012-03-06 David S. Miller <davem@davemloft.net>
52218
52219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52220 (set_obp_int): New function.
52221 (get_obp_int): New function.
52222 (__get_clockfreq_via_dev_openprom): Likewise.
52223 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52224 Avoid unused variable warnings on 'val' and use builtin_expect.
52225 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52226 __builtin_expect.
52227 (INLINE_CLONE_SYSCALL): Likewise.
52228
52229 2012-03-05 David S. Miller <davem@davemloft.net>
52230
52231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52232
52233 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52234
52235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52236
52237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52238 only for |x| >= 40.
52239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52240
52241 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52242
52243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52244 Replace gettimeofday with __vdso_gettimeofday.
52245
52246 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52247 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52248 __vdso_clock_gettime and __vdso_getcpu.
52249
52250 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52251 time with __vdso_time.
52252
52253 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52254
52255 * manual/lang.texi (size_t): Note types to which size_t may be
52256 equivalent with the GNU C Library, but do not describe when
52257 differences between them are significant.
52258
52259 2012-03-05 Andreas Jaeger <aj@suse.de>
52260
52261 * sysdeps/i386/fpu/libm-test-ulps: Update.
52262
52263 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52264
52265 [BZ #3976]
52266 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52267 (__ieee754_pow): Save and restore rounding mode and use
52268 round-to-nearest for main computations.
52269 * math/libm-test.inc (pow_test_tonearest): New function.
52270 (pow_test_towardzero): Likewise.
52271 (pow_test_downward): Likewise.
52272 (pow_test_upward): Likewise.
52273 (main): Call the new functions.
52274 * sysdeps/i386/fpu/libm-test-ulps: Update.
52275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52276
52277 [BZ #3976]
52278 * math/libm-test.inc (cosh_test_tonearest): New function.
52279 (cosh_test_towardzero): Likewise.
52280 (cosh_test_downward): Likewise.
52281 (cosh_test_upward): Likewise.
52282 (sinh_test_tonearest): Likewise.
52283 (sinh_test_towardzero): Likewise.
52284 (sinh_test_downward): Likewise.
52285 (sinh_test_upward): Likewise.
52286 (main): Call the new functions.
52287 * sysdeps/i386/fpu/libm-test-ulps: Update.
52288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52289
52290 2012-03-05 Tom de Vries <tom@codesourcery.com>
52291
52292 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52293 default stack guard is set in last bytes.
52294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52295
52296 2012-03-05 Kees Cook <keescook@chromium.org>
52297
52298 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52299
52300 [BZ #13656]
52301 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52302 possibly allocate from heap instead of stack.
52303 * stdio-common/bug-vfprintf-nargs.c: New file.
52304 * stdio-common/Makefile (tests): Add nargs overflow test.
52305
52306 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52307
52308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52309
52310 2012-03-03 Marek Polacek <polacek@redhat.com>
52311
52312 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52313 * math/math_private.h: Likewise.
52314 * stdlib/tst-strtod.c: Likewise.
52315 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52316 * sysdeps/x86_64/bits/atomic.h: Likewise.
52317
52318 2012-03-02 David S. Miller <davem@davemloft.net>
52319
52320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52324 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52325 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52326 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52327 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52328
52329 2012-03-02 Roland McGrath <roland@hack.frob.com>
52330
52331 [BZ #13792]
52332 * manual/examples/README: New file, says the example source files
52333 can be used under GPL>=2.
52334 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52335 line containing just "*/".
52336 * manual/examples/add.c: Add copyright header (GPL>=2).
52337 * manual/examples/argp-ex1.c: Likewise.
52338 * manual/examples/argp-ex2.c: Likewise.
52339 * manual/examples/argp-ex3.c: Likewise.
52340 * manual/examples/argp-ex4.c: Likewise.
52341 * manual/examples/atexit.c: Likewise.
52342 * manual/examples/db.c: Likewise.
52343 * manual/examples/dir.c: Likewise.
52344 * manual/examples/dir2.c: Likewise.
52345 * manual/examples/execinfo.c: Likewise.
52346 * manual/examples/filecli.c: Likewise.
52347 * manual/examples/filesrv.c: Likewise.
52348 * manual/examples/fmtmsgexpl.c: Likewise.
52349 * manual/examples/genpass.c: Likewise.
52350 * manual/examples/inetcli.c: Likewise.
52351 * manual/examples/inetsrv.c: Likewise.
52352 * manual/examples/isockad.c: Likewise.
52353 * manual/examples/longopt.c: Likewise.
52354 * manual/examples/memopen.c: Likewise.
52355 * manual/examples/memstrm.c: Likewise.
52356 * manual/examples/mkfsock.c: Likewise.
52357 * manual/examples/mkisock.c: Likewise.
52358 * manual/examples/mygetpass.c: Likewise.
52359 * manual/examples/pipe.c: Likewise.
52360 * manual/examples/popen.c: Likewise.
52361 * manual/examples/rprintf.c: Likewise.
52362 * manual/examples/search.c: Likewise.
52363 * manual/examples/select.c: Likewise.
52364 * manual/examples/setjmp.c: Likewise.
52365 * manual/examples/sigh1.c: Likewise.
52366 * manual/examples/sigusr.c: Likewise.
52367 * manual/examples/stpcpy.c: Likewise.
52368 * manual/examples/strdupa.c: Likewise.
52369 * manual/examples/strftim.c: Likewise.
52370 * manual/examples/strncat.c: Likewise.
52371 * manual/examples/subopt.c: Likewise.
52372 * manual/examples/swapcontext.c: Likewise.
52373 * manual/examples/termios.c: Likewise.
52374 * manual/examples/testopt.c: Likewise.
52375 * manual/examples/testpass.c: Likewise.
52376 * manual/examples/timeval_subtract.c: Likewise.
52377
52378 [BZ #13792]
52379 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52380 function to ...
52381 * manual/timeval_subtract.c.texi: ... here, new file.
52382
52383 2012-03-02 David S. Miller <davem@davemloft.net>
52384
52385 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52386
52387 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52388
52389 [BZ #3976]
52390 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52391 (__sin): Save and restore rounding mode and use round-to-nearest
52392 for all computations.
52393 (__cos): Save and restore rounding mode and use round-to-nearest
52394 for all computations.
52395 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52396 <fenv.h>.
52397 (tan): Save and restore rounding mode and use round-to-nearest for
52398 all computations.
52399 * math/libm-test.inc (cos_test_tonearest): New function.
52400 (cos_test_towardzero): Likewise.
52401 (cos_test_downward): Likewise.
52402 (cos_test_upward): Likewise.
52403 (sin_test_tonearest): Likewise.
52404 (sin_test_towardzero): Likewise.
52405 (sin_test_downward): Likewise.
52406 (sin_test_upward): Likewise.
52407 (tan_test_tonearest): Likewise.
52408 (tan_test_towardzero): Likewise.
52409 (tan_test_downward): Likewise.
52410 (tan_test_upward): Likewise.
52411 (main): Call the new functions.
52412 * sysdeps/i386/fpu/libm-test-ulps: Update.
52413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52414
52415 [BZ #10135]
52416 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52417 small n, then large n, before computing and testing k+n.
52418 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52420 Likewise.
52421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52422 Likewise.
52423 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52424 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52426 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52427 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52428 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52430 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52431 * math/libm-test.inc (scalbn_test): Add more tests.
52432 (scalbln_test): Likewise.
52433
52434 * manual/filesys.texi (mode_t): Describe constraints on size and
52435 signedness, not exact equivalence to a particular type.
52436 (ino_t): Likewise.
52437 (ino64_t): Likewise.
52438 (dev_t): Likewise.
52439 (nlink_t): Likewise.
52440 (blkcnt_t): Likewise.
52441 (blkcnt64_t): Likewise.
52442 * manual/llio.texi (off_t): Likewise.
52443
52444 [BZ #3976]
52445 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52446 (__ieee754_exp): Save and restore rounding mode and use
52447 round-to-nearest for all computations.
52448 * math/libm-test.inc (exp_test_tonearest): New function.
52449 (exp_test_towardzero): Likewise.
52450 (exp_test_downward): Likewise.
52451 (exp_test_upward): Likewise.
52452 (main): Call the new functions.
52453 * sysdeps/i386/fpu/libm-test-ulps: Update.
52454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52455
52456 2012-03-01 Chris Demetriou <cgd@google.com>
52457
52458 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52459 have predictable order.
52460
52461 2012-03-01 David S. Miller <davem@davemloft.net>
52462
52463 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52464
52465 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52466 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52467 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52468 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52469
52470 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52471 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52472 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52474 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52475 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52476 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52477 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52478 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52479
52480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52481
52482 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52483 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52485
52486 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52488 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52489 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52490 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52491 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52493 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52494 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52495 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52496 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52497 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52498 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52499 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52500 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52502 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52503 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52504 * sysdeps/sparc/elf/configure: Regenerated.
52505
52506 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52507
52508 * configure.in (AS, LD): Require binutils 2.20 or later.
52509 * configure: Regenerated.
52510 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52511 as required minimum version.
52512 * INSTALL: Regenerated.
52513
52514 [BZ #2541]
52515 [BZ #4108]
52516 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52517 before squaring exponent.
52518 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52519 bottom long double and 27 bits of top long double before squaring
52520 exponent.
52521 * math/libm-test.inc (erfc_test): Add more tests.
52522 * sysdeps/i386/fpu/libm-test-ulps: Update.
52523 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52525
52526 2012-03-01 Kai Tietz <ktietz@redhat.com>
52527
52528 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52529 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52530 containing bit-fields.
52531 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52532 * soft-fp/single.h (_FP_UNION_S): Likewise.
52533 * soft-fp/double.h (_FP_UNION_D): Likewise.
52534
52535 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52536
52537 [BZ #13786]
52538 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52539 not include ../strcmp.S.
52540 [USE_AS_STRNCASECMP_L]: Likewise.
52541 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52542 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52543 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52544 (__strncasecmp_l_ia32): Define as alias to
52545 __strncasecmp_l_nonascii.
52546
52547 [BZ #5794]
52548 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52549 * sysdeps/i386/fpu/libm-test-ulps: Update.
52550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52551
52552 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52554
52555 2012-02-29 Jeff Law <law@redhat.com>
52556
52557 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52558 out of bounds read.
52559
52560 2012-02-29 Marek Polacek <polacek@redhat.com>
52561
52562 [BZ #13706]
52563 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52564 * elf/Makefile: Add rules to run tst-unused-dep.out.
52565
52566 2012-02-28 David S. Miller <davem@davemloft.net>
52567
52568 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52569 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52572 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52573 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52574
52575 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52576
52577 * math/libm-test.inc (llround_test): Move one test from
52578 lround_test. Use TEST_f_L in moved test.
52579 (lround_test): Move misplaced test to llround_test. Add testcase
52580 from bug 2561.
52581
52582 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52583
52584 * sysdeps/x86_64/fpu/e_expf.S: New file.
52585 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52586
52587 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52588
52589 [BZ #13637]
52590 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52591 of remain_len that may cause incomplete multi-byte character and
52592 false match.
52593 * posix/bug-regex33.c: New file.
52594 * posix/Makefile (tests): Add bug-regex33.
52595
52596 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52597
52598 * manual/macros.texi: New file.
52599 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52600 * manual/libc.texinfo: Include macros.texi.
52601 * manual/creatute.texi: Likewise.
52602 * manual/install.texi: Likewise.
52603 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52604 @glibcadj{} in references to the GNU C Library.
52605 * manual/charset.texi: Likewise.
52606 * manual/conf.texi: Likewise.
52607 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52608 when not using those macros.
52609 * manual/creature.texi: Likewise.
52610 * manual/crypt.texi: Likewise.
52611 * manual/errno.texi: Likewise.
52612 * manual/filesys.texi: Likewise.
52613 * manual/header.texi: Likewise.
52614 * manual/install.texi: Likewise.
52615 * manual/intro.texi: Likewise.
52616 * manual/io.texi: Likewise.
52617 * manual/job.texi: Likewise.
52618 * manual/lang.texi: Likewise.
52619 * manual/libc.texiinfo: Likewise.
52620 * manual/llio.texi: Likewise.
52621 * manual/locale.texi: Likewise.
52622 * manual/maint.texi: Likewise.
52623 * manual/math.texi: Likewise.
52624 * manual/memory.texi: Likewise.
52625 * manual/message.texi: Likewise.
52626 * manual/nss.texi: Likewise.
52627 * manual/pattern.texi: Likewise.
52628 * manual/process.texi: Likewise.
52629 * manual/resource.texi: Likewise.
52630 * manual/search.texi: Likewise.
52631 * manual/setjmp.texi: Likewise.
52632 * manual/signal.texi: Likewise.
52633 * manual/socket.texi: Likewise.
52634 * manual/startup.texi: Likewise.
52635 * manual/stdio.texi: Likewise.
52636 * manual/string.texi: Likewise.
52637 * manual/sysinfo.texi: Likewise.
52638 * manual/syslog.texi: Likewise.
52639 * manual/terminal.texi: Likewise.
52640 * manual/time.texi: Likewise.
52641 * manual/users.texi: Likewise.
52642 * INSTALL: Regenerated.
52643 * NOTES: Regenerated.
52644 * sysdeps/gnu/errlist.c: Regenerated.
52645
52646 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52647
52648 * include/dirent.h: Include <dirstream.h> before
52649 <dirent/dirent.h>.
52650
52651 2012-02-28 David S. Miller <davem@davemloft.net>
52652
52653 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52654 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52655 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52656 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52657
52658 2012-02-27 David S. Miller <davem@davemloft.net>
52659
52660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52662 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52663 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52664
52665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52666 frame pointer instead of stack pointer relative arg slot.
52667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52668 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52669 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52670
52671 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
52672
52673 [BZ #3992]
52674 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52675
52676 2012-02-27 David S. Miller <davem@davemloft.net>
52677
52678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52682 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52683 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52684 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52685 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52686
52687 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52688
52689 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52690 later. Allow versions 5-9.
52691 * configure: Regenerated.
52692 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52693 required minimum version and 4.6 as recommended version. Do not
52694 mention bugs in GCC 2.7 and 2.8.
52695 * INSTALL: Regenerated.
52696
52697 2012-02-27 David S. Miller <davem@davemloft.net>
52698
52699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52705 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52707
52708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52709 manipulate bits before adding and subtracting TWO112[sx].
52710 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52711
52712 2012-02-27 Roland McGrath <roland@hack.frob.com>
52713
52714 [BZ #13775]
52715 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52716 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52717 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52718 being in POSIX, because they are in 1003.1-2008.
52719
52720 * rt/tst-aio.c: Include <fcntl.h>.
52721 * rt/tst-aio7.c: Likewise.
52722 * rt/tst-aio64.c: Likewise.
52723
52724 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52725
52726 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52727
52728 * manual/install.texi (--with-headers): Describe headers as
52729 interface headers, not private headers.
52730 (Specific advice for GNU/Linux systems): Describe use of headers
52731 from "make headers_install", not private headers from older
52732 kernels.
52733 * INSTALL: Regenerated.
52734 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52735 Change to 2.6.19.
52736 * sysdeps/unix/sysv/linux/configure: Regenerated.
52737
52738 * manual/llio.texi (fclean): Remove documentation.
52739
52740 * manual/Makefile (libc-texi-generated): New variable. Include
52741 version.texi.
52742 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52743 $(libc-texi-generated), not duplicated list of files.
52744 (version.texi, stamp-version): New rules.
52745 (realclean): Remove $(libc-texi-generated), not individual files
52746 from that list. Do not remove dir-add.texinfo.
52747 * manual/libc.texinfo: Comment out uses of edition numbers and
52748 references to printed manual. Remove last-updated dates.
52749 (EDITION): Comment out.
52750 (ISBN): Likewise.
52751 (VERSION, UPDATED): Remove.
52752 (version.texi): Include.
52753
52754 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52755
52756 * sysdeps/posix/spawni.c: Include <signal.h>.
52757 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52758 * sysdeps/pthread/aio_fsync.c: Likewise.
52759
52760 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52761
52762 * conform/Makefile (tests): Run only when not cross-compiling and
52763 when fast-check is not defined.
52764
52765 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52766 * conform/data/limits.h-data: Fixes for POSIX2008.
52767 * conform/run-conformtest.sh: Run all tests.
52768 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52769 headers.
52770 * include/bits/dlfcn.h: Likewise.
52771 * include/langinfo.h: Likewise.
52772 * include/monetary.h: Likewise.
52773 * include/sys/poll.h: Likewise.
52774
52775 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52776 for __USE_GNU.
52777 * posix/spawn.h: Define __need_sigset_t.
52778 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52779 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52780 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52781 to get sigevent_t only.
52782 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52783 only for __USE_GNU.
52784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52785 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52786 process_vm_writev only for __USE_GNU.
52787 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52788
52789 * conform/Makefile: For now ignore errors from run-conformtest.
52790 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52791 POSIX to avoid namespace pollution. Don't prepend headers.
52792 * conform/data/aio.h-data: Fixes for POSIX testing.
52793 * conform/data/fcntl.h-data: Likewise.
52794 * conform/data/glob.h-data: Likewise.
52795 * conform/data/grp.h-data: Likewise.
52796 * conform/data/pthread.h-data: Likewise.
52797 * conform/data/pwd.h-data: Likewise.
52798 * conform/data/signal.h-data: Likewise.
52799 * conform/data/spawn.h-data: Likewise.
52800 * conform/data/stdio.h-data: Likewise.
52801 * conform/data/stdlib.h-data: Likewise.
52802 * conform/data/stropts.h-data: Likewise.
52803 * conform/data/sys/mman.h-data: Likewise.
52804 * conform/data/sys/stat.h-data: Likewise.
52805 * conform/data/sys/types.h-data: Likewise.
52806 * conform/data/sys/wait.h-data: Likewise.
52807 * conform/data/time.h-data: Likewise.
52808 * conform/data/unistd.h-data: Likewise.
52809 * conform/data/utime.h-data: Likewise.
52810
52811 * io/sys/stat.h: fchmod was always in POSIX.
52812 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52813 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52814 * rt/aio.h: Define __need_timespec before including <time.h>.
52815 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52816 struct. Add forward declaration of pthread_attr_t and use it in
52817 sigevent.
52818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52820 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52821 always remove CLK_TCK definition.
52822
52823 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52824
52825 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52826
52827 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52828
52829 * conform/run-conformtest.sh: New file.
52830 * conform/Makefile: Run run-conformtest for tests.
52831 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52832 support.
52833
52834 * conform/data/uchar.h-data: New file.
52835 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52836 * conform/data/arpa/inet.h-data: Likewise.
52837 * conform/data/assert.h-data: Likewise.
52838 * conform/data/complex.h-data: Likewise.
52839 * conform/data/cpio.h-data: Likewise.
52840 * conform/data/ctype.h-data: Likewise.
52841 * conform/data/dirent.h-data: Likewise.
52842 * conform/data/dlfcn.h-data: Likewise.
52843 * conform/data/errno.h-data: Likewise.
52844 * conform/data/fcntl.h-data: Likewise.
52845 * conform/data/float.h-data: Likewise.
52846 * conform/data/fmtmsg.h-data: Likewise.
52847 * conform/data/fnmatch.h-data: Likewise.
52848 * conform/data/ftw.h-data: Likewise.
52849 * conform/data/glob.h-data: Likewise.
52850 * conform/data/grp.h-data: Likewise.
52851 * conform/data/iconv.h-data: Likewise.
52852 * conform/data/inttypes.h-data: Likewise.
52853 * conform/data/langinfo.h-data: Likewise.
52854 * conform/data/libgen.h-data: Likewise.
52855 * conform/data/limits.h-data: Likewise.
52856 * conform/data/locale.h-data: Likewise.
52857 * conform/data/math.h-data: Likewise.
52858 * conform/data/monetary.h-data: Likewise.
52859 * conform/data/mqueue.h-data: Likewise.
52860 * conform/data/ndbm.h-data: Likewise.
52861 * conform/data/net/if.h-data: Likewise.
52862 * conform/data/netdb.h-data: Likewise.
52863 * conform/data/netinet/in.h-data: Likewise.
52864 * conform/data/nl_types.h-data: Likewise.
52865 * conform/data/poll.h-data: Likewise.
52866 * conform/data/pthread.h-data: Likewise.
52867 * conform/data/pwd.h-data: Likewise.
52868 * conform/data/regex.h-data: Likewise.
52869 * conform/data/sched.h-data: Likewise.
52870 * conform/data/search.h-data: Likewise.
52871 * conform/data/semaphore.h-data: Likewise.
52872 * conform/data/setjmp.h-data: Likewise.
52873 * conform/data/signal.h-data: Likewise.
52874 * conform/data/spawn.h-data: Likewise.
52875 * conform/data/stdarg.h-data: Likewise.
52876 * conform/data/stdio.h-data: Likewise.
52877 * conform/data/stdlib.h-data: Likewise.
52878 * conform/data/string.h-data: Likewise.
52879 * conform/data/strings.h-data: Likewise.
52880 * conform/data/stropts.h-data: Likewise.
52881 * conform/data/sys/ipc.h-data: Likewise.
52882 * conform/data/sys/mman.h-data: Likewise.
52883 * conform/data/sys/msg.h-data: Likewise.
52884 * conform/data/sys/resource.h-data: Likewise.
52885 * conform/data/sys/select.h-data: Likewise.
52886 * conform/data/sys/sem.h-data: Likewise.
52887 * conform/data/sys/shm.h-data: Likewise.
52888 * conform/data/sys/socket.h-data: Likewise.
52889 * conform/data/sys/stat.h-data: Likewise.
52890 * conform/data/sys/statvfs.h-data: Likewise.
52891 * conform/data/sys/time.h-data: Likewise.
52892 * conform/data/sys/timeb.h-data: Likewise.
52893 * conform/data/sys/times.h-data: Likewise.
52894 * conform/data/sys/types.h-data: Likewise.
52895 * conform/data/sys/uio.h-data: Likewise.
52896 * conform/data/sys/un.h-data: Likewise.
52897 * conform/data/sys/utsname.h-data: Likewise.
52898 * conform/data/sys/wait.h-data: Likewise.
52899 * conform/data/syslog.h-data: Likewise.
52900 * conform/data/tar.h-data: Likewise.
52901 * conform/data/termios.h-data: Likewise.
52902 * conform/data/utime.h-data: Likewise.
52903 * conform/data/utmpx.h-data: Likewise.
52904 * conform/data/varargs.h-data: Likewise.
52905 * conform/data/wchar.h-data: Likewise.
52906 * conform/data/wctype.h-data: Likewise.
52907 * conform/data/wordexp.h-data: Likewise.
52908
52909 * include/stropts.h: New file.
52910 * include/uchar.h: New file.
52911 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52912 * include/assert.h: Likewise.
52913 * include/ctype.h: Likewise.
52914 * include/dirent.h: Likewise.
52915 * include/dlfcn.h: Likewise.
52916 * include/fcntl.h: Likewise.
52917 * include/fnmatch.h: Likewise.
52918 * include/glob.h: Likewise.
52919 * include/grp.h: Likewise.
52920 * include/libio.h: Likewise.
52921 * include/locale.h: Likewise.
52922 * include/math.h: Likewise.
52923 * include/net/if.h: Likewise.
52924 * include/netdb.h: Likewise.
52925 * include/netinet/in.h: Likewise.
52926 * include/pthread.h: Likewise.
52927 * include/pwd.h: Likewise.
52928 * include/regex.h: Likewise.
52929 * include/sched.h: Likewise.
52930 * include/search.h: Likewise.
52931 * include/setjmp.h: Likewise.
52932 * include/signal.h: Likewise.
52933 * include/stdio.h: Likewise.
52934 * include/stdlib.h: Likewise.
52935 * include/string.h: Likewise.
52936 * include/sys/cdefs.h: Likewise.
52937 * include/sys/mman.h: Likewise.
52938 * include/sys/msg.h: Likewise.
52939 * include/sys/resource.h: Likewise.
52940 * include/sys/select.h: Likewise.
52941 * include/sys/socket.h: Likewise.
52942 * include/sys/stat.h: Likewise.
52943 * include/sys/statvfs.h: Likewise.
52944 * include/sys/time.h: Likewise.
52945 * include/sys/times.h: Likewise.
52946 * include/sys/uio.h: Likewise.
52947 * include/sys/utsname.h: Likewise.
52948 * include/sys/wait.h: Likewise.
52949 * include/termios.h: Likewise.
52950 * include/time.h: Likewise.
52951 * include/ulimit.h: Likewise.
52952 * include/unistd.h: Likewise.
52953 * include/utime.h: Likewise.
52954 * include/wchar.h: Likewise.
52955 * include/wctype.h: Likewise.
52956 * include/wordexp.h: Likewise.
52957
52958 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52959
52960 * time/time.h: TIME_UTC must be a macro.
52961 Make timespec_get available for ISO C11 only as well.
52962
52963 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52964
52965 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52966 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52967
52968 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52969
52970 * configure.in: Use -o not -a in test for unsupported multi-arch.
52971
52972 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52973
52974 * manual/texinfo.tex: Update to version 2012-01-19.16.
52975
52976 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52977
52978 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52979
52980 2012-02-24 Roland McGrath <roland@hack.frob.com>
52981
52982 [BZ #13738]
52983 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52984 * manual/fdl-1.3.texi: New file.
52985 * manual/fdl-1.1.texi: File removed.
52986
52987 [BZ #13738]
52988 * manual/libc.texinfo (FDL_VERSION): New @set.
52989 Use it for mention of FDL in cover text.
52990 (Documentation License): Use it in @include file name.
52991
52992 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52993 Roland McGrath <roland@hack.frob.com>
52994
52995 [BZ #5461]
52996 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52997 (not LONG_LONG_MAX and LONG_LONG_MIN.
52998 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52999 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53000 name.
53001 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53002
53003 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53004
53005 [BZ #2547]
53006 [BZ #11365]
53007 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53008 manipulate bits before adding and subtracting TWO23[sx].
53009 * math/libm-test.inc (nearbyint_test): Add more tests.
53010
53011 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53012
53013 [BZ #2548]
53014 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53015 bits before adding and subtracting TWO23[sx].
53016 * math/libm-test.inc (rint_test): Add more tests.
53017 (rint_test_tonearest): Likewise.
53018 (rint_test_towardzero): Likewise.
53019 (rint_test_downward): Likewise.
53020 (rint_test_upward: Likewise.
53021
53022 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53023
53024 [BZ #10110]
53025 * include/stdc-predef.h: New file. Extracted from features.h.
53026 * include/features.h: Include stdc-predef.h.
53027 * Makefile (headers): Add stdc-predef.h.
53028 * CONFORMANCE (Compiler limitations): Update.
53029
53030 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53031
53032 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53033
53034 2012-02-21 David S. Miller <davem@davemloft.net>
53035
53036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53038
53039 2012-02-20 David S. Miller <davem@davemloft.net>
53040
53041 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53042 using a normal save/restore sequence, rather than allocating a
53043 dummy stack frame just to store a frame pointer and restore.
53044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53045
53046 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53047
53048 * manual/install.texi: Fix stray word in line-wrapped comment.
53049
53050 2012-02-20 David S. Miller <davem@davemloft.net>
53051
53052 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53053 both binutils and gcc support GOTDATA.
53054
53055 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53056 "rd %pc" in the PIC register setup sequences.
53057
53058 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53059 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53060 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53061 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53062 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53064 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53067 (SYSCALL_ERROR_HANDLER): Likewise.
53068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53069 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53071 (SYSCALL_ERROR_HANDLER): Likewise.
53072
53073 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53074 (HAVE_GCC_GOTDATA): New.
53075 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53076 relocation support in both binutils and gcc.
53077 * sysdeps/sparc/elf/configure: Regenerate.
53078
53079 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53080 * sysdeps/sparc/sparc32/elf/configure: Delete.
53081 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53082 * sysdeps/sparc/sparc64/elf/configure: Delete.
53083 * sysdeps/sparc/elf/configure.in: New file.
53084 * sysdeps/sparc/elf/configure: Generate.
53085
53086 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53087 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53088 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53089 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53090 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53091
53092 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53093
53094 * manual/install.texi: Do not mention specific glibc version
53095 numbers.
53096 * manual/libc.texinfo (VERSION, UPDATED): Update.
53097 (@copying): Use @copyright{} and range of years.
53098
53099 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53100
53101 [BZ #13695]
53102 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53103 [crti.S not in sysdirs] (generated): Do not append.
53104 [crti.S not in sysdirs] (omit-deps): Likewise.
53105 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53106 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53107 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53108 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53109 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53110 Likewise.
53111 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53112 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53113 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53114 * csu/defs.awk: Remove file.
53115 * sysdeps/generic/initfini.c: Likewise.
53116 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53117 variable.
53118 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53119 Likewise.
53120
53121 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53122
53123 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53124 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53125 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53126 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53127 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53128 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53129 <bits/epoll.h>.
53130 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53131 (__EPOLL_PACKED): Define to empty if not defined by
53132 <bits/epoll.h>.
53133 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53135 bits/epoll.h.
53136
53137 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53138
53139 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53140 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53141 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53142 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53143 <bits/timerfd.h>.
53144 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53146 bits/timerfd.h.
53147
53148 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53149
53150 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53151 in C locale.
53152 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53153 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53156
53157 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53158
53159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53160 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53161
53162 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53163
53164 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53165 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53166 defined.
53167 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53168 Likewise.
53169 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53170 entry for 2.16.
53171
53172 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53173
53174 * math/w_acos.c: Use non-signaling floating-point comparisons.
53175 * math/w_acosf.c: Likewise.
53176 * math/w_acosh.c: Likewise.
53177 * math/w_acoshf.c: Likewise.
53178 * math/w_acoshl.c: Likewise.
53179 * math/w_acosl.c: Likewise.
53180 * math/w_asin.c: Likewise.
53181 * math/w_asinf.c: Likewise.
53182 * math/w_asinl.c: Likewise.
53183 * math/w_atanh.c: Likewise.
53184 * math/w_atanhf.c: Likewise.
53185 * math/w_atanhl.c: Likewise.
53186 * math/w_exp2.c: Likewise.
53187 * math/w_exp2f.c: Likewise.
53188 * math/w_exp2l.c: Likewise.
53189 * math/w_j0.c: Likewise.
53190 * math/w_j0f.c: Likewise.
53191 * math/w_j0l.c: Likewise.
53192 * math/w_j1.c: Likewise.
53193 * math/w_j1f.c: Likewise.
53194 * math/w_j1l.c: Likewise.
53195 * math/w_jn.c: Likewise.
53196 * math/w_jnf.c: Likewise.
53197 * math/w_log.c: Likewise.
53198 * math/w_log10.c: Likewise.
53199 * math/w_log10f.c: Likewise.
53200 * math/w_log10l.c: Likewise.
53201 * math/w_log2.c: Likewise.
53202 * math/w_log2f.c: Likewise.
53203 * math/w_log2l.c: Likewise.
53204 * math/w_logf.c: Likewise.
53205 * math/w_logl.c: Likewise.
53206 * math/w_sqrt.c: Likewise.
53207 * math/w_sqrtf.c: Likewise.
53208 * math/w_sqrtl.c: Likewise.
53209 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53210 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53211 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53212 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53213 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53214
53215 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53216
53217 [BZ #9739]
53218 * manual/string.texi (strnlen): Use correct parameter name in
53219 equivalent expression.
53220
53221 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53222
53223 [BZ #11174]
53224 * manual/users.texi (seteuid): Consistently use neweuid for
53225 argument name.
53226
53227 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53228
53229 [BZ #13704]
53230 * manual/nss.texi (Services in the NSS configuration): Correct
53231 list of services in example configuration file.
53232
53233 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53234
53235 [BZ #11322]
53236 * manual/arith.texi: Remove statements about negative zero
53237 behaving identically to zero.
53238
53239 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53240
53241 [BZ #5993]
53242 * manual/install.texi: Do not document upgrading from libc5.
53243
53244 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53245
53246 [BZ #4596]
53247 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53248
53249 2012-02-18 David S. Miller <davem@davemloft.net>
53250
53251 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53252 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53253 %o7 across the call.
53254 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53255 instead.
53256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53257 SETUP_PIC_REG_LEAF.
53258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53259 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53260 * sysdeps/sparc/crtn.S: Likewise.
53261
53262 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53263
53264 * aout/Makefile: Remove.
53265
53266 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53267
53268 [BZ #13058]
53269 * manual/examples/argp-ex1.c (main): Format definition in GNU
53270 style.
53271 * manual/examples/argp-ex2.c (main): Likewise.
53272 * manual/examples/argp-ex3.c (main): Likewise.
53273 * manual/examples/argp-ex4.c (main): Likewise.
53274 * manual/examples/longopt.c (main): Use new-style prototype
53275 definition.
53276 * manual/examples/strncat.c (main): Specify return type and use
53277 (void) for arguments.
53278 * manual/examples/subopt.c (main): Use char **argv argument.
53279
53280 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53281
53282 [BZ #5077]
53283 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53284 rounding modes.
53285
53286 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53287
53288 [BZ #6907]
53289 * manual/string.texi (strchr): Change when strchrnul is
53290 recommended.
53291
53292 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53293
53294 [BZ #174]
53295 * manual/locale.texi (setlocale): Document LOCPATH.
53296
53297 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53298
53299 [BZ #10210]
53300 * manual/process.texi (execle): Move @dots{} before last argument.
53301
53302 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53303
53304 [BZ #12047]
53305 * manual/charset.texi (Generic Charset Conversion): Fix typo
53306 (LC_TYPE -> LC_CTYPE).
53307
53308 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53309
53310 [BZ #5805]
53311 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53312 (scalbnf): Likewise.
53313 (scalbnl): Likewise.
53314 (scalbln): Likewise.
53315 (scalblnf): Likewise.
53316 (scalblnl): Likewise.
53317 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53318 (vwarnx): Likewise.
53319 (verr): Likewise.
53320 (verrx): Likewise.
53321 * manual/filesys.texi (telldir): Use braces around return type.
53322 * manual/llio.texi (mmap): Add space after comma.
53323 (mmap64): Likewise.
53324 * manual/math.texi (jn): Use @var{} on parameter names.
53325 (jnf): Likewise.
53326 (jnl): Likewise.
53327 (yn): Likewise.
53328 (ynf): Likewise.
53329 (ynl): Likewise.
53330 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53331 line.
53332 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53333 "...".
53334 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53335 (sched_get_priority_max): Likewise.
53336 * manual/signal.texi (sigvec): Add space after comma.
53337 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53338 names.
53339 (if_indextoname): Likewise.
53340 (if_freenameindex): Likewise.
53341 (sendto): Use ',' instead of '.' in prototype.
53342 * manual/startup.texi (syscall): Use @dots{} instead of literal
53343 "...".
53344 * manual/stdio.texi (__fpending): Separate initial words of
53345 paragraph from @deftypefun line.
53346 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53347 "...".
53348 (vsyslog): Use @var{} on parameter names.
53349 * manual/terminal.texi (stty): Use @var{} on parameter names.
53350 * manual/users.texi (getutmp): Use @var{} on parameter names.
53351 (getutmpx): Likewise.
53352
53353 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53354
53355 [BZ #6884]
53356 * manual/stdio.texi (fopen): Fix typos in description of
53357 ",ccs=STRING".
53358
53359 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53360
53361 [BZ #4026]
53362 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53363 get clock_id definition.
53364
53365 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53366
53367 [BZ #4822]
53368 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53369 (madvise): Cast every argument to void on its own.
53370
53371 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53372
53373 [BZ #9902]
53374 * manual/startup.texi (Exit Status): Fix typo.
53375
53376 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53377
53378 [BZ #10140]
53379 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53380 * manual/examples/argp-ex2.c: Likewise.
53381 * manual/examples/argp-ex3.c: Likewise.
53382
53383 2012-02-16 Richard Henderson <rth@redhat.com>
53384
53385 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53386 * sysdeps/s390/s390-32/initfini.c: Remove.
53387 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53388 * sysdeps/s390/s390-64/initfini.c: Remove.
53389
53390 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53391
53392 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53393 compiler output for sysdeps/generic/initfini.c.
53394 * sysdeps/sh/elf/initfini.c: Remove file.
53395
53396 2012-02-16 David S. Miller <davem@davemloft.net>
53397
53398 [BZ #11494]
53399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53400
53401 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53402 * sysdeps/sparc/crti.S: New file.
53403 * sysdeps/sparc/crtn.S: New file.
53404 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53405 * sysdeps/sparc/sparc64/Makefile: Likewise.
53406
53407 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53408
53409 [BZ #3335]
53410 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53411
53412 2012-02-15 Roland McGrath <roland@hack.frob.com>
53413
53414 [BZ #4822]
53415 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53416
53417 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53418 (write, read, close): Likewise.
53419 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53420
53421 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53422
53423 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53424 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53425 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53426 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53427 <bits/signalfd.h>.
53428 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53430 bits/signalfd.h.
53431
53432 2012-02-14 Marek Polacek <polacek@redhat.com>
53433
53434 * sysdeps/x86_64/crti.S: New file.
53435 * sysdeps/x86_64/crtn.S: New file.
53436 * sysdeps/x86_64/elf/initfini.c: Remove file.
53437
53438 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53439
53440 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53441 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53442 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53443 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53444 <bits/inotify.h>.
53445 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53447 bits/inotify.h.
53448
53449 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53450
53451 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53452 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53453 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53454 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53455 <bits/eventfd.h>.
53456 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53458 bits/eventfd.h.
53459
53460 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53461
53462 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53463 __feraiseexcept instead of feraiseexcept.
53464
53465 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53466 nanosleep invocations.
53467 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53468 strings, and add error checking for a nanosleep invocations.
53469
53470 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53471
53472 Replace FSF snail mail address with URLs, as per GNU coding standards.
53473 Most of the snail mail addresses were wrong anyway, and omitting
53474 them makes the source code easier to maintain. Almost all of the
53475 changes are to license notices and to locale LC_IDENTIFICATION
53476 addresses, except for this one:
53477 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53478 not its snail mail address.
53479
53480 2012-02-09 Richard Henderson <rth@twiddle.net>
53481
53482 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53483 of kernel-features.h.
53484
53485 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53486
53487 2012-02-08 Marek Polacek <polacek@redhat.com>
53488
53489 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53490 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53491 * sysdeps/gnu/_G_config.h: Likewise.
53492 * sysdeps/generic/_G_config.h: Likewise.
53493
53494 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53495
53496 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53497 tests.
53498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53499
53500 * sysdeps/powerpc/powerpc32/crti.S: New file.
53501 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53502 * sysdeps/powerpc/powerpc64/crti.S: New file.
53503 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53504
53505 * Makeconfig (have-initfini): Don't set.
53506 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53507 * configure.in (nopic_initfini): Don't substitute.
53508 * config.h.in (HAVE_INITFINI): Don't #undef.
53509 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53510 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53511
53512 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53513
53514 Support crti.S and crtn.S provided directly by architectures.
53515 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53516 [crti.S in sysdirs] (omit-deps): Likewise.
53517 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53518 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53519 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53520 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53521 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53522 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53523 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53524 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53525 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53526 compiler output for sysdeps/generic/initfini.c.
53527 * sysdeps/i386/elf/Makefile: Remove file.
53528 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53529
53530 2012-02-07 Marek Polacek <polacek@redhat.com>
53531
53532 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53533 * sysdeps/gnu/_G_config.h: Likewise.
53534 * sysdeps/mach/hurd/_G_config.h: Likewise.
53535
53536 2012-02-07 Marek Polacek <polacek@redhat.com>
53537
53538 * math/Makefile (tests): Add tst-CMPLX2.
53539 * math/tst-CMPLX2.c: New file.
53540
53541 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53542
53543 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53544
53545 * math/libm-test.inc (jn_test): Add missing L suffix.
53546
53547 2012-02-06 Marek Polacek <polacek@redhat.com>
53548
53549 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53550 * sysdeps/i386/fpu/e_powf.S: Likewise.
53551 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53552 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53553 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53554 * sysdeps/i386/fpu/e_pow.S: Likewise.
53555 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53556 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53557 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53558 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53559 * sysdeps/i386/fpu/e_log2.S: Likewise.
53560 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53562 * sysdeps/i386/fpu/e_powl.S: Likewise.
53563 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53564 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53565 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53566 * sysdeps/i386/fpu/e_logl.S: Likewise.
53567 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53568 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53569 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53570 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53571 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53572 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53573 * sysdeps/i386/fpu/e_log.S: Likewise.
53574 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53575 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53576 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53577 * sysdeps/i386/fpu/e_logf.S: Likewise.
53578 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53579 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53580 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53581 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53582 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53583 * sysdeps/i386/fpu/e_log10.S: Likewise.
53584 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53585 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53586 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53587 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53588 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53589 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53590 * sysdeps/i386/asm-syntax.h: Likewise.
53591 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53592 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53593 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53594 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53595 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53596 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53597 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53598 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53599 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53600 * sysdeps/powerpc/sysdep.h: Likewise.
53601 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53602 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53603
53604 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53605
53606 [BZ #411]
53607 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53608
53609 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53610
53611 * sysdeps/i386/sysdep.h: Include <features.h>.
53612 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53613 version.
53614
53615 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53616
53617 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53618 Define.
53619 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53620 LOAD_PIC_REG_STR.
53621
53622 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53623
53624 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53625 (SETUP_PIC_REG): Use GET_PC_THUNK.
53626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53627 macro.
53628
53629 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53630
53631 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53632 for non-PIC compilation.
53633 (SETUP_PIC_REG): Add .p2align directive.
53634 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53635 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53636 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53637 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53638 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53639 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53640 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53641 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53642 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53643 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53644 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53645 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53646 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53647 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53648 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53649 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53650 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53651 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53652 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53653 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53654 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53656 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53657 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53658 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53661 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53662 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53663 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53664 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53665 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53666 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53667 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53668 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53669 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53670 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53671 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53672 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53673 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53674 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53675
53676 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53677
53678 * math/tst-CMPLX.c: Include <stdio.h>.
53679
53680 2012-01-31 Joseph Myers <joseph@codesourcery.com>
53681
53682 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53683 float.
53684 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53685 * sysdeps/sparc/bits/mathdef.h: Likewise.
53686
53687 2012-01-31 Marek Polacek <polacek@redhat.com>
53688
53689 * libio/libio.h: Don't define _PARAMS.
53690 * locale/programs/config.h: Don't define PARAMS.
53691 * stdlib/strtol_l.c: Likewise.
53692 (__strtol_l): Remove PARAMS from the prototype.
53693
53694 2012-01-31 Ulrich Drepper <drepper@gmail.com>
53695
53696 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
53697 names. Just use the correct names. Remove unnecessary wrapper
53698 functions.
53699 * malloc/arena.c: Likewise.
53700 * malloc/hooks.c: Likewise.
53701
53702 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53703 ARENA_TEST says not to. Simplify test for creation of a new arena.
53704 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53705
53706 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53707
53708 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53709 into tail calls.
53710 (update_get_addr): New function.
53711 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53712 GET_ADDR_MODULE parameter.
53713
53714 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53715
53716 * crypt/cert.c: Remove __STDC__ conditionals.
53717 * crypt/crypt-entry.c: Likewise.
53718 * crypt/crypt_util.c: Likewise.
53719 * libio/filedoalloc.c: Likewise.
53720 * libio/fileops.c: Likewise.
53721 * libio/genops.c: Likewise.
53722 * libio/iofclose.c: Likewise.
53723 * libio/iofdopen.c: Likewise.
53724 * libio/iofopen.c: Likewise.
53725 * libio/iofopen64.c: Likewise.
53726 * libio/iogetdelim.c: Likewise.
53727 * libio/iopopen.c: Likewise.
53728 * libio/obprintf.c: Likewise.
53729 * libio/oldfileops.c: Likewise.
53730 * libio/oldiofclose.c: Likewise.
53731 * libio/oldiofdopen.c: Likewise.
53732 * libio/oldiofopen.c: Likewise.
53733 * libio/oldiopopen.c: Likewise.
53734 * libio/wfiledoalloc.c: Likewise.
53735 * libio/wgenops.c: Likewise.
53736 * locale/programs/xmalloc.c: Likewise.
53737 * misc/syslog.c: Likewise.
53738 * stdio-common/xbug.c: Likewise.
53739 * string/memchr.c: Likewise.
53740 * string/memcmp.c: Likewise.
53741 * string/memrchr.c: Likewise.
53742 * string/rawmemchr.c: Likewise.
53743 * sysdeps/posix/getcwd.c: Likewise.
53744 * time/strftime_l.c: Likewise.
53745
53746 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53747
53748 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53749 * config.make.in (config-cflags-sse2avx): Define.
53750 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53751 Fix typo.
53752
53753 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53754
53755 * scripts/config.guess: Update from upstream config git repository.
53756 * scripts/config.sub: Likewise.
53757
53758 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53759
53760 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53761 (EM_NUM): Update.
53762 (R_TILEPRO_*, R_TILEGX_*): New macros.
53763
53764 * scripts/firstversions.awk: Fix bug in version range handling.
53765
53766 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53767
53768 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53769
53770 * include/sys/epoll.h: New file.
53771 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53772 libc_hidden_def.
53773
53774 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53775
53776 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53777 Avoid unnecessary __WORDSIZE == 64 test.
53778 (fmaxf): Use VEX format if possible.
53779 (fmax): Likewise.
53780 (fminf): Likewise.
53781 (fmin): Likewise.
53782
53783 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53784 * math/math_private.h: Remove libc_fegetround* and
53785 libc_fesetround*.
53786 * sysdeps/i386/configure.in: Check for -msse2avx.
53787 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53788 also if SSE2AVX is defined.
53789 Remove libc_fegetround* and libc_fesetround*.
53790 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53791 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53792 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53793 of HAS_YMM_USABLE.
53794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53799
53800 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53801
53802 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53803
53804 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53805 size is not set.
53806 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53807
53808 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53809
53810 [BZ #13618]
53811 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53812 relocation.
53813 * Makeconfig (libm): Define.
53814 * elf/Makefile: Add rules to build and run tst-relsort1.
53815 * elf/tst-relsort1.c: New file.
53816 * elf/tst-relsort1mod1.c: New file.
53817 * elf/tst-relsort1mod2.c: New file.
53818
53819 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53820
53821 * math/s_ldexp.c: Remove __STDC__ conditionals.
53822 * math/s_ldexpf.c: Likewise.
53823 * math/s_ldexpl.c: Likewise.
53824 * math/s_nextafter.c: Likewise.
53825 * math/s_nexttowardf.c: Likewise.
53826 * math/s_significand.c: Likewise.
53827 * math/s_significandf.c: Likewise.
53828 * math/s_significandl.c: Likewise.
53829 * math/w_jnl.c: Likewise.
53830 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53831 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53832 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53833 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53834 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53836 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53837 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53838 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53839 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53840 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53842 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53843 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53844 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53845 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53849 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53850 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53851 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53852 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53853 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53854 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53855 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53856 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53857 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53858 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53859 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53860 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53861 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53863 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53864 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53865 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53866 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53867 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53868 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53869 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53870 * sysdeps/ieee754/k_standard.c: Likewise.
53871 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53872 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53873 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53874 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53875 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53876 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53877 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53878 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53879 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53880 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53881 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53882 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53883 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53884 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53885 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53886 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53887 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53888 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53889 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53890 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53891 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53892 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53893 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53894 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53895 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53896 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53900 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53901 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53902 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53903 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53904 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53906 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53907 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53908 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53909 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53910 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53911 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53914 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53915 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53916 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53918 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53919 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53920 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53921 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53922 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53923 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53924 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53926 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53927 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53928 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53929 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53931 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53932 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53933 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53934 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53935 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53936 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53937 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53938 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53939 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53940 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53941 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53942 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53943 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53944 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53945 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53946 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53947 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53948 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53950 * sysdeps/ieee754/s_matherr.c: Likewise.
53951 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53952 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53955
53956 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53957
53958 * crypt/md5.h: Remove __STDC__ conditionals.
53959 * libio/libioP.h: Likewise.
53960 * locale/programs/config.h: Likewise.
53961 * sysdeps/generic/sysdep.h: Likewise.
53962 * sysdeps/i386/asm-syntax.h: Likewise.
53963 * sysdeps/s390/asm-syntax.h: Likewise.
53964 * sysdeps/unix/sysdep.h: Likewise.
53965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53967
53968 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53969
53970 * libio/libio.h: Remove __STDC__ conditionals.
53971 * malloc/obstack.h: Likewise.
53972 * math/complex.h: Likewise.
53973 * math/math.h: Likewise.
53974 * sysdeps/generic/_G_config.h: Likewise.
53975 * sysdeps/gnu/_G_config.h: Likewise.
53976 * sysdeps/mach/hurd/_G_config.h: Likewise.
53977 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53978 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53979 * sysdeps/sparc/bits/mathdef.h: Likewise.
53980
53981 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53982
53983 [BZ #13583]
53984 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53985 Clean up HAS_* macros.
53986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53987 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53988 possible.
53989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53990 HAS_AVX.
53991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53992 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53993 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53995 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53996
53997 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53998
53999 * elf/tst-unique3.cc (gets): Remove declaration.
54000 * elf/tst-unique3lib.cc (gets): Likewise.
54001 * elf/tst-unique3lib2.cc (gets): Likewise.
54002 * elf/tst-unique4.cc (gets): Likewise.
54003
54004 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54005
54006 * include/stdio.h: Add C++ protection. Add gets declarations and
54007 definitions.
54008 * debug/tst-chk1.c: Don't declare gets here.
54009 * stdio-common/tst-gets.c: Likewise.
54010
54011 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54012
54013 * posix/glob: Remove directory.
54014
54015 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54016
54017 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54018
54019 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54020
54021 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54022 of the non-standard EPFNOSUPPORT.
54023
54024 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54025
54026 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54027 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54028 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54029
54030 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54031
54032 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54033
54034 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54035
54036 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54037 transient errors.
54038 * nscd/grpcache.c (cache_addgr): Likewise.
54039 * nscd/hstcache.c (cache_addhst): Likewise.
54040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54041 * nscd/pwdcache.c (cache_addpw): Likewise.
54042 * nscd/servicescache.c (cache_addserv): Likewise.
54043
54044 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54045
54046 * malloc/malloc.c: Various cleanups.
54047 * malloc/hooks.c: Likewise.
54048
54049 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54050 * stdlib/bug-fmtmsg1.c: New file.
54051
54052 * stdlib/fmtmsg.c (init): Add missing unlock.
54053 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54054
54055 2012-01-12 Marek Polacek <polacek@redhat.com>
54056
54057 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54058 and _GNU_SOURCE.
54059
54060 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54061
54062 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54063 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54064 macro to ensure uniqueness of label name.
54065 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54066 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54067
54068 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54069
54070 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54071
54072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54073 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54076
54077 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54078
54079 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54080
54081 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54083 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54084
54085 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54086
54087 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54088 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54089 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54091
54092 * math/bits/math-finite.h: Add ldexp support.
54093
54094 2012-01-10 Marek Polacek <polacek@redhat.com>
54095
54096 * locale/programs/localedef.h (show_archive_content): Add noreturn
54097 attribute.
54098
54099 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54100
54101 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54102
54103 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54104
54105 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54106
54107 * io/Makefile (headers): Add bits/poll2.h.
54108
54109 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54110
54111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54112 typo #include statement.
54113
54114 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54115
54116 * include/sys/cdefs.h: Define __attribute_alloc_size.
54117 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54118 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54119 * elf/pldd.c: Likewise.
54120 * iconv/iconv_charmap.c: Likewise.
54121 * iconv/iconvconfig.c: Likewise.
54122 * iconv/strtab.c: Likewise.
54123 * locale/programs/locale.c: Likewise.
54124 * locale/programs/localedef.h: Likewise.
54125 * locale/programs/simple-hash.c: Likewise.
54126 * nscd/nscd.h: Likewise.
54127 * nss/makedb.c: Likewise.
54128 * sysdeps/generic/ldconfig.h: Likewise.
54129 * locale/programs/localedef.c: Remove xmalloc prototype.
54130 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54131
54132 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54133
54134 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54135 appropriate.
54136
54137 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54138
54139 * math/Makefile (tests): Add tst-CMPLX.
54140 * math/tst-CMPLX.c: New file.
54141
54142 * math/complex.h (CMPLXL): Fix typo.
54143
54144 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54145 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54146 GLIBC_2.16.
54147 * debug/tst-chk1.c: Add poll and ppoll tests.
54148 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54149 * include/sys/poll.h: Add hidden proto for ppoll.
54150 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54151 * sysdeps/mach/hurd/ppoll.c: Likewise.
54152 * io/ppoll.c: Likewise.
54153 * debug/poll_chk.c: New file.
54154 * debug/ppoll_chk.c: New file.
54155 * include/bits/poll2.h: New file.
54156 * io/bits/poll2.h: New file.
54157
54158 [BZ #1350]
54159 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54160
54161 * configure.in: static is always set to yes. Remove.
54162 * config.make.in: Don't set build-static.
54163 * Makeconfig: Remove use of build-static.
54164 * dlfcn/Makefile: Likewise.
54165 * elf/Makefile: Likewise.
54166 * math/Makefile: Likewise.
54167 * misc/Makefile: Likewise.
54168 * nptl/Makefile: Likewise.
54169 * sysdeps/mach/hurd/Makefile: Likewise.
54170
54171 * configure.in: PWD_P is not used anymore.
54172 * config.make.in: Remove PWD_P entry.
54173
54174 * configure.in: Remove last remnants of RANLIB.
54175 No need to check for signed size_t anymore.
54176 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54177 and IA-64.
54178 Remove __builtin_expect test because we require at least gcc 3.4.
54179 * aclocal.m4: Likewise.
54180
54181 * wcsmbs/mbrtoc16.c: Implement using towc function.
54182 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54183 * wcsmbs/wcsmbsload.c: Likewise.
54184 * iconv/gconv_simple.c: Likewise.
54185 * iconv/gconv_int.h: Likewise.
54186 * iconv/gconv_builtin.h: Likewise.
54187 * iconv/iconv_prog.c: Remove CHAR16 handling.
54188
54189 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54190
54191 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54192
54193 * configure.in: Remove --with-elf and --enable-bounded options.
54194 Dont set base_machine for ia64. More non-ELF conditions removed.
54195 Remove testing and setting of leading underscore information.
54196 * config.make.in (build-bounded): Set to no.
54197 * config.h.in: Remove NO_UNDERSCORES entry.
54198 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54199 them.
54200 * csu/start.c: Remove !NO_UNDERSCORE code.
54201 * locale/localeinfo.h: Likewise.
54202 * sysdeps/generic/machine-gmon.h: Likewise.
54203 * sysdeps/generic/sysdep.h: Likewise.
54204 * sysdeps/i386/sysdep.h: Likewise.
54205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54206 * sysdeps/mach/sysdep.h: Likewise.
54207 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54208 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54209 * sysdeps/sh/sysdep.h: Likewise.
54210 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54211 * sysdeps/unix/i386/sysdep.S: Likewise.
54212 * sysdeps/unix/sparc/start.c: Likewise.
54213 * sysdeps/unix/sparc/sysdep.S: Likewise.
54214 * sysdeps/unix/sparc/sysdep.h: Likewise.
54215 * sysdeps/unix/start.c: Likewise.
54216 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54217 * sysdeps/x86_64/sysdep.h: Likewise.
54218
54219 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54220
54221 [BZ #13553]
54222 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54223 for non-gcc.
54224 * argp/argp-fmtstream.h: Use const instead __const.
54225 * argp/argp.h: Likewise.
54226 * assert/assert.h: Likewise.
54227 * bits/fenv.h: Likewise.
54228 * bits/sched.h: Likewise.
54229 * bits/sigset.h: Likewise.
54230 * bits/sigthread.h: Likewise.
54231 * catgets/nl_types.h: Likewise.
54232 * conform/data/pthread.h-data: Likewise.
54233 * crypt/crypt-private.h: Likewise.
54234 * crypt/crypt.h: Likewise.
54235 * crypt/crypt_util.c: Likewise.
54236 * ctype/ctype.h: Likewise.
54237 * debug/execinfo.h: Likewise.
54238 * debug/mbsnrtowcs_chk.c: Likewise.
54239 * debug/mbsrtowcs_chk.c: Likewise.
54240 * debug/wcsnrtombs_chk.c: Likewise.
54241 * debug/wcsrtombs_chk.c: Likewise.
54242 * debug/wcstombs_chk.c: Likewise.
54243 * dirent/dirent.h: Likewise.
54244 * dlfcn/dlfcn.h: Likewise.
54245 * elf/neededtest4.c: Likewise.
54246 * grp/grp.h: Likewise.
54247 * gshadow/gshadow.h: Likewise.
54248 * iconv/gconv.h: Likewise.
54249 * iconv/gconv_int.h: Likewise.
54250 * iconv/gconv_simple.c: Likewise.
54251 * iconv/iconv.h: Likewise.
54252 * iconv/loop.c: Likewise.
54253 * iconv/skeleton.c: Likewise.
54254 * include/aio.h: Likewise.
54255 * include/aliases.h: Likewise.
54256 * include/argz.h: Likewise.
54257 * include/arpa/inet.h: Likewise.
54258 * include/assert.h: Likewise.
54259 * include/dirent.h: Likewise.
54260 * include/dlfcn.h: Likewise.
54261 * include/execinfo.h: Likewise.
54262 * include/fcntl.h: Likewise.
54263 * include/fenv.h: Likewise.
54264 * include/glob.h: Likewise.
54265 * include/grp.h: Likewise.
54266 * include/libintl.h: Likewise.
54267 * include/mntent.h: Likewise.
54268 * include/netdb.h: Likewise.
54269 * include/pwd.h: Likewise.
54270 * include/rpc/netdb.h: Likewise.
54271 * include/sched.h: Likewise.
54272 * include/search.h: Likewise.
54273 * include/shadow.h: Likewise.
54274 * include/signal.h: Likewise.
54275 * include/stdio.h: Likewise.
54276 * include/stdlib.h: Likewise.
54277 * include/string.h: Likewise.
54278 * include/sys/socket.h: Likewise.
54279 * include/sys/stat.h: Likewise.
54280 * include/sys/statfs.h: Likewise.
54281 * include/sys/statvfs.h: Likewise.
54282 * include/sys/syslog.h: Likewise.
54283 * include/sys/time.h: Likewise.
54284 * include/sys/uio.h: Likewise.
54285 * include/time.h: Likewise.
54286 * include/unistd.h: Likewise.
54287 * include/utmp.h: Likewise.
54288 * include/wchar.h: Likewise.
54289 * include/wctype.h: Likewise.
54290 * inet/aliases.h: Likewise.
54291 * inet/arpa/inet.h: Likewise.
54292 * inet/netinet/ether.h: Likewise.
54293 * inet/netinet/in.h: Likewise.
54294 * intl/libintl.h: Likewise.
54295 * io/bits/fcntl2.h: Likewise.
54296 * io/fcntl.h: Likewise.
54297 * io/ftw.h: Likewise.
54298 * io/sys/poll.h: Likewise.
54299 * io/sys/stat.h: Likewise.
54300 * io/sys/statfs.h: Likewise.
54301 * io/sys/statvfs.h: Likewise.
54302 * io/utime.h: Likewise.
54303 * libio/bits/stdio.h: Likewise.
54304 * libio/bits/stdio2.h: Likewise.
54305 * libio/libio.h: Likewise.
54306 * libio/libioP.h: Likewise.
54307 * libio/stdio.h: Likewise.
54308 * locale/lc-ctype.c: Likewise.
54309 * locale/locale.h: Likewise.
54310 * login/utmp.h: Likewise.
54311 * malloc/arena.c: Likewise.
54312 * malloc/malloc.c: Likewise.
54313 * malloc/malloc.h: Likewise.
54314 * malloc/mcheck.c: Likewise.
54315 * malloc/mtrace.c: Likewise.
54316 * math/bits/mathcalls.h: Likewise.
54317 * math/fenv.h: Likewise.
54318 * math/math_private.h: Likewise.
54319 * misc/bits/error.h: Likewise.
54320 * misc/bits/syslog.h: Likewise.
54321 * misc/err.h: Likewise.
54322 * misc/error.h: Likewise.
54323 * misc/fstab.h: Likewise.
54324 * misc/mntent.h: Likewise.
54325 * misc/regexp.h: Likewise.
54326 * misc/search.h: Likewise.
54327 * misc/sgtty.h: Likewise.
54328 * misc/sys/mman.h: Likewise.
54329 * misc/sys/syslog.h: Likewise.
54330 * misc/sys/uio.h: Likewise.
54331 * misc/sys/xattr.h: Likewise.
54332 * misc/ttyent.h: Likewise.
54333 * nis/rpcsvc/ypclnt.h: Likewise.
54334 * nss/nss.h: Likewise.
54335 * posix/bits/unistd.h: Likewise.
54336 * posix/fnmatch.h: Likewise.
54337 * posix/glob.h: Likewise.
54338 * posix/sched.h: Likewise.
54339 * posix/spawn.h: Likewise.
54340 * posix/sys/wait.h: Likewise.
54341 * posix/unistd.h: Likewise.
54342 * posix/wordexp.h: Likewise.
54343 * pwd/pwd.h: Likewise.
54344 * resolv/netdb.h: Likewise.
54345 * resource/sys/resource.h: Likewise.
54346 * rt/aio.h: Likewise.
54347 * rt/bits/mqueue2.h: Likewise.
54348 * rt/mqueue.h: Likewise.
54349 * shadow/shadow.h: Likewise.
54350 * signal/signal.h: Likewise.
54351 * socket/send.c: Likewise.
54352 * socket/sendto.c: Likewise.
54353 * socket/sys/socket.h: Likewise.
54354 * stdio-common/printf.h: Likewise.
54355 * stdlib/bits/stdlib.h: Likewise.
54356 * stdlib/fmtmsg.h: Likewise.
54357 * stdlib/monetary.h: Likewise.
54358 * stdlib/stdlib.h: Likewise.
54359 * stdlib/ucontext.h: Likewise.
54360 * streams/stropts.h: Likewise.
54361 * string/argz.h: Likewise.
54362 * string/bits/string2.h: Likewise.
54363 * string/string.h: Likewise.
54364 * string/strings.h: Likewise.
54365 * sunrpc/rpc/auth.h: Likewise.
54366 * sunrpc/rpc/auth_des.h: Likewise.
54367 * sunrpc/rpc/clnt.h: Likewise.
54368 * sunrpc/rpc/netdb.h: Likewise.
54369 * sunrpc/rpc/pmap_clnt.h: Likewise.
54370 * sunrpc/rpc/xdr.h: Likewise.
54371 * sysdeps/generic/inttypes.h: Likewise.
54372 * sysdeps/generic/net/if.h: Likewise.
54373 * sysdeps/generic/sys/swap.h: Likewise.
54374 * sysdeps/gnu/net/if.h: Likewise.
54375 * sysdeps/gnu/utmpx.h: Likewise.
54376 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54377 * sysdeps/i386/i486/bits/string.h: Likewise.
54378 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54379 * sysdeps/s390/bits/string.h: Likewise.
54380 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54381 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54382 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54383 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54384 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54385 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54386 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54387 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54388 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54389 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54390 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54391 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54392 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54393 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54394 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54395 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54396 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54398 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54399 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54400 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54401 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54402 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54403 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54404 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54405 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54406 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54407 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54408 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54409 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54410 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54411 * sysvipc/sys/ipc.h: Likewise.
54412 * sysvipc/sys/msg.h: Likewise.
54413 * sysvipc/sys/sem.h: Likewise.
54414 * sysvipc/sys/shm.h: Likewise.
54415 * termios/termios.h: Likewise.
54416 * time/sys/time.h: Likewise.
54417 * time/time.h: Likewise.
54418 * wcsmbs/bits/wchar2.h: Likewise.
54419 * wcsmbs/uchar.h: Likewise.
54420 * wcsmbs/wchar.h: Likewise.
54421 * wctype/wctype.h: Likewise.
54422
54423 [BZ #13551]
54424 * Makeconfig: Remove all but ELF support including AIX support.
54425 * Makerules: Likewise.
54426 * config.h.in: Likewise.
54427 * config.make.in: Likewise.
54428 * configure: Likewise.
54429 * configure.in: Likewise.
54430 * csu/Makefile: Likewise.
54431 * csu/version.c: Likewise.
54432 * debug/Makefile: Likewise.
54433 * dlfcn/Makefile: Likewise.
54434 * elf/Makefile: Likewise.
54435 * extra-lib.mk: Likewise.
54436 * iconv/Makefile: Likewise.
54437 * include/libc-symbols.h: Likewise.
54438 * include/shlib-compat.h: Likewise.
54439 * resolv/Makefile: Likewise.
54440 * resolv/res_libc.c: Likewise.
54441 * rt/Makefile: Likewise.
54442 * sysdeps/i386/asm-syntax.h: Likewise.
54443 * sysdeps/i386/sysdep.h: Likewise.
54444 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54445 * sysdeps/mach/sysdep.h: Likewise.
54446 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54447 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54448 * sysdeps/s390/asm-syntax.h: Likewise.
54449 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54451 * sysdeps/sh/sysdep.h: Likewise.
54452 * sysdeps/unix/sparc/sysdep.h: Likewise.
54453 * sysdeps/wordsize-32/divdi3.c: Likewise.
54454 * sysdeps/x86_64/sysdep.h: Likewise.
54455
54456 * argp/Versions: Remove _argp_unlock_xxx.
54457
54458 [BZ #13559]
54459 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54460 * abilist/libBrokenLocale.abilist: Likewise.
54461 * abilist/libanl.abilist: Likewise.
54462 * abilist/libc.abilist: Likewise.
54463 * abilist/libcrypt.abilist: Likewise.
54464 * abilist/libdl.abilist: Likewise.
54465 * abilist/libm.abilist: Likewise.
54466 * abilist/libnsl.abilist: Likewise.
54467 * abilist/libpthread.abilist: Likewise.
54468 * abilist/libresolv.abilist: Likewise.
54469 * abilist/librt.abilist: Likewise.
54470 * abilist/libthread_db.abilist: Likewise.
54471 * abilist/libutil.abilist: Likewise.
54472 * abilist/libnss_db.abilist: New file.
54473
54474 * scripts/abilist.awk: Add support for indirect functions.
54475
54476 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54477
54478 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54479
54480 * shlib-versions: Remove entries for ports architectures.
54481
54482 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54483 files in ports.
54484 * elf/stackguard-macros.h: Remove support for IA-64.
54485 * elf/tst-auditmod1.c: Likewise.
54486 * sysdeps/generic/ldsodefs.h: Likewise.
54487
54488 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54489 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54490 configure files.
54491
54492 [BZ #13552]
54493 * configure.in: Remove --enable-omitfp support.
54494 * FAQ.in: Adjust.
54495 * config.make.in: Likewise.
54496 * Makeconfig: Likewise.
54497 * manual/install.texi: Likewise.
54498
54499 In case anyone cares, the IA-64 architecture could move to ports.
54500 * sysdeps/ia64/*: Removed.
54501 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54502 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54503
54504 [BZ #13555]
54505 * configure.in: Remove entries for unsupported architectures.
54506
54507 [BZ #13533]
54508 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54509 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54510 routines.
54511 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54512 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54513 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54514 fall back to using wcrtomb.
54515 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54516 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54517 renaming.
54518 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54519 * wcsmbs/tst-c16c32-1.c: New file.
54520
54521 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54522 local variable.
54523
54524 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54525
54526 * elf/tst-unique3.cc: Add explicit declaration of gets.
54527 * elf/tst-unique3lib.cc: Likewise.
54528 * elf/tst-unique3lib2.cc: Likewise.
54529 * elf/tst-unique4.cc: Likewise.
54530
54531 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54532
54533 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54534
54535 [BZ #13566]
54536 * assert/assert.h (static_assert): Don't define for C++.
54537 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54538 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54539
54540 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54541
54542 * iconv/loop.c (single loop): Fix assertion in storing of
54543 remaining bytes.
54544
54545 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54546
54547 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54548
54549 * posix/getconf.c: Update copyright year.
54550 * nss/getent.c: Likewise.
54551 * nss/makedb.c: Likewise.
54552 * iconv/iconvconfig.c: Likewise.
54553 * iconv/iconv_prog.c: Likewise.
54554 * elf/ldconfig.c: Likewise.
54555 * elf/pldd.c: Likewise.
54556 * elf/sotruss.ksh: Likewise.
54557 * catgets/gencat.c: Likewise.
54558 * csu/version.c: Likewise.
54559 * elf/ldd.bash.in: Likewise.
54560 * elf/sprof.c (print_version): Likewise.
54561 * locale/programs/locale.c: Likewise.
54562 * locale/programs/localedef.c: Likewise.
54563 * login/programs/pt_chown.c: Likewise.
54564 * nscd/nscd.c (print_version): Likewise.
54565 * debug/xtrace.sh: Likewise.
54566 * malloc/memusage.sh: Likewise.
54567 * malloc/mtrace.pl: Likewise.
54568 * debug/catchsegv.sh: Likewise.
54569
54570 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54571
54572 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54573 pure attribute.
54574
54575 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54576
54577 [BZ #13533]
54578 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54579 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54580 transformations.
54581 * iconv/gconv_int.h: Likewise.
54582 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54583 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54584 from libc for GLIBC_2.16.
54585 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54586 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54587 * wcsmbs/uchar.h: Really define mbstate_t.
54588 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54589 * wcsmbs/c16rtomb.c: New file.
54590 * wcsmbs/mbrtoc16.c: New file.
54591 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54592 for C/POSIX locale.
54593 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54594 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54595
54596 * wcsmbs/wchar.h: Add missing __restrict.
54597
54598 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54599
54600 [BZ #13532]
54601 * time/Makefile (routines): Add timespec_get.
54602 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54603 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54604 timespec for ISO C11.
54605 * time/timespec_get.c: New file.
54606 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54607 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54608
54609 [BZ #13531]
54610 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54611 * stdlib/stdlib.h: Declare aligned_alloc.
54612 * Versions.def: Add GLIBC_2.16 for libc.
54613 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54614
54615 [BZ 13527]
54616 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54617 ISO C11.
54618
54619 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54620 code.
54621
54622 [BZ #13528]
54623 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54624
54625 [BZ #13529]
54626 * assert/assert.h (static_assert): Define.
54627
54628 * version.h: Update for 2.16 development version.
54629
54630 [BZ #13526]
54631 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54632 _ISOC11_SOURCE.
54633
54634 * version.h (RELEASE): Bump for 2.15 release.
54635 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54636
54637 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54638 Patch by Marek Polacek <mpolacek@redhat.com>.
54639
54640 * bits/byteswap.h: Protect long long constants with __extension__.
54641 * sysdeps/i386/bits/byteswap.h: Likewise.
54642 * sysdeps/ia64/bits/byteswap.h: Likewise.
54643 * sysdeps/s390/bits/byteswap.h: Likewise.
54644 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54645
54646 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54647
54648 [BZ #13540]
54649 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54650 destination buffer.
54651 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54652
54653 2011-12-23 Marek Polacek <polacek@redhat.com>
54654
54655 * elf/dl-addr.c (determine_info): Add inline keyword.
54656 * elf/tst-auditmod4b.c (check_avx): Likewise.
54657 * elf/tst-auditmod6b.c (check_avx): Likewise.
54658 * elf/tst-auditmod6c.c (check_avx): Likewise.
54659 * elf/tst-auditmod7b.c (check_avx): Likewise.
54660
54661 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54662
54663 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54664 !__SSE_MATH__.
54665
54666 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54667
54668 [BZ #13540]
54669 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54670 processing for last bytes.
54671
54672 2011-08-06 Bruno Haible <bruno@clisp.org>
54673
54674 [BZ #13061]
54675 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54676 U+0385, not to U+1FEE.
54677
54678 [BZ #13062]
54679 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54680 entry for U+00A5 U+0301.
54681
54682 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54683
54684 [BZ #13166]
54685 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54686 buffer for the output is too small.
54687
54688 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54689 optimization.
54690
54691 [BZ #13185]
54692 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54693 SSE flags if possible.
54694
54695 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54696
54697 [BZ #13540]
54698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54699 processing for last bytes.
54700
54701 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54702
54703 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54704 (syscall-list-default-options, syscall-list-default-condition)
54705 (syscall-list-includes): Define.
54706 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54707 list of ABIs and options and #if conditions for each ABI. Do not
54708 handle common syscalls between ABIs specially.
54709 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54710 Remove.
54711 (syscall-list-variants, syscall-list-32bit-options)
54712 (syscall-list-32bit-condition, syscall-list-64bit-options)
54713 (syscall-list-64bit-condition): Define.
54714 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54715 (syscall-list-variants, syscall-list-32bit-options)
54716 (syscall-list-32bit-condition, syscall-list-64bit-options)
54717 (syscall-list-64bit-condition): Define.
54718 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54719 Remove.
54720 (syscall-list-variants, syscall-list-32bit-options)
54721 (syscall-list-32bit-condition, syscall-list-64bit-options)
54722 (syscall-list-64bit-condition): Define.
54723 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54724 Remove.
54725 (syscall-list-variants, syscall-list-32bit-options)
54726 (syscall-list-32bit-condition, syscall-list-64bit-options)
54727 (syscall-list-64bit-condition): Define.
54728
54729 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54730
54731 * locale/iso-639.def: Add brx entry.
54732
54733 [BZ #13328]
54734 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54735 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54736
54737 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54738 __feraiseexcept_renamed.
54739
54740 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54741
54742 [BZ #13538]
54743 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54744 EPOLLET with unsigned values.
54745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54746 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54747
54748 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54749 to large cancellation.
54750 * math/s_cacoshf.c: Likewise.
54751 * math/s_cacoshl.c: Likewise.
54752
54753 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54754
54755 [BZ #13305]
54756 [BZ #12786]
54757 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54758 * math/s_cacoshf.c: Likewise.
54759 * math/s_cacoshl.c: Likewise.
54760
54761 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54762
54763 [BZ #13439]
54764 * iconv/gconv.h: Define __GCONV_SWAP.
54765 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54766 * iconvdata/utf-16.c: Likewise.
54767 * iconvdata/utf-32.c: Likewise.
54768
54769 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54770
54771 [BZ #13524]
54772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54773 numerator after shifting it by one limb.
54774
54775 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54776
54777 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54778 under [__USE_EXTERN_INLINES].
54779
54780 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54781
54782 [BZ #13446]
54783 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54784
54785 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54786
54787 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54788 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54789 optimized code.
54790 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54791 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54792 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54793 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54794 for strncasecmp/strncasecmp_l compilation.
54795 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54796 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54797
54798 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54799
54800 [BZ #13484]
54801 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54802 of __asm__.
54803
54804 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54805
54806 [BZ #13506]
54807 * time/tzfile.c (__tzfile_read): Check values from file header.
54808
54809 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54810
54811 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54812 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54813 * powerpc/powerpc32/dl-start.S: Likewise.
54814 * powerpc/powerpc32/elf/start.S: Likewise.
54815 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54816 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54817 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54818 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54819 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54820 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54821 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54822 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54823 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54824 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54825 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54826 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54827 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54828 * powerpc/powerpc32/memset.S: Likewise.
54829 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54830 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54831 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54832 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54833 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54834 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54835 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54836 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54837 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54838 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54839 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54840 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54841 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54842
54843 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54844
54845 * math/libm-test.inc: Added more nearbyint tests.
54846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54847 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54850
54851 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54852
54853 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54854 FD_CLOEXEC.
54855
54856 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54857
54858 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54859 Add wcscpy-ssse3 wcscpy-c.
54860 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54861 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54862 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54863 * sysdeps/x86_64/wcschr.S: New file.
54864 * sysdeps/x86_64/wcsrchr.S: New file.
54865 * string/test-strcmp.c: Remove checking of wcscmp function for
54866 wrong alignments.
54867 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54868 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54869 wcsrchr-sse2 wcsrchr-c.
54870 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54871 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54872 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54873 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54874 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54875 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54876 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54877 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54878 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54879 * wcsmbc/wcschr.c (WCSCHR): New macro.
54880
54881 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54882
54883 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54884 * wcsmbs/test-wcsrchr.c: New file.
54885 * string/test-strrchr.c: Add wcsrchr support.
54886 (WIDE): New macro.
54887 * wcsmbs/test-wcscpy.c: New file.
54888 * string/test-strcpy.c: Add wcscpy support.
54889 (WIDE): New macro.
54890
54891 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54892
54893 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54894 the inner loop.
54895
54896 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54897
54898 [BZ #13472]
54899 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54900
54901 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54902
54903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54904 Minor optimizations.
54905
54906 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54907 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54908 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54909
54910 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54911
54912 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54913 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54914 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54915 for gcc to avoid warnings.
54916 * inet/Makefile (tests): Add tst-checks.
54917 * inet/tst-checks.c: New file.
54918
54919 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54920 warning.
54921
54922 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54923 __wmemcmp_sse2.
54924
54925 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54926 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54927
54928 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54929
54930 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54931
54932 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54933 problem.
54934
54935 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54936
54937 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54938
54939 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54940 conditional on GCC version.
54941 (__arch_compare_and_exchange_val_8_acq)
54942 (__arch_compare_and_exchange_val_16_acq)
54943 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54944 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54945 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54946
54947 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54948
54949 * sysdeps/sh/backtrace.c: New file.
54950
54951 2011-12-02 Andreas Schwab <schwab@redhat.com>
54952
54953 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54954 parenthesis.
54955
54956 2011-12-01 Andreas Schwab <schwab@redhat.com>
54957
54958 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54959 falling back to utime.
54960
54961 2011-11-30 Andreas Schwab <schwab@redhat.com>
54962
54963 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54964 expectations for float.
54965
54966 2011-11-29 Andreas Schwab <schwab@redhat.com>
54967
54968 * locale/weight.h (findidx): Add parameter len.
54969 * locale/weightwc.h (findidx): Likewise.
54970 * posix/fnmatch_loop.c (FCT): Adjust caller.
54971 * posix/regcomp.c (build_equiv_class): Likewise.
54972 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54973 * posix/regexec.c (check_node_accept_bytes): Likewise.
54974 * string/strcoll_l.c (STRCOLL): Likewise.
54975 * string/strxfrm_l.c (STRXFRM): Likewise.
54976
54977 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54978
54979 * Makefile.in: Remove CVSOPT handling.
54980 * configure.in: Remove use of AC_REVISION.
54981 * iconvdata/Makefile (distribute): No need to filter out CVS.
54982 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54983 handling.
54984
54985 2011-11-16 Andreas Schwab <schwab@redhat.com>
54986
54987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54988 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54989 [USE_AS_STRNCASECMP_L]: Likewise.
54990 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54991 NO_TLS_DIRECT_SEG_REFS.
54992 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54993 Fix argument offsets for non-PIC.
54994 [USE_AS_STRNCASECMP_L]: Likewise.
54995 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54996 NO_TLS_DIRECT_SEG_REFS.
54997
54998 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54999
55000 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55001 O_CLOEXEC.
55002 * locale/loadlocale.c (_nl_load_locale): Likewise.
55003
55004 2011-11-15 Andreas Schwab <schwab@redhat.com>
55005
55006 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55007 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55008 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55009 (SYSCALL_GETTIME): Set errno on error.
55010
55011 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55012 count references to noai6ai_cached.
55013
55014 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55015
55016 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55017
55018 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55019 FD_CLOEXEC for /proc/self/maps.
55020
55021 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55022 FD_CLOEXEC for /proc/meminfo.
55023
55024 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55025 gai.conf.
55026
55027 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55028 FD_CLOEXEC for given file.
55029
55030 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55031
55032 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55033 FD_CLOEXEC for /etc/hosts.
55034 (_gethtent): Likewise.
55035
55036 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55037
55038 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55039 cancellation and set FD_CLOEXEC for /etc/netgroup.
55040
55041 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55042 reading /etc/publickey.
55043
55044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55045 allow cancellation when reading /etc/group.
55046
55047 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55048 cancellation.
55049 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55050
55051 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55052 when using data file.
55053
55054 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55055
55056 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55057 (write_nis_obj): Use "c" and "e" in fopen.
55058
55059 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55060
55061 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55062
55063 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55064
55065 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55066
55067 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55068 locale.alias.
55069
55070 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55071
55072 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55073
55074 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55075
55076 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55077 file parsing and set FD_CLOEXEC.
55078
55079 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55080
55081 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55082
55083 2011-11-14 Andreas Schwab <schwab@redhat.com>
55084
55085 * malloc/arena.c (arena_get2): Don't call reused_arena when
55086 _int_new_arena failed.
55087
55088 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55089
55090 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55091 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55092 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55094 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55096 to compile strcasecmp and strncasecmp.
55097 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55098 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55099
55100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55101
55102 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55103
55104 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55105 locale-defines.sym to gen-as-const-headers.
55106 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55107 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55109 to compile strcasecmp and strncasecmp.
55110 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55111 strcasecmp_l and strncasecmp_l.
55112 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55113 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55114 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55115 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55116 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55117 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55118 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55119 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55120 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55121 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55122 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55123
55124 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55125
55126 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55127 result of SYSDEP_GETTIME_CPU to retval.
55128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55129 parameter list to macro. Remove trailing semicolon. Adjust users.
55130
55131 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55132 variable.
55133
55134 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55135 mantissa words.
55136 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55137
55138 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55139 from unused variable.
55140
55141 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55142 DWARF definitions.
55143 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55144 for assembling.
55145
55146 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55147 over namespaces.
55148
55149 * sunrpc/rpc_prot.c (rejected): Fix case value.
55150
55151 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55152 unsigned long long int to avoid warnings in shift.
55153
55154 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55155 of use of trans.
55156 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55157 variable tmp.
55158
55159 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55160 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55161 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55162
55163 * nis/nis_table.c (nis_list): Use variable of correct type for
55164 result of __follow_path call.
55165
55166 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55167
55168 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55169 of math functions ceil, trunc, floor, round, and sqrt, when
55170 avaliable on the platform.
55171 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55172 name clash.
55173 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55174 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55175 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55176
55177 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55178
55179 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55180 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55181
55182 2011-11-11 Roland McGrath <roland@hack.frob.com>
55183
55184 * include/unistd.h: Fix __readlink return type.
55185 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55186
55187 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55188
55189 * stdlib/ucontext.h: Undo last change for makecontext.
55190
55191 2011-11-11 Andreas Schwab <schwab@redhat.com>
55192
55193 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55194
55195 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55196 * setjmp/setjmp.h: Mark functions as non-leaf.
55197 * setjmp/bits/setjmp2.h: Likewise.
55198 * stdlib/ucontext.h: Likewise.
55199
55200 2011-11-10 Andreas Schwab <schwab@redhat.com>
55201
55202 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55203 (reused_arena): Don't check arena limit.
55204 (arena_get2): Atomically check arena limit.
55205
55206 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55207
55208 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55209 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55210
55211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55212 instructions.
55213
55214 2011-11-07 Andreas Schwab <schwab@redhat.com>
55215
55216 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55217 handler when locking.
55218
55219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55220 Fix size of allocated buffer.
55221
55222 2011-11-04 Andreas Schwab <schwab@redhat.com>
55223
55224 [BZ #10103]
55225 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55226 declarations for long double functions.
55227 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55228
55229 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55230
55231 2011-11-03 Andreas Schwab <schwab@redhat.com>
55232
55233 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55234 installed.
55235
55236 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55237 is disabled.
55238
55239 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55240
55241 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55242
55243 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55244
55245 * include/alloca.h (stackinfo_alloca_round): Define.
55246 (extend_alloca): Use it.
55247 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55248 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55249 here.
55250
55251 * scripts/check-local-headers.sh: Ignore libaudit.h.
55252
55253 * nscd/Makefile (extra-objs): Make recursively expanded.
55254
55255 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55256
55257 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55259
55260 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55261 * posix/tst-rfc3484-2.c: Likewise.
55262 * posix/tst-rfc3484-3.c: Likewise.
55263
55264 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55265 process_vm_writev.
55266 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55267 process_vm_writev.
55268 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55269 process_vm_writev from libc using GLIBC_2.15 version.
55270
55271 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55272
55273 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55274
55275 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55276 stack usage.
55277
55278 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55279
55280 [BZ #13367]
55281 * nss/getent.c (initgroups_keys): Show error message in case no group
55282 names are given.
55283
55284 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55285 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55286 __bump_nl_timestamp.
55287 * nscd/connections (nscd_init): When host database is served open
55288 netlink socket and request notification about configuration changes.
55289 (main_loop_poll): Track netlink file descriptor and bump timestamp
55290 in case data becomes available.
55291 (main_loop_epoll): Likewise.
55292 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55293 (database_pers_head): Add extra_data fileds.
55294 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55295 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55296 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55297 Adjust caller.
55298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55299 in6ai data, call __free_in6ai.
55300 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55301 Add -DHAVE_NETLINK.
55302 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55303 interface information. Reuse previous data if netlink timestamp
55304 is not changed.
55305 (__bump_nl_timestamp): New function.
55306 (__free_in6ai): New function.
55307
55308 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55309
55310 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55311 close_not_cancel_no_status here.
55312 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55313
55314 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55315
55316 [BZ #13276]
55317 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55318 return value.
55319
55320 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55321 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55322 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55323
55324 2011-07-03 Andreas Jaeger <aj@suse.de>
55325
55326 [BZ #10709]
55327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55328 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55329 * math/libm-test.inc (sin_test): Add test case.
55330
55331 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55332
55333 [BZ #13337]
55334 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55335 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55336
55337 * elf/chroot_canon.c (chroot_canon): Cleanups.
55338
55339 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55340
55341 [BZ #13335]
55342 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55343 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55344
55345 * string/test-strchr.c: Make usable for strchrnul testing.
55346 * string/test-strchrnul.c: New file.
55347 * string/Makefile (strop-tests): Add strchrnul.
55348
55349 * po/it.po: Update from translation team.
55350 * po/es.po: Likewise.
55351
55352 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55353
55354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55355 the three constants needed as parameters. Drop the others.
55356 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55357 __m128i_strloadu_tolower.
55358 Create and initialize variable zero and use it in all the places
55359 where _mm_setzero_si128 was used.
55360
55361 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55362 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55363 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55364 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55365 anymore.
55366 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55367 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55368 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55369 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55370 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55371 __mpranred, __mptan.
55372 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55373 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55374 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55375 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55376 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55377 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55378 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55379 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55380 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55381
55382 2011-10-28 Andreas Schwab <schwab@redhat.com>
55383
55384 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55385 redefine if SHARED.
55386 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55387
55388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55389 wide char related routines to wcsmbs subdir.
55390
55391 2011-10-27 Andreas Schwab <schwab@redhat.com>
55392
55393 [BZ #13344]
55394 * misc/sys/cdefs.h (__THROWNL): Define.
55395 * posix/unistd.h: Use __THREADNL instead of __THREAD
55396 for memory synchronization functions.
55397
55398 2011-10-26 Roland McGrath <roland@hack.frob.com>
55399
55400 [BZ #13349]
55401 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55402 doesn't exist.
55403 * manual/stdio.texi (Obstack Streams): Node removed.
55404
55405 2011-10-26 Andreas Schwab <schwab@redhat.com>
55406
55407 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55409 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55410
55411 * math/math_private.h (math_force_eval): Allow non-addressable
55412 arguments.
55413 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55414
55415 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55416
55417 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55418 file is not needed.
55419
55420 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55421 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55423 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55427 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55428 Add AVX variants.
55429 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55430 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55431 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55432 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55433 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55434 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55435 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55436 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55437 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55438 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55439 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55440 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55441 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55442 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55443 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55444 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55445 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55446 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55447 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55448
55449 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55450 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55451
55452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55453 place. Use VEX encoding when compiling for AVX.
55454
55455 2011-10-25 Andreas Schwab <schwab@redhat.com>
55456
55457 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55458 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55459
55460 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55461
55462 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55463
55464 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55465 useless if() expression.
55466 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55467 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55468 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55469 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55470 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55471 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55472 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55473 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55474 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55475 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55476 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55477 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55478 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55479 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55480 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55481 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55482 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55484 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55485
55486 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55487
55488 2011-10-25 Andreas Schwab <schwab@redhat.com>
55489
55490 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55491 condition.
55492 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55493
55494 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55495
55496 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55497 .text section. Avoid duplicate constants.
55498 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55500 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55507 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55508 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55509 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55510 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55511 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55512 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55513 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55514 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55515 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55516 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55518 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55522 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55523 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55524 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55525 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55526 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55527 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55528 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55529 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55530 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55531 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55532 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55533 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55534 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55536 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55537 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55538 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55539 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55540 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55541 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55542 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55543
55544 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55545
55546 * sysdeps/x86_64/dla.h: Move to ...
55547 * sysdeps/x86_64/fpu/dla.h: ...here.
55548 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55549 situations. Use __builtin_fma only for gcc 4.6 and up.
55550
55551 * config.make.in: Add have-mfma4 entry.
55552 * configure.in: Substitute libc_cv_cc_fma4.
55553 * math/Makefile (dbl-only-routines): Add sincostab.
55554 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55555 Use __sincostab not sincos.
55556 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55557 name is a macro.
55558 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
55562 using __copysign.
55563 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55564 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55565 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55566 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55567 and __inv.
55568 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55569 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55570 __copysign.
55571 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55572 define aliases when function name is a macro.
55573 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55574 sysdeps/ieee754/dbl-64/sincos.tbl.
55575 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55576 fma4-enabled routines.
55577 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55578 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55579 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55580 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55582 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55583 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55584 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55586 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55587 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55588 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55589 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55590 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55591 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55592 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55593 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55594 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55595 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55597 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55598 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55600 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55601 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55602 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55603 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55604 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55605 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55606 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55607
55608 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55609 rename.
55610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55612 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55618
55619 2011-10-24 Andreas Schwab <schwab@redhat.com>
55620
55621 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55622
55623 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55624
55625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55626
55627 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55628 prediction.
55629 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55630
55631 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55632 Remove unused variable magic_bits.
55633 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55634
55635 * string/strnlen.c: Define and use STRNLEN macro.
55636 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55637 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55639 * wcsmbs/wcslen.c: Define and use WCSLEN.
55640 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55641 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55642 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55643 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55644 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55645 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55646 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55647
55648 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55649
55650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55651 strnlen-sse2-no-bsf.
55652 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55654 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55655 Add strnlen support.
55656 (USE_AS_STRNLEN): New macro.
55657 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55658 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55659 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55660 * sysdeps/x86_64/wcslen.S: New file.
55661
55662 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55663
55664 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55665 XMM-moves are used for copying on small sizes.
55666
55667 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55668
55669 * wcsmbs/Makefile (strop-tests): Add wcschr.
55670 * wcsmbs/test-wcschr.c: New file.
55671 * string/test-strchr.c: Update.
55672 Add wcschr support.
55673 (WIDE): New macro.
55674
55675 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55676
55677 * wcsmbs/Makefile (strop-tests): Add wcslen.
55678 * wcsmbs/test-wcslen.c: New file.
55679 * string/test-strlen.c: Update.
55680 Add wcslen support.
55681 (WIDE): New macro.
55682
55683 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55684
55685 * po/it.po: Update from translation team.
55686
55687 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55688
55689 * sysdeps/x86_64/wcscmp.S: Update.
55690 Fix wrong comparison semantics.
55691 wcscmp shall use signed comparison not unsigned.
55692 Don't use substraction to avoid overflow bug.
55693 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55694 * wcsmbc/wcscmp.c: Likewise.
55695 * string/test-strcmp.c: Likewise.
55696 Add new tests to check cases with negative values.
55697
55698 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55699
55700 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55701 * sysdeps/x86_64/dla.h: ...here. New file.
55702 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55711
55712 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55713
55714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55715 __ynl_finite aliases.
55716
55717 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55718
55719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55720
55721 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55722 define DLA_FMA.
55723 [DLA_FMA] (EMULV): Use DLA_FMA.
55724 [DLA_FMA] (MUL12): Use EMULV.
55725 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55726 that are not needed.
55727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55734
55735 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55736
55737 * math/s_nan.c: Undef __nan.
55738 * math/s_nanf.c: Undef __nanf.
55739 * math/s_nanl.c: Undef __nanl.
55740 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55741 "math_private.h".
55742
55743 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55744
55745 * math/s_catan.c: Add branch predictions.
55746 * math/s_catanf.c: Likewise.
55747 * math/s_catanh.c: Likewise.
55748 * math/s_catanhf.c: Likewise.
55749 * math/s_catanhl.c: Likewise.
55750 * math/s_catanl.c: Likewise.
55751 * math/s_cexp.c: Likewise.
55752 * math/s_cexpf.c: Likewise.
55753 * math/s_cexpl.c: Likewise.
55754 * math/s_clog.c: Likewise.
55755 * math/s_clog10.c: Likewise.
55756 * math/s_clog10f.c: Likewise.
55757 * math/s_clog10l.c: Likewise.
55758 * math/s_clogf.c: Likewise.
55759 * math/s_clogl.c: Likewise.
55760 * math/s_csqrt.c: Likewise.
55761 * math/s_csqrtf.c: Likewise.
55762 * math/s_csqrtl.c: Likewise.
55763 * math/s_ctanf.c: Likewise.
55764 * math/s_ctanh.c: Likewise.
55765 * math/s_ctanhf.c: Likewise.
55766 * math/s_ctanhl.c: Likewise.
55767 * math/s_ctanl.c: Likewise.
55768
55769 * math/math_private.h: Define __nan, __nanf, __nanl.
55770 * math/s_cacosh.c: Include <math_private.h>.
55771 * math/s_cacoshl.c: Likewise.
55772 * math/s_casinh.c: Likewise.
55773 * math/s_casinhf.c: Likewise.
55774 * math/s_casinhl.c: Likewise.
55775 * math/s_ccos.c: Rely entire on ccosh.
55776 * math/s_ccosf.c: Rely entire on ccoshf.
55777 * math/s_ccosl.c: Rely entirely on ccoshl.
55778 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55779 Remove tests for FE_INVALID.
55780 * math/s_ccoshf.c: Likewise.
55781 * math/s_ccoshl.c: Likewise.
55782 * math/s_csin.c: Likewise.
55783 * math/s_csinf.c: Likewise.
55784 * math/s_csinh.c Likewise.
55785 * math/s_csinhf.c: Likewise.
55786 * math/s_csinhl.c: Likewise.
55787 * math/s_csinl.c: Likewise.
55788 * math/s_ctan.c: Likewise.
55789 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55790 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55791 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55792
55793 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55794
55795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55796 compilation problems.
55797
55798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55799 __builtin_expect.
55800
55801 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55802
55803 * sysdeps/i386/configure.in: Test for -mfma4 option.
55804 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55805 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55806 COMMON_CPUID_INDEX_80000001.
55807 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55808 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55809 use it if FMA3 is not supported.
55810 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55811
55812 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55813 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55814
55815 2011-10-20 Andreas Schwab <schwab@redhat.com>
55816
55817 [BZ #12892]
55818 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55819 it would create a cycle with a link time dependency.
55820
55821 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55822
55823 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55824 instruction.
55825 * string/Makefile (strop-tests): Add rawmemchr.
55826 * string/test-rawmemchr.c: New file.
55827
55828 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55830 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55831 when compiling str{,n}casecmp and when AVX is available. Hook up
55832 new optimized code in initializers.
55833
55834 2011-10-19 Andreas Schwab <schwab@redhat.com>
55835
55836 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55837 __feraiseexcept instead of feraiseexcept.
55838
55839 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55840
55841 * math/math_private.h: Define defaults for libc_fetestexcept and
55842 libc_feupdateenv.
55843 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55844 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55845 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55846 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55847 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55848 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55849 libc_fetestexcept and libc_feupdateenv.
55850
55851 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55852 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55853 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55854 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55855 libc_feholdexcept_setround.
55856
55857 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55858 Add s_nearbyint-c and s_nearbyintf-c.
55859 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55860 nearbyintf inlines.
55861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55863 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55864 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55865
55866 * math/math_private.h: Define defaults for libc_fegetround,
55867 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55868 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55869 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55870 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55871 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55872 standard functions.
55873 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55874 Remove comments and hacks for old compiler versions.
55875 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55876 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55877 libc_feholdexceptl.
55878
55879 2011-10-18 Andreas Schwab <schwab@redhat.com>
55880
55881 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55882 (__feraiseexcept_renamed): Add __NTH.
55883 (feraiseexcept): Add __NTH. Rename local variables to fix
55884 namespace violations.
55885
55886 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55887
55888 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55889
55890 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55891
55892 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55893 recently added interfaces.
55894 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55895
55896 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55897 about macro parameter expansion.
55898
55899 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55900 __NO_MATH_INLINES is defined. Cleanups.
55901
55902 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55903 and __floorf is target has SSE4.1.
55904 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55905 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55906 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55907 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55908
55909 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55910 name.
55911 (floorf): Likewise.
55912
55913 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55914
55915 2011-10-17 Andreas Schwab <schwab@redhat.com>
55916
55917 * misc/sys/cdefs.h: Fix last change.
55918
55919 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55920 database lookup.
55921
55922 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55923
55924 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55925
55926 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55927 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55928 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55930 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55931 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55932 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55933 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55934 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55935 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55936 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55937 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55938 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55939 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55940 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55941 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55942 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55943 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55944 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55945 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55947 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55948
55949 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55950 ceil, ceilf, floor, floorf.
55951
55952 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55953 Perform IRELATIVE relocations last.
55954
55955 * elf/do-rel.h: Add another parameter nrelative, replacing the
55956 local variable with the same name. Change name of the function
55957 to end in Rel or Rela (uppercase).
55958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55959 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55960 elf_dynamic_do_##reloc function.
55961
55962 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55963
55964 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55965 is sufficient, at least on modern CPUs.
55966
55967 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55968
55969 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55971
55972 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55973 __expl_finite.
55974 * math/bits/math-finite.h: Add entries for exp.
55975 * math/e_expl.c: Add __*_finite alias.
55976 * sysdeps/i386/fpu/e_exp.S: Likewise.
55977 * sysdeps/i386/fpu/e_expf.S: Likewise.
55978 * sysdeps/i386/fpu/e_expl.c: Likewise.
55979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55980 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55981 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55983 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55984 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55985 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55986
55987 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55988 is sufficient, at least on modern CPUs.
55989
55990 * ctype/ctype-info.c (__ctype_init): Define.
55991 * include/ctype.h (__ctype_init): Declare.
55992 (__ctype_b_loc): The variable is always initialized.
55993 (__ctype_toupper_loc): Likewise.
55994 (__ctype_tolower_loc): Likewise.
55995 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55996 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55997
55998 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55999
56000 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56001
56002 * configure.in: Also look in $cxxmachine/include for C++ system
56003 headers.
56004
56005 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56006
56007 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56008 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56009 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56010 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56011 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56012 (USE_AS_WMEMCMP): New macro.
56013 Fixing indents.
56014 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56015 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56016 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56017 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56019 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56020 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56021 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56022 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56023 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56024 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56025 (USE_AS_WMEMCMP): New macro.
56026 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56027 * sysdeps/string/test-memcmp.c: Update.
56028 Fix simple_wmemcmp.
56029 Add new tests.
56030 * wcsmbs/wmemcmp.c: Update.
56031 (WMEMCMP): New macro.
56032 Fix overflow bug.
56033
56034 2011-10-12 Andreas Jaeger <aj@suse.de>
56035
56036 [BZ #13268]
56037 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56038
56039 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56040
56041 * libio/iofwide.c (do_length): Avoid warning.
56042
56043 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56044
56045 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56046
56047 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56048
56049 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56050 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56051 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56052 * sysdeps/i386/i686/fpu/e_log.S: New file.
56053 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56054 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56055
56056 * ctype/ctype.h: Add support for inlined isXXX functions when
56057 compiling C++ code.
56058
56059 2011-10-14 Andreas Schwab <schwab@redhat.com>
56060
56061 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56062
56063 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56064
56065 2011-10-13 Roland McGrath <roland@hack.frob.com>
56066
56067 [BZ #13291]
56068 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56069
56070 2011-10-13 Andreas Schwab <schwab@redhat.com>
56071
56072 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56073 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56074 feraiseexcept.
56075
56076 * sysdeps/x86_64/memrchr.S: Check for zero size.
56077
56078 * string/stratcliff.c: Add memrchr tests.
56079
56080 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56081
56082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56083 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56084 rawmemchr-sse2 rawmemchr-sse2-bsf.
56085 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56086 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56087 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56088 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56089 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56090 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56091 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56092 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56093 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56094 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56095 * string/memrchr.c (MEMRCHR): New macro.
56096
56097 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56098
56099 Add integration with gcc's -ffinite-math-only and optimize wrapper
56100 functions in libm.
56101 * Versions.def: Define GLIBC_2.15 version for libm.
56102 * math/Makefile (headers): Add bits/math-finite.h.
56103 * math/bits/math-finite.h: New file.
56104 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56105 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56106 * math/e_acoshl.c: Add __*_finite alias.
56107 * math/e_acosl.c: Likewise.
56108 * math/e_asinl.c: Likewise.
56109 * math/e_atan2l.c: Likewise.
56110 * math/e_atanhl.c: Likewise.
56111 * math/e_coshl.c: Likewise.
56112 * math/e_exp10.c: Likewise.
56113 * math/e_exp10f.c: Likewise.
56114 * math/e_exp10l.c: Likewise.
56115 * math/e_exp2l.c: Likewise.
56116 * math/e_fmodl.c: Likewise.
56117 * math/e_gammal_r.c: Likewise.
56118 * math/e_hypotl.c: Likewise.
56119 * math/e_j0l.c: Likewise.
56120 * math/e_j1l.c: Likewise.
56121 * math/e_jnl.c: Likewise.
56122 * math/e_lgammal_r.c: Likewise.
56123 * math/e_log10l.c: Likewise.
56124 * math/e_log2l.c: Likewise.
56125 * math/e_logl.c: Likewise.
56126 * math/e_powl.c: Likewise.
56127 * math/e_sinhl.c: Likewise.
56128 * math/e_sqrtl.c: Likewise.
56129 * math/e_scalb.c: Completely rewritten and optimized.
56130 * math/e_scalbf.c: Likewise.
56131 * math/e_scalbl.c: Likewise.
56132 * math/w_acos.c: Likewise.
56133 * math/w_acosf.c: Likewise.
56134 * math/w_acosl.c: Likewise.
56135 * math/w_acosh.c: Likewise.
56136 * math/w_acoshf.c: Likewise.
56137 * math/w_acoshl.c: Likewise.
56138 * math/w_asin.c: Likewise.
56139 * math/w_asinf.c: Likewise.
56140 * math/w_asinl.c: Likewise.
56141 * math/w_atan2.c: Likewise.
56142 * math/w_atan2f.c: Likewise.
56143 * math/w_atan2l.c: Likewise.
56144 * math/w_atanh.c: Likewise.
56145 * math/w_atanhf.c: Likewise.
56146 * math/w_atanhl.c: Likewise.
56147 * math/w_exp10.c: Likewise.
56148 * math/w_exp10f.c: Likewise.
56149 * math/w_exp10l.c: Likewise.
56150 * math/w_fmod.c: Likewise.
56151 * math/w_fmodf.c: Likewise.
56152 * math/w_fmodl.c: Likewise.
56153 * math/w_j0.c: Likewise.
56154 * math/w_j0f.c: Likewise.
56155 * math/w_j0l.c: Likewise.
56156 * math/w_j1.c: Likewise.
56157 * math/w_j1f.c: Likewise.
56158 * math/w_j1l.c: Likewise.
56159 * math/w_jn.c: Likewise.
56160 * math/w_jnf.c: Likewise.
56161 * math/w_log.c: Likewise.
56162 * math/w_logf.c: Likewise.
56163 * math/w_logl.c: Likewise.
56164 * math/w_log10.c: Likewise.
56165 * math/w_log10f.c: Likewise.
56166 * math/w_log10l.c: Likewise.
56167 * math/w_log2.c: Likewise.
56168 * math/w_log2f.c: Likewise.
56169 * math/w_log2l.c: Likewise.
56170 * math/w_pow.c: Likewise.
56171 * math/w_powf.c: Likewise.
56172 * math/w_powl.c: Likewise.
56173 * math/w_remainder.c: Likewise.
56174 * math/w_remainderf.c: Likewise.
56175 * math/w_remainderl.c: Likewise.
56176 * math/w_scalb.c: Likewise.
56177 * math/w_scalbf.c: Likewise.
56178 * math/w_scalbl.c: Likewise.
56179 * math/w_sqrt.c: Likewise.
56180 * math/w_sqrtf.c: Likewise.
56181 * math/w_sqrtl.c: Likewise.
56182 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56183 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56184 used.
56185 * math/math_private.h: Declare __kernel_standard_f.
56186 * math/w_cosh.c: Remove cruft and optimize a bit.
56187 * math/w_coshf.c: Likewise.
56188 * math/w_coshl.c: Likewise.
56189 * math/w_exp2.c: Likewise.
56190 * math/w_exp2f.c: Likewise.
56191 * math/w_exp2l.c: Likewise.
56192 * math/w_hypot.c: Likewise.
56193 * math/w_hypotf.c: Likewise.
56194 * math/w_hypotl.c: Likewise.
56195 * math/w_lgamma.c: Likewise.
56196 * math/w_lgamma_r.c: Likewise.
56197 * math/w_lgammaf.c: Likewise.
56198 * math/w_lgammaf_r.c: Likewise.
56199 * math/w_lgammal.c: Likewise.
56200 * math/w_lgammal_r.c: Likewise.
56201 * math/w_sinh.c: Likewise.
56202 * math/w_sinhf.c: Likewise.
56203 * math/w_sinhl.c: Likewise.
56204 * math/w_tgamma.c: Likewise.
56205 * math/w_tgammaf.c: Likewise.
56206 * math/w_tgammal.c: Likewise.
56207 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56208 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56209 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56210 Minor optimizations. Pretty printing. Remove cruft.
56211 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56212 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56213 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56215 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56216 * sysdeps/i386/fpu/e_asin.S: Likewise.
56217 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56218 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56219 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56220 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56221 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56222 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56223 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56224 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56225 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56226 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56227 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56228 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56229 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56230 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56231 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56232 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56233 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56234 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56235 * sysdeps/i386/fpu/e_log.S: Likewise.
56236 * sysdeps/i386/fpu/e_log10.S: Likewise.
56237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56238 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56239 * sysdeps/i386/fpu/e_log2.S: Likewise.
56240 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56241 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56242 * sysdeps/i386/fpu/e_logf.S: Likewise.
56243 * sysdeps/i386/fpu/e_logl.S: Likewise.
56244 * sysdeps/i386/fpu/e_pow.S: Likewise.
56245 * sysdeps/i386/fpu/e_powf.S: Likewise.
56246 * sysdeps/i386/fpu/e_powl.S: Likewise.
56247 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56248 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56249 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56250 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56251 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56252 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56253 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56254 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56255 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56256 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56257 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56259 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56261 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56262 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56263 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56264 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56266 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56267 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56269 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56270 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56272 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56273 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56276 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56277 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56278 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56279 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56280 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56281 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56282 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56283 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56284 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56285 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56286 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56287 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56288 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56289 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56290 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56291 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56292 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56293 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56294 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56295 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56296 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56297 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56298 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56299 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56300 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56301 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56302 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56303 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56304 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56305 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56306 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56307 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56308 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56309 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56310 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56311 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56312 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56313 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56314 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56315 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56316 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56320 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56321 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56322 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56323 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56324 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56326 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56327 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56330 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56332 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56333 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56335 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56337 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56338 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56339 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56340 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56341 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56343 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56344 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56345 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56346 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56347 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56348 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56349 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56351 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56352 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56353 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56354 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56355 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56356 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56357 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56358 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56359 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56360 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56361 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56362 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56364 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56365 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56366 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56367 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56368 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56369 (__isnanf): Likewise.
56370 (__isinf_ns): Likewise.
56371 (__isinf_nsf): Likewise.
56372 (__finite): Likewise.
56373 (__finitef): Likewise.
56374 (__ieee754_sqrt): Define as macro.
56375 (__ieee754_sqrtf): Define as macro.
56376 (__ieee754_sqrtl): Define as macro.
56377 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56378 inlined copy.
56379 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56380 __FINITE_MATH_ONLY__ consistent.
56381 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56382
56383 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56384
56385 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56386 of rawmemchr.
56387
56388 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56389
56390 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56391
56392 * po/ja.po: Update from translation team.
56393
56394 2011-10-08 Roland McGrath <roland@hack.frob.com>
56395
56396 * locale/programs/locarchive.c (prepare_address_space): New function.
56397 (create_archive, enlarge_archive, open_archive): Use it.
56398
56399 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56400 inside [SHARED], where it is used.
56401
56402 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56403
56404 * nss/getent.c (netgroup_keys): Remove unused variable.
56405 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56406
56407 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56408
56409 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56410 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56412 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56413 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56414 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56415 * math/Makefile (libm-calls): Add s_isinf_ns.
56416 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56417 * math/multc3.c: Likewise.
56418 * math/s_casin.c: Likewise.
56419 * math/s_casinf.c: Likewise.
56420 * math/s_casinl.c: Likewise.
56421 * math/s_ccos.c: Likewise.
56422 * math/s_ccosf.c: Likewise.
56423 * math/s_ccosl.c: Likewise.
56424 * math/s_ctan.c: Likewise.
56425 * math/s_ctanf.c: Likewise.
56426 * math/s_ctanh.c: Likewise.
56427 * math/s_ctanhf.c: Likewise.
56428 * math/s_ctanhl.c: Likewise.
56429 * math/s_ctanl.c: Likewise.
56430 * math/w_fmod.c: Likewise.
56431 * math/w_fmodf.c: Likewise.
56432 * math/w_fmodl.c: Likewise.
56433 * math/w_remainder.c: Likewise.
56434 * math/w_remainderf.c: Likewise.
56435 * math/w_remainderl.c: Likewise.
56436 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56437 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56440 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56441 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56442 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56443 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56444
56445 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56446 of the number.
56447 * stdio-common/printf_fphex.c: Likewise.
56448 * stdio-common/printf_size.c: Likewise.
56449
56450 * math/e_exp10.c: Include math_private.h using <...> not "...".
56451 * math/e_exp10f.c: Likewise.
56452 * math/e_exp10l.c: Likewise.
56453 * math/e_exp2l.c: Likewise.
56454 * math/e_j0l.c: Likewise.
56455 * math/e_j1l.c: Likewise.
56456 * math/e_jnl.c: Likewise.
56457 * math/e_lgammal_r.c: Likewise.
56458 * math/e_rem_pio2l.c: Likewise.
56459 * math/e_scalb.c: Likewise.
56460 * math/e_scalbf.c: Likewise.
56461 * math/e_scalbl.c: Likewise.
56462 * math/k_cosl.c: Likewise.
56463 * math/k_sinl.c: Likewise.
56464 * math/k_tanl.c: Likewise.
56465 * math/s_cacoshf.c: Likewise.
56466 * math/s_catan.c: Likewise.
56467 * math/s_catanf.c: Likewise.
56468 * math/s_catanh.c: Likewise.
56469 * math/s_catanhf.c: Likewise.
56470 * math/s_catanhl.c: Likewise.
56471 * math/s_catanl.c: Likewise.
56472 * math/s_ccosh.c: Likewise.
56473 * math/s_ccoshf.c: Likewise.
56474 * math/s_ccoshl.c: Likewise.
56475 * math/s_cexp.c: Likewise.
56476 * math/s_cexpf.c: Likewise.
56477 * math/s_cexpl.c: Likewise.
56478 * math/s_clog.c: Likewise.
56479 * math/s_clog10.c: Likewise.
56480 * math/s_clog10f.c: Likewise.
56481 * math/s_clog10l.c: Likewise.
56482 * math/s_clogf.c: Likewise.
56483 * math/s_clogl.c: Likewise.
56484 * math/s_csin.c: Likewise.
56485 * math/s_csinf.c: Likewise.
56486 * math/s_csinh.c: Likewise.
56487 * math/s_csinhf.c: Likewise.
56488 * math/s_csinhl.c: Likewise.
56489 * math/s_csinl.c: Likewise.
56490 * math/s_csqrt.c: Likewise.
56491 * math/s_csqrtf.c: Likewise.
56492 * math/s_csqrtl.c: Likewise.
56493 * math/s_ctan.c: Likewise.
56494 * math/s_ctanf.c: Likewise.
56495 * math/s_ctanh.c: Likewise.
56496 * math/s_ctanhf.c: Likewise.
56497 * math/s_ctanhl.c: Likewise.
56498 * math/s_ctanl.c: Likewise.
56499 * math/s_ldexp.c: Likewise.
56500 * math/s_ldexpf.c: Likewise.
56501 * math/s_ldexpl.c: Likewise.
56502 * math/s_significand.c: Likewise.
56503 * math/s_significandf.c: Likewise.
56504 * math/s_significandl.c: Likewise.
56505 * math/w_acos.c: Likewise.
56506 * math/w_acosf.c: Likewise.
56507 * math/w_acosh.c: Likewise.
56508 * math/w_acoshf.c: Likewise.
56509 * math/w_acoshl.c: Likewise.
56510 * math/w_acosl.c: Likewise.
56511 * math/w_asin.c: Likewise.
56512 * math/w_asinf.c: Likewise.
56513 * math/w_asinl.c: Likewise.
56514 * math/w_atan2.c: Likewise.
56515 * math/w_atan2f.c: Likewise.
56516 * math/w_atan2l.c: Likewise.
56517 * math/w_atanh.c: Likewise.
56518 * math/w_atanhf.c: Likewise.
56519 * math/w_atanhl.c: Likewise.
56520 * math/w_cosh.c: Likewise.
56521 * math/w_coshf.c: Likewise.
56522 * math/w_coshl.c: Likewise.
56523 * math/w_dremf.c: Likewise.
56524 * math/w_exp10.c: Likewise.
56525 * math/w_exp10f.c: Likewise.
56526 * math/w_exp10l.c: Likewise.
56527 * math/w_exp2.c: Likewise.
56528 * math/w_exp2f.c: Likewise.
56529 * math/w_fmod.c: Likewise.
56530 * math/w_fmodf.c: Likewise.
56531 * math/w_fmodl.c: Likewise.
56532 * math/w_hypot.c: Likewise.
56533 * math/w_hypotf.c: Likewise.
56534 * math/w_hypotl.c: Likewise.
56535 * math/w_j0.c: Likewise.
56536 * math/w_j0f.c: Likewise.
56537 * math/w_j0l.c: Likewise.
56538 * math/w_j1.c: Likewise.
56539 * math/w_j1f.c: Likewise.
56540 * math/w_j1l.c: Likewise.
56541 * math/w_jn.c: Likewise.
56542 * math/w_jnf.c: Likewise.
56543 * math/w_jnl.c: Likewise.
56544 * math/w_lgamma.c: Likewise.
56545 * math/w_lgamma_r.c: Likewise.
56546 * math/w_lgammaf.c: Likewise.
56547 * math/w_lgammaf_r.c: Likewise.
56548 * math/w_lgammal.c: Likewise.
56549 * math/w_lgammal_r.c: Likewise.
56550 * math/w_log.c: Likewise.
56551 * math/w_log10.c: Likewise.
56552 * math/w_log10f.c: Likewise.
56553 * math/w_log10l.c: Likewise.
56554 * math/w_log2.c: Likewise.
56555 * math/w_log2f.c: Likewise.
56556 * math/w_log2l.c: Likewise.
56557 * math/w_logf.c: Likewise.
56558 * math/w_logl.c: Likewise.
56559 * math/w_pow.c: Likewise.
56560 * math/w_powf.c: Likewise.
56561 * math/w_powl.c: Likewise.
56562 * math/w_remainder.c: Likewise.
56563 * math/w_remainderf.c: Likewise.
56564 * math/w_remainderl.c: Likewise.
56565 * math/w_scalb.c: Likewise.
56566 * math/w_scalbf.c: Likewise.
56567 * math/w_scalbl.c: Likewise.
56568 * math/w_sinh.c: Likewise.
56569 * math/w_sinhf.c: Likewise.
56570 * math/w_sinhl.c: Likewise.
56571 * math/w_sqrt.c: Likewise.
56572 * math/w_sqrtf.c: Likewise.
56573 * math/w_sqrtl.c: Likewise.
56574 * math/w_tgamma.c: Likewise.
56575 * math/w_tgammaf.c: Likewise.
56576 * math/w_tgammal.c: Likewise.
56577
56578 * po/ja.po: Update from translation team.
56579
56580 2011-09-29 Andreas Jaeger <aj@suse.de>
56581
56582 [BZ #13179]
56583 * sunrpc/netname.c (netname2host): Fix logic.
56584
56585 [BZ #6779]
56586 [BZ #6783]
56587 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56588 correctly.
56589 * math/w_remainder.c (__remainder): Likewise.
56590 * math/w_remainderf.c (__remainderf): Likewise.
56591 * math/libm-test.inc (remainder_test): Add test cases.
56592
56593 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56594
56595 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56596 sdiv_qrnnd.
56597
56598 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56599
56600 * string/test-memcmp.c: Avoid unncessary #defines.
56601 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56602
56603 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56604
56605 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56606 Use new sse2 version for core i3 - i7 as it's faster
56607 than sse42 version.
56608 (bit_Prefer_PMINUB_for_stringop): New.
56609 * sysdeps/x86_64/rawmemchr.S: Update.
56610 Replace with faster SSE2 version.
56611 * sysdeps/x86_64/memrchr.S: New file.
56612 * sysdeps/x86_64/memchr.S: Update.
56613 Replace with faster SSE2 version.
56614
56615 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56616
56617 * elf/dl-load.c (lose): Add cast to avoid warning.
56618
56619 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56620
56621 * po/ca.po: Update from translation team.
56622
56623 * inet/getnetgrent_r.c: Hook up nscd.
56624 * nscd/Makefile (routines): Add nscd_netgroup.
56625 (nscd-modules): Add netgroupcache.
56626 (CFLAGS-netgroupcache.c): Define.
56627 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56628 (cache_search): Add const to second parameter.
56629 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56630 INNETGR.
56631 (dbs): Add netgrdb entry.
56632 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56633 (verify_persistent_db): Handle netgrdb.
56634 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56635 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56636 GETFDNETGR.
56637 (netgroup_response_header): Define.
56638 (innetgroup_response_header): Define.
56639 (datahead): Add netgroup_response_header and innetgroup_response_header
56640 elements.
56641 * nscd/nscd.conf: Add entries for netgroup cache.
56642 * nscd/nscd.h (dbtype): Add netgrdb.
56643 (_PATH_NSCD_NETGROUP_DB): Define.
56644 (netgroup_iov_disabled): Declare.
56645 (xmalloc, xcalloc, xrealloc): Move declarations here.
56646 (cache_search): Adjust prototype.
56647 Add netgroup-related prototypes.
56648 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56649 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56650 (__nscd_innetgr): Declare.
56651 * nscd/selinux.c (perms): Use access_vector_t as element type and
56652 add netgroup-related initializers.
56653 * nscd/netgroupcache.c: New file.
56654 * nscd/nscd_netgroup.c: New file.
56655 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56656 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56657 For four parameters use innetgr.
56658 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56659 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56660 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56661 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56662
56663 * nscd/connections.c (register_traced_file): Don't register file
56664 for disabled databases.
56665
56666 2011-10-06 Ulrich Drepper <drepper@gmail.com>
56667
56668 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56669
56670 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56671 from tree and freeing node.
56672
56673 2011-09-25 Jiri Olsa <jolsa@redhat.com>
56674
56675 * nss/nsswitch.c (__nss_database_lookup): Handle
56676 nss_parse_service_list out of memory case.
56677
56678 2011-09-15 Jiri Olsa <jolsa@redhat.com>
56679
56680 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56681 out of memory case.
56682
56683 2011-10-04 Andreas Schwab <schwab@redhat.com>
56684
56685 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56686 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56687 pass it down.
56688 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56689 elf_machine_rela, elf_machine_lazy_rel.
56690 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56691 (ELF_DYNAMIC_DO_REL): Likewise.
56692 (ELF_DYNAMIC_DO_RELA): Likewise.
56693 (ELF_DYNAMIC_RELOCATE): Likewise.
56694 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56695 to ELF_DYNAMIC_DO_REL.
56696 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56697 (dl_main): In trace mode always set __RTLD_NOIFUNC.
56698 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56699 elf_machine_rela.
56700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56701 skip_ifunc, don't call ifunc function if non-zero.
56702 (elf_machine_rela): Likewise.
56703 (elf_machine_lazy_rel): Likewise.
56704 (elf_machine_lazy_rela): Likewise.
56705 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56706 (elf_machine_lazy_rel): Likewise.
56707 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56708 Likewise.
56709 (elf_machine_lazy_rel): Likewise.
56710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56711 Likewise.
56712 (elf_machine_lazy_rel): Likewise.
56713 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56714 (elf_machine_lazy_rel): Likewise.
56715 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56716 (elf_machine_lazy_rel): Likewise.
56717 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56718 (elf_machine_lazy_rel): Likewise.
56719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56720 (elf_machine_lazy_rel): Likewise.
56721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56722 (elf_machine_lazy_rel): Likewise.
56723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56724 (elf_machine_lazy_rel): Likewise.
56725
56726 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56727
56728 * nss/nss_files/files-init.c (_nss_files_init): Use static
56729 initialization for all the *_traced_file variables.
56730
56731 2011-09-28 Andreas Schwab <schwab@redhat.com>
56732
56733 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56734
56735 2011-09-27 Roland McGrath <roland@hack.frob.com>
56736
56737 [BZ #13226]
56738 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56739
56740 2011-09-27 Andreas Schwab <schwab@redhat.com>
56741
56742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56743 Reread the line before reparsing it.
56744
56745 2011-09-26 Andreas Schwab <schwab@redhat.com>
56746
56747 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56748
56749 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56750 Maxim Kuvyrkov <maxim@codesourcery.com>
56751 Joseph Myers <joseph@codesourcery.com>
56752
56753 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56754 if needed for __stack_chk_guard.
56755
56756 2011-09-19 Roland McGrath <roland@hack.frob.com>
56757
56758 * sysdeps/posix/spawni.c (script_execute): Always define it.
56759 It will be optimized away if unused.
56760 (maybe_script_execute): New function.
56761 (__spawni): Call it.
56762
56763 * Makerules: Don't include tls.make.
56764 (config-tls): Always set to thread.
56765 * tls.make.c: File removed.
56766
56767 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56768
56769 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56770 * config.make.in (CPPFLAGS-config): New substituted variable.
56771
56772 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56773
56774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56775
56776 [BZ #13192]
56777 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56778 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56779
56780 2011-09-15 Roland McGrath <roland@hack.frob.com>
56781
56782 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56783 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56784 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56785 (CALL_FAIL): Likewise.
56786 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56787 (CALL_FAIL): Macro removed.
56788 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56789
56790 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56791
56792 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56793 for __FINITE_MATH_ONLY__ == 1.
56794
56795 2011-09-15 Andreas Schwab <schwab@redhat.com>
56796
56797 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56798 __ieee754_sqrt instead of sqrt.
56799 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56800 __ieee754_sqrtf instead of sqrtf.
56801 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56802 __floorf instead of floorf.
56803 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56804 __floorf, __truncf instead of floorf, truncf.
56805
56806 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56807
56808 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56809
56810 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56811 __extern_always_inline.
56812 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56813 32-bit.
56814
56815 2011-09-14 Andreas Schwab <schwab@redhat.com>
56816
56817 * elf/rtld.c (dl_main): Also relocate in dependency order when
56818 doing symbol dependency testing.
56819
56820 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56821
56822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56823 Always define `refsym'.
56824
56825 2011-09-13 Andreas Schwab <schwab@redhat.com>
56826
56827 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56828 (__FD_ELT): Renamed from __FDELT.
56829 * misc/bits/select2.h (__FD_ELT): Likewise.
56830 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56831 __FD_MASK instead of __FDELT, __FDMASK.
56832 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56833 Likewise.
56834 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56835 Likewise.
56836
56837 * elf/Makefile (gen-ldd): Fix pattern.
56838
56839 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56840 (init_tls): Likewise.
56841
56842 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56843
56844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56845
56846 2011-09-12 Andreas Schwab <schwab@redhat.com>
56847
56848 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56849 `struct cmsghdr *' instead of `void *'.
56850 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56851 Likewise.
56852
56853 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56854
56855 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56856 if non-absolute.
56857 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56858 ldd_rewrite_script.
56859
56860 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56861
56862 * configure.in: Remove --with-tls option.
56863 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56864 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56865 out in case it is missing.
56866 * sysdeps/ia64/elf/configure.in: Likewise.
56867 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56868 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56869 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56870 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56871 * sysdeps/sh/elf/configure.in: Likewise.
56872 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56873 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56874 * sysdeps/x86_64/elf/configure.in: Likewise.
56875 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56876 * sysdeps/mach/hurd/tls.h: Likewise.
56877
56878 [BZ #13067]
56879 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56880
56881 [BZ #13090]
56882 * configure.in: Fix use of AC_INIT.
56883
56884 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56885
56886 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56887
56888 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56889 __set_errno.
56890 * malloc/hooks.c: Likewise.
56891
56892 [BZ #11929]
56893 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56894 variables statically.
56895 (narenas): Initialize.
56896 (list_lock): Initialize.
56897 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56898 initializtion of main_arena and list_lock. Small cleanups.
56899 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56900 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56901 Add initializers to main_arena and mp_.
56902 (malloc_state): Remove pagesize member. Change all users to use
56903 GLRO(dl_pagesize).
56904
56905 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56906 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56907 is always initialized.
56908
56909 * malloc/malloc.c: Removed unused configurations and dead code.
56910 * malloc/arena.c: Likewise.
56911 * malloc/hooks.c: Likewise.
56912 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56913
56914 * include/tls.h: Removed. USE___THREAD must always be defined.
56915 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56916 * elf/dl-libc.c: Likewise.
56917 * elf/dl-tsd.c: Likewise.
56918 * include/errno.h: Likewise.
56919 * include/netdb.h: Likewise.
56920 * include/resolv.h: Likewise.
56921 * inet/herrno-loc.c: Likewise.
56922 * inet/herrno.c: Likewise.
56923 * malloc/arena.c: Likewise.
56924 * malloc/hooks.c: Likewise.
56925 * malloc/malloc.c: Likewise.
56926 * resolv/res-state.c: Likewise.
56927 * resolv/res_libc.c: Likewise.
56928 * sysdeps/i386/dl-machine.h: Likewise.
56929 * sysdeps/ia64/dl-machine.h: Likewise.
56930 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56931 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56932 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56933 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56934 * sysdeps/sh/dl-machine.h: Likewise.
56935 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56936 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56937 * sysdeps/unix/i386/sysdep.S: Likewise.
56938 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56939 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56944 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56948 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56949 * sysdeps/x86_64/dl-machine.h: Likewise.
56950 * tls.make.c: Likewise.
56951
56952 * configure.in: Remove --with-__thread option. Make tests for
56953 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56954 tls_model attribute fail if no support is available. Remove
56955 USE_IN_LIBIO.
56956 * Makeconfig: Adjust for dropped configure option. All features are
56957 now mandatory.
56958 * Makerules: Likewise.
56959 * Versions.def: Likewise.
56960 * argp/argp-fmtstream.c: Likewise.
56961 * argp/argp-fmtstream.h: Likewise.
56962 * argp/argp-help.c: Likewise.
56963 * assert/assert.c: Likewise.
56964 * config.h.in: Likewise.
56965 * config.make.in: Likewise.
56966 * configure: Likewise.
56967 * configure.in: Likewise.
56968 * csu/Versions: Likewise.
56969 * csu/init.c: Likewise.
56970 * elf/tst-audit2.c: Likewise.
56971 * elf/tst-tls10.c: Likewise.
56972 * elf/tst-tls10.h: Likewise.
56973 * elf/tst-tls11.c: Likewise.
56974 * elf/tst-tls12.c: Likewise.
56975 * elf/tst-tls14.c: Likewise.
56976 * elf/tst-tlsmod11.c: Likewise.
56977 * elf/tst-tlsmod12.c: Likewise.
56978 * elf/tst-tlsmod13.c: Likewise.
56979 * elf/tst-tlsmod13a.c: Likewise.
56980 * elf/tst-tlsmod14a.c: Likewise.
56981 * elf/tst-tlsmod15b.c: Likewise.
56982 * elf/tst-tlsmod16a.c: Likewise.
56983 * elf/tst-tlsmod16b.c: Likewise.
56984 * elf/tst-tlsmod7.c: Likewise.
56985 * elf/tst-tlsmod8.c: Likewise.
56986 * elf/tst-tlsmod9.c: Likewise.
56987 * gmon/gmon.c: Likewise.
56988 * grp/fgetgrent_r.c: Likewise.
56989 * grp/putgrent.c: Likewise.
56990 * hurd/fopenport.c: Likewise.
56991 * include/libc-symbols.h: Likewise.
56992 * include/tls.h: Likewise.
56993 * intl/gettextP.h: Likewise.
56994 * intl/loadinfo.h: Likewise.
56995 * locale/global-locale.c: Likewise.
56996 * locale/localeinfo.h: Likewise.
56997 * mach/devstream.c: Likewise.
56998 * malloc/arena.c: Likewise.
56999 * malloc/set-freeres.c: Likewise.
57000 * misc/err.c: Likewise.
57001 * misc/getttyent.c: Likewise.
57002 * misc/mntent_r.c: Likewise.
57003 * posix/getopt.c: Likewise.
57004 * posix/wordexp.c: Likewise.
57005 * pwd/fgetpwent_r.c: Likewise.
57006 * resolv/Versions: Likewise.
57007 * resolv/res_hconf.c: Likewise.
57008 * shadow/fgetspent_r.c: Likewise.
57009 * shadow/putspent.c: Likewise.
57010 * stdio-common/printf_fphex.c: Likewise.
57011 * stdio-common/tmpfile.c: Likewise.
57012 * stdlib/abort.c: Likewise.
57013 * stdlib/fmtmsg.c: Likewise.
57014 * sunrpc/auth_unix.c: Likewise.
57015 * sunrpc/clnt_perr.c: Likewise.
57016 * sunrpc/clnt_tcp.c: Likewise.
57017 * sunrpc/clnt_udp.c: Likewise.
57018 * sunrpc/clnt_unix.c: Likewise.
57019 * sunrpc/openchild.c: Likewise.
57020 * sunrpc/svc_simple.c: Likewise.
57021 * sunrpc/svc_tcp.c: Likewise.
57022 * sunrpc/svc_udp.c: Likewise.
57023 * sunrpc/svc_unix.c: Likewise.
57024 * sunrpc/xdr.c: Likewise.
57025 * sunrpc/xdr_array.c: Likewise.
57026 * sunrpc/xdr_rec.c: Likewise.
57027 * sunrpc/xdr_ref.c: Likewise.
57028 * sunrpc/xdr_stdio.c: Likewise.
57029
57030 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57031
57032 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57033
57034 2011-07-03 Andreas Jaeger <aj@suse.de>
57035
57036 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57037 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57038 regenerate with gen-libm-tests.pl.
57039
57040 2010-05-12 Petr Baudis <pasky@suse.cz>
57041
57042 [BZ #11589]
57043 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57044 around j0() zero points by switching to j1().
57045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57046 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57048 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57049
57050 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57051
57052 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57053 instead of 0.
57054 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57055 instead of 0.
57056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57057 Patch in part by Pavel Roskin <proski@gnu.org>.
57058
57059 [BZ #13138]
57060 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57061 realloc.
57062 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57063 Free memory block if necessary.
57064
57065 [BZ #12847]
57066 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57067 be NULL. Don't lock in this case.
57068
57069 2011-09-09 Roland McGrath <roland@hack.frob.com>
57070
57071 * elf/elf.h (ELFOSABI_GNU): New macro.
57072 (ELFOSABI_LINUX): Define to that.
57073
57074 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57075
57076 * string/strncat.c (strncat): Undef the symbol in case it has been
57077 defined in bits/string.h.
57078
57079 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57080
57081 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57082
57083 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57084 link map.
57085
57086 2011-08-17 Andreas Jaeger <aj@suse.de>
57087
57088 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57089
57090 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57091 Ian Lance Taylor <iant@google.com>
57092
57093 * math/libm-test.inc (lround_test): New testcase.
57094 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57095
57096 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57097
57098 * Makefile: Remove support for automatic cvs check-ins.
57099 * Makerules: Likewise.
57100 * config.make.in: Likewise.
57101 * configure.in: Likewise.
57102 * intl/Makefile: Likewise.
57103 * locale/Makefile: Likewise.
57104 * po/Makefile: Likewise.
57105 * posix/Makefile: Likewise.
57106 * sysdeps/gnu/Makefile: Likewise.
57107 * sysdeps/mach/hurd/Makefile: Likewise.
57108 * sysdeps/sparc/sparc32/Makefile: Likewise.
57109
57110 [BZ #13118]
57111 * posix/Makefile (bug-regex32-ENV): Define.
57112 Patch by John Stanley <jpsinthemix@verizon.net>.
57113
57114 * misc/Makefile (headers): Add bits/select2.h.
57115 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57116 * misc/bits/select2.h: New file.
57117 * include/bits/select2.h: New file.
57118 * debug/Makefile (routines): Add fdelt_chk.
57119 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57120 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57121 FD_ISSET.
57122 * debug/fdelt_chk.c: New file.
57123
57124 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57125 * wcsmbs/test-wmemcmp.c: Likewise.
57126 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57127 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57128
57129 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57130
57131 * string/Makefile (strop-tests): Add memcmp.
57132 * string/test-wmemcmp.c: New file.
57133 * string/test-memcmp.c: Add wmemcmp support.
57134
57135 2011-09-08 Roland McGrath <roland@hack.frob.com>
57136
57137 [BZ #13153]
57138 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57139 2011-07-19 change.
57140
57141 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57142 garbage value in a __mach_port_mod_refs call in the cases of the
57143 task-self and thread-self ports.
57144
57145 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57146
57147 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57148
57149 2011-09-08 Andreas Schwab <schwab@redhat.com>
57150
57151 * elf/dl-load.c (lose): Check for non-null L.
57152
57153 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57154
57155 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57156
57157 * elf/dl-libc.c (dlerror_run): Pass back error code from
57158 dl_catch_error.
57159
57160 [BZ #13123]
57161 * elf/dl-load.c (lose): Free l_origin if it is valid.
57162
57163 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57164 names.
57165 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57166 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57167 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57168 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57169 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57170 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57171
57172 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57173
57174 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57175 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57176 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57177 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57178 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57179 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57180 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57181 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57182 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57183 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57184
57185 2011-08-15 Alan Modra <amodra@gmail.com>
57186
57187 [BZ #13092]
57188 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57189 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57190 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57191 ppc_mcount to static-only-routines.
57192 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57193 __mcount_internal.
57194 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57195 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57196
57197 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57198
57199 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57200 for finite and infinity parameters.
57201
57202 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57203
57204 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57205 and add nop instructions for throughput optimization.
57206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57207
57208 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57209
57210 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57211 aligned copy for power7 with vector-scalar instructions.
57212 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57213
57214 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57215
57216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57217 AVX check.
57218
57219 2011-09-07 Andreas Schwab <schwab@redhat.com>
57220
57221 [BZ #13144]
57222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57223 last change.
57224
57225 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57226
57227 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57228 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57229 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57230 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57231 clock_gettime.
57232
57233 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57234
57235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57236 Forgot to demangle the pointer.
57237
57238 * sysdeps/i386/sysdep.h: Define atom_text_section.
57239 * sysdeps/x86_64/sysdep.h: Likewise.
57240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57241 section with atom_text_section.
57242 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57243 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57244 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57245 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57246 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57247
57248 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57249 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57250 already be defined. Change to take two parameters and don't assign
57251 result to variable. Adjust all users.
57252 Define INTERNAL_GETTIME if not already defined.
57253 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57254 call.
57255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57256 HAVE_CLOCK_GETTIME_VSYSCALL.
57257 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57258
57259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57260 gettimeofday vsyscall, just use time.
57261
57262 2011-09-06 Andreas Schwab <schwab@redhat.com>
57263
57264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57265 <errno.h>.
57266
57267 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57268
57269 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57270 syscall on x86-64.
57271 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57272 syscall.
57273 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57274 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57275 syscall if possible.
57276
57277 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57278
57279 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57280 e_ident. Don't pass to find_mapsXX.
57281 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57282
57283 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57284
57285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57286 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57287 * sysdeps/x86_64/multiarch/strchr.S: Update.
57288 Check bit_slow_BSF bit.
57289 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57291 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57292
57293 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57294
57295 [BZ #13134]
57296 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57297 before glibc 2.15.
57298 (tryshell): Define.
57299 (__spawni): Change last parameter to be flag. Test
57300 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57301 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57302 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57303 * posix/spawni.c: Likewise.
57304 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57305 * posix/spawnp.c: Likewise. Change normal version to use
57306 SPAWN_XFLAGS_USE_PATH.
57307 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57308 SPAWN_XFLAGS_TRY_SHELL.
57309
57310 [BZ #13150]
57311 * posix/glob.h: Remove gcc 1.x support.
57312
57313 [BZ #13068]
57314 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57315
57316 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57317
57318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57319 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57320 strrchr-sse2-bsf
57321 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57322 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57323 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57324 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57325 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57326 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57327
57328 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57329
57330 * sysdeps/x86_64/wcscmp.S: New file.
57331
57332 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57333 wcscmp-c wcscmp-sse2
57334 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57335 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57336 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57337 * wcsmbs/wcscmp.c: Allow renaming.
57338
57339 2011-09-05 David S. Miller <davem@davemloft.net>
57340
57341 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57342 stack slot, rather than the struct return pointer slot.
57343 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57344 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57346 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57347
57348 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57349
57350 * po/ja.po: Update from translation team.
57351
57352 [BZ #13144]
57353 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57354 kernel in 64-bit binaries.
57355
57356 2011-09-01 David S. Miller <davem@davemloft.net>
57357
57358 * elf/elf.h (HWCAP_SPARC_*): Move to..
57359 * sysdeps/sparc/sysdep.h: this new file and add new values.
57360 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57361 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57362 _DL_HWCAP_COUNT to 24.
57363 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57364 entries.
57365 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57366 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57367 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57369 instead of magic constants.
57370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57371
57372 2011-08-31 David S. Miller <davem@davemloft.net>
57373
57374 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57376 Reimplement to do errno handling inline.
57377 (SYSCALL_ERROR_HANDLER): New macro.
57378 (__SYSCALL_STRING): Do not do errno handling in asm.
57379 (__CLONE_SYSCALL_STRING): Delete.
57380 (__INTERNAL_SYSCALL_STRING): Delete.
57381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57382 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57383 (PSEUDO): Reimplement to do errno handling inline.
57384 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57385 (SYSCALL_ERROR_HANDLER): New macro.
57386 (__SYSCALL_STRING): Do not do errno handling in asm.
57387 (__CLONE_SYSCALL_STRING): Delete.
57388 (__INTERNAL_SYSCALL_STRING): Delete.
57389 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57390 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57391 i386.
57392 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57393 (inline_syscall*): Add 'err' argument.
57394 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57395 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57396 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57397 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57398
57399 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57400 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57401
57402 2011-08-30 Andreas Schwab <schwab@redhat.com>
57403
57404 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57405
57406 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57407
57408 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57409 directive.
57410
57411 2011-08-24 David S. Miller <davem@davemloft.net>
57412
57413 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57414
57415 2011-08-24 Andreas Schwab <schwab@redhat.com>
57416
57417 * elf/Makefile: Add rules to build and run unload8 test.
57418 * elf/unload8.c: New file.
57419 * elf/unload8mod1.c: New file.
57420 * elf/unload8mod1x.c: New file.
57421 * elf/unload8mod2.c: New file.
57422 * elf/unload8mod3.c: New file.
57423
57424 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57425 it wasn't used.
57426
57427 2011-08-23 David S. Miller <davem@davemloft.net>
57428
57429 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57430 subtract stack bias.
57431 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57432 %sp not %fp in calculations.
57433 (_JMPBUF_UNWINDS_ADJ): Likewise.
57434
57435 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57436 (aio_suspend): Call it to force an exception region around the
57437 AIO_MISC_WAIT() invocation.
57438
57439 2011-08-23 Andreas Schwab <schwab@redhat.com>
57440
57441 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57442 backslash.
57443
57444 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57445
57446 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57447 protection macro.
57448 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57449 and <dl-machine.h>.
57450 (Elf64_FuncDesc): Remove.
57451
57452 2011-08-22 David S. Miller <davem@davemloft.net>
57453
57454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57455 sigaltstack check, add missing cfi directives.
57456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57457 missing cfi directives, and sigaltstack handling.
57458
57459 2011-08-16 Andreas Schwab <schwab@redhat.com>
57460
57461 [BZ #11724]
57462 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57463 object is seen twice.
57464 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57465
57466 * elf/Makefile (distribute): Add tst-initorder2.c.
57467 (tests): Add tst-initorder2.
57468 (modules-names): Add tst-initorder2a tst-initorder2b
57469 tst-initorder2c tst-initorder2d. Add rules to build them.
57470 ($(objpfx)tst-initorder2.out): New rule.
57471 * elf/tst-initorder2.c: New file.
57472 * elf/tst-initorder2.exp: New file.
57473
57474 2011-08-22 Andreas Schwab <schwab@redhat.com>
57475
57476 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57477
57478 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57479 dependencies back to end of function.
57480
57481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57482 $(elfobjdir)/ld.so.
57483
57484 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57485
57486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57487 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57488 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57489 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57490 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57491 of __vdso_gettimeofday.
57492 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57493 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57494 attribute_hidden.
57495 (_libc_vdso_platform_setup): Remove initialization of
57496 __vdso_gettimeofday and __vdso_time.
57497
57498 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57499
57500 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57501 and fgetc_unlocked.
57502 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57503 getc_unlocked.
57504
57505 * elf/dl-open.c (add_to_global): Report additions to the global scope
57506 for LD_DEBUG=scopes.
57507 (dl_open_worker): Also print scope of newly loaded dependencies.
57508 (_dl_show_scope): Indicate if there is no scope.
57509
57510 [BZ #13114]
57511 * stdio-common/Makefile (tests): Add bug24.
57512 * stdio-common/bug24.c: New file.
57513
57514 2011-08-19 Andreas Jaeger <aj@suse.de>
57515
57516 [BZ #13114]
57517 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57518 non-existant file when using close-on-exec mode.
57519
57520 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57521
57522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57523 the very first instruction.
57524
57525 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57526 the CFI state in the end.
57527 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57528 inclusion of dl-trampoline.h.
57529 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57530
57531 2011-08-19 Andreas Schwab <schwab@redhat.com>
57532
57533 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57534 expectations for long double.
57535
57536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57537 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57538
57539 2011-08-14 David S. Miller <davem@davemloft.net>
57540
57541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57542 artificual limit depends upon the system page size.
57543
57544 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57545
57546 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57547 * resolv/Makefile: Define CFLAGS-libresolv.
57548
57549 2011-08-17 Andreas Schwab <schwab@redhat.com>
57550
57551 * nss/makedb.c (compute_tables): Make variables used in nested
57552 function static.
57553
57554 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57555
57556 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57557 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57558 if buffer was too small.
57559
57560 * elf/pldd.c (main): Attach to all threads in the process.
57561 Rewrite /proc handling to use *at functions.
57562
57563 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57564
57565 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57566 specifies first scope to show.
57567 (dl_open_worker): Update callers. Move printing scope of new
57568 object to before the relocation.
57569 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57570 * sysdeps/generic/ldsodefs.h: Update declaration.
57571
57572 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57573 string for the scope number.
57574
57575 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57576
57577 * nscd/servicescache.c (cache_addserv): Make sure written is always
57578 initialized.
57579
57580 2011-08-14 Roland McGrath <roland@hack.frob.com>
57581
57582 * sysdeps/i386/i486/bits/atomic.h
57583 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57584 statement expression, so as to suppress "set but not used" warning.
57585 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57586
57587 * string/strncat.c (STRNCAT): Use prototype definition.
57588
57589 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57590 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57591 -Iprograms here.
57592 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57593 (localedef-modules): Add localedef.
57594 (locale-modules): Add locale.
57595
57596 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57597 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57598 to avoid a warning.
57599
57600 2011-08-14 David S. Miller <davem@davemloft.net>
57601
57602 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57603 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57604
57605 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57606
57607 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57608 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57609 * elf/rtld.c (dl_main): Set l_name of vDSO.
57610 Call _dl_show_scope when DL_DEBUG_SCOPES.
57611 (process_dl_debug): Recognize scopes flag and also set it for all.
57612 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57613 Declare _dl_show_scope.
57614
57615 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57616 (do_dlopen): Pass caller_dlopen to dl_open.
57617 (__libc_dlopen_mode): Initialize caller_dlopen.
57618
57619 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57620 of libc. Make tolower call locale-independent. Optimize a bit by
57621 using isdigit instead of isalnum.
57622 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57623
57624 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57625
57626 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57627 was a dependency or dynamically loaded.
57628
57629 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57630
57631 * intl/l10nflist.c: Allow architecture-specific pop function.
57632 * sysdeps/x86_64/l10nflist.c: New file.
57633
57634 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57635 classification.
57636
57637 2011-08-10 Andreas Schwab <schwab@redhat.com>
57638
57639 * include/dirent.h: Add libc_hidden_proto for scandirat and
57640 scandirat64. Don't declare __scandirat64.
57641 * dirent/scandirat.c: Add libc_hidden_def.
57642 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57643 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57644
57645 2011-08-10 David S. Miller <davem@davemloft.net>
57646
57647 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57648 enum.
57649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57652
57653 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57654
57655 * Versions.def [libc]: Add GLIBC_2.15.
57656 * dirent/Makefile (routines): Add scandirat and scandirat64.
57657 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57658 GLIBC_2.15.
57659 * dirent/dirent.h: Declare scandirat and scandirat64.
57660 * dirent/scandirat.c: New file.
57661 * dirent/scandirat64.c: New file.
57662 * sysdeps/wordsize-64/scandirat.c: New file.
57663 * sysdeps/wordsize-64/scandirat64.c: New file.
57664 * dirent/opendir.c: Define opendirat.
57665 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57666 using scandirat.
57667 * dirent/scandir64.c: Adjust for scandir.c change.
57668 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
57669 __scandirat64, and __scandir_cancel_handler.
57670 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
57671 additional parameter and use openat instead of open (outside of ld.so).
57672 Add new __opendir as wrapper around __opendirat.
57673 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57674 here without requiring old scandirat implementation.
57675
57676 2011-08-08 Ulrich Drepper <drepper@gmail.com>
57677
57678 * dirent/scandir.c (cancel_handler): Renamed to
57679 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
57680 defined. Adjust users.
57681 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57682 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57683
57684 2011-08-04 Ulrich Drepper <drepper@gmail.com>
57685
57686 * string/test-string.h (IMPL): Use __STRING to expand name and then
57687 stringify it.
57688
57689 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
57690 of cleanups.
57691
57692 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57693
57694 * string/Makefile: Update.
57695 (strop-tests): Append strncat.
57696 * string/test-wcscmp.c: New file.
57697 New comprehensive test for wcscmp.
57698 * string/test-strcmp.c: Update.
57699 (WIDE): New define.
57700
57701 2011-07-22 Andreas Schwab <schwab@redhat.com>
57702
57703 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57704 line.
57705
57706 2011-07-26 Andreas Schwab <schwab@redhat.com>
57707
57708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57709 encoding to ACE if AI_IDN.
57710
57711 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57712
57713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57714 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57715
57716 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57717
57718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57719 Fix overflow bug in strncat.
57720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57721
57722 * string/test-strncat.c: Update.
57723 Add new tests for checking overflow bugs.
57724
57725 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57726
57727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57728 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57729 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57730 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57731 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57732 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57733 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57734 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57735 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57736
57737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57738 (USE_AS_STRCAT): Define.
57739 Add strcat and strncat support.
57740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57741
57742 2011-07-25 Andreas Schwab <schwab@redhat.com>
57743
57744 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57745 __n bigger than INT_MAX+1.
57746 (__strncmp_g): Likewise.
57747
57748 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57749
57750 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57751 * libio/stido.h: Likewise.
57752
57753 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57754 (AF_NFC): Define.
57755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57756 (AF_NFC): Define.
57757
57758 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57759 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57760 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57761 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57763
57764 [BZ #13021]
57765 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57766 installed.
57767
57768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57769 typo.
57770 (_dl_x86_64_save_sse): Likewise.
57771
57772 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57773
57774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57775 OSXSAVE.
57776 (_dl_x86_64_save_sse): Likewise.
57777
57778 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57779
57780 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57781
57782 2011-07-21 Andreas Schwab <schwab@redhat.com>
57783
57784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57785 change.
57786 (_dl_x86_64_save_sse): Use correct AVX check.
57787
57788 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57789
57790 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57791 bug in strncpy/strncat.
57792 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57793
57794 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57795
57796 * string/tester.c (test_strcat): Add tests for different alignments
57797 of source and destination.
57798 (test_strncat): Likewise.
57799
57800 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57801
57802 [BZ #12852]
57803 * posix/glob.c (glob): Check passed in values before using them in
57804 expressions to avoid some overflows.
57805 (glob_in_dir): Likewise.
57806
57807 [BZ #13007]
57808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57809 check for AVX enablement so that we don't crash with old kernels and
57810 new hardware.
57811 * elf/tst-audit4.c: Add same checks here.
57812 * elf/tst-audit6.c: Likewise.
57813
57814 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57815
57816 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57817
57818 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57819
57820 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57821
57822 * po/cs.po: Update from translation team.
57823 * po/bg.po: Likewise.
57824
57825 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57826
57827 * misc/sys/cdefs.h: Add support for const attribute.
57828 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57829 to gnu_dev_{major,minor,makedev} functions.
57830
57831 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57832
57833 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57834
57835 2011-07-20 Andreas Schwab <schwab@redhat.com>
57836
57837 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57838 strlen results.
57839
57840 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57841
57842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57843 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57844 register in order to avoid conflicts with the soft frame pointer
57845 being held in r11 when necessary.
57846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57847 (INTERNAL_VSYSCALL_NCS): Likewise.
57848
57849 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57850
57851 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57852 * elf/dl-fini.c (_dl_fini): Adjust caller.
57853 * elf/dl-close.c (_dl_close_worker): Likewise.
57854 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57855
57856 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57857
57858 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57859 "aux_cache->nlibs < 0".
57860
57861 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57862 in the reload-count case.
57863
57864 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57865
57866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57867 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57868 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57869 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57870 * sysdeps/x86_64/multiarch/strcat.S: New file.
57871 * sysdeps/x86_64/multiarch/strncat.S: New file.
57872 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57873 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57874 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57875 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57876 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57877 (USE_AS_STRCAT): Define.
57878 Add strcat and strncat support.
57879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57880 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57881 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57882 * string/strncat.c: Update.
57883 (USE_AS_STRNCAT): Define.
57884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57885 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57886 and i7.
57887 * sysdeps/x86_64/multiarch/init-arch.h
57888 (bit_Prefer_PMINUB_for_stringop): New.
57889 (index_Prefer_PMINUB_for_stringop): Likewise.
57890 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57891 bit_Prefer_PMINUB_for_stringop.
57892
57893 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57894
57895 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57896 buffer64.
57897 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57898 of casting of buffer.
57899 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57900 buffer32 and buffer64.
57901 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57902 writes instead of casting of buffer.
57903 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57904 buffer32.
57905 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57906 casting of buffer.
57907
57908 2011-07-19 Andreas Schwab <schwab@redhat.com>
57909
57910 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57911
57912 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57913
57914 * nscd/nscd.c (termination_handler): Don't do anything for a database
57915 if it has not yet been initialized.
57916
57917 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57918
57919 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57920
57921 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57922
57923 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57924
57925 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57926
57927 * po/nl.po: Update from translation team.
57928 * po/sv.po: Likewise.
57929
57930 2011-07-16 Roland McGrath <roland@hack.frob.com>
57931
57932 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57933 now disallowed by GCC.
57934
57935 * configure.in (use-default-link): Default to yes if a test -shared
57936 link meets our qualifications.
57937 * configure: Regenerated.
57938
57939 * config.make.in (output-format): New variable.
57940 * configure.in: Check for ld --print-output-format support.
57941 * configure: Regenerated.
57942 * Makerules ($(common-objpfx)format.lds)
57943 [$(output-format) != unknown]: Just use $(output-format),
57944 instead of the linker-script munging.
57945
57946 2011-07-14 Roland McGrath <roland@hack.frob.com>
57947
57948 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57949 of $(common-objpfx)shlib.lds.
57950 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57951
57952 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57953 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57954
57955 * configure.in (-z relro check): Adjust test code to add a large
57956 writable data section after it.
57957 * configure: Regenerated.
57958
57959 2011-07-11 Roland McGrath <roland@hack.frob.com>
57960
57961 * configure.in (-z relro check): Fix test code to make the variable
57962 truly const.
57963 * configure: Regenerated.
57964
57965 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57966
57967 * nscd/nscd.h (struct traced_file): Define.
57968 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57969 elements. Add traced_files.
57970 (inotify_fd): Declare.
57971 (register_traced_file): Declare.
57972 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57973 (inotify_fd): Export.
57974 (resolv_conf_descr): Remove.
57975 (nscd_init): Move inotify descriptor creation to main.
57976 Don't register files for notification here.
57977 (register_traced_file): New function.
57978 (invalidate_cache): Don't use reset_res to determine whether to call
57979 res_init, go through the list of registered files.
57980 (main_loop_poll): The inotify descriptors are now stored in the
57981 structures for the traced files.
57982 (main_loop_epoll): Likewise
57983 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57984 to __nss_disable_nscd.
57985 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57986 for a database anymore. Check the records for all the registered
57987 files instead.
57988 * nss/Makefile (libnss_files-routines): Add files-init.
57989 (libnss_db-routines): Add db-init.
57990 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57991 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57992 * nss/nss_db/db-init.c: New file.
57993 * nss/nss_files/files-init.c: New file.
57994 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57995 __nss_lookup_function.
57996 (__nss_lookup_function): Call nss_load_library.
57997 (nss_load_all_libraries): New function.
57998 (__nss_disable_nscd): Take parameter with callback function for files
57999 to register. Set is_nscd. Load all the DSOs for the NSS modules
58000 used for the cached services.
58001 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58002 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58003 options for features to all the files in nscd.
58004
58005 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58006
58007 2011-07-10 Roland McGrath <roland@hack.frob.com>
58008
58009 * csu/elf-init.c (__libc_csu_init): Comment typo.
58010
58011 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58012
58013 * po/pl.po: Update from translation team.
58014 * po/ja.po: Likewise.
58015 * po/ru.po: Likewise.
58016 * po/ko.po: Likewise.
58017 * po/fr.po: Likewise.
58018
58019 2011-07-09 Roland McGrath <roland@hack.frob.com>
58020
58021 * configure.in (.ctors/.dtors header and trailer check):
58022 Use an empirical test on a built program.
58023 * configure: Regenerated.
58024
58025 * configure.in (-z relro check): Use an empirical test on a built DSO.
58026 Detect, but do not require, on ia64.
58027 * configure: Regenerated.
58028
58029 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58030 Update tests that use readelf to use $READELF instead.
58031 * configure: Regenerated.
58032
58033 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58034
58035 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58036 if the result is not used.
58037
58038 2011-07-05 Andreas Jaeger <aj@suse.de>
58039
58040 [BZ#9696]
58041 * stdlib/tst-strtod.c: Add testcase.
58042
58043 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58044
58045 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58046 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58047 The latter has a higher limit. Take additional parameter to pass to
58048 the new function.
58049 (__pathconf): Pass file to __statfs_link_max.
58050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58051 __statfs_link_max.
58052 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58053 __statfs_link_max.
58054
58055 [BZ #12868]
58056 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58057 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58058 Handle Lustre.
58059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58060 (__statfs_filesize_max): Likewise.
58061 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58062
58063 2011-07-05 Andreas Jaeger <aj@suse.de>
58064
58065 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58066
58067 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58068
58069 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58070 `status' variable.
58071 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58072 Likewise.
58073
58074 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58075
58076 * Makefile (strop-tests): Add strncat.
58077 * string/test-strncat.c: New file.
58078
58079 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58080
58081 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58082
58083 2011-06-21 Andreas Jaeger <aj@suse.de>
58084
58085 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58086 Copy rule from iconvdata/Makefile.
58087
58088 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58089
58090 [BZ #12922]
58091 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58092 but no long options are defined, just return 'W'.
58093
58094 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58095
58096 [BZ #9696]
58097 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58098
58099 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58100
58101 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58102 netgroups to read.
58103 (innetgr): Likewise.
58104
58105 2011-07-05 Roland McGrath <roland@hack.frob.com>
58106
58107 * config.make.in (install_root): Default to $(DESTDIR).
58108
58109 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58110
58111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58112
58113 2011-07-02 Roland McGrath <roland@hack.frob.com>
58114
58115 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58116
58117 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58118 containing directory rather than embedding absolute directory names.
58119
58120 * scripts/check-local-headers.sh: Rewritten using awk.
58121 Match by word, not by line. Print error messages for matches.
58122 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58123
58124 * Makerules [shlib-lds-flags empty]:
58125 ($(common-objpfx)libc_pic.opts): New target.
58126 ($(common-objpfx)libc_pic.os.clean): New target.
58127 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58128
58129 * config.make.in (OBJCOPY): New variable.
58130 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58131 * configure: Regenerated.
58132
58133 * config.make.in (use-default-link): New variable.
58134 * configure.in (use_default_link): Grok --with-default-link to set it.
58135 * configure: Regenerated.
58136 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58137 (shlib-lds, shlib-lds-flags): Define to empty.
58138
58139 * Makerules (shlib-lds): New variable.
58140 (shlib-lds-flags): New variable.
58141 (build-shlib, build-moduile, build-module-asneeded): Use it.
58142 ($(common-objpfx)libc.so): Use $(shlib-lds).
58143 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58144 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58145
58146 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58147 DT_FLAGS/DT_FLAGS_1 with zero flags.
58148
58149 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58150 linker script munging.
58151
58152 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58153
58154 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58155 as 128-bit value.
58156 * crypt/sha512.c (sha512_process_block): Perform total addition using
58157 128-bit if possible.
58158 (__sha512_finish_ctx): Likewise.
58159 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58160 as 64-bit value.
58161 * crypt/sha256.c (SWAP64): Define.
58162 (sha256_process_block): Perform total addition using 64-bit if
58163 possible.
58164 (__sha256_finish_ctx): Likewise.
58165
58166 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58167
58168 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58170 * nscd/hstcache.c (cache_addhst): Likewise.
58171 * nscd/grpcache.c (cache_addgr): Likewise.
58172 * nscd/aicache.c (addhstaiX): Likewise
58173 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58174
58175 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58176
58177 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58179 * nscd/hstcache.c (cache_addhst): Likewise.
58180 * nscd/grpcache.c (cache_addgr): Likewise.
58181 * nscd/aicache.c (addhstaiX): Likewise
58182
58183 2011-07-01 Andreas Schwab <schwab@redhat.com>
58184
58185 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58186 domain only when needed.
58187
58188 2011-06-30 Andreas Schwab <schwab@redhat.com>
58189
58190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58191 is always restored.
58192
58193 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58194
58195 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58196 are re-adding the entry.
58197 * nscd/servicescache.c (cache_addserv): Likewise.
58198
58199 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58200
58201 * sysdeps/generic/dl-irel.h: fix protection against multiple
58202 inclusions.
58203 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58204
58205 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58206
58207 [BZ #12935]
58208 * malloc/memusage.sh: Fix quoting in message.
58209 * debug/xtrace.sh: Likewise.
58210
58211 * configure.in: Remove support for --experimental-malloc option, make
58212 it the default.
58213 * config.make.in: Likewise.
58214 * malloc/Makefile: Likewise.
58215
58216 2011-06-27 Andreas Schwab <schwab@redhat.com>
58217
58218 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58219 two-byte characters.
58220
58221 2011-06-27 Roland McGrath <roland@hack.frob.com>
58222
58223 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58224 AC_CACHE_CHECK invocation.
58225 * configure: Regenerated.
58226
58227 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58228
58229 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58230
58231 [BZ #12350]
58232 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58233 bit from old_res_options.
58234
58235 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58236
58237 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58238 value type for setfct.
58239
58240 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58241
58242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58243 __gettimeofday instead of gettimeofday.
58244
58245 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58246
58247 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58248
58249 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58250
58251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58252
58253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58254 info.
58255
58256 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58257
58258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58259 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58260 strcpy-sse2-unaligned strncpy-sse2-unaligned
58261 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58262 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58263 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58264 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58265 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58266 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58268 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58269 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58270 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58271 (STRCPY): Support SSE2 and SSSE3 versions.
58272
58273 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58274
58275 [BZ #12874]
58276 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58277 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58278 kernels which artificially limit size of requests.
58279
58280 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58281
58282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58283 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58284 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58285 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58286 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58287 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58288 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58289 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58291 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58292 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58293 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58294 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58295 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58296 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58298 Enable unaligned load optimization for Intel Core i3, i5 and i7
58299 processors.
58300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58301 Define.
58302 (index_Fast_Unaligned_Load): Define.
58303 (HAS_FAST_UNALIGNED_LOAD): Define.
58304
58305 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58306
58307 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58308
58309 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58310
58311 [BZ #12907]
58312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58313 until it is clear that the information is realy needed.
58314 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58315
58316 2011-06-22 Andreas Schwab <schwab@redhat.com>
58317
58318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58319
58320 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58321
58322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58323 /sys/devices/system/cpu/online if it is usable.
58324
58325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58326 reading the information from the /proc filesystem to once a second.
58327
58328 2011-06-21 Andreas Jaeger <aj@suse.de>
58329
58330 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58331 NULL after inclusion of kernel headers.
58332
58333 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58334
58335 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58336 calls to internal_setent.
58337
58338 [BZ #12885]
58339 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58340 addresses using gethostbyname4_r ignore IPv4 addresses.
58341
58342 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58343 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58344
58345 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58346
58347 2011-06-20 David S. Miller <davem@davemloft.net>
58348
58349 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58350 inclusions.
58351 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58352
58353 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58354 (elf_irel): Use it.
58355 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58356 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58357 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58358 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58359 * sysdeps/x86_64/dl-irel.h: Likewise.
58360
58361 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58362 * elf/dl-sym.c: Likewise.
58363
58364 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58365
58366 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58367 need to dereference resplen2.
58368
58369 2011-06-14 Andreas Schwab <schwab@redhat.com>
58370
58371 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58372
58373 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58374
58375 * Makeconfig: Define vardbdir and inst_vardbdir.
58376 * nss/Makefile: Add rules to install db-Makefile.
58377
58378 * nss/nss_db/db-XXX.c: Cleanup.
58379
58380 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58381 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58382 GLIBC_PRIVATE.
58383 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58384 * nss/makedb.c: Implement -g option to specify that value strings
58385 are generated and should not be added to table iterated over for
58386 get*ent calls.
58387 * nss/nss_db/db-initgroups.c: New file.
58388
58389 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58390 interface.
58391
58392 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58393 (internal_getgrouplist): Adjust to name change.
58394 Update use_initgroups_entry if this is not the first call.
58395 * nss/databases.def: Add initgroups entry.
58396
58397 * nss/makedb.c (compute_tables): Check result of multiple hash table
58398 sizes to minimize maximum chain length.
58399
58400 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58401
58402 * Versions.def: Add entry for libnss_db.
58403 * shlib-versions: Likewise.
58404 * nss/Makefile: Add rules to build libnss_db.
58405 * nss/Versions: Add libnss_db information. Organize libnss_files
58406 entries better.
58407 * nss/db-Makefile: Add gshadow support. Change rules for the new
58408 makedb progra. Some minor improvements to generate smaller files.
58409 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58410 here from...
58411 * nss/makedb.c: ...here.
58412 Improve database format to be smaller and require less memory at
58413 runtime.
58414 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58415 db anymore.
58416 * nss/nss_db/db-netgrp.c: Likewise.
58417 * nss/nss_db/db-open.c: Likewise.
58418 * nss/nss_files/flies-XXX.x: Adjust comments.
58419 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58420 * nss/nss_files/files-grp.c: Likewise.
58421 * nss/nss_files/files-hosts.c: Likewise.
58422 * nss/nss_files/files-network.c: Likewise.
58423 * nss/nss_files/files-proto.c: Likewise.
58424 * nss/nss_files/files-pwd.c: Likewise.
58425 * nss/nss_files/files-rpc.c: Likewise.
58426 * nss/nss_files/files-service.c: Likewise.
58427 * nss/nss_files/files-sgrp.c: Likewise.
58428 * nss/nss_files/files-spwd.c: Likewise.
58429 * nss/nss_db/db-alias.c: Removed.
58430 * nss/nss_db/dummy-db.h: Removed.
58431
58432 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58433
58434 * nss/makedb.c: Rewritten to not use database library.
58435 * nss/Makefile: Update to build new makedb program.
58436
58437 2011-06-14 Andreas Jaeger <aj@suse.de>
58438
58439 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58440 memset declaration.
58441
58442 2011-06-10 Andreas Schwab <schwab@redhat.com>
58443
58444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58445 tmpbuf.
58446
58447 2011-06-10 Roland McGrath <roland@hack.frob.com>
58448
58449 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58450 * elf/Makefile ($(objpfx)ld.so): Likewise.
58451
58452 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58453 Don't list ld.so twice in dependencies.
58454
58455 * posix/bug-regex31.c: Include <stdlib.h>.
58456
58457 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58458
58459 * nis/nss_compat/compat-spwd.c
58460 (getspent_next_nss_netgr): Remove unused variable.
58461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58462
58463 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58464 nonmembers" output to use the right array.
58465
58466 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58467
58468 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58469
58470 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58471 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58472 * catgets/gencat.c (read_input_file): Likewise.
58473 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58474
58475 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58476 variable definition inside #if's controlling its use.
58477
58478 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58479
58480 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58481
58482 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58483
58484 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58485 unreachable code.
58486
58487 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58488
58489 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58490 * configure: Regenerated.
58491
58492 * Makerules: Revert last change.
58493 * elf/Makefile: Likewise.
58494
58495 2011-06-09 Roland McGrath <roland@hack.frob.com>
58496
58497 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58498 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58499 (reloc-link): Likewise.
58500
58501 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58502
58503 * elf/Makefile: Add rules to build pldd.
58504 * elf/pldd.c: New file.
58505 * elf/pldd-xx.c: New file.
58506
58507 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58508
58509 * version.h: Update for 2.15 development version.
58510
58511 2011-06-07 David S. Miller <davem@davemloft.net>
58512
58513 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58514 ifuncs.
58515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58516 elf_machine_lazy_rel): Likewise.
58517 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58519 elf_machine_lazy_rel): Likewise.
58520 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58521 dl_hwcap via passed in argument.
58522 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58523 Likewise.
58524
58525 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58526
58527 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58528
58529 2011-06-06 Roland McGrath <roland@hack.frob.com>
58530
58531 [BZ #12849]
58532 * manual/fdl-1.1.texi: New file, verbatim from:
58533 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58534 * manual/lgpl-2.1.texi: New file, verbatim from:
58535 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58536 * manual/Makefile (licenses): New variable, list those new file names.
58537 (texis): Use it.
58538 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58539
58540 * manual/fdl.texi: File removed.
58541 * manual/lesser.texi: File removed.
58542 * manual/libc.texinfo (Copying, Documentation License):
58543 Use new @include file names, put @appendix directive before @include.
58544
58545 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58546
58547 [BZ #12841]
58548 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58549 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58550 (mq_open): Add __NTH.
58551
58552 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58553
58554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58555 Assume Intel Core i3/i5/i7 processor if AVX is available.
58556
58557 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58558
58559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58560 typo.
58561
58562 2011-05-31 Andreas Schwab <schwab@redhat.com>
58563
58564 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58565 memory. Use alloca_account. Fix memory leak when retrying.
58566
58567 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58568
58569 * version.h (RELEASE): Bump for 2.14 release.
58570 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58571
58572 * config.make.in (RANLIB): Remove entry.
58573
58574 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58575
58576 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58577 (libc.pot): Work around missing support for .ksh extension in xgettext.
58578
58579 [BZ #12684]
58580 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58581 if both request failed.
58582 (send_dg): In case of server errors clear resplen or *resplen2.
58583
58584 [BZ #12454]
58585 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58586 when there are multiple maps.
58587 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58588 (_dl_fini): Remove test here.
58589
58590 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58591
58592 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58593
58594 [BZ #12350]
58595 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58596 bit from old_res_options.
58597 (gaih_inet): Likewise.
58598
58599 [BZ #11099]
58600 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58601 as signed.
58602
58603 * resolv/res_init.c (res_setoptions): Make the code more compact.
58604
58605 [BZ #11558]
58606 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58607 set RES_USEVC.
58608
58609 [BZ #11634]
58610 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58611
58612 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58613
58614 [BZ #11781]
58615 * malloc/malloc.h: Declare malloc hook variables as volatile.
58616
58617 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58618 in last patch.
58619
58620 [BZ #11799]
58621 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58622 raise in the comment.
58623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58625 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58626
58627 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58628
58629 [BZ #12811]
58630 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58631 grow the buffers more if it already has to be sufficient.
58632 (build_wcs_upper_buffer): Likewise.
58633 * posix/regexec.c (check_matching): Likewise.
58634 (clean_state_log_if_needed): Likewise.
58635 (extend_buffers): Don't enlarge buffers beyond size of the input
58636 buffer.
58637 Patches mostly by Emil Wojak <emil@wojak.eu>.
58638 * posix/bug-regex32.c: New file.
58639 * posix/Makefile (tests): Add bug-regex32.
58640
58641 * locale/findlocale.c (_nl_find_locale): Return right away if
58642 _nl_explode_name failed.
58643 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58644
58645 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58646
58647 * debug/xtrace.sh: Unify messages.
58648 * malloc/memusage.sh: Likewise.
58649
58650 [BZ #12813]
58651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58652 time symbol from vDSO. Substitute with vsyscall if not available.
58653 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58654 __vdso_time.
58655
58656 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58657 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58658 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58659 Add sendmmsg and internal_sendmmsg.
58660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58662 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58663
58664 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58665 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58667
58668 2011-05-27 Ulrich Drepper <drepper@gmail.com>
58669
58670 [BZ #12813]
58671 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58672 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
58673 available.
58674 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58675 __vdso_getcpu.
58676
58677 [BZ #12814]
58678 * iconvdata/Makefile (tests): Add bug-iconv9.
58679 * iconvdata/bug-iconv9.c: New file.
58680
58681 2011-05-27 Andreas Schwab <schwab@redhat.com>
58682
58683 [BZ #12814]
58684 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58685
58686 2011-05-25 Jakub Jelinek <jakub@redhat.com>
58687
58688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58689 (struct user_regs_struct): Change intcs field back to cs.
58690
58691 2011-05-25 Ulrich Drepper <drepper@gmail.com>
58692
58693 * po/ja.po: Update from translation team.
58694
58695 2011-05-23 Ulrich Drepper <drepper@gmail.com>
58696
58697 [BZ #12795]
58698 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58699 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58700
58701 2011-05-20 Andreas Schwab <schwab@redhat.com>
58702
58703 * stdlib/longlong.h: Update from GCC.
58704
58705 2011-05-23 Andreas Schwab <schwab@redhat.com>
58706
58707 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58708 parameter name.
58709 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58710 Add parameter name.
58711 (__sysconf): Pass it down.
58712
58713 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58714
58715 [BZ #12671]
58716 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58717 some situations.
58718 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58719 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58720 add in in __libc_use_alloca calls. Adjust callers.
58721 (glob): Use malloc in some situations.
58722
58723 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58724 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58725 pltexit.
58726
58727 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58728
58729 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58730 and CLOCK_BOOTTIME_ALARM.
58731
58732 [BZ #12782]
58733 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58734 is returned.
58735
58736 * string/_strerror.c (__strerror_r): Print negative errors as signed
58737 numbers.
58738
58739 [BZ #12777]
58740 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58741 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58742 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58743
58744 * configure.in: Fix typo in redirection and correct removal of test
58745 files in two cases.
58746
58747 [BZ #12788]
58748 * locale/setlocale.c (new_composite_name): Fix test to check for
58749 identical name of all categories.
58750
58751 [BZ #12792]
58752 * libio/filedoalloc.c (local_isatty): New function.
58753 (_IO_file_doallocate): Use local_isatty.
58754 * stdio-common/perror.c (perror): In case a new stream is used
58755 forward the stream error.
58756 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58757 error flag.
58758
58759 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58760
58761 [BZ #11869]
58762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58763 alloca.
58764 * include/alloca.h (extend_alloca_account): Define.
58765
58766 [BZ #11857]
58767 * posix/regex.h: Fix comments with documentation of user-accessible
58768 fields after compilation and describe correct free'ing of pattern
58769 after re_compile_pattern.
58770 Patch by Reuben Thomas <rrt@sc3d.org>.
58771
58772 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58773
58774 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58775 and -mno-altivec to prevent the compiler from using Altivec and/or
58776 VSX instructions when the corresponding registers are not available.
58777
58778 2011-05-19 Andreas Schwab <schwab@redhat.com>
58779
58780 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58781
58782 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58783
58784 * libio/freopen.c (freopen): Use __dup2, not dup2.
58785 * libio/freopen64.c (freopen64): Likewise.
58786
58787 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58788
58789 [BZ #12775]
58790 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58791 * math/Makefile (tests): Add test-powl.
58792 (CFLAGS-test-powl.c): Define.
58793 * math/test-powl.c: New file.
58794
58795 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58796
58797 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58798
58799 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58800
58801 [BZ #11837]
58802 * iconvdata/gb18030.c: Update to GB18020-2005.
58803
58804 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58805
58806 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58807 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58808 Patch by Aharon Robbins <arnold@skeeve.com>.
58809
58810 [BZ #11892]
58811 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58812 on the stack.
58813
58814 [BZ #11895]
58815 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58816 through underflows.
58817
58818 [BZ #12766]
58819 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58820 point to strings before performing equality test for error_one_per_line
58821 mode.
58822
58823 [BZ #11697]
58824 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58825
58826 [BZ #11820]
58827 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58828 (struct user_fpregs_struct): Avoid __uint*_t types.
58829
58830 [BZ #6420]
58831 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58832 symbol info. Use it instead of calling _dl_addr locally.
58833 (lock_and_info): New function.
58834 (tr_freehook): Call lock_and_info and pass symbol info as additional
58835 parameter to tr_where.
58836 (tr_mallochook): Likewise.
58837 (tr_reallochook): Likewise.
58838 (tr_memalignhook): Likewise.
58839
58840 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58841 used and couldn't be at all thread-safe.
58842
58843 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58844
58845 * libio/freopen.c (freopen): Don't close old file descriptor
58846 before the new one is opened. Instead dup the new file descriptor
58847 to the old one after the new stream is created.
58848 * libio/freopen64.c (freopen64): Likewise.
58849 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58850 * libio/fileops.c (_IO_new_file_close_it): Handle new
58851 _IO_FLAGS2_NOCLOSE flag.
58852 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58853 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58854 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58855 _IO_FLAGS2_NOCLOSE flag.
58856 * include/unistd.h: Add hidden_proto for dup3.
58857 Define __have_dup3.
58858 * io/dup3.c: Define hidden symbol.
58859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58860
58861 [BZ #7101]
58862 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58863 when an incomplete long option is used.
58864 * posix/tst-getopt_long1.c: New file.
58865 * posix/Makefile (tests): Add tst-getopt_long1.
58866
58867 [BZ #10138]
58868 * scripts/config.guess: Update from autoconf-2.68.
58869 * scripts/config.sub: Likewise.
58870
58871 [BZ #10157]
58872 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58873 tests into ...
58874 (has_cpuclock): ...this. New function.
58875 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58876 macro here based on has_cpuclock code.
58877
58878 [BZ #10149]
58879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58880 First byte (not low byte) is now always NUL.
58881 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58882
58883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58884 Use non-cancelable interfaces.
58885
58886 [BZ #9809]
58887 * locale/iso-639.def: Add entry for Sorani.
58888
58889 [BZ #11901]
58890 * include/stdlib.h: Move include protection to the right place.
58891 Define abort_msg_s. Declare __abort_msg with it.
58892 * stdlib/abort.c (__abort_msg): Adjust type.
58893 * assert/assert.c (__assert_fail_base): New function. Majority
58894 of code from __assert_fail. Allocate memory for __abort_msg with
58895 mmap.
58896 (__assert_fail): Now call __assert_fail_base.
58897 * assert/assert-perr.c: Remove bulk of implementation. Use
58898 __assert_fail_base.
58899 * include/assert.hL Declare __assert_fail_base.
58900 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58901 mmap.
58902 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58903
58904 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58905
58906 [BZ #11952]
58907 [BZ #12453]
58908 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58909 until all modules are registered in the DTV.
58910 * elf/Makefile: Add rules to build and run tst-tls19.
58911 * elf/tst-tls19.c: New file.
58912 * elf/tst-tls19mod1.c: New file.
58913 * elf/tst-tls19mod2.c: New file.
58914 * elf/tst-tls19mod3.c: New file.
58915 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58916
58917 [BZ #12083]
58918 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58919 correctly.
58920
58921 [BZ #12601]
58922 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58923 two-byte sequence errors.
58924 * iconvdata/Makefile (tests): Add bug-iconv8.
58925 * iconvdata/bug-iconv8.c: New file.
58926
58927 [BZ #12626]
58928 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58929 buf2 definition.
58930
58931 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58932
58933 [BZ #12432]
58934 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58935 (dummy_getcfa): New function.
58936 (init): Get _Unwind_GetCFA address, use dummy if not found.
58937 (backtrace_helper): In recursion check, also check whether CFA changes.
58938 (__backtrace): Completely initialize arg.
58939
58940 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58941 storing incomplete byte sequence in state object. Avoid testing for
58942 guaranteed too small input if we know there is enough data available.
58943
58944 2011-05-11 Andreas Schwab <schwab@redhat.com>
58945
58946 * Makeconfig (+link-pie): Indent.
58947 * Rules (binaries-pie): Define if $(have-fpie) and
58948 $(build-shared).
58949 (binaries-shared): Also filter out $(binaries-pie).
58950 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58951 * nscd/Makefile (others-pie): Add nscd.
58952 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58953 ($(objpfx)nscd): Remove command override.
58954 * login/Makefile (others-pie): Add pt_chown.
58955 ($(objpfx)pt_chown): Remove command override.
58956 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58957 remove command overrides.
58958
58959 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58960
58961 * libio/tst_putwc.c: Fix error messages.
58962
58963 [BZ #12724]
58964 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58965 currently writing and seek to current position when not.
58966 * libio/Makefile (tests): Add bug-fclose1.
58967 * libio/bug-fclose1.c: New file.
58968
58969 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58970
58971 [BZ #12511]
58972 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58973 don't set DF_1_NODELETE here.
58974 (do_lookup_x): When entering new entry test for copy relocation
58975 and if necessary set DF_1_NODELETE flag.
58976 * elf/tst-unique4.cc: New file.
58977 * elf/tst-unique4.h: New file.
58978 * elf/tst-unique4lib.cc: New file.
58979 * elf/Makefile: Add rules to build and run tst-unique4.
58980 Patch by Piotr Bury <pbury@goahead.com>.
58981
58982 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58983
58984 [BZ #12052]
58985 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58986
58987 [BZ #12625]
58988 * misc/mntent_r.c (addmntent): Flush the stream after the output
58989
58990 [BZ #12393]
58991 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58992 (is_trusted_path_normalize): Skip initial colon. Append slash
58993 to empty buffer. Duplicate is_trusted_path code but allow
58994 constructed patch to be prefix.
58995 (is_dst): Allow $ORIGIN followed by /.
58996 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58997 Correct testing of result of is_trusted_path_normalize
58998 (decompose_rpath): Fix warning.
58999
59000 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59001
59002 [BZ #11257]
59003 * grp/initgroups.c (internal_getgrouplist): When we found the service
59004 list through the initgroups entry in nsswitch.conf do not always
59005 continue on a successful lookup. Don't always use the
59006 __nss_group_database value if it is set.
59007 * nss/nsswitch.conf (initgroups): Change action for successful db
59008 lookup to continue for compatibility.
59009
59010 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59011
59012 [BZ #11532]
59013 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59014 and CP774 modules.
59015 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59016 and CP774 modules.
59017 * iconvdata/tst-tables.sh: Likewise.
59018 * iconvdata/cp770.c: New file.
59019 * iconvdata/cp771.c: New file.
59020 * iconvdata/cp772.c: New file.
59021 * iconvdata/cp773.c: New file.
59022 * iconvdata/cp774.c: New file.
59023 * iconvdata/testdata/CP770: New file.
59024 * iconvdata/testdata/CP770..UTF8: New file.
59025 * iconvdata/testdata/CP771: New file.
59026 * iconvdata/testdata/CP771..UTF8: New file.
59027 * iconvdata/testdata/CP772: New file.
59028 * iconvdata/testdata/CP772..UTF8: New file.
59029 * iconvdata/testdata/CP773: New file.
59030 * iconvdata/testdata/CP773..UTF8: New file.
59031 * iconvdata/testdata/CP774: New file.
59032 * iconvdata/testdata/CP774..UTF8: New file.
59033
59034 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59035 END CHARMAP line.
59036 * iconvdata/gen-8bit-gap.sh: Likewise.
59037 * iconvdata/gen-8bit.sh: Likewise.
59038
59039 * locale/iso-639.def: Add ary entry.
59040
59041 [BZ #11258]
59042 * locale/C-translit.h.in: Add U20A1 transliteration.
59043
59044 [BZ #12178]
59045 * locale/iso-639.def: Add wae entry.
59046 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59047
59048 [BZ #12545]
59049 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59050 for n.
59051
59052 [BZ #12711]
59053 * locale/C-translit.h.in: Add entry for U20B9.
59054 Patch by pravin.d.s@gmail.com.
59055
59056 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59057
59058 [BZ #12713]
59059 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59060 ENAMETOOLONG use generic getcwd.
59061 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59062 in rtld. Use *stat64.
59063 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59064 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59065 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59066 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59067 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59068 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59069 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59070 __fstatat64 macros.
59071 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59072 * dirent/rewinddir.c: Add libc_hidden_def.
59073 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59074 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59075
59076 * include/dirent.h (__alloc_dir): Add flags parameter.
59077 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59078 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59079 __alloc_dir.
59080 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59081 from fdopendir if O_CLOEXEC is already set.
59082
59083 2011-03-15 Alan Modra <amodra@gmail.com>
59084
59085 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59086 l_tls_firstbyte_offset non-zero. Save padding offset in
59087 l_tls_firstbyte_offset for later use.
59088 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59089 freeing static tls block.
59090
59091 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59092
59093 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59094 where #ifdef was intended. The intent is to prevent ARG_MAX from
59095 being defined by the kernel headers.
59096
59097 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59098
59099 [BZ #12734]
59100 * resolv/resolv.h: Define RES_NOTLDQUERY.
59101 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59102 no-tld-query and set RES_NOTLDQUERY.
59103 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59104 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59105 modern BIND to search name as TLD unless forbidden.
59106
59107 2011-05-07 Petr Baudis <pasky@suse.cz>
59108 Ulrich Drepper <drepper@gmail.com>
59109
59110 [BZ #12393]
59111 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59112 (is_trusted_path): ...to here.
59113 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59114 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59115 using is_trusted_path_normalize() in setuid scripts.
59116
59117 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59118
59119 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59120 __BEGIN/__END_DECLS.
59121
59122 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59123
59124 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59125 NSS_STATUS_NOTFOUND if no record was found.
59126
59127 2011-05-05 Andreas Schwab <schwab@redhat.com>
59128
59129 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59130 (headers-not-in-tirpc): Remove rpc/netdb.h
59131 * resolv/netdb.h: Revert last change.
59132
59133 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59134
59135 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59136 circular dependency between libgcc.a and libc.a.
59137
59138 2011-05-05 Andreas Schwab <schwab@redhat.com>
59139
59140 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59141 * nis/Makefile: Don't install rpcsvc/*.
59142 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59143 instead of <rpc/types.h>.
59144 (MAXHOSTNAMELEN): Define.
59145
59146 2011-05-03 Andreas Schwab <schwab@redhat.com>
59147
59148 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59149
59150 2011-04-28 Maciej Babinski <mbabinski@google.com>
59151
59152 [BZ #12714]
59153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59154 gethostbyname4_r when IPv6 results are possible.
59155
59156 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59157
59158 [BZ #12723]
59159 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59160 _PC_PIPE_BUF handling.
59161
59162 2011-04-30 Bruno Haible <bruno@clisp.org>
59163
59164 [BZ #12717]
59165 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59166 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59167 to 'int'.
59168 * inet/getnameinfo.c (getnameinfo): Likewise.
59169
59170 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59171
59172 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59173 to groups setting in database lookup.
59174 * nss/nsswitch.conf: Add initgroups entry.
59175
59176 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59177
59178 [BZ #12685]
59179 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59180 mode string.
59181 Patch by Eric Blake <eblake@redhat.com>.
59182
59183 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59184
59185 * sunrpc/Makefile (need-export-routines): Add svc_run.
59186 (routines): Remove svc_run.
59187 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59188 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59189 * sunrpc/svc_run.c (svc_run): Likewise.
59190 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59191
59192 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59193
59194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59195 problem in reallocation in last patch.
59196
59197 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59198
59199 * sunrpc/Makefile: Move inclusion of Rules.
59200
59201 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59202
59203 * nss/nss_files/files-initgroups.c: New file.
59204 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59205 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59206 _nss_files_initgroups_dyn.
59207
59208 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59209
59210 * elf/elf.h (R_ARM_IRELATIVE): Define.
59211
59212 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59213
59214 * po/ru.po: Update from translation team.
59215
59216 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59217
59218 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59219 dependencies.
59220
59221 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59222
59223 [BZ #12653]
59224 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59225 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59229
59230 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59231
59232 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59233 differing bytes.
59234 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59235 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59237
59238 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59239
59240 [BZ #12420]
59241 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59242 storing it.
59243 * stdlib/bug-getcontext.c: New file.
59244 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59245
59246 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59247
59248 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59249 instructions into .machine "z9-109".
59250 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59251 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59252
59253 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59254
59255 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59256 between environment variables and auxiliary vector.
59257
59258 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59259
59260 * Makefile: Add rules to build linkobj/libc.so.
59261 * include/libc-symbols.h: Define libc_hidden_nolink.
59262 * include/rpc/auth.h: Mark functions which are to be hidden.
59263 * include/rpc/auth_des.h: Likewise.
59264 * include/rpc/auth_unix.h: Likewise.
59265 * include/rpc/clnt.h: Likewise.
59266 * include/rpc/des_crypt.h: Likewise.
59267 * include/rpc/key_prot.h: Likewise.
59268 * include/rpc/pmap_clnt.h: Likewise.
59269 * include/rpc/pmap_prot.h: Likewise.
59270 * include/rpc/pmap_rmt.h: Likewise.
59271 * include/rpc/rpc_msg.h: Likewise.
59272 * include/rpc/svc.h: Likewise.
59273 * include/rpc/svc_auth.h: Likewise.
59274 * include/rpc/xdr.h: Likewise.
59275 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59276 * nss/Makefile: Likewise.
59277 * sunrpc/Makefile: Don't install headers. Build library with normal
59278 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59279 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59280 for the compat linking library. Remove use of INTDEF/INTUSE.
59281 * sunrpc/auth_none.c: Likewise.
59282 * sunrpc/auth_unix.c: Likewise.
59283 * sunrpc/authdes_prot.c: Likewise.
59284 * sunrpc/authuxprot.c: Likewise.
59285 * sunrpc/clnt_gen.c: Likewise.
59286 * sunrpc/clnt_perr.c: Likewise.
59287 * sunrpc/clnt_raw.c: Likewise.
59288 * sunrpc/clnt_simp.c: Likewise.
59289 * sunrpc/clnt_tcp.c: Likewise.
59290 * sunrpc/clnt_udp.c: Likewise.
59291 * sunrpc/clnt_unix.c: Likewise.
59292 * sunrpc/des_crypt.c: Likewise.
59293 * sunrpc/des_soft.c: Likewise.
59294 * sunrpc/get_myaddr.c: Likewise.
59295 * sunrpc/key_call.c: Likewise.
59296 * sunrpc/key_prot.c: Likewise.
59297 * sunrpc/netname.c: Likewise.
59298 * sunrpc/pm_getmaps.c: Likewise.
59299 * sunrpc/pm_getport.c: Likewise.
59300 * sunrpc/pmap_clnt.c: Likewise.
59301 * sunrpc/pmap_prot.c: Likewise.
59302 * sunrpc/pmap_prot2.c: Likewise.
59303 * sunrpc/pmap_rmt.c: Likewise.
59304 * sunrpc/publickey.c: Likewise.
59305 * sunrpc/rpc_cmsg.c: Likewise.
59306 * sunrpc/rpc_common.c: Likewise.
59307 * sunrpc/rpc_dtable.c: Likewise.
59308 * sunrpc/rpc_prot.c: Likewise.
59309 * sunrpc/rpc_thread.c: Likewise.
59310 * sunrpc/rtime.c: Likewise.
59311 * sunrpc/svc.c: Likewise.
59312 * sunrpc/svc_auth.c: Likewise.
59313 * sunrpc/svc_authux.c: Likewise.
59314 * sunrpc/svc_raw.c: Likewise.
59315 * sunrpc/svc_run.c: Likewise.
59316 * sunrpc/svc_simple.c: Likewise.
59317 * sunrpc/svc_tcp.c: Likewise.
59318 * sunrpc/svc_udp.c: Likewise.
59319 * sunrpc/svc_unix.c: Likewise.
59320 * sunrpc/svcauth_des.c: Likewise.
59321 * sunrpc/xcrypt.c: Likewise.
59322 * sunrpc/xdr.c: Likewise.
59323 * sunrpc/xdr_array.c: Likewise.
59324 * sunrpc/xdr_float.c: Likewise.
59325 * sunrpc/xdr_intXX_t.c: Likewise.
59326 * sunrpc/xdr_mem.c: Likewise.
59327 * sunrpc/xdr_rec.c: Likewise.
59328 * sunrpc/xdr_ref.c: Likewise.
59329 * sunrpc/xdr_sizeof.c: Likewise.
59330 * sunrpc/xdr_stdio.c: Likewise.
59331
59332 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59333
59334 [BZ #12650]
59335 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59336 * sysdeps/ia64/dl-tls.h: Likewise.
59337 * sysdeps/powerpc/dl-tls.h: Likewise.
59338 * sysdeps/s390/dl-tls.h: Likewise.
59339 * sysdeps/sh/dl-tls.h: Likewise.
59340 * sysdeps/sparc/dl-tls.h: Likewise.
59341 * sysdeps/x86_64/dl-tls.h: Likewise.
59342 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59343
59344 2011-03-14 Andreas Schwab <schwab@redhat.com>
59345
59346 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59347 rpath element also skip the following colon.
59348 (expand_dynamic_string_token): Add is_path parameter and pass
59349 down to DL_DST_REQUIRED and _dl_dst_substitute.
59350 (decompose_rpath): Call expand_dynamic_string_token with
59351 non-zero is_path. Ignore empty rpaths.
59352 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59353 with zero is_path.
59354
59355 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59356
59357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59358 Make cancelable.
59359
59360 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59361
59362 [BZ #12655]
59363 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59364 Patch by Filipe David Manana <fdmanana@apache.org>.
59365
59366 2011-04-07 Andreas Schwab <schwab@redhat.com>
59367
59368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59369 Maintain aligned stack.
59370 (CHECK_RSP): Remove unused macro.
59371
59372 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59373
59374 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59376
59377 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59378
59379 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59380
59381 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59382
59383 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59384
59385 [BZ #12518]
59386 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59387 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59388 * sysdeps/x86_64/memmove.c: New file.
59389 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59390 (memcpy): Renamed to ...
59391 (__new_memcpy): This.
59392 (memcpy): Provide GLIBC_2_14 memcpy.
59393 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59394 (memcpy): Provide GLIBC_2_2_5 memcpy.
59395
59396 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59397
59398 [BZ #12631]
59399 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59400
59401 2011-03-30 Andreas Schwab <schwab@redhat.com>
59402
59403 * misc/syncfs.c: New file.
59404 * misc/Makefile (routines): Add syncfs.
59405 * posix/unistd.h: Declare syncfs.
59406 * sysdeps/unix/syscalls.list: Add syncfs.
59407
59408 2011-04-01 Andreas Schwab <schwab@redhat.com>
59409
59410 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59411 open_by_handle_at.
59412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59413 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59415 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59417 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59419
59420 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59421
59422 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59424 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59426 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59429
59430 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59431 sync_file_range.c with -fexceptions.
59432 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59433 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59434 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59435 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59436 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59437 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59439 sync_file_range as cancellation point
59440 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59441 now a wrapper around __call_sync_file_range with cancellation handling.
59442 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59443 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59444 function name to __call_sync_file_range.
59445 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59446 Add call_sync_file_range.
59447
59448 2011-04-01 Andreas Schwab <schwab@redhat.com>
59449
59450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59451 bits/timex.h.
59452
59453 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59454
59455 * iconv/iconv.h: Fix typo in comment.
59456 * io/fcntl.h: Likewise.
59457 * libio/stdio.h: Likewise.
59458 * posix/spawn.h: Likewise.
59459 * posix/unistd.h: Likewise.
59460 * stdlib/stdlib.h: Likewise.
59461 * time/time.h: Likewise.
59462 * wcsmbs/wchar.h: Likewise.
59463
59464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59465 open_by_handle): Add.
59466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59467 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59468 Augment a few comments.
59469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59471 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59474 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59475 open_by_handle.
59476
59477 * io/fcntl.h (AT_EMPTY_PATH): Define.
59478
59479 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59480
59481 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59482 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59483 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59484 to...
59485 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59486 * Versions.def: Add GLIBC_2.14.
59487 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59488 Export.
59489
59490 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59491
59492 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59493 round counter.
59494 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59495
59496 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59497
59498 [BZ #12597]
59499 * string/test-strncmp.c (do_page_test): New function.
59500 (check2): Likewise.
59501 (test_main): Call check2.
59502 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59503
59504 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59505
59506 [BZ #12587]
59507 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59508 Handle cache information in CPU leaf 4.
59509 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59510
59511 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59512
59513 [BZ #12583]
59514 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59515 character representation.
59516 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59517
59518 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59519
59520 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59521 END(__isnan) to END(__isnanf) to match function entry point/label
59522 EALIGN(__isnanf,...).
59523
59524 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59525
59526 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59527
59528 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59529
59530 [BZ #12510]
59531 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59532 copy from the symbol referenced in the relocation to initialize the
59533 used variable.
59534 Patch by Piotr Bury <pbury@goahead.com>.
59535 * elf/Makefile: Add rules to build and tst-unique3.
59536 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59537 * elf/tst-unique3.cc: New file.
59538 * elf/tst-unique3.h: New file.
59539 * elf/tst-unique3lib.cc: New file.
59540 * elf/tst-unique3lib2.cc: New file.
59541
59542 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59543
59544 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59545
59546 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59547 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59548 to _start.
59549
59550 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59551
59552 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59553 to-be-loaded object along a path to loader is ld.so.
59554
59555 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59556 Ulrich Drepper <drepper@gmail.com>
59557
59558 * sysdeps/x86_64/memset.S: After aligning destination, code
59559 branches to different locations depending on the value of
59560 misalignment, when multiarch is enabled. Fix this.
59561
59562 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59563
59564 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59565 Set _x86_64_preferred_memory_instruction for AMD processsors.
59566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59567 Set bit_Prefer_SSE_for_memop for AMD processors.
59568
59569 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59570
59571 * libio/fmemopen.c (fmemopen): Optimize a bit.
59572
59573 2011-03-03 Andreas Schwab <schwab@redhat.com>
59574
59575 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59576
59577 2011-03-03 Roland McGrath <roland@redhat.com>
59578
59579 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59580
59581 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59582
59583 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59584 __bzero_ultra1 instead of __memset_ultra1.
59585
59586 2011-02-23 Andreas Schwab <schwab@redhat.com>
59587 Ulrich Drepper <drepper@gmail.com>
59588
59589 [BZ #12509]
59590 * include/link.h (struct link_map): Add l_orig_initfini.
59591 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59592 returning unsuccessfully.
59593 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59594 close of a file loaded at startup, restore the original l_initfini
59595 list.
59596 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59597 list, store the pointer.
59598 * elf/Makefile ($(objpfx)noload-mem): New rule.
59599 (noload-ENV): Define.
59600 (tests): Add $(objpfx)noload-mem.
59601 * elf/noload.c: Include <memcheck.h>.
59602 (main): Call mtrace. Close all opened handles.
59603
59604 2011-02-17 Andreas Schwab <schwab@redhat.com>
59605
59606 [BZ #12454]
59607 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59608 dependencies are missing.
59609
59610 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59611
59612 Fix __if_freereq crash: Unlike the generic version which uses free,
59613 Hurd needs munmap.
59614 * sysdeps/mach/hurd/ifreq.h: New file.
59615
59616 2011-01-27 Petr Baudis <pasky@suse.cz>
59617 Ulrich Drepper <drepper@gmail.com>
59618
59619 [BZ 12445]#
59620 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59621 to extend_alloca().
59622 * stdio-common/bug23.c: New file.
59623 * stdio-common/Makefile (tests): Add bug23.
59624
59625 2010-09-28 Andreas Schwab <schwab@redhat.com>
59626 Ulrich Drepper <drepper@gmail.com>
59627
59628 [BZ #12489]
59629 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59630 before performing relro protection. At old place add assertion
59631 to make sure nothing changed.
59632
59633 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59634 Glauber de Oliveira Costa <glommer@gmail.com>
59635
59636 * elf/elf.h: Add new ARM TLS relocs.
59637
59638 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59639
59640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59641 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59642 cast from r3.
59643 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59644 'tests' variable.
59645 * sysdeps/wordsize-64/tst-writev.c: New file.
59646
59647 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59648
59649 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59650 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59651 insns in _dl_start to prevent a TOC reference before relocs are
59652 resolved.
59653
59654 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59655
59656 [BZ #12469]
59657 * Makeconfig: Remove RANLIB definition.
59658 * Makerules: Don't use RANLIB.
59659 * aclocal.m4: Remove ranlib test.
59660 * configure.in: No need to check for ranlib.
59661 * elf/rtld-Rules: Don't use RANLIB.
59662
59663 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59664
59665 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59666 protection macro.
59667 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59668 inclusion protection macro.
59669
59670 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59671 SIGRTMIN and SIGRTMAX and print information in that case only when
59672 SIGRTMIN is defined.
59673
59674 2011-02-11 Jakub Jelinek <jakub@redhat.com>
59675
59676 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59677 arginfo fn returning -1.
59678
59679 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59680 and thousands string is zero terminated.
59681
59682 2011-02-03 Andreas Schwab <schwab@redhat.com>
59683
59684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59685 sysdeps/unix/sysv/linux/bits/socket.h.
59686
59687 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
59688
59689 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59690 (__CPU_COUNT): Remove old macros.
59691 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59692 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59693 (__CPU_ALLOC, __CPU_FREE): Add macros.
59694 (__sched_cpualloc, __sched_cpufree): Add declarations.
59695
59696 2011-02-05 Ulrich Drepper <drepper@gmail.com>
59697
59698 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59699 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59700 * nscd/aicache.c (addhstaiX): Return timeout of added value.
59701 (readdhstai): Return value of addhstaiX call.
59702 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59703 (addgrbyX): Return value returned by cache_addgr.
59704 (readdgrbyname): Return value returned by addgrbyX.
59705 (readdgrbygid): Likewise.
59706 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59707 (addpwbyX): Return value returned by cache_addpw.
59708 (readdpwbyname): Return value returned by addhstbyX.
59709 (readdpwbyuid): Likewise.
59710 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59711 (addservbyX): Return value returned by cache_addserv.
59712 (readdservbyname): Return value returned by addservbyX:
59713 (readdservbyport): Likewise.
59714 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59715 (addhstbyX): Return value returned by cache_addhst.
59716 (readdhstbyname): Return value returned by addhstbyX.
59717 (readdhstbyaddr): Likewise.
59718 (readdhstbynamev6): Likewise.
59719 (readdhstbyaddrv6): Likewise.
59720 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59721 (readdinitgroups): Return value returned by addinitgroupsX.
59722 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59723 (prune_cache): Keep track of timeout value of re-added entries.
59724 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59725 * nscd/nscd.h: Adjust prototypes of readd* functions.
59726
59727 2011-02-04 Roland McGrath <roland@redhat.com>
59728
59729 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59730 (nis_stats): Likewise.
59731 * nis/nis_modify.c (nis_modify): Likewise.
59732 * nis/nis_remove.c (nis_remove): Likewise.
59733 * nis/nis_add.c (nis_add): Likewise.
59734
59735 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59736
59737 * posix/fnmatch_loop.c: Add some consts.
59738
59739 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59740
59741 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59742
59743 [BZ #12460]
59744 * config.make.in (config-cflags-novzeroupper): Define.
59745 * configure.in: Substitute libc_cv_cc_novzeroupper.
59746 * elf/Makefile (AVX-CFLAGS): Define.
59747 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59748 (CFLAGS-tst-auditmod4a.c): Likewise.
59749 (CFLAGS-tst-auditmod4b.c): Likewise.
59750 (CFLAGS-tst-auditmod6b.c): Likewise.
59751 (CFLAGS-tst-auditmod6c.c): Likewise.
59752 (CFLAGS-tst-auditmod7b.c): Likewise.
59753 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59754
59755 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59756
59757 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59758 function to the callback.
59759 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59760
59761 2011-02-02 Andreas Schwab <schwab@redhat.com>
59762
59763 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59764 of errno.
59765
59766 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59767
59768 [BZ #11724]
59769 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59770 of constructors.
59771 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59772 of destructors.
59773 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59774
59775 [BZ #11724]
59776 * elf/Makefile: Add rules to build and run new test.
59777 * elf/tst-initorder.c: New file.
59778 * elf/tst-initorder.exp: New file.
59779 * elf/tst-initordera1.c: New file.
59780 * elf/tst-initordera2.c: New file.
59781 * elf/tst-initordera3.c: New file.
59782 * elf/tst-initordera4.c: New file.
59783 * elf/tst-initorderb1.c: New file.
59784 * elf/tst-initorderb2.c: New file.
59785 * elf/tst-order-a1.c: New file.
59786 * elf/tst-order-a2.c: New file.
59787 * elf/tst-order-a3.c: New file.
59788 * elf/tst-order-a4.c: New file.
59789 * elf/tst-order-b1.c: New file.
59790 * elf/tst-order-b2.c: New file.
59791 * elf/tst-order-main.c: New file.
59792 New test case by George Gensure <werkt0@gmail.com>.
59793
59794 2010-10-01 Andreas Schwab <schwab@redhat.com>
59795
59796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59797 decoding ACE if AI_CANONIDN.
59798
59799 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59800
59801 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59802
59803 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59804
59805 * version.h (RELEASE): Bump for 2.13 release.
59806 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59807
59808 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59809
59810 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59811 MADV_NOHUGEPAGE.
59812 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59814 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59815 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59817 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59818
59819 * posix/getconf.c: Update copyright year.
59820 * catgets/gencat.c: Likewise.
59821 * csu/version.c: Likewise.
59822 * debug/catchsegv.sh: Likewise.
59823 * debug/xtrace.sh: Likewise.
59824 * elf/ldconfig.c: Likewise.
59825 * elf/ldd.bash.in: Likewise.
59826 * elf/sprof.c (print_version): Likewise.
59827 * iconv/iconv_prog.c: Likewise.
59828 * iconv/iconvconfig.c: Likewise.
59829 * locale/programs/locale.c: Likewise.
59830 * locale/programs/localedef.c: Likewise.
59831 * malloc/memusage.sh: Likewise.
59832 * malloc/mtrace.pl: Likewise.
59833 * nscd/nscd.c (print_version): Likewise.
59834 * nss/getent.c: Likewise.
59835
59836 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59837 PF_CAIF, and PF_ALG.
59838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59839
59840 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59841
59842 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59843 (modules-names): Use them.
59844 (ifunc-test-modules, ifunc-pie-tests): Define.
59845 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59846 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59847 (test-extras): Likewise.
59848 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59849 $(compile-command.c).
59850 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59851 (all-built-dso): Define.
59852 (check-textrel.out, check-execstack.out): Depend on it.
59853
59854 * configure.in: Don't override --enable-multi-arch.
59855
59856 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59857
59858 [BZ #6812]
59859 * nscd/hstcache.c (tryagain): Define.
59860 (cache_addhst): Return tryagain not notfound for temporary errors.
59861 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59862 failed.
59863
59864 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59865
59866 [BZ #10563]
59867 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59868 to make the syscall.
59869 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59870
59871 [BZ #12378]
59872 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59873 and fall back to matching as normal character if the string ends before
59874 the matching ']' is found. This is what POSIX requires.
59875 * posix/testfnm.c: Adjust test result.
59876 * posix/globtest.sh: Adjust test result. Add new test.
59877 * posix/tst-fnmatch.input: Likewise.
59878 * posix/tst-fnmatch2.c: Add new test.
59879
59880 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59881
59882 * elf/Makefile (check-execstack): Revert last change. Depend on
59883 check-execstack.h.
59884 (check-execstack.h): New target.
59885 (generated): Add check-execstack.h.
59886 * elf/check-execstack.c: Include "check-execstack.h".
59887 (main): Revert last change.
59888 (handle_file): Return zero if GNU_STACK is absent and
59889 DEFAULT_STACK_PERMS doesn't include PF_X.
59890
59891 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59892
59893 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59894 in child fails because the descriptor is already closed.
59895 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59896 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59897 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59898
59899 [BZ #12397]
59900 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59901 syscall.
59902
59903 [BZ #10484]
59904 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59905 temporary buffer used to handle multi lookups locally.
59906 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59907
59908 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59909
59910 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59911 loader is ld.so.
59912
59913 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59914
59915 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59916 alignment for SSE2.
59917
59918 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59919
59920 [BZ #12394]
59921 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59922 characters. When rounding increased number of integer digits recompute
59923 number of groups.
59924 * stdio-common/tst-grouping.c: New file.
59925 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59926
59927 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59928
59929 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59930 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59931
59932 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59933 void.
59934 * bits/select.h: Likewise.
59935
59936 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59937
59938 * po/ja.po: Update from translation team.
59939
59940 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59941
59942 [BZ #11155]
59943 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59944 implementation just like for lxstat, fxstatat, et al.
59945
59946 2010-12-27 Jim Meyering <meyering@redhat.com>
59947
59948 [BZ #12348]
59949 * posix/regexec.c (build_trtable): Return failure indication upon
59950 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59951
59952 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59953
59954 [BZ #12201]
59955 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59956 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59957 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59958 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59959
59960 [BZ #12207]
59961 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59962
59963 [BZ #12204]
59964 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59965 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59966
59967 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59968
59969 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59970 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59971 script has SORT_BY_INIT_PRIORITY.
59972 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59973 NO_CTORS_DTORS_SECTIONS is defined.
59974 * elf/soinit.c: Likewise.
59975 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59976 NO_CTORS_DTORS_SECTIONS is defined.
59977 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59978 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59979 * sysdeps/sh/init-first.c: Likewise.
59980 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59981
59982 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59983
59984 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59985 always use the slow path.
59986
59987 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59988
59989 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59990 similar rule which adds the sysdep directories to the header search in
59991 order to pick up the correct platform stackinfo.h.
59992 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59993 perform test if it is, otherwise return successfully without testing.
59994 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59995 DEFAULT_STACK_PERMS define in stackinfo.h.
59996 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59997 defined in stackinfo.h.
59998 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59999 DEFAULT_STACK_PERMS defined in stackinfo.h.
60000 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60001 * sysdeps/ia64/stackinfo.h: Likewise.
60002 * sysdeps/s390/stackinfo.h: Likewise.
60003 * sysdeps/sh/stackinfo.h: Likewise.
60004 * sysdeps/sparc/stackinfo.h: Likewise.
60005 * sysdeps/x86_64/stackinfo.h: Likewise.
60006 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60007 PF_X for powerpc64. Retain PF_X for powerpc32.
60008
60009 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60010
60011 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60012 accurately.
60013 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60014 GETDENTS_64BIT_ALIGNED.
60015
60016 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60017
60018 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60019
60020 2010-12-10 Andreas Schwab <schwab@redhat.com>
60021
60022 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60023 _GNU_SOURCE.
60024
60025 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60026 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60027 Remove __restrict.
60028 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60029 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60030
60031 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60032
60033 [BZ #11655]
60034 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60035 are initialized.
60036
60037 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60038
60039 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60040
60041 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60042
60043 * po/it.po: Update from translation team.
60044
60045 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60046
60047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60048 unused codes.
60049
60050 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60051
60052 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60053
60054 2010-11-24 Andreas Schwab <schwab@redhat.com>
60055
60056 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60057 specially.
60058 (gaih_getanswer_slice): Likewise.
60059
60060 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60061
60062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60063
60064 2010-05-31 Petr Baudis <pasky@suse.cz>
60065
60066 [BZ #11149]
60067 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60068 silently even in the chroot mode.
60069
60070 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60071
60072 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60073 last patch a bit. Pretty printing
60074
60075 2010-05-31 Petr Baudis <pasky@suse.cz>
60076
60077 [BZ #10085]
60078 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60079 initialization of skip_initgroups_dyn.
60080
60081 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60082
60083 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60085
60086 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60087
60088 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60089
60090 2010-11-11 Andreas Schwab <schwab@redhat.com>
60091
60092 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60093 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60094 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60095 ($(objpfx)tst-fnmatch-mem): New rule.
60096 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60097 * posix/tst-fnmatch.c (main): Call mtrace.
60098
60099 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60100
60101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60102 Support Intel processor model 6 and model 0x2c.
60103
60104 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60105
60106 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60107 signed comparison.
60108
60109 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60110
60111 [BZ #12205]
60112 * string/test-strncasecmp.c (check_result): New function.
60113 (do_one_test): Use it.
60114 (check1): New function.
60115 (test_main): Use it.
60116 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60117 Support strcasecmp and strncasecmp.
60118
60119 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60120
60121 [BZ #12194]
60122 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60123 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60124
60125 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60126
60127 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60128 IFUNC support.
60129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60130 memset-x86-64.
60131 * sysdeps/x86_64/multiarch/bzero.S: New file.
60132 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60133 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60134 * sysdeps/x86_64/multiarch/memset.S: New file.
60135 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60137 Set bit_Prefer_SSE_for_memop for Intel processors.
60138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60139 Define.
60140 (index_Prefer_SSE_for_memop): Define.
60141 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60142
60143 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60144
60145 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60146 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60147
60148 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60149
60150 [BZ #12191]
60151 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60152 (__x86_64_raw_data_cache_size_half): Likewise.
60153 (__x86_64_raw_shared_cache_size): Likewise.
60154 (__x86_64_raw_shared_cache_size_half): Likewise.
60155
60156 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60157 (__x86_64_raw_data_cache_size_half): Likewise.
60158 (__x86_64_raw_shared_cache_size): Likewise.
60159 (__x86_64_raw_shared_cache_size_half): Likewise.
60160 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60161 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60162 and __x86_64_raw_shared_cache_size_half. Round
60163 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60164 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60165 to multiple of 256 bytes.
60166
60167 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60168
60169 [BZ #12167]
60170 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60171 of inacessible symlinks. Verify result of symlink before returning it.
60172 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60173 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60174
60175 2010-10-28 Erich Ritz <erichritz@gmail.com>
60176
60177 * math/math.h (isinf): Fix typo in comment.
60178
60179 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60180
60181 * po/da.po: Update from translation team.
60182
60183 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60184
60185 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60186 is added to the list.
60187
60188 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60189 Ulrich Drepper <drepper@gmail.com>
60190
60191 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60192 the global list here. Move code to...
60193 (_dl_add_to_namespace_list): ...here. New function.
60194 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60195 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60196 * elf/dl-load.c (lose): Don't remove the element from the list.
60197 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60198 (_dl_map_object): Likewise.
60199
60200 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60201
60202 [BZ #12159]
60203 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60204 into all bytes of SSE register.
60205 Patch by Richard Li <richardpku@gmail.com>.
60206
60207 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60208
60209 [BZ #12140]
60210 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60211 perturbing.
60212
60213 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60214
60215 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60216 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60217 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60218 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60220 submachine.
60221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60222
60223 2010-10-22 Andreas Schwab <schwab@redhat.com>
60224
60225 * include/dlfcn.h (__RTLD_SECURE): Define.
60226 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60227 mode & __RTLD_SECURE instead.
60228 (open_path): Rename preloaded parameter to secure.
60229 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60230 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60231 * elf/dl-deps.c (openaux): Likewise.
60232 * elf/rtld.c (struct map_args): Remove is_preloaded.
60233 (map_doit): Don't use it.
60234 (dl_main): Likewise.
60235 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60236 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60237
60238 2010-09-09 Andreas Schwab <schwab@redhat.com>
60239
60240 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60241 (sysd-rules-targets): Remove duplicates.
60242 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60243 rtld-%.$o dependency.
60244
60245 2010-10-18 Andreas Schwab <schwab@redhat.com>
60246
60247 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60248 _dl_map_object do it.
60249
60250 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60251
60252 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60253 fast fma builtins, define the macros in the C99 standard.
60254 (FP_FAST_FMAF): Likewise.
60255 (FP_FAST_FMAL): Likewise.
60256 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60257
60258 * bits/mathdef.h: Update copyright year.
60259 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60260
60261 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60262
60263 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60264 builtins, define the macros in the C99 standard.
60265 (FP_FAST_FMAF): Likewise.
60266 (FP_FAST_FMAL): Likewise.
60267 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60268 multiply/add.
60269 (FP_FAST_FMAF): Likewise.
60270
60271 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60272
60273 [BZ #3268]
60274 * math/libm-test.inc (fma_test): Some new testcases.
60275 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60277 y and infinite z. Do multiplication by C already in long double.
60278 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60280 y and infinite z. Do bitwise or of inexact bit into u.d.
60281 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60282 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60283 * sysdeps/i386/fpu/s_fma.S: Removed.
60284 * sysdeps/i386/fpu/s_fmal.S: Removed.
60285
60286 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60287
60288 [BZ #3268]
60289 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60291 computation is not scheduled after fetestexcept. Fix value
60292 of minimum denormal long double.
60293
60294 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60295
60296 [BZ #3268]
60297 * math/libm-test.inc (fma_test): Add some more tests.
60298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60299 correctly.
60300
60301 2010-10-15 Andreas Schwab <schwab@redhat.com>
60302
60303 * scripts/data/localplt-s390-linux-gnu.data: New file.
60304 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60305
60306 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60307
60308 [BZ #3268]
60309 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60310 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60311 instead of dbl-64.
60312 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60313 inlines.
60314 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60316 if one of x and y is very large and the other is subnormal.
60317 * sysdeps/s390/fpu/s_fmaf.c: New file.
60318 * sysdeps/s390/fpu/s_fma.c: New file.
60319 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60320 * sysdeps/powerpc/fpu/s_fma.S: New file.
60321 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60322 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60323 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60324
60325 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60326
60327 [BZ #3268]
60328 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60329 fma tests.
60330 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60331 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60332 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60333 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60334 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60335 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60336 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60337
60338 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60339
60340 [BZ #12078]
60341 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60342 * posix/bug-regex31.input: Add test case.
60343
60344 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60345
60346 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60347 * posix/bug-regex31.input: New file.
60348
60349 [BZ #12078]
60350 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60351 (parse_sub_exp): Fix last change, use postorder.
60352
60353 * posix/bug-regex31.c: New file.
60354 * posix/Makefile: Add rules to build and run bug-regex31.
60355
60356 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60357
60358 [BZ #12078]
60359 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60360
60361 [BZ #12108]
60362 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60363 to have entries in sys_siglist.
60364
60365 [BZ #12093]
60366 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60367 be NULL.
60368
60369 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60370
60371 [BZ #3268]
60372 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60373 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60374 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60375 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60376 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60377 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60378 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60379 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60380 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60381 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60382 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60383 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60384 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60385 * math/ftestexcept.c (fetestexcept): Likewise.
60386 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60387 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60388 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60389 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60390 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60391 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60392 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60393
60394 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60395
60396 [BZ #12107]
60397 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60398 newline.
60399
60400 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60401
60402 * string/bug-strstr1.c: New file.
60403 * string/Makefile: Add rules to build and run bug-strstr1.
60404
60405 2010-10-05 Eric Blake <eblake@redhat.com>
60406
60407 [BZ #12092]
60408 * string/str-two-way.h (two_way_long_needle): Always clear memory
60409 when skipping input due to the shift table.
60410
60411 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60412
60413 [BZ #12005]
60414 * malloc/mcheck.c: Handle large requests.
60415
60416 [BZ #12077]
60417 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60418 for strncmp and strncasecmp.
60419 * string/stratcliff.c: Add tests for strcmp and strncmp.
60420 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60421
60422 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60423
60424 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60425 __set_fpscr.
60426
60427 2010-09-30 Andreas Jaeger <aj@suse.de>
60428
60429 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60430 (CGROUP_SUPER_MAGIC): Define.
60431 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60432 Handle btrfs and cgroup file systems.
60433 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60434 Likewise.
60435
60436 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60437
60438 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60439 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60440
60441 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60442
60443 [BZ #12067]
60444 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60445 trying to locate the ELF header.
60446
60447 2010-09-27 Andreas Schwab <schwab@redhat.com>
60448
60449 [BZ #11611]
60450 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60451 Mask out sign-bit copies when constructing f_fsid.
60452
60453 2010-09-24 Petr Baudis <pasky@suse.cz>
60454
60455 * debug/stack_chk_fail_local.c: Add missing licence exception.
60456 * debug/warning-nop.c: Likewise.
60457
60458 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60459
60460 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60461 implementing getdents64 using getdents syscall, set d_type if
60462 __ASSUME_GETDENTS32_D_TYPE.
60463
60464 2010-09-16 Andreas Schwab <schwab@redhat.com>
60465
60466 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60467 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60468
60469 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60470
60471 [BZ #12037]
60472 * posix/unistd.h: Undo change of feature selection for ftruncate from
60473 2010-01-11.
60474
60475 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60476
60477 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60478 detection.
60479
60480 2010-09-20 Andreas Schwab <schwab@redhat.com>
60481
60482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60483 fanotify_mark.
60484 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60485
60486 2010-09-14 Andreas Schwab <schwab@redhat.com>
60487
60488 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60489 variables after CHECK_SP call.
60490 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60491
60492 2010-09-13 Andreas Schwab <schwab@redhat.com>
60493 Ulrich Drepper <drepper@redhat.com>
60494
60495 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60496 re-relocationg ld.so.
60497 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60498 _dl_init_paths call.
60499 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60500 here anymore.
60501
60502 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60503
60504 * resolv/res_init.c (__res_vinit): Count the default server we added.
60505
60506 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60507 Ulrich Drepper <drepper@redhat.com>
60508
60509 [BZ #11968]
60510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60511 (____longjmp_chk): Use %ebx for saving value across system call.
60512 Add unwind info.
60513
60514 2010-09-06 Andreas Schwab <schwab@redhat.com>
60515
60516 * manual/Makefile: Don't mix pattern rules with normal rules.
60517
60518 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60519
60520 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60521 operation.
60522 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60523 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60524 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60525 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60527 Likewise.
60528
60529 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60530
60531 [BZ #11979]
60532 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60533 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60534
60535 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60536
60537 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60538 * sysdeps/x86_64/addmul_1.S: Likewise.
60539 * sysdeps/x86_64/lshift.S: Likewise.
60540 * sysdeps/x86_64/mul_1.S: Likewise.
60541 * sysdeps/x86_64/rshift.S: Likewise.
60542 * sysdeps/x86_64/sub_n.S: Likewise.
60543 * sysdeps/x86_64/submul_1.S: Likewise.
60544
60545 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60546
60547 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60548 Define __sched_param instead of SCHED_* and sched_param when
60549 <bits/sched.h> is included with __need_schedparam defined.
60550 * bits/sched.h [__need_schedparam]
60551 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60552 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60553 (__defined_schedparam): Define to 1.
60554 (__sched_param): New structure, identical to sched_param.
60555 (__need_schedparam): Undefine.
60556
60557 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60558
60559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60560 (epoll_create1): Declare.
60561
60562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60563
60564 2010-08-31 Andreas Schwab <schwab@redhat.com>
60565
60566 [BZ #7066]
60567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60568 shifting retval into place.
60569
60570 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60571
60572 * nis/rpcsvc/nis.h: Update copyright notice.
60573 * nis/rpcsvc/nis.x: Likewise.
60574 * nis/rpcsvc/nis_callback.h: Likewise.
60575 * nis/rpcsvc/nis_callback.x: Likewise.
60576 * nis/rpcsvc/nis_object.x: Likewise.
60577 * nis/rpcsvc/nis_tags.h: Likewise.
60578 * nis/rpcsvc/yp.h: Likewise.
60579 * nis/rpcsvc/yp.x: Likewise.
60580 * nis/rpcsvc/ypupd.h: Likewise.
60581 * nis/yp_xdr.c: Likewise.
60582 * nis/ypupdate_xdr.c: Likewise.
60583
60584 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60585 mainly the body of pmap_getport. Add parameters to specify timeouts.
60586 (pmap_getport): Use __libc_rpc_getport.
60587 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60588 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60589 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60590
60591 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60592
60593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60594 fanotify_mark.
60595
60596 2010-08-27 Roland McGrath <roland@redhat.com>
60597
60598 * sysdeps/i386/i686/multiarch/Makefile
60599 (CFLAGS-varshift.c): New variable.
60600
60601 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60602
60603 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60604 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60605
60606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60607
60608 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60609
60610 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60611
60612 * sysdeps/x86_64/strlen.S: Unroll the loop.
60613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60614 strlen-sse2 strlen-sse2-bsf.
60615 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60616 __strlen_no_bsf if bit_Slow_BSF is set.
60617 (__strlen_sse42): Removed.
60618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60619 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60620
60621 2010-08-25 Roland McGrath <roland@redhat.com>
60622
60623 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60624 * sysdeps/x86_64/multiarch/varshift.c: New file.
60625 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60626 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60627 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60628 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60629
60630 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60631
60632 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60633 strlen-sse2 strlen-sse2-bsf.
60634 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60635 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60636 (__strlen_sse2): Removed.
60637 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60640 bit_Slow_BSF for Atom.
60641 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60642 (index_Slow_BSF): Define.
60643 (HAS_SLOW_BSF): Define.
60644
60645 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60646
60647 [BZ #10851]
60648 * resolv/res_init.c (__res_vinit): When no server address at all
60649 is given default to loopback.
60650
60651 2010-08-24 Roland McGrath <roland@redhat.com>
60652
60653 * configure.in: Remove config-name.h generation.
60654 * configure: Regenerated.
60655 * config-name.in: File removed.
60656 * scripts/config-uname.sh: New file.
60657 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60658 ($(objdir)config-name.h): New target.
60659
60660 * sunrpc/rpc_parse.h: Avoid nested comment.
60661
60662 2010-08-24 Richard Henderson <rth@redhat.com>
60663 Ulrich Drepper <drepper@redhat.com>
60664 H.J. Lu <hongjiu.lu@intel.com>
60665
60666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60668 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60669 Replace _mm_srli_si128 with __m128i_shift_right. Replace
60670 _mm_alignr_epi8 with _mm_loadu_si128.
60671 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60672 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60673 (__m128i_shift_right): Removed.
60674 * sysdeps/i386/i686/multiarch/varshift.h: New file.
60675 * sysdeps/i386/i686/multiarch/varshift.S: New file.
60676 * sysdeps/x86_64/multiarch/varshift.h: New file.
60677 * sysdeps/x86_64/multiarch/varshift.S: New file.
60678
60679 2010-08-21 Mike Frysinger <vapier@gentoo.org>
60680
60681 * configure.in: Move assembler checks to before sysdep dir checking.
60682
60683 2010-08-20 Petr Baudis <pasky@suse.cz>
60684
60685 * LICENSES: Sync the sunrpc license.
60686
60687 2010-08-19 Ulrich Drepper <drepper@redhat.com>
60688
60689 * sunrpc/auth_des.c: Update copyright notice once again.
60690 * sunrpc/auth_none.c: Likewise.
60691 * sunrpc/auth_unix.c: Likewise.
60692 * sunrpc/authdes_prot.c: Likewise.
60693 * sunrpc/authuxprot.c: Likewise.
60694 * sunrpc/bindrsvprt.c: Likewise.
60695 * sunrpc/clnt_gen.c: Likewise.
60696 * sunrpc/clnt_perr.c: Likewise.
60697 * sunrpc/clnt_raw.c: Likewise.
60698 * sunrpc/clnt_simp.c: Likewise.
60699 * sunrpc/clnt_tcp.c: Likewise.
60700 * sunrpc/clnt_udp.c: Likewise.
60701 * sunrpc/clnt_unix.c: Likewise.
60702 * sunrpc/des_crypt.c: Likewise.
60703 * sunrpc/des_soft.c: Likewise.
60704 * sunrpc/get_myaddr.c: Likewise.
60705 * sunrpc/getrpcport.c: Likewise.
60706 * sunrpc/key_call.c: Likewise.
60707 * sunrpc/key_prot.c: Likewise.
60708 * sunrpc/openchild.c: Likewise.
60709 * sunrpc/pm_getmaps.c: Likewise.
60710 * sunrpc/pm_getport.c: Likewise.
60711 * sunrpc/pmap_clnt.c: Likewise.
60712 * sunrpc/pmap_prot.c: Likewise.
60713 * sunrpc/pmap_prot2.c: Likewise.
60714 * sunrpc/pmap_rmt.c: Likewise.
60715 * sunrpc/rpc/auth.h: Likewise.
60716 * sunrpc/rpc/auth_unix.h: Likewise.
60717 * sunrpc/rpc/clnt.h: Likewise.
60718 * sunrpc/rpc/des_crypt.h: Likewise.
60719 * sunrpc/rpc/key_prot.h: Likewise.
60720 * sunrpc/rpc/netdb.h: Likewise.
60721 * sunrpc/rpc/pmap_clnt.h: Likewise.
60722 * sunrpc/rpc/pmap_prot.h: Likewise.
60723 * sunrpc/rpc/pmap_rmt.h: Likewise.
60724 * sunrpc/rpc/rpc.h: Likewise.
60725 * sunrpc/rpc/rpc_des.h: Likewise.
60726 * sunrpc/rpc/rpc_msg.h: Likewise.
60727 * sunrpc/rpc/svc.h: Likewise.
60728 * sunrpc/rpc/svc_auth.h: Likewise.
60729 * sunrpc/rpc/types.h: Likewise.
60730 * sunrpc/rpc/xdr.h: Likewise.
60731 * sunrpc/rpc_clntout.c: Likewise.
60732 * sunrpc/rpc_cmsg.c: Likewise.
60733 * sunrpc/rpc_common.c: Likewise.
60734 * sunrpc/rpc_cout.c: Likewise.
60735 * sunrpc/rpc_dtable.c: Likewise.
60736 * sunrpc/rpc_hout.c: Likewise.
60737 * sunrpc/rpc_main.c: Likewise.
60738 * sunrpc/rpc_parse.c: Likewise.
60739 * sunrpc/rpc_parse.h: Likewise.
60740 * sunrpc/rpc_prot.c: Likewise.
60741 * sunrpc/rpc_sample.c: Likewise.
60742 * sunrpc/rpc_scan.c: Likewise.
60743 * sunrpc/rpc_scan.h: Likewise.
60744 * sunrpc/rpc_svcout.c: Likewise.
60745 * sunrpc/rpc_tblout.c: Likewise.
60746 * sunrpc/rpc_util.c: Likewise.
60747 * sunrpc/rpc_util.h: Likewise.
60748 * sunrpc/rpcinfo.c: Likewise.
60749 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60750 * sunrpc/rpcsvc/key_prot.x: Likewise.
60751 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60752 * sunrpc/rpcsvc/mount.x: Likewise.
60753 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60754 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60755 * sunrpc/rpcsvc/rex.x: Likewise.
60756 * sunrpc/rpcsvc/rstat.x: Likewise.
60757 * sunrpc/rpcsvc/rusers.x: Likewise.
60758 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60759 * sunrpc/rpcsvc/spray.x: Likewise.
60760 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60761 * sunrpc/rtime.c: Likewise.
60762 * sunrpc/svc.c: Likewise.
60763 * sunrpc/svc_auth.c: Likewise.
60764 * sunrpc/svc_authux.c: Likewise.
60765 * sunrpc/svc_raw.c: Likewise.
60766 * sunrpc/svc_run.c: Likewise.
60767 * sunrpc/svc_simple.c: Likewise.
60768 * sunrpc/svc_tcp.c: Likewise.
60769 * sunrpc/svc_udp.c: Likewise.
60770 * sunrpc/svc_unix.c: Likewise.
60771 * sunrpc/svcauth_des.c: Likewise.
60772 * sunrpc/xcrypt.c: Likewise.
60773 * sunrpc/xdr.c: Likewise.
60774 * sunrpc/xdr_array.c: Likewise.
60775 * sunrpc/xdr_float.c: Likewise.
60776 * sunrpc/xdr_mem.c: Likewise.
60777 * sunrpc/xdr_rec.c: Likewise.
60778 * sunrpc/xdr_ref.c: Likewise.
60779 * sunrpc/xdr_sizeof.c: Likewise.
60780 * sunrpc/xdr_stdio.c: Likewise.
60781
60782 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60783 handling.
60784
60785 2010-08-19 Andreas Schwab <schwab@redhat.com>
60786
60787 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60788
60789 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60790
60791 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60792 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60793 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60794 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60795 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60796 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60797 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60798 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60799 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60800 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60801 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60802 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60803 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60804 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60805
60806 2010-07-26 Anton Blanchard <anton@samba.org>
60807
60808 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60809 * malloc/arena.c (heap_trim): Likewise.
60810
60811 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60812
60813 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60814 here. Not...
60815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60816 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60817
60818 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60819
60820 * sysdeps/i386/elf/Makefile: New file.
60821
60822 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60823
60824 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60825 from fanotify_init.
60826 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60828
60829 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60830
60831 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60832 of strncasecmp_l.
60833 * sysdeps/multiarch/strcmp.S: Likewise.
60834
60835 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60836
60837 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60838 strncase_l-nonascii.
60839 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60840 Add strncase_l-ssse3.
60841 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60842 * sysdeps/x86_64/strcmp.S: Likewise.
60843 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60844 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60845 * sysdeps/x86_64/strncase.S: New file.
60846 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60847 * sysdeps/x86_64/strncase_l.S: New file.
60848 * string/Makefile (strop-tests): Add strncasecmp.
60849 * string/test-strncasecmp.c: New file.
60850
60851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60852 warning.
60853
60854 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60855 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60856
60857 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60858
60859 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60860
60861 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60862
60863 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60864 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60865 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60866
60867 2010-05-01 Alan Modra <amodra@gmail.com>
60868
60869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60870 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60871 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60872 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60873 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60874 tidying. Don't tail-call __sigjmp_save for static lib.
60875 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60876 save location.
60877 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60878 (CALL_MCOUNT): Add eh info, and nop after bl.
60879 (TAIL_CALL_SYSCALL_ERROR): New macro.
60880 (PSEUDO_RET): Use it.
60881 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60882 Correct save location of integer regs and cr.
60883 (_dl_profile_resolve): Correct cr save location. Delete nops
60884 after bl when SHARED. Reduce cfi size a little by better
60885 placement of cfi directives.
60886 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60887 make a stack frame. Instead use parm save area as a temp.
60888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60889 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60891 Don't make a stack frame for parent, use parm save area.
60892 Increase child stack frame to 112 bytes. Don't save unused reg,
60893 and adjust reg usage. Set up cfi on error recovery and
60894 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60896 (__makecontext): Add dummy nop after jump to exit.
60897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60898 Use correct parm save area and cr save, reduce stack frame.
60899 Correct cfi for possible PSEUDO_RET frame setup.
60900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60901 Branch to local label emitted by PSEUDO_RET rather than
60902 __syscall_error.
60903
60904 2010-08-12 Andreas Schwab <schwab@redhat.com>
60905
60906 [BZ #11904]
60907 * locale/programs/locale.c (print_assignment): New function.
60908 (show_locale_vars): Use it.
60909
60910 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60911
60912 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60913 field.
60914 (struct statfs64): Likewise.
60915 (_STATFS_F_FLAGS): Define.
60916 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60918 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60919 (ST_VALID): Define locally.
60920 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60921 __statvfs_getflags, use the provided value.
60922 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60923 __ASSUME_STATFS_F_FLAGS.
60924
60925 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60926
60927 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60928 Add sys/fanotify.h.
60929 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60930 fanotify_mask for GLIBC_2.13.
60931 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60932 fanotify_init and fanotify_mark.
60933 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60934 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60935
60936 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60937 Add prlimit.
60938 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60939 prlimit64 for GLIBC_2.13.
60940 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60941 prlimit64.
60942 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60943 syscall.
60944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60945 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60946 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60947 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60949 add prlimit alias.
60950 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60951
60952 [BZ #11903]
60953 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60954 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60955
60956 * nss/Makefile: Add rules to build and run tst-nss-test1.
60957 * shlib-versions: Add entry for libnss_test1.
60958 * nss/nss_test1.c: New file.
60959 * nss/tst-nss-test1.c: New file.
60960
60961 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60962 (__nss_configure_lookup): Set appropriate entry in
60963 __nss_configure_lookup to true.
60964 * nss/nsswitch.h: Define enum with indeces of databases in
60965 databases and __nss_database_custom arrays. Declare
60966 __nss_database_custom.
60967 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60968 to avoid using nscd when custom rules are installed.
60969 * nss/getXXbyYY_r.c: Likewise.
60970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60971
60972 * nss/nss_files/files-parse.c: Whitespace fixes.
60973
60974 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60975
60976 [BZ #11883]
60977 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60978 * posix/fnmatch_loop.c: Likewise.
60979
60980 2010-07-17 Andi Kleen <ak@linux.intel.com>
60981
60982 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60983 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60984 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60985 * Versions.def [GLIBC_2.13]: Add.
60986
60987 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60988
60989 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60990 Also fail if tpwd after pwuid call is NULL.
60991
60992 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60993
60994 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60995 when converting to ms.
60996
60997 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60998
60999 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61000 EOPNOTSUPP errors with ENOTTY.
61001 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61002 EOPNOTSUPP errors with ENOTTY.
61003
61004 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61005
61006 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61007 Add strcasecmp_l-ssse3.
61008 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61009 strcasecmp.
61010 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61011 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61012 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61013
61014 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61015
61016 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61017
61018 * string/Makefile (strop-tests): Add strcasecmp.
61019 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61020 strcasecmp_l-nonascii.
61021 (gen-as-const-headers): Add locale-defines.sym.
61022 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61023 * sysdeps/x86_64/strcasecmp.S: New file.
61024 * sysdeps/x86_64/strcasecmp_l.S: New file.
61025 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61026 * sysdeps/x86_64/locale-defines.sym: New file.
61027 * string/test-strcasecmp.c: New file.
61028
61029 * string/test-strcasestr.c: Test both ends of the range of characters.
61030 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61031
61032 2010-07-29 Roland McGrath <roland@redhat.com>
61033
61034 [BZ #11856]
61035 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61036
61037 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61038
61039 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61040 for ld.so.
61041
61042 2010-07-27 Andreas Schwab <schwab@redhat.com>
61043
61044 * manual/memory.texi (Malloc Tunable Parameters): Document
61045 M_PERTURB.
61046
61047 2010-07-26 Roland McGrath <roland@redhat.com>
61048
61049 [BZ #11840]
61050 * configure.in (-fgnu89-inline check): Set and substitute
61051 gnu89_inline, not libc_cv_gnu89_inline.
61052 * configure: Regenerated.
61053 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61054
61055 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61056
61057 * string/test-strnlen.c: New file.
61058 * string/Makefile (strop-tests): Add strnlen.
61059 * string/tester.c (test_strnlen): Add a few more test cases.
61060 * string/tst-strlen.c: Better error reporting.
61061
61062 * sysdeps/x86_64/strnlen.S: New file.
61063
61064 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61065
61066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61067 lower-latency instructions.
61068
61069 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61070
61071 * string/test-strcasestr.c: New file.
61072 * string/test-strstr.c: New file.
61073 * string/Makefile (strop-tests): Add strstr and strcasestr.
61074 * string/str-two-way.h: Don't undefine MAX.
61075 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61076
61077 2010-07-21 Andreas Schwab <schwab@redhat.com>
61078
61079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61080 strcasestr-nonascii.
61081 (CFLAGS-strcasestr-nonascii.c): Define.
61082 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61084 Remove unused attribute.
61085
61086 2010-07-20 Roland McGrath <roland@redhat.com>
61087
61088 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61089 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61090 ld.so.cache was broken. With it, there is no way to disable dsocaps
61091 like LD_HWCAP_MASK can disable hwcaps.
61092
61093 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61094
61095 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61096
61097 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61098
61099 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61100 call in strcasestr.
61101 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61102 __strcasestr_sse42_nonascii.
61103 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61104 strcasestr-nonascii.c.
61105 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61106
61107 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61108
61109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61113
61114 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61115
61116 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61117 fcntl.
61118
61119 2010-07-06 Andreas Schwab <schwab@redhat.com>
61120
61121 [BZ #11577]
61122 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61123 dl_signal_cerror.
61124
61125 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61126
61127 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61128 _PC_PIPE_BUF using F_GETPIPE_SZ.
61129
61130 2010-07-05 Roland McGrath <roland@redhat.com>
61131
61132 * manual/arith.texi (Rounding Functions): Fix rint description
61133 implicit in round description.
61134
61135 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61136
61137 * elf/Makefile: Fix linking for a few tests to make recent linker
61138 happy.
61139
61140 2010-06-30 Andreas Schwab <schwab@redhat.com>
61141
61142 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61143 $(common-objpfx)libc_nonshared.a.
61144
61145 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61146
61147 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61148 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61149 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61150 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61151 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61152 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61153 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61154 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61169 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61170 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61171 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61172 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61173 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61174 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61175 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61176 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61177 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61178 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61179 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61180 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61195
61196 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61197
61198 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61199 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61200 * string/memmove.c (memmove): Renamed to ...
61201 (MEMMOVE): ...this. Default to memmove.
61202 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61203 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61204 (END_CHK): Define.
61205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61206 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61207 mempcpy-ssse3-back memmove-ssse3-back.
61208 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61211 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61212 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61213 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61214 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61215 * sysdeps/x86_64/multiarch/memmove.c: New file.
61216 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61217 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61218 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61219 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61220 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61221 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61222 Define.
61223 (index_Fast_Copy_Backward): Define.
61224 (HAS_ARCH_FEATURE): Define.
61225 (HAS_FAST_REP_STRING): Define.
61226 (HAS_FAST_COPY_BACKWARD): Define.
61227
61228 2010-06-21 Andreas Schwab <schwab@redhat.com>
61229
61230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61231 Restore proper fallback handling.
61232
61233 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61234
61235 [BZ #11701]
61236 * posix/group_member.c (__group_member): Correct checking loop.
61237
61238 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61239 OOM in getpwuid_r correctly. Return error number when the caller
61240 should return, otherwise -1.
61241 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61242 call returning > 0 value.
61243 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61244
61245 2010-06-07 Andreas Schwab <schwab@redhat.com>
61246
61247 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61248 libc_nonshared.a from targets in modules-names.
61249
61250 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61251
61252 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61253 requires it.
61254
61255 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61256
61257 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61258 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61261
61262 2010-06-02 Andreas Schwab <schwab@redhat.com>
61263
61264 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61265
61266 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61267
61268 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61269 and F_GETPIPE_SZ.
61270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61276
61277 2010-06-14 Roland McGrath <roland@redhat.com>
61278
61279 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61280
61281 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61282
61283 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61284 __REDIRECT followed by __THROW.
61285 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61286 * posix/getopt.h (getopt): Likewise.
61287
61288 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61289
61290 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61291 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61292 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61293 in AT_FLAGS.
61294 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61295 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61296
61297 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61298
61299 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61300
61301 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61302
61303 [BZ #11640]
61304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61305 Properly check family and model.
61306
61307 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61308
61309 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61310
61311 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61312
61313 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61314
61315 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61316
61317 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61318 symbol reference.
61319
61320 2010-05-19 Andreas Schwab <schwab@redhat.com>
61321
61322 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61323 symbol reference.
61324
61325 2010-05-21 Andreas Schwab <schwab@redhat.com>
61326
61327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61328 and internal_recvmmsg.
61329 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61330 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61331 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61332 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61333
61334 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61335 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61336 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61337
61338 2010-05-20 Andreas Schwab <schwab@redhat.com>
61339
61340 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61341
61342 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61343
61344 POWER7 optimizations.
61345 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61346 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61347
61348 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61349
61350 * version.h: Update for 2.13 development version.
61351
61352 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61353
61354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61355 exceptions. Return 0.
61356
61357 2010-05-07 Roland McGrath <roland@redhat.com>
61358
61359 * elf/ldconfig.c (main): Add a const.
61360
61361 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61362
61363 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61364 (args_options): Add no-idn option.
61365 (ahosts_keys_int): Add idn_flags to ai_flags.
61366 (parse_option): Handle 'i' option to clear idn_flags.
61367
61368 * malloc/malloc.c (_int_free): Possible race in the most recently
61369 added check. Only act on the data if no current modification
61370 happened.
61371
61372 See ChangeLog.17 for earlier changes.